Replies: 3 comments 2 replies
-
Hi @HenrikKaa , It sounds like the tick rate is too fast given the hardware configuration. Can you provide more details about your use-case? What device are you using? What frequencies are clocking the OStimer and the CPU? What tick rate are you trying to achieve? Thanks |
Beta Was this translation helpful? Give feedback.
-
Hi @HenrikKaa , But I am curious, why are you trying to clock the kernel like this? By default, the LPC5569 uses the SysTick timer at 96 MHz. Best regards |
Beta Was this translation helpful? Give feedback.
-
Hi @HenrikKaa , Best regards |
Beta Was this translation helpful? Give feedback.
-
I'm trying to use MCUX OSTimer for systick clock but I'm running into a problem where the timeout is so few ticks that by the time the match value is set, the timer has already counted past the match value. I have been able to confirm this is exactly what happens reliably. Logically in this situation I should call
sys_clock_announce()
but if I do that, the code gets into infinite loop setting timeout and announcing.Is there some proper way to handle this case or am I running into an unthought issue?
Beta Was this translation helpful? Give feedback.
All reactions