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.
Hi,
I want to disable the external reset pin, during runtime. How can i do that.
Regards, Sumit
In normal mode there is no way to disable the nReset function of the nRESET/SWDIO pin. Are you having problem with the device resetting? In the latest reference design an additional 1k ohm external pulldown resistor on the SWDCLK is now recommended if you are having reset issues.
we have Pulled it down using 1M ohm resistor. Should this do. Or only 1k ohm is recommended
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.