Hello.
I used `k_timer` to create the main cycle (5 ms), but there is a deviation of ±1 ms.
I’ve determined that the cause is the UART interrupt callback, but I don’t know how to minimize this deviation.
Note that the interrupt handling took approximately 25 μs.
Based on the above, I have two questions:
① Is a deviation of ±0.5 ms unavoidable in the Zephyr OS thread-based implementation?
② What is the recommended approach to minimize this variation on the nRF54L05?
My development environment is as follows:
SoC used: nRF54L05
SDK version: nRF Connect SDK v3.1.1
Zephyr OS version: v4.1.99
Development tool: nRF Connect for VS Code