SWCU193A April 2023 – August 2024 CC2340R2 , CC2340R5 , CC2340R5-Q1
Table 6-58 lists the memory-mapped registers for the CLKCTL registers. All register offset addresses not listed in Table 6-58 should be considered as reserved locations and the register contents should not be modified.
| Offset | Acronym | Register Name | Section |
|---|---|---|---|
| 0h | DESC | Description Register. | Go |
| 4h | DESCEX0 | Extended Description Register 0. | Go |
| 8h | DESCEX1 | Extended Description Register 1. | Go |
| Ch | CLKCFG0 | Clock Configuration Register 0. | Go |
| 10h | CLKCFG1 | Clock Configuration Register 1. | Go |
| 14h | CLKENSET0 | Clock Enable Set Register 0. | Go |
| 18h | CLKENSET1 | Clock Enable Set Register 1. | Go |
| 20h | CLKENCLR0 | Clock Enable Clear Register 0. | Go |
| 24h | CLKENCLR1 | Clock Enable Clear Register 1. | Go |
| 3Ch | STBYPTR | Internal. Only to be used through TI provided API. | Go |
| 48h | IDLECFG | IDLE Configuration Register. | Go |
Complex bit access types are encoded to fit into small table cells. Table 6-59 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 | |
DESC is shown in Table 6-60.
Return to the Summary Table.
Description Register.
This register provides IP module ID, revision information, instance index and standard MMR registers offset.
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 31-16 | MODID | R | 2548h | Module identifier used to uniquely identify this IP. |
| 15-12 | STDIPOFF | R | 0h | Standard IP MMR block offset. Standard IP MMRs are the set of from aggregated IRQ registers till DTB. 0: Standard IP MMRs do not exist 0x1-0xF: Standard IP MMRs begin at offset of (64*STDIPOFF from the base IP address) |
| 11-8 | INSTIDX | R | 0h | IP Instance ID number. If multiple instances of IP exist in the device, this field can identify the instance number (0-15). |
| 7-4 | MAJREV | R | 0h | Major revision of IP 0-15 |
| 3-0 | MINREV | R | 0h | Minor revision of IP 0-15. |
DESCEX0 is shown in Table 6-61.
Return to the Summary Table.
Extended Description Register 0.
This register shows SVT IP availability, HW features and memory size configuration.
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 31 | RESERVED | R | 0h | Reserved |
| 30 | LGPT3 | R | 1h | IP status on device
0h = IP is unavailable 1h = IP is available |
| 29 | LGPT2 | R | 1h | IP status on device
0h = IP is unavailable 1h = IP is available |
| 28 | LGPT1 | R | 1h | IP status on device
0h = IP is unavailable 1h = IP is available |
| 27 | LGPT0 | R | 1h | IP status on device
0h = IP is unavailable 1h = IP is available |
| 26-18 | RESERVED | R | 0h | Reserved |
| 17 | DMA | R | 1h | IP status on device
0h = IP is unavailable 1h = IP is available |
| 16 | LAES | R | 1h | IP status on device
0h = IP is unavailable 1h = IP is available |
| 15 | RESERVED | R | 0h | Reserved |
| 14 | ADC0 | R | 1h | IP status on device
0h = IP is unavailable 1h = IP is available |
| 13-11 | RESERVED | R | 0h | Reserved |
| 10 | SPI0 | R | 1h | IP status on device
0h = IP is unavailable 1h = IP is available |
| 9-7 | RESERVED | R | 0h | Reserved |
| 6 | I2C0 | R | 1h | IP status on device
0h = IP is unavailable 1h = IP is available |
| 5-3 | RESERVED | R | 0h | Reserved |
| 2 | UART0 | R | 1h | IP status on device
0h = IP is unavailable 1h = IP is available |
| 1 | LRFD | R | 1h | IP status on device
0h = IP is unavailable 1h = IP is available |
| 0 | GPIO | R | 1h | IP status on device
0h = IP is unavailable 1h = IP is available |
DESCEX1 is shown in Table 6-62.
Return to the Summary Table.
Extended Description Register 1.
This register shows SVT IP availability, HW features and memory size configuration.
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 31-30 | FLASHSZ | R | 3h | System flash availability
0h = Flash size set to level 0 (Min size) 1h = Flash size set to level 1 2h = Flash size set to level 2 3h = Flash size set to level 3 (Max size) |
| 29-28 | SRAMSZ | R | 3h | System SRAM availability
0h = SRAM size set to level 0 (Min size) 1h = SRAM size set to level 1 2h = SRAM size set to level 2 3h = SRAM size set to level 3 (Max size) |
| 27-16 | RESERVED | R | 0h | Reserved |
| 15-8 | ROPT | R | FFh | System radio feature availability
FFh = All features available |
| 7-0 | RESERVED | R | 0h | Reserved |
CLKCFG0 is shown in Table 6-63.
Return to the Summary Table.
Clock Configuration Register 0.
This register shows the IP clock configuration for the system.
The configuration is updated through CLKENSET0 and CLKENCLR0.
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 31 | RESERVED | R | 0h | Reserved |
| 30 | LGPT3 | R | 0h | IP clock configuration
0h = Clock is disabled 1h = Clock is enabled |
| 29 | LGPT2 | R | 0h | IP clock configuration
0h = Clock is disabled 1h = Clock is enabled |
| 28 | LGPT1 | R | 0h | IP clock configuration
0h = Clock is disabled 1h = Clock is enabled |
| 27 | LGPT0 | R | 0h | IP clock configuration
0h = Clock is disabled 1h = Clock is enabled |
| 26-18 | RESERVED | R | 0h | Reserved |
| 17 | DMA | R | 0h | IP clock configuration
0h = Clock is disabled 1h = Clock is enabled |
| 16 | LAES | R | 0h | IP clock configuration
0h = Clock is disabled 1h = Clock is enabled |
| 15 | RESERVED | R | 0h | Reserved |
| 14 | ADC0 | R | 0h | IP clock configuration
0h = Clock is disabled 1h = Clock is enabled |
| 13-11 | RESERVED | R | 0h | Reserved |
| 10 | SPI0 | R | 0h | IP clock configuration
0h = Clock is disabled 1h = Clock is enabled |
| 9-7 | RESERVED | R | 0h | Reserved |
| 6 | I2C0 | R | 0h | IP clock configuration
0h = Clock is disabled 1h = Clock is enabled |
| 5-3 | RESERVED | R | 0h | Reserved |
| 2 | UART0 | R | 0h | IP clock configuration
0h = Clock is disabled 1h = Clock is enabled |
| 1 | LRFD | R | 0h | IP clock configuration
0h = Clock is disabled 1h = Clock is enabled |
| 0 | GPIO | R | 1h | IP clock configuration
0h = Clock is disabled 1h = Clock is enabled |
CLKCFG1 is shown in Table 6-64.
Return to the Summary Table.
Clock Configuration Register 1.
This register shows the IP clock configuration for the system.
The configuration is updated through CLKENSET1 and CLKENCLR1.
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 31-0 | RESERVED | R | 0h | Reserved |
CLKENSET0 is shown in Table 6-65.
Return to the Summary Table.
Clock Enable Set Register 0.
This register enables IP clocks in the system.
Used to set the corresponding fields in CLKCFG0 to 1.
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 31 | RESERVED | R | 0h | Reserved |
| 30 | LGPT3 | W | 0h | Configure IP clock enable
0h = IP clock enable is unchanged 1h = Set IP clock enable |
| 29 | LGPT2 | W | 0h | Configure IP clock enable
0h = IP clock enable is unchanged 1h = Set IP clock enable |
| 28 | LGPT1 | W | 0h | Configure IP clock enable
0h = IP clock enable is unchanged 1h = Set IP clock enable |
| 27 | LGPT0 | W | 0h | Configure IP clock enable
0h = IP clock enable is unchanged 1h = Set IP clock enable |
| 26-18 | RESERVED | R | 0h | Reserved |
| 17 | DMA | W | 0h | Configure IP clock enable
0h = IP clock enable is unchanged 1h = Set IP clock enable |
| 16 | LAES | W | 0h | Configure IP clock enable
0h = IP clock enable is unchanged 1h = Set IP clock enable |
| 15 | RESERVED | R | 0h | Reserved |
| 14 | ADC0 | W | 0h | Configure IP clock enable
0h = IP clock enable is unchanged 1h = Set IP clock enable |
| 13-11 | RESERVED | R | 0h | Reserved |
| 10 | SPI0 | W | 0h | Configure IP clock enable
0h = IP clock enable is unchanged 1h = Set IP clock enable |
| 9-7 | RESERVED | R | 0h | Reserved |
| 6 | I2C0 | W | 0h | Configure IP clock enable
0h = IP clock enable is unchanged 1h = Set IP clock enable |
| 5-3 | RESERVED | R | 0h | Reserved |
| 2 | UART0 | W | 0h | Configure IP clock enable
0h = IP clock enable is unchanged 1h = Set IP clock enable |
| 1 | LRFD | W | 0h | Configure IP clock enable
0h = IP clock enable is unchanged 1h = Set IP clock enable |
| 0 | GPIO | W | 0h | Configure IP clock enable
0h = IP clock enable is unchanged 1h = Set IP clock enable |
CLKENSET1 is shown in Table 6-66.
Return to the Summary Table.
Clock Enable Set Register 1.
This register enables IP clocks in the system.
Used to set the corresponding fields in CLKCFG1 to 1.
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 31-0 | RESERVED | R | 0h | Reserved |
CLKENCLR0 is shown in Table 6-67.
Return to the Summary Table.
Clock Enable Clear Register 0.
This register disables IP clocks in the system.
Used to clear the corresponding fields in CLKCFG0 to 0.
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 31 | RESERVED | R | 0h | Reserved |
| 30 | LGPT3 | W | 0h | Configure IP clock enable
0h = IP clock enable is unchanged 1h = Clear IP clock enable |
| 29 | LGPT2 | W | 0h | Configure IP clock enable
0h = IP clock enable is unchanged 1h = Clear IP clock enable |
| 28 | LGPT1 | W | 0h | Configure IP clock enable
0h = IP clock enable is unchanged 1h = Clear IP clock enable |
| 27 | LGPT0 | W | 0h | Configure IP clock enable
0h = IP clock enable is unchanged 1h = Clear IP clock enable |
| 26-18 | RESERVED | R | 0h | Reserved |
| 17 | DMA | W | 0h | Configure IP clock enable
0h = IP clock enable is unchanged 1h = Clear IP clock enable |
| 16 | LAES | W | 0h | Configure IP clock enable
0h = IP clock enable is unchanged 1h = Clear IP clock enable |
| 15 | RESERVED | R | 0h | Reserved |
| 14 | ADC0 | W | 0h | Configure IP clock enable
0h = IP clock enable is unchanged 1h = Clear IP clock enable |
| 13-11 | RESERVED | R | 0h | Reserved |
| 10 | SPI0 | W | 0h | Configure IP clock enable
0h = IP clock enable is unchanged 1h = Clear IP clock enable |
| 9-7 | RESERVED | R | 0h | Reserved |
| 6 | I2C0 | W | 0h | Configure IP clock enable
0h = IP clock enable is unchanged 1h = Clear IP clock enable |
| 5-3 | RESERVED | R | 0h | Reserved |
| 2 | UART0 | W | 0h | Configure IP clock enable
0h = IP clock enable is unchanged 1h = Clear IP clock enable |
| 1 | LRFD | W | 0h | Configure IP clock enable
0h = IP clock enable is unchanged 1h = Clear IP clock enable |
| 0 | GPIO | W | 0h | Configure IP clock enable
0h = IP clock enable is unchanged 1h = Clear IP clock enable |
CLKENCLR1 is shown in Table 6-68.
Return to the Summary Table.
Clock Enable Clear Register 1.
This register disables IP clocks in the system.
Used to clear the corresponding fields in CLKCFG1 to 0.
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 31-0 | RESERVED | R | 0h | Reserved |
STBYPTR is shown in Table 6-69.
Return to the Summary Table.
Internal. Only to be used through TI provided API.
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 31-0 | VAL | R/W | 0h | Internal. Only to be used through TI provided API. |
IDLECFG is shown in Table 6-70.
Return to the Summary Table.
IDLE Configuration Register.
This register contains flash LDO configuration for IDLE mode.
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 31-1 | RESERVED | R | 0h | Reserved |
| 0 | MODE | R/W | 0h | Flash LDO configuration in SLEEP/IDLE mode.
0h = Flash LDO is on in SLEEP/IDLE mode. Gives fast wake up time from SLEEP/IDLE mode, but increased power consumption. 1h = Flash LDO is off in SLEEP/IDLE mode. Decreases power consumption in SLEEP/IDLE mode, but gives longer wake up time. Note: NVM clock is turned off independent of DMA status. Therefore SW must ensure that DMA never access NVM in this mode. |