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.
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.
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.