renesas / fsp

Flexible Software Package (FSP) for Renesas RA MCU Family
https://renesas.github.io/fsp/
Other
182 stars 82 forks source link

RA8M1: High interrupt latency in RTOS projects #324

Closed GodavarthyAravinda closed 7 months ago

GodavarthyAravinda commented 8 months ago

Issue

In RA8M1 RTOS projects interrupts may be delayed by up to 600 microseconds.

Workaround

The workaround for this issue depends on the RTOS and clock speeds in use.

For projects with CPUCLK configured to 120 MHz or lower: In BSP properties, set Clocks -> RTOS Sleep Mode Entry and Exit Delays to Disabled.

For FreeRTOS projects: Select a thread, then in the Properties pane set the following properties to Disabled:

For ThreadX projects: Apply the patch linked below. Only use this patch for RA8M1 ThreadX projects.

fsp_patch_ra8m1_rtos_latency_v5.0.0.zip