Hi,
I want to set the reset bit to 1 in the reset register of Power Management module. Chip used in nrf51822. I have been trying to set the bit using the following statement:
NRF_POWER->RESET = 1;
Please let me know if there is any other way.
Hi,
I want to set the reset bit to 1 in the reset register of Power Management module. Chip used in nrf51822. I have been trying to set the bit using the following statement:
NRF_POWER->RESET = 1;
Please let me know if there is any other way.
Hi,
NRF_POWER->RESET = 1 enables pin reset in debug interface mode, is this what you want to do? Or do you want to reset? Then you can use NVIC_SystemReset()
, or sd_nvic_SystemReset()
if you have enabled the SoftDevice.
Only a 1k ohm external pulldown resistor should be necessary. Also if the device is restarting all the time, it is probably because of an error in your code. See this thread on how to debug, and find the error that is causing the restart.
Only a 1k ohm external pulldown resistor should be necessary. Also if the device is restarting all the time, it is probably because of an error in your code. See this thread on how to debug, and find the error that is causing the restart.