REGULATORS — Regulator control

The power supply consists of a main regulator VREGMAIN that maximize the system's power efficiency.

All system components are powered from the main on-chip voltage regulator, VREGMAIN. The regulator converts the voltage supplied on VDD to internal voltage.

Figure 1. Regulator configuration
Regulator configuration

VREGMAIN — Main regulator

VREGMAIN is the main regulator of the system.

The device only supports DC/DC mode, which needs external components. For details, see Reference circuitry.

VREGMAIN starts up using a fall-back mode, and the DC/DC regulator must be enabled using register VREGMAIN.DCDCEN.

Inductor detection

The DC/DC regulator requires an external inductor connected to the DCC pin. If an inductor is not present, the regulator stays in fall-back mode to enable a soft shut-down of the system. Register VREGMAIN.INDUCTORDET reports the inductor detection status and can be used to detect inductor failures that prevent DC/DC operation.

Registers

Instances

InstanceDomainBase addressTrustZoneSplit accessDescription
MapAttDMA
REGULATORS : S
REGULATORS : NS
GLOBAL0x50120000
0x40120000
USSNANoRegulator control

Register overview

RegisterOffsetTZDescription
HIBERNATOR.SYSTEMHIBERNATE0x400Enter System hibernation mode for extreme low power consumption
HIBERNATOR.GPIORETENTIONRELEASE0x404Release GPIO retention on wake up from hibernation mode.
HIBERNATOR.GPIORETENTIONSTATUS0x408Read out if GPIO retention is active.
SYSTEMOFF0x500System OFF register
POFCON0x530

Power-fail comparator configuration

This register is retained.

POFSTAT0x534Power-fail comparator status register
VREGMAIN.DCDCEN0x600Enable DC/DC converter
VREGMAIN.INDUCTORDET0x604VREGMAIN inductor detection

HIBERNATOR

Hibernator interface

HIBERNATOR.SYSTEMHIBERNATE

Address offset: 0x400

Enter System hibernation mode for extreme low power consumption

Bit number313029282726252423222120191817161514131211109876543210
IDA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
AWSYSTEMHIBERNATEEnter hibernation mode
Enter1Enter hibernation mode

HIBERNATOR.GPIORETENTIONRELEASE

Address offset: 0x404

Release GPIO retention on wake up from hibernation mode.

Bit number313029282726252423222120191817161514131211109876543210
IDA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
ARWGPIORETENTIONRELEASERelease GPIO retention
NoRelease0Do not release retention
Release1Release retention

HIBERNATOR.GPIORETENTIONSTATUS

Address offset: 0x408

Read out if GPIO retention is active.

Bit number313029282726252423222120191817161514131211109876543210
IDA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
ARGPIORETENTIONSTATUSRead out if GPIO retention is active.
NotActive0GPIO retention is not active.
Active1GPIO retention is active.

SYSTEMOFF

Address offset: 0x500

System OFF register

Bit number313029282726252423222120191817161514131211109876543210
IDA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
AWSYSTEMOFFEnable System OFF mode
Enter1Enable System OFF mode

POFCON (Retained)

Address offset: 0x530

Power-fail comparator configuration

This register is retained.

Bit number313029282726252423222120191817161514131211109876543210
IDDCBBBBA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
ARWPOFEnable or disable power-fail comparator
Disabled0Disable
Enabled1Enable
BRWTHRESHOLDPower-fail comparator threshold setting
V0900Set threshold to 0.90 V for VDDL
V0951Set threshold to 0.95 V for VDDL
V1002Set threshold to 1.00 V for VDDL
V1053Set threshold to 1.05 V for VDDL
V1104Set threshold to 1.10 V for VDDL
V1155Set threshold to 1.15 V for VDDL
V1206Set threshold to 1.20 V for VDDL
V1257Set threshold to 1.25 V for VDDL
V1308Set threshold to 1.30 V for VDDL
V1359Set threshold to 1.35 V for VDDL
V14010Set threshold to 1.40 V for VDDL
V14511Set threshold to 1.45 V for VDDL
V15012Set threshold to 1.50 V for VDDL
V15513Set threshold to 1.55 V for VDDL
V16014Set threshold to 1.60 V for VDDL
V16515Set threshold to 1.65 V for VDDL
CRWEVENTDISABLEDisable the POFWARN power-fail warning event
Enabled0POFWARN event is generated
Disabled1POFWARN event is not generated
DRWPSELPower-fail comparator input selector
VddL1POF input connected to VDDL

POFSTAT

Address offset: 0x534

Power-fail comparator status register

Bit number313029282726252423222120191817161514131211109876543210
IDA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
ARCOMPARATORPower-fail comparator status
Above0Voltage detected above VPOF threshold
Below1Voltage detected below VPOF threshold

VREGMAIN

Register interface for main voltage regulator.

VREGMAIN.DCDCEN

Address offset: 0x600

Enable DC/DC converter

Bit number313029282726252423222120191817161514131211109876543210
IDA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
ARWVALEnable DC/DC buck converter
Disabled0Disable DC/DC buck converter
Enabled1

Enable DC/DC converter

If inductor is not present (see register VREGMAIN.INDUCTORDET), the DC/DC converter cannot operate

VREGMAIN.INDUCTORDET

Address offset: 0x604

VREGMAIN inductor detection

Ensure that an inductor is connected to the DCC pin. The detection can only take place before the DC/DC converter is enabled.

Note: The DC/DC converter cannot operate without an inductor.

Bit number313029282726252423222120191817161514131211109876543210
IDA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
ARDETECTED
InductorNotDetected0VREGMAIN inductor not detected
InductorDetected1VREGMAIN inductor detected