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

NRF52840 when using Timer and BLE services I found a problem

when using the TIMER,  I set the TIMER's time_ticks=53328 which means that every 3.33ms, the TIMER will call its callback function and start ADC sample. However,  when I use BLE services and TIMER at the same time, I found that ADC cannot be triggered every 3.33ms precisely and the error is about 1%. The crystal oscillator I use is 32MHZ and I thought the error should not be so big. So whether the BLE services will affect the accuracy of  TIMER when using them at the same time?

Related