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

nRF52 DK Reset Button not working with Battery

Hello,

I cannot reset the nRF52 DK while running on battery power. I've tried multiple examples of the SDK which didn't work. However, when connecting the DK via USB, the reset works just fine. On a second board, the nRF52840 DK the reset button works for battery and USB powering, so I assume it should work on the nRF52 DK for both options as well. Is it possible to reset the nRF52 DK while running on battery power? If so, how can I enable the reset function?

Best regards,

Tobias

Parents
  • Hi Tobias,

    The reset button is connected to both the debugger and the reset pin on the nRF52840 by default, so there is no HW change needed. However, the default state of the nRF52840 chip is that pin reset is disabled. When connected to USB power the debugger ie enabled and will reset the device via SWD, so the reset button works in that case even without pin reset enabled.

    To make pin reset work, you need to write to the persistent PSELRESET registers in the UICR. The simplest way to do this is by using "nrfjprog.exe --pinresetenable".

    Einar

Reply
  • Hi Tobias,

    The reset button is connected to both the debugger and the reset pin on the nRF52840 by default, so there is no HW change needed. However, the default state of the nRF52840 chip is that pin reset is disabled. When connected to USB power the debugger ie enabled and will reset the device via SWD, so the reset button works in that case even without pin reset enabled.

    To make pin reset work, you need to write to the persistent PSELRESET registers in the UICR. The simplest way to do this is by using "nrfjprog.exe --pinresetenable".

    Einar

Children
Related