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
POFCON0x530Power-fail comparator configuration
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

Address offset: 0x530

Power-fail comparator configuration

Bit number313029282726252423222120191817161514131211109876543210
IDDCBBBBA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
ARWPOFEnable or disable power-fail comparator
Disabled0Disable
Enabled1Enable
BRWTHRESHOLDPower-fail comparator threshold setting
V170Set threshold to 1.7 V for VDD
V181Set threshold to 1.8 V for VDD
V192Set threshold to 1.9 V for VDD
V203Set threshold to 2.0 V for VDD
V214Set threshold to 2.1 V for VDD
V225Set threshold to 2.2 V for VDD
V236Set threshold to 2.3 V for VDD
V247Set threshold to 2.4 V for VDD
V258Set threshold to 2.5 V for VDD
V269Set threshold to 2.6 V for VDD
V2710Set threshold to 2.7 V for VDD
V2811Set threshold to 2.8 V for VDD
V2912Set threshold to 2.9 V for VDD
V3013Set threshold to 3.0 V for VDD
V3114Set threshold to 3.1 V for VDD
V3215Set threshold to 3.2 V for VDD
CRWEVENTDISABLEDisable the POFWARN power-fail warning event
Enabled0POFWARN event is generated
Disabled1POFWARN event is not generated
DRWPSELPower-fail comparator input selector
Vdd0POF input connected to VDD

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