Other Parts Discussed in Thread: SYSBIOS
Tool/software: TI-RTOS
Hi all,
I need to generate a clock signal with a maximum jitter less than 10us. For this I configured in TIRTOS (cc13xx_cc26xx_2_16_00_08) a Timer instance to fire each 5ms and an Hwi function associated with the timer which toggles a GPIO. To debug the jitter i have only one dummy task which runs in my configuration.
I observed that if I force a "while(1);" in the task, the GPIO toggle is really accurate. Conversely if I use Task_sleep() i measured a jitter of +- 30us. The thinks make dramatically worse if i use more tasks.
Now, If the timer should use the 48MHz clcok of the CPU and hopefully not the RTC and since Hwi-s have the highest execution priority, why this really poor performance?
PL