RESET — Reset control

A reset in the system is triggered by either a system-level or core-level reset source.

A system-level reset resets all cores. Power-on reset, brownout reset, and pin reset are examples of a system-level reset. A core-level reset, such as a soft reset or a lockup, resets either the entire core or only part of it. The different reset sources in the system are illustrated in the following figure.

Figure 1. Reset sources
Reset resources

After a system-level reset, the application core starts up on its own. The network core is not automatically started, but can be started by the application core CPU, see Network Force-OFF.

After a reset occurs, the register RESETREAS can be read to determine which source generated the reset. Each core has its own RESETREAS register. System-level and application core reset sources are also available in the network core's RESETREAS register, unless otherwise noted.

Power-on reset

The power-on reset (POR) generator initializes the system when the VDD supply voltage is above the power-on threshold. This also applies in high voltage mode, where the VDD supply voltage is provided by the high voltage regulator (VREGH).

The system is held in a reset state until the supply has reached the minimum operating voltage, and the internal voltage regulators have started. After a power-on reset, the application core is started while the network core is held in reset, see Network Force-OFF.

Pin reset

A pin reset is generated when the physical reset pin on the device is asserted.

Similar to a power-on reset, the application core is started after the reset pin is deasserted. The network core is held in reset, see Network Force-OFF.

The reset pin has an internal pull-up resistor with the same resistance as GPIO pull-ups, see GPIO — General purpose input/output.

Brownout reset

The brownout reset (BOR) generator puts the system in reset state if the VDD supply voltage drops below the brownout reset threshold. This also applies in high voltage mode, where the VDD supply voltage is provided by the high voltage regulator (VREGH).

Similar to a power-on reset, the application core is started after BOR is deasserted while the network core is held in reset, see Network Force-OFF.

Wakeup from System OFF mode reset

The device is reset when it wakes up from System OFF mode.

Similar to a power-on reset, the application core is started while the network core is held in reset, see Network Force-OFF.

If the device is in Debug Interface mode, the debug access port (DAP) is not reset after a wakeup from System OFF. For more information, see Debug and trace.

Soft reset

Soft reset is generated when the SYSRESETREQ bit of the application interrupt and reset control register (AIRCR) in the Arm® core is set. For more information, see Arm documentation.

When the application core performs a soft reset, the network core is held in reset, see Network Force-OFF. A soft reset in the network core will only cause the network core to reset.

A soft reset can also be generated using the RESET register in the associated CTRL-AP.

Watchdog timer reset

A watchdog timer (WDT) reset is generated when the watchdog timer times out.

Each core has its own WDT instance. When the application core gets a WDT reset, the network core is held in reset, see Network Force-OFF. A WDT reset in the network core will only cause the network core to reset. The reset target depends on the core where WDT is instantiated.

Note: Because the network core WDT reset is local for the network core, the application core is not aware of WDT timing out in the network core. Notifying the application core is possible. One way is to check the register RESETREAS for WDT flags and report the error through inter-processor communication (IPC).

For more information about WDT, see WDT — Watchdog timer. More information about IPC is available in IPC — Interprocessor communication.

Network Force-OFF

The application core can force the network core off.

The application core can hold the network core in Force-OFF mode, using register NETWORK.FORCEOFF.

Application core resets implicitly result in the network core being held in Force-OFF. The network core will be held in Force-OFF until the application core releases it using the NETWORK.FORCEOFF register.

For details on how to use this mode, see Force-OFF mode.

Retained registers

A retained register is one that retains its value in System OFF and/or Force-OFF modes and when reset, depending on the reset source. See individual peripheral chapters for information about which registers are retained for the various peripherals.

Application core reset behavior

Application core reset behavior depends on the reset source.

Any reset in the application core will cause a network core Force-OFF, triggering the FORCEOFF reset source in the network core. For more information, see Network Force-OFF.

In System OFF mode, the watchdog timer is not running and there is no CPU lockup possible. RAM may be fully or partially retained, depending on RAM retention settings in VMC — Volatile memory controller.

If the device is in Debug Interface mode, the debug components will not be reset. Additionally, CPU lockup will not generate a reset. See Debug and trace for more information about the different debug components in the system.

