REGULATORS — Regulator control

The power supply consists of a number of LDO and DC/DC regulators 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.

The device also has an USB regulator, which only powers the USB physical interface. It will not power the device. The USB regulator is documented in USBREG — USB regulator control.

Figure 1. Regulator configuration
Regulator configuration

The main supply voltage is connected to the VDD pin.

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
SYSTEMOFF0x500System OFF register
POFCON0x530Power-fail comparator configuration
POFSTAT0x534Power-fail comparator status register
VREGMAIN.DCDCEN0x600Enable DC/DC converter
VREGMAIN.INDUCTORDET0x604VREGMAIN inductor detection

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
IDCBBBBA
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

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