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??
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??
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:
When the system wakes up from System OFF mode, it gets reset.
have you seen my code in that link?? i am trying to wake it using gpio interrupt. but my nrf51 can't wake up. can you tell me why??
hello i have one question. how to verify that nrf51 is in system off mode or not??
waiting for reply
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.