This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

RTX osTimerStart() interval short

Hi! I'm trying to learn osTimerStart(), \ble_app_hrs_rtx. Compiling was successful, and it is working. If I set the timer interval shorter than 25 ms, the timer cycle becomes abnormally short. The cycle of other timers also becomes short.Is this a specification?

For example //#define RR_INTERVAL_INTERVAL 300 #define RR_INTERVAL_INTERVAL 10

Parents
  • When you set RR_INTERVAL_INTERVAL to 10 ms, Please check the main loop repeats, Is it 1000 ms cycle?. Perhaps, the cycle is about 920 ms. To reproduce this phenomenon, there is only one change point, "# define RR_INTERVAL_INTERVAL 10". What I use is our original board. If you can not reproduce, please answer the question about the argument of os_resume. 2 is correct? or 0 is ?

Reply
  • When you set RR_INTERVAL_INTERVAL to 10 ms, Please check the main loop repeats, Is it 1000 ms cycle?. Perhaps, the cycle is about 920 ms. To reproduce this phenomenon, there is only one change point, "# define RR_INTERVAL_INTERVAL 10". What I use is our original board. If you can not reproduce, please answer the question about the argument of os_resume. 2 is correct? or 0 is ?

Children
No Data
Related