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

BLE_APP_UART not sleeping or keeps restarting

Hi all,

I am testing out the BLE_APP_UART example on a NRF52DK and I am using SDK13.0 (PCA10040, S132).

I have change the app advert timeout to be 10 seconds.

I am observing the NRF_LOG in J-LINK RTT viewer and running debug mode at the same time. What I am seeing is "UART Start" getting printed every 10 seconds. And as soon as I press on Button 1, the BSP_EVENT _SLEEP event is called (program jumps into the function) and it goes into the sleep_mode_enter function.

However, it doesn't seem to go to sleep. Calling the sd_power_system_off() function seems to give some program and the program restarts I think and I see "UART Start" printed again.

Can anyone advise on what could be wrong? Thanks!

Related