This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

exit from debug mode (S110)

Hi,

I'm using the softdevice s110. The power consumption is sometimes a little weird (around 1 mA). I think that the chip is in debug mode. How can I know if the chip is really in this mode ? In this case, is it possible to disable this mode by using NRF_POWER->RESET?

Thanks

Parents
  • Try to perform the exit procedure assuming that the system is in Debug mode and see if the current consumption decreases, if not something else is drawing the current. With this we can atleast eliminate the the device is not in debug mode. below is the procedure to do it.

    Normal mode can always be resumed by performing a "hard-reset" through the SWD interface:

    1. Enable reset through the RESET register in the POWER peripheral.
    2. Hold the SWDCLK and SWDIO/nRESET line low for a minimum of 100 μs.
  • That is an input pin to the nRF chip, so on devkits it is controlled by Segger ATMEL chip else if you use debugIN port then the debugger controls it. If you do not intend to use SWDCLK at all after programming, just connect it to ground GND (maybe temporarily). That should guarantee that it remains stable. And no you cannot disable that pin

Reply
  • That is an input pin to the nRF chip, so on devkits it is controlled by Segger ATMEL chip else if you use debugIN port then the debugger controls it. If you do not intend to use SWDCLK at all after programming, just connect it to ground GND (maybe temporarily). That should guarantee that it remains stable. And no you cannot disable that pin

Children
No Data
Related