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

RTC1 not reset after DFU

I'm using an app timer to blink an LED while in the bootloader.

Initially I was configuring an app timer when the bootloader started up and never stopped it, assuming the reset would clear any RTC1 settings. I noticed that following a DFU, anything utilizing RTC1 was then ticking at a much higher rate. In the app, RTC1 is normally configured to 1kHz. Disabling the app timer prior to booting the app seemed fix the issue.

My question is, are the RTC1 settings not able to be changed unless the timer is stopped, even following a reset? Also, is there a way to uninit RTC1 from the app without needing the timer instance from the bootloader?

Regards, Ian

Related