There are multiple reset sources that may trigger a reset of the system. After a reset the CPU can query the RESETREAS (reset reason register) to find out which source generated the reset.
The power-on reset generator initializes the system at power-on. The system is held in reset state until the supply has reached the minimum operating voltage and the internal voltage regulators have started.
A pin reset is generated when the physical reset pin (nRESET) on the device is pulled low.
To ensure that reset is issued correctly, the reset pin should be held low for time given in Pin reset .
nRESET pin has an always-on internal pull-up resistor connected to nRF9160 internal voltage typically of 2.2 V level. This is illustrated in the figure below. The value of the pull-up resistor is given in Pin reset.
The device is reset when it wakes up from System OFF mode.
The Debug access port is not reset following a wake up from System OFF mode if the device is in debug interface mode, see Debug and trace chapter for more information.
A soft reset is generated when the SYSRESETREQ bit of the application interrupt and reset control register (AIRCR register) in the ARM® core is set.
A watchdog reset is generated when the watchdog timer (WDT) times out.
See WDT — Watchdog timer chapter for more information.
The brownout reset generator puts the system in reset state if the supply voltage drops below the brownout reset threshold.
A retained register is a register that will retain its value in System OFF mode, and through a reset depending on reset source. See individual peripheral chapters for information of which registers are retained for the different peripherals.
Reset behavior depends on the reset source.
The reset behavior is summarized in the table below.
Reset source | Reset target | |||||||
---|---|---|---|---|---|---|---|---|
CPU | Modem | Debug1 | SWJ-DP | Not retained RAM2 | Retained RAM2 | WDT | RESETREAS | |
CPU lockup 3 | x | x | ||||||
Soft reset | x | x | ||||||
Wakeup from System OFF mode reset | x | x | x 4 | x | x | |||
Watchdog reset 5 | x | x | x | x | x | |||
Pin reset | x | x | x | x | x | x | ||
Brownout reset | x | x | x | x | x | x | x | x |
Power-on reset | x | x | x | x | x | x | x |
Reset source | Reset target | |||||
---|---|---|---|---|---|---|
Regular peripheral registers | GPIO, SPU | NVMC WAITSTATENUM | NVMC IFCREADDELAY | REGULATORS, OSCILLATORS | POWER.GPREGRET | |
CPU lockup3 | x | x | x | |||
Soft reset | x | x | x | |||
Wakeup from System OFF mode reset | x | x | ||||
Watchdog reset5 | x | x | x | x | ||
Pin reset | x | x | x | x | ||
Brownout reset | x | x | x | x | x | x |
Power-on reset | x | x | x | x | x | x |
Symbol | Description | Min. | Typ. | Max. | Units | ||||
---|---|---|---|---|---|---|---|---|---|
tHOLDRESET |
Hold time for reset pin when doing a pin reset |
5 | µs | ||||||
RPULL-UP |
Value of the internal pull-up resistor |
13 | kΩ |