SWCU193A April 2023 – August 2024 CC2340R2 , CC2340R5 , CC2340R5-Q1
Table 14-1 lists the memory-mapped registers for the PMUD registers. All register offset addresses not listed in Table 14-1 should be considered as reserved locations and the register contents should not be modified.
| Offset | Acronym | Register Name | Section |
|---|---|---|---|
| 0h | CTL | Control | Go |
| 4h | MEASCFG | Internal. Only to be used through TI provided API. | Go |
| 28h | BAT | Last Measured Battery Voltage | Go |
| 2Ch | BATUPD | Battery Update | Go |
| 30h | TEMP | Last measured Temperature in Degree Celsius | Go |
| 34h | TEMPUPD | Temperature Update | Go |
| 48h | EVENTMASK | Event Mask | Go |
| 4Ch | EVENT | Event | Go |
| 50h | BATTUL | Battery Upper Limit | Go |
| 54h | BATTLL | Battery Lower Limit | Go |
| 58h | TEMPUL | Temperature Upper Limit | Go |
| 5Ch | TEMPLL | Temperature Lower Limit | Go |
| 90h | PREG0 | Internal. Only to be used through TI provided API. | Go |
| 94h | PREG1 | Internal. Only to be used through TI provided API. | Go |
| 98h | PREG2 | Internal. Only to be used through TI provided API. | Go |
| 9Ch | DCDCCFG | DCDC configuration | Go |
| A0h | DCDCSTAT | DCDC status | Go |
Complex bit access types are encoded to fit into small table cells. Table 14-2 shows the codes that are used for access types in this section.
| Access Type | Code | Description |
|---|---|---|
| Read Type | ||
| R | R | Read |
| Write Type | ||
| W | W | Write |
| Reset or Default Value | ||
| -n | Value after reset or the default value | |
CTL is shown in Table 14-3.
Return to the Summary Table.
Control
General Configuration of BATMON
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 31-3 | RESERVED | R | 0h | Reserved |
| 2 | HYST_EN | R/W | 1h | Enables hysteresis on both battery and temperature measurements.
0h = Disable 1h = Enable |
| 1 | CALC_EN | R/W | 0h | Configuration of the calculation block that converts the digital battery/temperature level to a Volt/Celsius value.
0h = Calculation disabled 1h = Calculation enabled |
| 0 | MEAS_EN | R/W | 0h | Configuration of the measurement block that interfaces with the analog domain.
0h = Measurements disabled 1h = Measurements enabled (battery voltage and temperature) |
MEASCFG is shown in Table 14-4.
Return to the Summary Table.
Internal. Only to be used through TI provided API.
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 31-2 | RESERVED | R | 0h | Reserved |
| 1-0 | PER | R/W | 0h | Internal. Only to be used through TI provided API. |
BAT is shown in Table 14-5.
Return to the Summary Table.
Last Measured Battery Voltage
This register should be read when BATUPD.STA = 1
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 31-11 | RESERVED | R | 0h | Reserved |
| 10-8 | INT | R | 0h | Integer part: 0x0: Battery voltage = 0V + fractional part ... 0x3: Battery voltage = 3V + fractional part 0x4: Battery voltage = 4V + fractional part |
| 7-0 | FRAC | R | 0h | Fractional part, standard binary fractional encoding. 0x00: .0V ... 0x20: 1/8 = .125V 0x40: 1/4 = .25V 0x80: 1/2 = .5V ... 0xA0: 1/2 + 1/8 = .625V ... 0xFF: 1/2 + 1/4 + 1/8 + ... + 1/256 = 0.99V |
BATUPD is shown in Table 14-6.
Return to the Summary Table.
Battery Update
Indicates BAT Updates
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 31-1 | RESERVED | R | 0h | Reserved |
| 0 | STA | R/W | 0h | Battery update status. Write 1 to clear the status.
0h = No update since last clear 1h = New battery voltage present |
TEMP is shown in Table 14-7.
Return to the Summary Table.
Last measured Temperature in Degree Celsius
This register should be read when TEMPUPD.STA = 1.
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 31-17 | RESERVED | R | 0h | Reserved |
| 16-8 | INT | R | 0h | Integer part of temperature value (signed) Total value = INT + FRAC 2's complement encoding 0x100: Min value (-256°C) 0x1D8: -40°C 0x1FF: -1°C 0x00: 0°C 0x1B: 27°C 0x55: 85°C 0xFF: Max value (255°C) |
| 7-6 | FRAC | R | 0h | Fractional part of temperature value. Total value = INT + FRAC The encoding is an extension of the 2's complement encoding. 00: 0.0°C 01: 0.25°C 10: 0.5°C 11: 0.75°C For example: 000000001,00 = ( 1+0,00) = 1,00 000000000,11 = ( 0+0,75) = 0,75 000000000,10 = ( 0+0,50) = 0,50 000000000,01 = ( 0+0,25) = 0,25 000000000,00 = ( 0+0,00) = 0,00 111111111,11 = (-1+0,75) = -0,25 111111111,10 = (-1+0,50) = -0,50 111111111,01 = (-1+0,25) = -0,75 111111111,00 = (-1+0,00) = -1,00 111111110,11 = (-2+0,75) = -1,25 |
| 5-0 | RESERVED | R | 0h | Reserved |
TEMPUPD is shown in Table 14-8.
Return to the Summary Table.
Temperature Update
Indicates TEMP Updates
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 31-1 | RESERVED | R | 0h | Reserved |
| 0 | STA | R/W | 0h | Temperature update status. Write 1 to clear the status.
0h = No temperature update since last clear 1h = New temperature value present |
EVENTMASK is shown in Table 14-9.
Return to the Summary Table.
Event Mask
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 31-6 | RESERVED | R | 0h | Reserved |
| 5 | TEMP_UPDATE_MASK | R/W | 0h | 1: EVENT.TEMP_UPDATE contributes to combined event from BATMON 0: EVENT.TEMP_UPDATE does not contribute to combined event from BATMON |
| 4 | BATT_UPDATE_MASK | R/W | 0h | 1: EVENT.BATT_UPDATE contributes to combined event from BATMON 0: EVENT.BATT_UPDATE does not contribute to combined event from BATMON |
| 3 | TEMP_BELOW_LL_MASK | R/W | 0h | 1: EVENT.TEMP_BELOW_LL contributes to combined event from BATMON 0: EVENT.TEMP_BELOW_LL does not contribute to combined event from BATMON |
| 2 | TEMP_OVER_UL_MASK | R/W | 0h | 1: EVENT.TEMP_OVER_UL contributes to combined event from BATMON 0: EVENT.TEMP_OVER_UL does not contribute to combined event from BATMON |
| 1 | BATT_BELOW_LL_MASK | R/W | 0h | 1: EVENT.BATT_BELOW_LL contributes to combined event from BATMON 0: EVENT.BATT_BELOW_LL does not contribute to combined event from BATMON |
| 0 | BATT_OVER_UL_MASK | R/W | 0h | 1: EVENT.BATT_OVER_UL contributes to combined event from BATMON 0: EVENT.BATT_OVER_UL does not contribute to combined event from BATMON |
EVENT is shown in Table 14-10.
Return to the Summary Table.
Event
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 31-6 | RESERVED | R | 0h | Reserved |
| 5 | TEMP_UPDATE | R/W | 0h | Alias to TEMPUPD.STA |
| 4 | BATT_UPDATE | R/W | 0h | Alias to BATUPD.STA |
| 3 | TEMP_BELOW_LL | R/W | 0h | Read: 1: Temperature level is below the lower limit set by TEMPLL. 0: Temperature level is not below the lower limit set by TEMPLL. Write: 1: Clears the flag 0: No change in the flag |
| 2 | TEMP_OVER_UL | R/W | 0h | Read: 1: Temperature level is above the upper limit set by TEMPUL. 0: Temperature level is not above the upper limit set by TEMPUL. Write: 1: Clears the flag 0: No change in the flag |
| 1 | BATT_BELOW_LL | R/W | 0h | Read: 1: Battery level is below the lower limit set by BATTLL. 0: Battery level is not below the lower limit set by BATTLL. Write: 1: Clears the flag 0: No change in the flag |
| 0 | BATT_OVER_UL | R/W | 0h | Read: 1: Battery level is above the upper limit set by BATTUL. 0: Battery level is not above the upper limit set by BATTUL. Write: 1: Clears the flag 0: No change in the flag |
BATTUL is shown in Table 14-11.
Return to the Summary Table.
Battery Upper Limit
Total battery voltage = INT + FRAC
It is a sum of integer and fractional parts
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 31-11 | RESERVED | R | 0h | Reserved |
| 10-8 | INT | R/W | 7h | Integer part: Total battery voltage = INT + FRAC (integer and fractional part) 0x0: Battery voltage = 0V + fractional part ... 0x3: Battery voltage = 3V + fractional part 0x4: Battery voltage = 4V + fractional part |
| 7-0 | FRAC | R/W | FFh | Fractional part, standard binary fractional encoding. 0x00: .0V ... 0x20: 1/8 = .125V 0x40: 1/4 = .25V 0x80: 1/2 = .5V ... 0xA0: 1/2 + 1/8 = .625V ... 0xFF: 1/2 + 1/4 + 1/8 + ... + 1/256 = 0.99V |
BATTLL is shown in Table 14-12.
Return to the Summary Table.
Battery Lower Limit
Total battery voltage = INT + FRAC
It is a sum of integer and fractional parts
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 31-11 | RESERVED | R | 0h | Reserved |
| 10-8 | INT | R/W | 0h | Integer part: Total battery voltage = INT + FRAC (integer and fractional part) 0x0: Battery voltage = 0V + fractional part ... 0x3: Battery voltage = 3V + fractional part 0x4: Battery voltage = 4V + fractional part |
| 7-0 | FRAC | R/W | 0h | Fractional part, standard binary fractional encoding. 0x00: .0V ... 0x20: 1/8 = .125V 0x40: 1/4 = .25V 0x80: 1/2 = .5V ... 0xA0: 1/2 + 1/8 = .625V ... 0xFF: 1/2 + 1/4 + 1/8 + ... + 1/256 = 0.99V |
TEMPUL is shown in Table 14-13.
Return to the Summary Table.
Temperature Upper Limit
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 31-17 | RESERVED | R | 0h | Reserved |
| 16-8 | INT | R/W | FFh | Integer part (signed) of temperature upper limit. Total value = INT + FRAC 2's complement encoding 0x100: Min value (-256°C) 0x1D8: -40°C 0x1FF: -1°C 0x00: 0°C 0x1B: 27°C 0x55: 85°C 0xFF: Max value (255°C) |
| 7-6 | FRAC | R/W | 3h | Fractional part of temperature upper limit. Total value = INT + FRAC The encoding is an extension of the 2's complement encoding. 00: 0.0°C 01: 0.25°C 10: 0.5°C 11: 0.75°C For example: 000000001,00 = ( 1+0,00) = 1,00 000000000,11 = ( 0+0,75) = 0,75 000000000,10 = ( 0+0,50) = 0,50 000000000,01 = ( 0+0,25) = 0,25 000000000,00 = ( 0+0,00) = 0,00 111111111,11 = (-1+0,75) = -0,25 111111111,10 = (-1+0,50) = -0,50 111111111,01 = (-1+0,25) = -0,75 111111111,00 = (-1+0,00) = -1,00 111111110,11 = (-2+0,75) = -1,25 |
| 5-0 | RESERVED | R | 0h | Reserved |
TEMPLL is shown in Table 14-14.
Return to the Summary Table.
Temperature Lower Limit
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 31-17 | RESERVED | R | 0h | Reserved |
| 16-8 | INT | R/W | 100h | Integer part (signed) of temperature lower limit. Total value = INT + FRAC 2's complement encoding 0x100: Min value (-256°C) 0x1D8: -40°C 0x1FF: -1°C 0x00: 0°C 0x1B: 27°C 0x55: 85°C 0xFF: Max value (255°C) |
| 7-6 | FRAC | R/W | 0h | Fractional part of temperature lower limit. Total value = INT + FRAC The encoding is an extension of the 2's complement encoding. 00: 0.0°C 01: 0.25°C 10: 0.5°C 11: 0.75°C For example: 000000001,00 = ( 1+0,00) = 1,00 000000000,11 = ( 0+0,75) = 0,75 000000000,10 = ( 0+0,50) = 0,50 000000000,01 = ( 0+0,25) = 0,25 000000000,00 = ( 0+0,00) = 0,00 111111111,11 = (-1+0,75) = -0,25 111111111,10 = (-1+0,50) = -0,50 111111111,01 = (-1+0,25) = -0,75 111111111,00 = (-1+0,00) = -1,00 111111110,11 = (-2+0,75) = -1,25 |
| 5-0 | RESERVED | R | 0h | Reserved |
PREG0 is shown in Table 14-15.
Return to the Summary Table.
Internal. Only to be used through TI provided API.
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 31-12 | RESERVED | R | 0h | Reserved |
| 11 | LOW_IPEAK_DIS | R/W | 0h | Internal. Only to be used through TI provided API. |
| 10 | SOCLDO_ITESTEN | R/W | 0h | Internal. Only to be used through TI provided API. |
| 9-7 | SOCLDO_ATBSEL | R/W | 0h | Internal. Only to be used through TI provided API. |
| 6-5 | UDIGLDO_ATBSEL | R/W | 0h | Internal. Only to be used through TI provided API. |
| 4-2 | DIGLDO_ATBSEL | R/W | 0h | Internal. Only to be used through TI provided API. |
| 1 | SPARE | R/W | 0h | Internal. Only to be used through TI provided API. |
| 0 | UDIGLDO_EN | R/W | 0h | Internal. Only to be used through TI provided API. |
PREG1 is shown in Table 14-16.
Return to the Summary Table.
Internal. Only to be used through TI provided API.
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 31-20 | RESERVED | R | 0h | Reserved |
| 19 | TEST_DCDC_NMOS | R/W | 0h | Internal. Only to be used through TI provided API. |
| 18 | TEST_DCDC_PMOS | R/W | 0h | Internal. Only to be used through TI provided API. |
| 17 | DITHER_EN | R/W | 0h | Internal. Only to be used through TI provided API. |
| 16 | GLDO_AON | R/W | 0h | Internal. Only to be used through TI provided API. |
| 15 | RCHG_BLK_VTRIG_EN | R/W | 0h | Internal. Only to be used through TI provided API. |
| 14 | RCHG_BLK_ATEST_EN | R/W | 0h | Internal. Only to be used through TI provided API. |
| 13 | RCHG_FORCE_SAMP_VREF | R/W | 0h | Internal. Only to be used through TI provided API. |
| 12 | RCHG_COMP_CLK_DIS | R/W | 0h | Internal. Only to be used through TI provided API. |
| 11-8 | RESERVED | R | 0h | Reserved |
| 7 | SPARE | R/W | 0h | Internal. Only to be used through TI provided API. |
| 6 | VDDR_ATBSEL | R/W | 0h | Internal. Only to be used through TI provided API. |
| 5 | GLDO_EA_BIAS_DIS | R/W | 0h | Internal. Only to be used through TI provided API. |
| 4-1 | GLDO_ATBSEL | R/W | 0h | Internal. Only to be used through TI provided API. |
| 0 | RESERVED | R | 0h | Reserved |
PREG2 is shown in Table 14-17.
Return to the Summary Table.
Internal. Only to be used through TI provided API.
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 31-6 | RESERVED | R | 0h | Reserved |
| 5 | RSTNMASK | R/W | 0h | Internal. Only to be used through TI provided API. |
| 4 | DCDC_RCHG_ATBSEL | R/W | 0h | Internal. Only to be used through TI provided API. |
| 3-0 | PMUREG_ATBSEL | R/W | 0h | Internal. Only to be used through TI provided API. |
DCDCCFG is shown in Table 14-18.
Return to the Summary Table.
DCDC configuration register
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 31-23 | RESERVED | R | 0h | Reserved |
| 22-16 | LM_HIGHTH | R/W | 0h | DCDC load meter high threshold value for adaptive IPEAK adjustment. DCDC load meter output is in percentage scale so the applicable values are 'd1 to 'd100. Values from 'd101 to 'd127 are invalid and not to be used. |
| 15 | RESERVED | R | 0h | Reserved |
| 14-8 | LM_LOWTH | R/W | 0h | DCDC load meter low threshold value for adaptive IPEAK adjustment. DCDC load meter output is in percentage scale so the applicable values are 'd1 to 'd100. Values from 'd101 to 'd127 are invalid and not to be used. |
| 7-5 | RESERVED | R | 0h | Reserved |
| 4 | ADP_IPEAK_EN | R/W | 0h | This bit is used to enable adaptive IPEAK adjustment scheme in hardware. When this bit is set, DCDC IPEAK value is automatically adjusted to suitable value by sensing the DCDC load meter output for better DCDC operational efficiency.
0h = Disable 1h = Enable |
| 3-1 | RESERVED | R | 0h | Reserved |
| 0 | LMEN | R/W | 0h | This bit is used to enable DCDC load meter. Software can obtain DCDC load meter value from DCDCSTAT regiser and adjust IPEAK setting in SYS0.TDCDC register accordingly.
0h = Disable 1h = Enable |
DCDCSTAT is shown in Table 14-19.
Return to the Summary Table.
DCDC status register
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 31-11 | RESERVED | R | 0h | Reserved |
| 10-8 | IPEAK | R | 0h | DCDC IPEAK value. This value is same as what is programmed in SYS0:TMUTE4.IPEAK when adaptive IPEAK adjustment scheme is not enabled, and it shows current IPEAK value applied by hardware when adaptive IPEAK adjustment scheme is enabled. Note: Software can only support IPEAK = 1 |
| 7 | RESERVED | R | 0h | Reserved |
| 6-0 | LOAD | R | 0h | This indicates DCDC load meter output value in percentage scale. Applicable range is 'd1 to 'd100. |