Application core reset targets and their reset sources are summarized in the following table.

Table 1. Application core reset targets and their reset sourcesAn 'x' in the table means that the specific module is reset.
Reset sourceReset target
CPUNetwork coreDebugRAMWDTRESETREAS
CPU lockupxx
Soft resetxx
Wakeup from System OFF mode resetxxxx1x
Watchdog timer resetxxxxx
Pin resetxxxxx
Brownout resetxxxxxx
Power-on resetxxxxxx
NETWORK.FORCEOFFx

Note: RAM is never reset, but depending on the reset source, its content may be corrupted.

Some retained registers may have a different reset behavior, as shown in the following table.

Table 2. Application core reset behavior for retained registersAn 'x' in the table means that the specific module is reset.
Reset sourceReset target
Regular peripheral registersSPUGPIOREGU­LATORS, OSC­I­LLATORSPOWER­GPREGRET
CPU lockupxxx2
Soft resetxxx2
Wakeup from System OFF mode resetx
Watchdog timer resetxxxx
Pin resetxxxx
Brownout resetxxxxx
Power-on resetxxxxx

Network core reset behavior

Network core reset behavior depends on the reset source.

In System OFF mode, or when the network core is held in Force-OFF, the watchdog timer is not running and there is no CPU lockup possible. RAM may be fully or partially retained, depending on RAM retention settings in VMC — Volatile memory controller.

If the device is in Debug Interface mode, the debug components will not be reset. Additionally, CPU lockup will not generate a reset. See Debug and trace for more information about the different debug components in the system.

Any reset in the application core will cause a network core force off, triggering the network FORCEOFF reset source in the following table. For more information, see Network Force-OFF.

Table 3. Network core reset target sourcesAn 'x' in the table means that the specific module is reset. Pin reset, brownout reset, and power-on reset are system level reset sources with the network core and application core having the same behavior, see Application core reset behavior.
Reset sourceReset target
CPURAMWDTRESETREAS
CPU lockupx
Soft resetx
Network FORCEOFFxx3x
Application Watchdog timer resetxxx
Local Watchdog timer resetxxx

Note: RAM is never reset, but its content may be corrupted depending on the reset source.

Some retained registers may have a different reset behavior, as shown in following table.

Table 4. Network core reset behavior for retained registersAn 'x' in the table means that the specific module is reset. Pin reset, brownout reset, and power-on reset are system level reset sources with the network core and application core having the same behavior, see Application core reset behavior.
Reset sourceReset target
Regular peripheral registersGPIOPOWER.­GPREGRET
CPU lockupxx 4
Soft resetxx 4
Network FORCEOFFx
Application Watchdog timer resetxx
Local Watchdog timer resetxx

Registers

Instances

InstanceDomainBase addressTrustZoneSplit accessDescription
MapAttDMA
RESET : S
RESET : NS
APPLICATION0x50005000
0x40005000
USSNANoReset control and status
RESETNETWORK0x41005000HFNSNANoReset status

Configuration

InstanceDomainConfiguration
RESET : S
RESET : NS
APPLICATIONNot supported: LSREQ, LLOCKUP, LDOG, MRST, MFORCEOFF, LCTRLAP
RESETNETWORKNot supported: NETWORK.FORCEOFF

Register overview

RegisterOffsetTZDescription
RESETREAS0x400Reset reason
NETWORK.FORCEOFF0x614Force network core off

RESETREAS

Address offset: 0x400

Reset reason

Unless cleared, the RESETREAS register will be cumulative. A field is cleared by writing 1 to it. Multiple fields can be cleared at the same time by writing a value with several of the fields set to 1.

