Hi,
in the mcu_plus_sdk_am64x_08_00_00_21code examples the FreeRTOS main task has the same maximum priority as the clock task:
FreeRTOSConfig.h: #define configTIMER_TASK_PRIORITY (configMAX_PRIORITIES - 1)
C:\ti\mcu_plus_sdk_am64x_08_00_00_21\*\r5fss0-0_freertos\main.c: #define MAIN_TASK_PRI (configMAX_PRIORITIES-1)
This prevents that clock objects can tick as long as the main task is busy (clock task cannot become active). I am not sure if this is good practice to run the main task with maximum priority. With reduced priority, e.g.
#define MAIN_TASK_PRI (configMAX_PRIORITIES-2)
the clocks work fine.
Thanks & regards,
Frank
From C:/ti/mcu_plus_sdk_am64x_08_00_00_21/docs/api_guide_am64x/KERNEL_DPL_CLOCK_PAGE.html: