Hi,
What is the difference between performing a reset by using the function sd_nvic_SystemReset(), and performing a reset by turning the power voltage off and then turn it on again?
Best Regards
JK
Hi,
What is the difference between performing a reset by using the function sd_nvic_SystemReset(), and performing a reset by turning the power voltage off and then turn it on again?
Best Regards
JK
Hi JK,
If you want to do the Soft reset with SoftDevice, you should use sd_nvic_SystemReset().
All API functions that start with sd_ are calls to the SoftDevice (BLE stack), and can only be used when the SoftDevice is enabled. In general, you cannot access resources that are shared between the application and the SoftDevice directly when the softdevice is enabled, and you have to use the sd_* calls.
The sd_nvic_* calls are a bit different though, and there is not always a need to use them. See this thread for details.
Also, see Reset/ Power-on reset and Soft reset.
-Amanda H.
Hi,
Thanks for you help,
What is the function to use to perform the Power-on reset please?
BR
JK
Hi JK,
Power-On-Reset is a hardware feature that ensures that the nRF is kept in RESET state until VDD has reached a valid level. This is 100 % hardware controlled, and cannot be controlled in software. Doing a power-cycle (switching the power supply off/on) will restart program execution.
-Amanda H.