2.12. Chip-Level Reset
2.12.1. Overview
The chip-level reset subsystem resets the whole chip, placing it in a default state. This happens at initial power-on, during a power supply brown-out event or when the chip's RUN pin is taken low. The chip can also be reset via the
Rescue Debug Port. See Section 2.3.4.2, “Rescue DP” for details.
The subsystem has two reset outputs.
rst_n_psm, which resets the whole chip, except the debug port, and
rst_n_dp, which only resets the Rescue DP. Both resets are held low at initial power-on, during a brown-out event or when RUN is low.
rst_n_psm can additionally be held low by the Rescue DP via the subsystem’s
psm_restart input. This allows the chip to be reset via the Rescue DP without resetting the Rescue DP itself. The subsystem releases chip level reset by taking
rst_n_psm high, handing control to the Power-on State Machine, which continues to start up the chip. See
Section 2.13, “Power-On State Machine”
for details.
The chip level reset subsystem is shown in Figure 21 , and more information is available in the following sections.
Figure 21. The chip-level reset subsystem

The diagram illustrates the chip-level reset subsystem. It shows the following components and connections:
- VREG_VIN is connected to a Supply Monitor .
- The Supply Monitor output goes to an initialise_por_n block.
- DVDD is connected to the initialise_por_n block.
- The initialise_por_n block outputs to a Power-on Reset block.
- The Power-on Reset block outputs to an initialise_n_por_n block.
- The initialise_n_por_n block outputs to a bod_n block.
- The bod_n block has an enable input and is labeled Brown-out Detection .
- The psm_restart input and the output of the initialise_n_por_n block are connected to an AND gate.
- The output of this AND gate is connected to the rst_n_psm output.
- The output of the initialise_n_por_n block is also connected to another AND gate.
- The output of this second AND gate is connected to the rst_n_dp output.
2.12.2. Power-on Reset
The power-on reset block makes sure the chip starts up cleanly when power is first applied by holding it in reset until the digital core supply (DVDD) can reliably power the chip’s core logic. The block holds its
por_n output low until DVDD has been above the
power-on reset threshold
(
\(
DVDD_{TH,POR}
\)
) for a period greater than the
power-on reset assertion delay
(
\(
t_{POR,ASSERT}
\)
). Once high,
por_n remains high even if DVDD subsequently falls below
\(
DVDD_{TH,POR}
\)
, unless brown-out detection is enabled. The behaviour of
por_n when power is applied is shown in
Figure 22
.
\(
DVDD_{TH,POR}
\)
is fixed at a nominal 0.957V, which should result in a threshold between 0.924V and 0.99V. The threshold assumes a nominal DVDD of 1.1V at initial power-on, and
por_n may never go high if a lower voltage is used. Once the chip is out of reset, DVDD can be reduced without
por_n going low, as long as brown-out detection has been disabled or a suitable threshold voltage has been set.
Figure 22. A power-on reset cycle

The timing diagram shows the relationship between DVDD and por_n during a power-on reset cycle:
- DVDD is shown as a signal that rises from a low level to a high level.
- por_n is shown as a signal that is initially low.
- A dashed horizontal line indicates the \( DVDD_{TH,POR} \) threshold.
- When DVDD rises above the threshold, por_n transitions from low to high.
- A horizontal double-headed arrow labeled \( t_{POR,ASSERT} \) indicates the time delay between DVDD crossing the threshold and por_n becoming high.
- After por_n becomes high, it remains high even if DVDD subsequently falls below the threshold.
2.12.2.1. Detailed Specifications
Table 193. Power-on Reset Parameters
| Parameter | Description | Min | Typ | Max | Units |
|---|---|---|---|---|---|
| DVDD TH.POR | power-on reset threshold | 0.924 | 0.957 | 0.99 | V |
| t POR.ASSERT | power-on reset assertion delay | 3 | 10 | µs |
2.12.3. Brown-out Detection
The brown-out detection block prevents unreliable operation by initiating a power-on reset cycle if the digital core supply (DVDD) drops below a safe operating level. The block's
bod_n output is taken low if DVDD drops below the
brown-out detection threshold
(DVDD
TH.BOD
) for a period longer than the
brown-out detection assertion delay
(t
BOD.ASSERT
). This re-initialises the power-on reset block, which resets the chip, by taking its
por_n output low, and holds it in reset until DVDD returns to a safe operating level. Figure 23 shows a brown-out event and the subsequent power-on reset cycle.
Figure 23. A brown-out detection cycle

2.12.3.1. Detection Enable
Brown-out detection is automatically enabled at initial power-on or after a brown-out initiated reset. There is, however, a short delay, the
brown-out detection activation delay
(t
BOD.ACTIVE
), between
por_n going high and detection becoming active. This is shown in Figure 24.
Figure 24. Activation of brown-out detection at initial power-on and following a brown-out event.

Once the chip is out of reset, detection can be disabled under software control. This also saves a small amount of power. If detection is subsequently re-enabled, there will be another short delay, the brown-out detection enable delay (t BOD.ENABLE ), before it becomes active again. This is shown in Figure 25.
Detection is disabled by writing a zero to the EN field in the BOD register and is re-enabled by writing a one to the same field. The block's bod_n output is high when detection is disabled.
Figure 25. Disabling and enabling brown-out detection

