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.

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 can only be operated in DC/DC mode, but the regulator also has an LDO mode that is used to start up the device.

After reset and device start up, VREGMAIN is enabled and uses LDO. Once the device starts, the DC/DC regulator must be enabled using register VREGMAIN.DCDCEN. When enabling the DC/DC regulator, the device checks if an inductor is connected to the DCC pin. If an inductor is not detected, the device remains in LDO mode. While in LDO mode, register VREGMAIN.INDUCTORDET reports the inductor detection status and is used to detect inductor failure. An inductor failure means the DC/DC mode was not able to start.

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

Registers

Instances

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

Register overview

RegisterOffsetTZDescription
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

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