15.6.6 VDD Brown-Out Detector Control
After a Reset, the bit field values of this register are determined by the corresponding BOOTCFG fuse which is BOD Configuration Fuse (BODCFG) . Refer to the BOOTCFG - Boot Configuration for details.
Fuses section for details
| Name: | BODVDD |
| Offset: | 0x1C |
| Reset: | 0x00000000 |
| Property: | Local Write-Protection |
| Bit | 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | |
| WRTLOCK | VLMCFG[1:0] | VLMLVL[1:0] | |||||||
| Access | R/W | R/W | R/W | R/W | R/W | ||||
| Reset | 0 | 0 | 0 | 0 | 0 | ||||
| Bit | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | |
| LEVEL[1:0] | |||||||||
| Access | R/W | R/W | |||||||
| Reset | 0 | 0 | |||||||
| Bit | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | |
| SAMPFREQ | ACTCFG | ||||||||
| Access | R/W | R/W | |||||||
| Reset | 0 | 0 |
| Bit | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | |
| RUNSTDBY | STDBYCFG | ENABLE | |||||||
| Access | R/W | R/W | R/W | ||||||
| Reset | 0 | 0 | 0 |
Bit 31 – WRTLOCK Write Lock
This bit locks the BODVDD register for future writes, effectively freezing the BODVDD configuration.
Any write to this BODVDD register will be discarded and return a bus error if WRTLOCK =
‘1’. The Reset value is loaded from the WRTLOCK
bit in BOOTCFG.BODCFG.
| Value | Description |
|---|---|
| 0x0 | The BODVDD configuration is not locked |
| 0x1 | The BODVDD configuration is locked |
Bits 27:26 – VLMCFG[1:0] Voltage Level Monitor Interrupt Configuration
This bit field selects which incident will trigger a VLM interrupt. The Reset value is loaded from the VLMCFG bit in BOOTCFG.BODCFG.
| Value | Name | Description |
|---|---|---|
| 0x0 | FALLING | VDD falls below the VLM threshold |
| 0x1 | RISING | VDD rises above the VLM threshold |
| 0x2 | BOTH | VDD crosses the VLM threshold |
Bits 25:24 – VLMLVL[1:0] Voltage Level Monitor Level
The Reset value is loaded from the VLMLVL bit in BOOTCFG.BODCFG.
| Value | Name | Description |
|---|---|---|
| 0x0 | OFF | VLM is disabled |
| 0x1 | 5ABOVE | The VLM threshold is 5% above the BOD threshold |
| 0x2 | 15ABOVE | The VLM threshold is 15% above the BOD threshold |
| 0x3 | 25ABOVE | The VLM threshold is 25% above the BOD threshold |
Bits 17:16 – LEVEL[1:0] BOD Level
This bit field controls the BOD threshold level. The Reset value is loaded from the LEVEL bits in BOOTCFG.BODCFG.
- The given values are typical values. For further details, refer to the Electrical Characteristics section
- The BOD Level must only be changed or written when the BOD is disabled
- To change the BOD level when the BOD is enabled: first, write a '
0' to the ENABLE bit without updating the BOD level. Then, perform another write with LEVEL set to the desired value and ENABLE=1
| Value | Name | Description |
|---|---|---|
| 0x0 | BODLEVEL0 | 1.90V |
| 0x1 | BODLEVEL1 | 2.45V |
| 0x2 | BODLEVEL2 | 2.70V |
| 0x3 | BODLEVEL3 | 2.85V |
Bit 12 – SAMPFREQ Sampling Frequency
This bit selects the BOD sample frequency. The Reset value is loaded from the SAMPFREQ bit in BOOTCFG.BODCFG.
| Value | Name | Description |
|---|---|---|
| 0 | 128HZ | The sample frequency is 128 Hz |
| 1 | 32HZ | The sample frequency is 32 Hz |
Bit 8 – ACTCFG BOD Configuration in Active Mode
The Reset value is loaded from the ACTCFG bit in BOOTCFG.BODCFG.
| Value | Name | Description |
|---|---|---|
| 0 | ENABLE | In active mode, the BOD operates in continuous mode |
| 1 | SAMPLE | In active mode, the BOD operates in sampling mode |
Bit 6 – RUNSTDBY Run in Standby
The Reset value is loaded from the RUNSTDBY bit in BOOTCFG.BODCFG.
| Value | Description |
|---|---|
| 0x0 | The BOD is not running in Standby sleep mode |
| 0x1 | The BOD is running in Standby sleep mode if enabled by the ENABLE bit |
Bit 5 – STDBYCFG BOD Configuration in Standby Sleep Mode
If the RUNSTDBY bit is set to '1', the STDBYCFG bit
determines the BOD configuration in Standby sleep mode.
The Reset value is loaded from the STDBYCFG bit in BOOTCFG.BODCFG.
| Value | Description |
|---|---|
| 0x0 | In Standby sleep mode, the BOD is configured in Continuous mode |
| 0x1 | In Standby sleep mode, the BOD is configured in Sampling mode |
Bit 1 – ENABLE Enable
The Reset value is loaded from the ENABLE bit in BOOTCFG.BODCFG.
| Value | Name | Description |
|---|---|---|
| 0 | DISABLE | BOD is disabled |
| 1 | ENABLE | BOD is enabled |