The diagram shows a signal trace for the EN field of the BOD register. The signal starts at 1, transitions to 0, and then transitions back to 1. Below the signal trace, the detection state is indicated: 'detection inactive' when EN is 0, and 'detection active' when EN is 1. A horizontal arrow labeled \( t_{BOD.ENABLE} \) indicates the delay between the EN signal transitioning from 0 to 1 and the detection becoming active.
Detection is re-enabled if the BOD register is reset, as this sets the register's EN field to one. Again, detection will become active after a delay equal to the brown-out detection enable delay ( \( t_{BOD.ENABLE} \) ).
NOTE
If the BOD register is reset by a power-on or brown-out initiated reset, the delay between the register being reset and brown-out detection becoming active will be equal to the brown-out detection activation delay ( \( t_{BOD.ACTIVE} \) ). The delay will be equal to the brown-out detection enable delay ( \( t_{BOD.ENABLE} \) ) for all other reset sources.
2.12.3.2. Adjusting the Detection Threshold
The brown-out detection threshold ( \( DVDD_{TH.BOD} \) ) has a nominal value of 0.86V at initial power-on or after a reset event. This should result in a detection threshold between 0.83V and 0.89V. Once out of reset, the threshold can be adjusted under software control. The new detection threshold will take effect after the brown-out detection programming delay ( \( t_{BOD.PROG} \) ). An example of this is shown in Figure 26 .
The threshold is adjusted by writing to the VSEL field in the BOD register. See the BOD register description for details.
Figure 26. Adjusting the brown-out detection threshold

The diagram shows a signal trace for the VSEL field of the BOD register. The signal starts at 1001, transitions to 0111, and then transitions back to 1001. Below the signal trace, the detection threshold is indicated: 'threshold 0.86V' when VSEL is 1001, and 'threshold 0.774V' when VSEL is 0111. A horizontal arrow labeled \( t_{BOD.PROG} \) indicates the delay between the VSEL signal transitioning from 1001 to 0111 and the threshold becoming 0.774V.
2.12.3.3. Detailed Specifications
Table 194. Brown-out Detection Parameters
| Parameter | Description | Min | Typ | Max | Units |
|---|---|---|---|---|---|
| \( DVDD_{TH.BOD} \) | brown-out detection threshold | 96.5 | 100 | 103.5 | % of selected threshold voltage |
| \( t_{BOD.ACTIVE} \) | brown-out detection activation delay | 55 | 80 | \( \mu s \) |
| Parameter | Description | Min | Typ | Max | Units |
|---|---|---|---|---|---|
| \( t_{\text{BOD,ASSERT}} \) | brown-out detection assertion delay | 3 | 10 | \( \mu\text{s} \) | |
| \( t_{\text{BOD,ENABLE}} \) | brown-out detection enable delay | 35 | 55 | \( \mu\text{s} \) | |
| \( t_{\text{BOD,PROG}} \) | brown-out detection programming delay | 20 | 30 | \( \mu\text{s} \) |
2.12.4. Supply Monitor
The power-on and brown-out reset blocks are powered by the on-chip voltage regulator's input supply (VREG_VIN). The blocks are initialised when power is first applied, but may not be reliably re-initialised if power is removed and then reapplied before VREG_VIN has dropped to a sufficiently low level. To prevent this happening, VREG_VIN is monitored and the power-on reset block is re-initialised if it drops below the VREG_VIN activation threshold (VREG_VIN TH,ACTIVE ). VREG_VIN TH,ACTIVE is fixed at a nominal 1.1V, which should result in a threshold between 0.87V and 1.26V. This threshold does not represent a safe operating voltage. It is the voltage that VREG_VIN must drop below to reliably re-initialise the power-on reset block. For safe operation, VREG_VIN must be at a nominal voltage between 1.8V and 3.3V.
2.12.4.1. Detailed Specifications
Table 195. Voltage Regulator Input Supply Monitor Parameters
| Parameter | Description | Min | Typ | Max | Units |
|---|---|---|---|---|---|
| VREG_VIN TH,ACTIVE | VREG_VIN activation threshold | 0.87 | 1.1 | 1.26 | V |
2.12.5. External Reset
The chip can also be reset by taking its RUN pin low. Taking RUN low will hold the chip in reset irrespective of the state of the core power supply (DVDD) and the power-on reset / brown-out detection blocks. The chip will come out of reset as soon as RUN is taken high, if all other reset sources have been released. RUN can be used to extend the initial power-on reset, or can be driven from an external source to start and stop the chip as required. If RUN is not used, it should be tied high.
2.12.6. Rescue Debug Port Reset
The chip can also be reset via the Rescue Debug Port. This allows the chip to be recovered from a locked up state. In addition to resetting the chip, a Rescue Debug Port reset also sets the
PSM_RESTART_FLAG in the
CHIP_RESET register. This is checked by the bootcode at startup, causing it to enter a safe state if the bit is set. See
Section 2.3.4.2, "Rescue DP"
for more information.
2.12.7. Source of Last Reset
The source of the most recent chip-level reset can be determined by reading the state of the
HAD_POR,
HAD_RUN and
HAD_PSM_RESTART fields in the
CHIP_RESET register. A one in the
HAD_POR field indicates a power supply related reset, i.e. either a power-on or brown-out initiated reset, a one in the
HAD_RUN field indicates the chip was last reset by the RUN pin, and a one in the
HAD_PSM_RESTART field indicates the chip has been reset via Rescue Debug Port. There should never be more than one field set to one.
2.12.8. List of Registers
The chip-level reset subsystem shares a register address space with the on-chip voltage regulator. The registers for both subsystems are listed in
Section 2.10.6
. The shared address space is referred to as
vreg_and_chip_reset elsewhere in this document.