27.7.8 VREG Control

Note: During normal operation, all voltage regulators that are in use must be left in the On state to allow for the proper transition between different low-power/standby states.
Table 27-11. Register Bit Attribute Legend
SymbolDescriptionSymbolDescriptionSymbolDescription
RReadable bitHCCleared by Hardware(Grey cell)Unimplemented
WWritable bitHSSet by HardwareXBit is unknown at Reset
KWrite to clearSSoftware settable bit
Name: VREGCTRL
Offset: 0x01C
Reset: 0x00000004
Property: RW

Bit 3130292827262524 
 BKUP_VLDSRAM_VLD  AVREGSTDBY[3:0] 
Access RWRWRWRWRWRW 
Reset 000000 
Bit 2322212019181716 
     AVREGEN[3:0] 
Access RWRWRWRW 
Reset 0000 
Bit 15141312111098 
 ULDOLEVEL[1:0]ULDOSTDBYULDOENCPEN[3:0] 
Access RWRWRWRWRWRWRWRW 
Reset 00000000 
Bit 76543210 
 SCAPEN LVHIBLVSTDBY OFFSTDBYVREGOUT[1:0] 
Access R/WRWRWRWRWRW 
Reset 000100 

Bit 31 – BKUP_VLD Backup Domain Valid Status Bit

Note: Hardware Cleared by Reset and Power Management Unit Whenever Backup power domain is lost. Software (SW) Set by Backup Domain Initialization Code in BOOT ROM when completed.
ValueDescription
0Backup “BKUP” Power Domain has encountered a power loss and contents are not valid.(DEFAULT)
1Backup “BKUP” Power Domain has not encountered a power loss. Contents are valid.

Bit 30 – SRAM_VLD SRAM VALID Status Bit

Note:
  1. Hardware Clear by Reset and Power Management Units whenever SRAM power domain is lost.
  2. Should be set by Users SW Code once valid data has been written into System SRAM when " MCRAMC.CTRLA.ENABLE = 0" after SRAM is initialized by user.
ValueDescription
0SRAM has encountered a power loss and contents are not valid. (DEAFAULT)
1SRAM has not encountered a power loss.

Bits 27:24 – AVREGSTDBY[3:0] Additional Voltage Regulator Configuration

ValueNameDescription
0x0OFFINSTDBYRegulator is OFF while in sleep mode equal or deeper than standby mode. It is OFF in hibernate and backup mode as well.
0x1ONINSTDBYRegulator is ON in Standby mode if AVREGEN bit is set. is OFF from Hibernate mode. It is OFF in backup mode as well.

Bits 19:16 – AVREGEN[3:0] Additional Voltage Regulator Enable

ValueDescription
0x0USB and PLL regulators disabled (Default)
0x1USB and PLL Regulator Enabled

Bits 15:14 – ULDOLEVEL[1:0] User LDO Voltage Level Selection

ValueNameDescription
0x01p2vVout = 1.2v
0x11p5vVout = 1.5v
0x21p8vVout = 1.8v
0x32p5vVout = 2.5v

Bit 13 – ULDOSTDBY User LDO Voltage Regulator Configuration

ValueNameDescription
0x0OFFINSTDBYRegulator is OFF while in sleep mode equal or deeper than standby mode. It is OFF in hibernate and backup mode as well.
0x1ONINSTDBYRegulator is ON in Standby mode. is OFF from Hibernate mode. It is OFF in backup mode as well.

Bit 12 – ULDOEN User LDO Voltage Regulator Enable

ValueDescription
0x0User LDO is disabled
0x1User LDO is enabled

Bits 11:8 – CPEN[3:0] Charge Pump Enable and Auto-enable.

ValueDescriptionRequirements
0x0All charge pumps disabled.AVDD ≥ 2.5v
0x1Enable charge pump for I/O analog mux and Analog Comparator (AC)AVDD < 2.5v
---Reserved
0x3Enable charge pumps for I/O, AC, ADC
Note:
  1. When AVDD < 2.5v the corresponding appropriate CPEN must be enabled.
  2. User must have previously enabled the charge pump clocks defined in Configuration Register 5, FUCFG5.

Bit 7 – SCAPEN Super Capacitor Charging Enable

ValueDescription
0
1

Bit 5 – LVHIB Low Voltage Hibernate Enable

ValueNameDescription
0x01p2vIn Hibernate mode, VDDCORE_BU and VDDCORE_RAM are set to 1.2v.
0x10p8vIn Hibernate mode, VDDCORE_BU and VDDCORE_RAM are set to 0.8v

Bit 4 – LVSTDBY Low Voltage Standby Enable

ValueNameDescription
0x01p2vIn standby mode, VDDCORE_BU, VDDCORE_RAM, VDDCORE_SW and optionnaly VDDCOREUSB/PLL are set to 1.2v.
0x10p8vIn standby mode, VDDCORE_BU, VDDCORE_RAM, VDDCORE_SW and optionnaly VDDCOREUSB/PLL are set to 0.8v.

Bit 2 – OFFSTDBY Off in Standby Control for VREGSW[N-1]. Useful for Riverside only.

ValueNameDescription
0x0OFFIn standby mode, VREGSW1,2,3 are OFF
0x1ONIn standby mode, VREGSW1,2,3 are ON

Bits 1:0 – VREGOUT[1:0] VREG Output Control in RUN mode only. Enable by production fuse by CALSUPC.VREGOUTEN

ValueNameDescription
0x01p2vIn Active mode, VDDCORE_RAM, VDDCORE_BU, VDDCORE_SW and optionnaly VDDCORE_PLL USB are set to 1.2v.
0x11p0vIn Active mode, VDDCORE_RAM, VDDCORE_BU, VDDCORE_SW and optionnaly VDDCORE_PLL USB are set to 1.0v.
0x20p8vIn Active mode, VDDCORE_RAM, VDDCORE_BU, VDDCORE_SW and optionnaly VDDCORE_PLL USB are set to 0.8v.