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

nrf51822 clock problem on voltage drop

Hi,

Im using an app_timer in my application to create a timeout for UART read (im not using SoftDevice). On my board I have USB and battery power, so at the moment when USB power disappears I need to send a message over UART about it. I think there is a voltage drop happening at that moment and app_timer handler doesnt get executed at all, so my program gets stuck in endless UART loop. The question is - if there is a voltage drop why MCU doesnt reset itself, but instead there is something happening with internal clock. And second question - how can I work around it?

Thanks!

Parents Reply Children
Related