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

system off mode questions

link text from this link i have some questions (1) when i am trying to do step by step debugging ,debugger stops at sd_power_system_off();. can you tell me what to write in that code that make debugging start again??

Parents
  • FormerMember
    0 FormerMember

    The reason that the debugger stops at sd_power_system_off() is related to what system OFF mode works. The nRF52832 product specification says the following:

    System OFF is the deepest power saving mode the system can enter. In this mode, the system’s core functionality is powered down and all ongoing tasks are terminated.

    The device can be put into System OFF mode using the POWER register interface.

    When in System OFF mode, the device can be woken up through one of the following signals:

    • The DETECT signal, optionally generated by the GPIO peripheral
    • The ANADETECT signal, optionally generated by the LPCOMP module
    • The SENSE signal, optionally generated by the NFC module to “wake-on-field”
    • A reset

    When the system wakes up from System OFF mode, it gets reset.

  • FormerMember
    0 FormerMember in reply to FormerMember

    The reason that you seemingly is not able to wake up the chip, is that it will always enter system off mode after all parameters have been initializes.

    If you run the chip in debug mode and set at breakpoint in the beginning of main(), you should see that the chip is being reset when pushing the button.

Reply Children
No Data
Related