Good afternoon,
I am developing with the nrf connect SDK and I want to implement the Zephyr RTOS in my project. This is cause i have a "main" thread that needs to run at 50 Hz and i have an aditional thread that only needs to run at 0.1 Hz. However I can't seem to get it to work. I am using timers to keep track of the passed time so it runs at almost perfectly the speed it needs to. But everytime the whole code only runs at 0.1 Hz cause it does them after eachother. My question is: what is the best way to make the two threads run at the speeds they need to.
Kind regards,
Niels Redegeld.