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
  • I launched Keil MDK-ARM and downloaded "ble_app_hrs_rtx" via the Pack installer. I understood that you say, this process is out of support. When using the same experiment using nRF5_SDK_11.0.0_89a 8197 (s130_nrf 51_2.0.1 _softdevice.hex), and project file is \nRF5_SDK_11.0.0_89a8197\examples\ble_peripheral\ble_app_hrs_rtx\pca10028\s130\arm5_no_packs\ble_app_hrs_rtx_s130_pca10028.uvprojx, the same phenomenon occurred. rr_interval_timeout_handler () is repeated 284 ms. And if I rewrite os_idle_demon () "for (;;);", this phenomenon does not occur.

Reply
  • I launched Keil MDK-ARM and downloaded "ble_app_hrs_rtx" via the Pack installer. I understood that you say, this process is out of support. When using the same experiment using nRF5_SDK_11.0.0_89a 8197 (s130_nrf 51_2.0.1 _softdevice.hex), and project file is \nRF5_SDK_11.0.0_89a8197\examples\ble_peripheral\ble_app_hrs_rtx\pca10028\s130\arm5_no_packs\ble_app_hrs_rtx_s130_pca10028.uvprojx, the same phenomenon occurred. rr_interval_timeout_handler () is repeated 284 ms. And if I rewrite os_idle_demon () "for (;;);", this phenomenon does not occur.

Children
No Data
Related