Bit number313029282726252423222120191817161514131211109876543210
IDPONMLKJIHGFEDCBA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
ARWRESETPINReset from pin reset detected
NotDetected0Not detected
Detected1Detected
BRWDOG0Reset from application watchdog timer 0 detected
NotDetected0Not detected
Detected1Detected
CRWCTRLAPReset from application CTRL-AP detected
NotDetected0Not detected
Detected1Detected
DRWSREQReset from application soft reset detected
NotDetected0Not detected
Detected1Detected
ERWLOCKUPReset from application CPU lockup detected
NotDetected0Not detected
Detected1Detected
FRWOFFReset due to wakeup from System OFF mode when wakeup is triggered by DETECT signal from GPIO
NotDetected0Not detected
Detected1Detected
GRWLPCOMPReset due to wakeup from System OFF mode when wakeup is triggered by ANADETECT signal from LPCOMP
NotDetected0Not detected
Detected1Detected
HRWDIFReset due to wakeup from System OFF mode when wakeup is triggered by entering the Debug Interface mode
NotDetected0Not detected
Detected1Detected
IRWLSREQ

Reset from network soft reset detected

Function present only in network core

NotDetected0Not detected
Detected1Detected
JRWLLOCKUP

Reset from network CPU lockup detected

Function present only in network core

NotDetected0Not detected
Detected1Detected
KRWLDOG

Reset from network watchdog timer detected

Function present only in network core

NotDetected0Not detected
Detected1Detected
LRWMFORCEOFF

Force-OFF reset from application core detected

Function present only in network core

NotDetected0Not detected
Detected1Detected
MRWNFCReset after wakeup from System OFF mode due to NFC field being detected
NotDetected0Not detected
Detected1Detected
NRWDOG1Reset from application watchdog timer 1 detected
NotDetected0Not detected
Detected1Detected
ORWVBUSReset after wakeup from System OFF mode due to VBUS rising into valid range
NotDetected0Not detected
Detected1Detected
PRWLCTRLAP

Reset from network CTRL-AP detected

Function present only in network core

NotDetected0Not detected
Detected1Detected

NETWORK.FORCEOFF

Address offset: 0x614

Force network core off

Function present only in application core

Bit number313029282726252423222120191817161514131211109876543210
IDA
Reset 0x0000000100000000000000000000000000000001
IDR/WFieldValue IDValueDescription
ARWFORCEOFFForce network core off
Release0Release Force-OFF
Hold1Hold Force-OFF

Electrical specification

Application core startup times

SymbolDescriptionMin.Typ.Max.Units
tPORTime in power-on reset after supply reaches minimum operating voltage, depending on supply rise time.......
tPOR,10usVDD rise time 10 µs0.71.0ms
tPOR,10msVDD rise time > 10 ms0ms
tPINRReset time when using pin reset, depending on pin capacitance......
tPINR,500nF500 nF capacitance at reset pin1340ms
tPINR,10uF10 µF capacitance at reset pin260800ms
tR2ONTime from reset to ON (CPU execute)tPOR + tPINR
tOFF2ON,NMTime from OFF to CPU execute when in normal voltage mode (supply on VDD)38µs
tOFF2ON,LDO,HVTime from OFF to CPU execute when in high voltage mode (supply on VDDH) and VREGH using LDO regulator38µs
tOFF2ON,DCDC,HVTime from OFF to CPU execute when in high voltage mode (supply on VDDH) and VREGH using DC/DC regulator38µs
tIDLE2CPUTime from IDLE to CPU execute23µs
tIDLE2CPU,CONSTLATTime from IDLE to CPU execute in constant latency submode10µs
tEVTSET,CL1Time from HW event to PPI event in Constant Latency System ON mode62.5ns
tEVTSET,CL0Time from HW event to PPI event in Low-Power System ON mode62.5ns

Network core startup times

SymbolDescriptionMin.Typ.Max.Units
tNET,EVTSET,CL1Time from HW event to PPI event in Constant Latency System ON mode62.5ns
tNET,EVTSET,CL0Time from HW event to PPI event in Low-Power System ON mode62.5ns
tNET,IDLE2CPUTime from IDLE to CPU execute15µs
tNET,IDLE2CPU,CONSTLATTime from IDLE to CPU execute in constant latency submode7µs
tFO2ON,NET64Time for network core from OFF to CPU execute after NETWORK.FORCEOFF is released20µs
1 Depending on RAM retention settings.
2 Except MCUSEL field, the MCUSEL register of the GPIO peripheral is not reset for CPU lockup and Soft reset.
3 Depending on RAM retention settings.
4 MCUSEL settings are kept.