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

Timer resources other than FreeRTOS software timers

Hello, 

We are developing an application with nRF52832, and both FreeRTOS and SoftDevice s132 present. The problem is: are there timer resources other than FreeRTOS software timers available? The reason why I need extra timers is as following.

As far as I know, the FreeRTOS software timers is implemented with a FreeRTOS Task, and its tick frequency is determined by configTICK_RATE_HZ which is set to 1024 in our application. That means I can get timer interrupt about every 1ms. However, I want more accruate timer for use. It's okey to increase configTICK_RATE_HZ but this also leads to higher power consumption and sacrifices system performance. I know nrf_drv_timer's frequency can be configured as 16MHz, but it has been used by SoftDevice so I can't access.

Is there any solution?

Best regards,

Alan

Parents Reply Children
No Data
Related