14.8.17 BATMON
The BATMON register configures the battery monitor to compare the supply voltage at EVDD to the threshold. Additionally, the supply voltage status at EVDD can be read from register bit BATMON_OK according to the actual BATMON settings.
Name: | BATMON |
Offset: | 0x11 |
Reset: | 0x02 |
Property: | - |
Bit | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | |
PLL_LOCK_CP | BATMON_OK | BATMON_HR | BATMON_VTH[3:0] | ||||||
Access | R | R | R | R/W | R/W | R/W | R/W | R/W | |
Reset | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 |
Bit 7 – PLL_LOCK_CP PLL_LOCK_CP
The register bit PLL_LOCK_CP signals the current status of the PLL lock comparator output.
Value | Description |
---|---|
0x0 | PLL is currently unlocked |
0x1 | PLL is currently locked |
Bit 5 – BATMON_OK BATMON_OK
The register bit BATMON_OK indicates the level of the external supply voltage with respect to the programmed threshold BATMON_VTH.
Value | Description |
---|---|
0x0 | The battery voltage is below the threshold |
0x1 | The battery voltage is above the threshold |
Bit 4 – BATMON_HR BATMON_HR
The register bit BATMON_HR sets the range and resolution of the battery monitor.
Value | Description |
---|---|
0x0 | Enables the low range, see BATMON_VTH |
0x1 | Enables the high range, see BATMON_VTH |
Bits 3:0 – BATMON_VTH[3:0] BATMON_VTH
The voltage threshold values for the battery monitor are set by register bits BATMON_VTH.
Value BATMON_VTH |
Voltage [V] BATMON_HR = 1 |
Voltage [V] BATMON_HR = 0 |
---|---|---|
0x0 | 2.550 | 1.70 |
0x1 | 2.625 | 1.75 |
0x2 | 2.700 | 1.80 |
0x3 | 2.775 | 1.85 |
0x4 | 2.850 | 1.90 |
0x5 | 2.925 | 1.95 |
0x6 | 3.000 | 2.00 |
0x7 | 3.075 | 2.05 |
0x8 | 3.150 | 2.10 |
0x9 | 3.225 | 2.15 |
0xA | 3.300 | 2.20 |
0xB | 3.375 | 2.25 |
0xC | 3.450 | 2.30 |
0xD | 3.525 | 2.35 |
0xE | 3.600 | 2.40 |
0xF | 3.675 | 2.45 |