SWCU193 April 2023 CC2340R2 , CC2340R5 , CC2340R5-Q1
Table 13-3 lists the memory-mapped registers for the SYS0 registers. All register offset addresses not listed in Table 13-3 should be considered as reserved locations and the register contents should not be modified.
Offset | Acronym | Register Name | Section |
---|---|---|---|
0h | DESC | Description Register | Go |
Ch | MUNLOCK | Mutable section Unlock | Go |
100h | ATESTCFG | ATEST Configuration | Go |
108h | TSENSCFG | TSENSE Configuration | Go |
10Ch | LPCMPCFG | LPCMP configuration | Go |
3FCh | DEVICEID | Device ID | Go |
7F8h | PARTID | Part ID | Go |
800h | TMUTE0 | Internal. Only to be used through TI provided API. | Go |
804h | TMUTE1 | Internal. Only to be used through TI provided API. | Go |
808h | TMUTE2 | TMUTE2 trim Register | Go |
80Ch | TMUTE3 | Internal. Only to be used through TI provided API. | Go |
810h | TMUTE4 | TMUTE4 trim Register | Go |
814h | TMUTE5 | Internal. Only to be used through TI provided API. | Go |
Complex bit access types are encoded to fit into small table cells. Table 13-4 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 |
WCap | W Cap | Write Capture |
Reset or Default Value | ||
-n | Value after reset or the default value |
DESC is shown in Table 13-5.
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 | 6B4Eh | Module Identifier is used to uniquely identify this IP |
15-12 | STDIPOFF | R | 0h | Standard IP MMR block offset. Standard IP MMRs are the set 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 | 1h | Major revision of IP (0-15). |
3-0 | MINREV | R | 0h | Minor revision of IP (0-15). |
MUNLOCK is shown in Table 13-6.
Return to the Summary Table.
Mutable section Unlock
This register unlocks registers in mutable section
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-0 | KEY | WCap | 0h | Write the unlock key 0xC5AF_6927 to temporarily unlock registers in mutable section. The lock is set automatically if no write accesses, to the mutable section, are detected for consecutive 32 CLKULL (24MHz) clock cycles. Writing any value other that the unlock key will immediately lock the mutable register space for write access.
0h = Lock registers in the mutable section C5AF6927h = Unlock registers in the mutable section |
ATESTCFG is shown in Table 13-7.
Return to the Summary Table.
ATEST Configuration
This register is used to configure analog switches in ATEST module.
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-24 | KEY | W | 0h | Key must be written with value 0x5A for successful write to ATESTCFG and to unlock register state. Write with any value other than 0x5A to KEY will be ignored and register content is not updated. It is recommended to write this register with incorrect KEY to lock back register state after necessary ATESTCFG updates are done. Read value of KEY is 0x0. |
23-9 | RESERVED | R | 0h | Reserved |
8 | VSEL | R/W | 0h | Selects supply for ATEST switches.
0h = Selects VDDBOOST 1h = Selects VDDA |
7 | VA2VA1 | R/W | 0h | Enables isolation switch between VA_ATEST_A1 and VA_PAD_A1.
0h = Switch is open 1h = Switch is closed |
6 | VA2VA0 | R/W | 0h | Enables isolation switch between VA_ATEST_A0 and VA_PAD_A0.
0h = Switch is open 1h = Switch is closed |
5 | VR2VA1 | R/W | 0h | Enables isolation switch between VR_ATEST_A1 and VA_ATEST_A1.
0h = Switch is open 1h = Switch is closed |
4 | VR2VA0 | R/W | 0h | Enables isolation switch between VR_ATEST_A0 and VA_ATEST_A0.
0h = Switch is open 1h = Switch is closed |
3 | SHTVA1 | R/W | 1h | Shorts VA_ATEST_A1 to ground.
0h = Switch is open 1h = Switch is closed |
2 | SHTVA0 | R/W | 1h | Shorts VA_ATEST_A0 to ground.
0h = Switch is open 1h = Switch is closed |
1 | SHTVR1 | R/W | 1h | Shorts VR_ATEST_A1 to ground.
0h = Switch is open 1h = Switch is closed |
0 | SHTVR0 | R/W | 1h | Shorts VR_ATEST_A0 to ground.
0h = Switch is open 1h = Switch is closed |
TSENSCFG is shown in Table 13-8.
Return to the Summary Table.
TSENSE Configuration
This register is used to configure temperature sensor module.
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-12 | RESERVED | R | 0h | Software should not rely on the value of a reserved field. Writing any other value than the reset value may result in undefined behavior |
11-8 | SPARE | R/W | 0h | Spare bits |
7-2 | RESERVED | R | 0h | Reserved |
1-0 | SEL | R/W | 0h | Used to enable and configure temperature sensor module. Setting the value to 0x3 will disable the temperature sensor.
0h = Temperature sensor is disabled 1h = 20uA current is injected on VR_ATEST_A0 and voltage measured on VR_ATEST_A1 2h = 20uA current is injected on VR_ATEST_A0 and ground measured on VR_ATEST_A1 |
LPCMPCFG is shown in Table 13-9.
Return to the Summary Table.
LPCMP configuration
This register is used to configure and check the status of low-power comparator (LPCOMP) module.
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31 | RESERVED | R | 0h | Software should not rely on the value of a reserved field. Writing any other value than the reset value may result in undefined behavior |
30 | HYSPOL | R/W | 0h | Spare bit for LPCOMP |
29-28 | ATESTMUX | R/W | 0h | Used to configure ATEST mux in comparator module and provides chosen output on VA_ATEST_A0. Note: This bit field is write-protected using global lock indicator on production device. 0h = ATEST mux is off 1h = Selects comparator output 2h = Selects voltage divider output 3h = Selects bias current output |
27-25 | RESERVED | R | 0h | Reserved |
24 | EVTIFG | R/W | 0h | Event flag The event flag is set when the comparator output transition is qualified based on the edge polarity configuration in EDGCFG. 0h = Clear 1h = Set |
23-22 | RESERVED | R | 0h | Reserved |
21 | COUTEN | R/W | 0h | Enables LPCOMP output on device pin.
0h = Disabled 1h = Enabled |
20 | COUT | R | 0h | LPCOMP output status. This bit captures the value LPCOMP raw output.
0h = Output is low 1h = Output is high |
19 | RESERVED | R | 0h | Reserved |
18 | WUENSB | R/W | 0h | Enables lpcmpcfg output to wake device from standby.
0h = Disable 1h = Enable |
17 | EVTEN | R/W | 0h | Enables event generation. Comparator module will produce event on ULL event fabric when EVTIFG is set.
0h = Disable 1h = Enable |
16 | EDGCFG | R/W | 0h | Selects positive edge or negative edge detection on comparator output to set the event flag
0h = Rise edge detection 1h = Fall edge detection |
15 | RESERVED | R | 0h | Reserved |
14-12 | NSEL | R/W | 0h | Negative input selection. Setting values 0x5-0x7 will open all the switches.
0h = All switches are open 1h = Selects VA_PAD_A2 2h = Selects VA_PAD_A3 3h = Selects VDDA 4h = Selects VDDD |
11-8 | PSEL | R/W | 0h | Positive input selection. Setting values 0x9-0xF will open all the switches.
0h = All switches are open 1h = Selects VA_PAD_A1 2h = Selects VA_PAD_A2 3h = Selects VA_PAD_A3 4h = Selects VR_ATEST_A0 5h = Selects VR_ATEST_A1 6h = Selects VA_ATEST_A0 7h = Selects VA_ATEST_A1 8h = Selects VDDA |
7-5 | HYSSEL | R/W | 0h | Used to enable and select hysteresis level Hysteresis is disabled when HYSSEL = 0 and enabled for other values of HYSSEL from 1 to 7. Refer to device specific datasheet for individual hysteresis values. 0h = Hysteresis is disabled 1h = Hysteresis value: TBD 2h = Hysteresis value: TBD 3h = Hysteresis value: TBD 4h = Hysteresis value: TBD 5h = Hysteresis value: TBD 6h = Hysteresis value: TBD 7h = Hysteresis value: TBD |
4 | DIVPATH | R/W | 0h | Used to select the path on which voltage divider is applied
0h = Divider is applied on N-side 1h = Divider is applied on P-side |
3-1 | DIV | R/W | 0h | Used to configure reference divider. Setting values 0x5-0x7 will set the divide value to 1.
0h = Divide value is 1 1h = Divide value is 3/4 2h = Divide value is 1/2 3h = Divide value is 1/3 4h = Divide value is 1/4 |
0 | EN | R/W | 0h | Used to enable comparator module.
0h = Disable 1h = Enable |
DEVICEID is shown in Table 13-10.
Return to the Summary Table.
Device ID
This register provides Device ID information.
Note: This 32-bit register value is provided as output to DEBUGSS.
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-28 | VERSION | R | 0h | Monotonic increasing value indicating new hardware revision. A newer hardware revision shall never have a lower version than an older revision of hardware. |
27-12 | DEVICE | R | BB84h | Value generated by RAMP for the SOC. This value uniquely identifies the die from any other TI device. |
11-1 | MANFACTURER | R | 17h | JEP 106 assigned manufacturer ID. This field identifies the device as a Texas Instruments device. |
0 | ALWAYSONE | R | 1h | Value 1 in this bit field means that a 32-bit scan register exists. |
PARTID is shown in Table 13-11.
Return to the Summary Table.
Part ID
This register is programmed by boot code with Part ID information. Note: This 32-bit register value is provided as output to DEBUGSS
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31 | START | R/W | 0h | Start bit
0h = Clear 1h = Set |
30-28 | MAJORREV | R/W | 0h | Monotonic increasing value indicating a new revision of the SKU significant enough that users of the device may have to revise PCB or software design |
27-24 | MINORREV | R/W | 0h | Monotonic increasing value indicating a new revision of the SKU that preserves compatibility with lesser MINORREV values |
23-16 | VARIANT | R/W | 0h | Bit pattern uniquely identifying a variant of a part |
15-0 | PART | R/W | 0h | Bit pattern uniquely identifying a part |
TMUTE0 is shown in Table 13-12.
Return to the Summary Table.
Internal. Only to be used through TI provided API.
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-0 | CDACL | R/W | 0h | Internal. Only to be used through TI provided API. |
TMUTE1 is shown in Table 13-13.
Return to the Summary Table.
Internal. Only to be used through TI provided API.
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-0 | CDACM | R/W | 0h | Internal. Only to be used through TI provided API. |
TMUTE2 is shown in Table 13-14.
Return to the Summary Table.
TMUTE2 trim Register
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31 | RESERVED | R | 0h | RESERVED |
30-26 | IBTRIM | R/W | 0h | LPCOMP: Bias current trim, 250nA to be terminated across I2V, 1M Ω setting. Resulting target trim voltage 250mV. |
25-23 | TRIM | R/W | 1h | ADC REFBUF trim bits. |
22-16 | LATCH | R/W | 0h | SOC ADC: Latch trim bits. These bits are used in the analog IP. |
15-4 | OFFSET | R/W | 0h | SOCADC: Offset trim bits. These bits are used in DTC. |
3-2 | RES | R/W | 0h | SOCADC: Resistor trim bits. These bits are used in the analog IP. |
1-0 | CDACU | R/W | 0h | SOCADC: Upper 2 bits of CDAC trim. These bits are used in DTC. |
TMUTE3 is shown in Table 13-15.
Return to the Summary Table.
Internal. Only to be used through TI provided API.
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-26 | BATC1 | R/W | 0h | Internal. Only to be used through TI provided API. |
25-19 | BATC0 | R/W | 0h | Internal. Only to be used through TI provided API. |
18-14 | TEMPC2 | R/W | 0h | Internal. Only to be used through TI provided API. |
13-8 | TEMPC1 | R/W | 0h | Internal. Only to be used through TI provided API. |
7-0 | TEMPC0 | R/W | 0h | Internal. Only to be used through TI provided API. |
TMUTE4 is shown in Table 13-16.
Return to the Summary Table.
TMUTE4 trim Register
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-28 | RECHCOMPREFLVL | R/W | Bh | Internal. Only to be used through TI provided API. |
27-26 | IOSTRCFG2 | R/W | 0h | Internal. Only to be used through TI provided API. |
25-22 | IOSTRCFG1 | R/W | 0h | Internal. Only to be used through TI provided API. |
21-19 | MAX | R/W | 5h | Internal. Only to be used through TI provided API. |
18-16 | MED | R/W | 6h | Internal. Only to be used through TI provided API. |
15-13 | MIN | R/W | 3h | Internal. Only to be used through TI provided API. |
12-11 | DCDCLOAD | R/W | 0h | Internal. Only to be used through TI provided API. |
10-8 | IPEAK | R/W | 0h | DCDC: Set inductor peak current |
7-6 | DTIME | R/W | 0h | Internal. Only to be used through TI provided API. |
5-3 | LENSEL | R/W | 7h | Internal. Only to be used through TI provided API. |
2-0 | HENSEL | R/W | 7h | Internal. Only to be used through TI provided API. |
TMUTE5 is shown in Table 13-17.
Return to the Summary Table.
Internal. Only to be used through TI provided API.
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-13 | RESERVED | R | 0h | Internal. Only to be used through TI provided API. |
12-10 | DCDCDRVDS | R/W | 0h | Internal. Only to be used through TI provided API. |
9-5 | GLDOISCLR | W | 0h | Internal. Only to be used through TI provided API. |
4-0 | GLDOISSET | W | 0h | Internal. Only to be used through TI provided API. |
4-0 | RESERVED | R | 0h | Reserved |