SPRUHX5I August 2014 – May 2024 TMS320F28374S , TMS320F28375S , TMS320F28375S-Q1 , TMS320F28376S , TMS320F28377S , TMS320F28377S-Q1 , TMS320F28378S , TMS320F28379S
Table 9-4 lists the memory-mapped registers for the ANALOG_SUBSYS_REGS registers. All register offset addresses not listed in Table 9-4 should be considered as reserved locations and the register contents should not be modified.
| Offset | Acronym | Register Name | Write Protection | Section |
|---|---|---|---|---|
| 20h | INTOSC1TRIM | Internal Oscillator 1 Trim Register | EALLOW | Go |
| 22h | INTOSC2TRIM | Internal Oscillator 2 Trim Register | EALLOW | Go |
| 26h | TSNSCTL | Temperature Sensor Control Register | EALLOW | Go |
| 2Eh | LOCK | Lock Register | EALLOW | Go |
| 36h | ANAREFTRIMA | Analog Reference Trim A Register | EALLOW | Go |
| 38h | ANAREFTRIMB | Analog Reference Trim B Register | EALLOW | Go |
| 3Ah | ANAREFTRIMC | Analog Reference Trim C Register | EALLOW | Go |
| 3Ch | ANAREFTRIMD | Analog Reference Trim D Register | EALLOW | Go |
Complex bit access types are encoded to fit into small table cells. Table 9-5 shows the codes that are used for access types in this section.
| Access Type | Code | Description |
|---|---|---|
| Read Type | ||
| R | R | Read |
| R-0 | R -0 | Read Returns 0s |
| Write Type | ||
| W | W | Write |
| WOnce | W Once | Write Write once |
| Reset or Default Value | ||
| -n | Value after reset or the default value | |
| Register Array Variables | ||
| i,j,k,l,m,n | When these variables are used in a register name, an offset, or an address, they refer to the value of a register array where the register is part of a group of repeating registers. The register groups form a hierarchical structure and the array is represented with a formula. | |
| y | When this variable is used in a register name, an offset, or an address it refers to the value of a register array. | |
INTOSC1TRIM is shown in Figure 9-4 and described in Table 9-6.
Return to the Summary Table.
Internal Oscillator 1 Trim Register
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| RESERVED | RESERVED | ||||||||||||||
| R-0h | R/W-0h | ||||||||||||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| RESERVED | VALFINETRIM | ||||||||||||||
| R-0h | R/W-0h | ||||||||||||||
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 31-24 | RESERVED | R | 0h | Reserved |
| 23-16 | RESERVED | R/W | 0h | Reserved |
| 15-12 | RESERVED | R | 0h | Reserved |
| 11-0 | VALFINETRIM | R/W | 0h | Oscillator Value Fine Trim Bits. This register should not be modified unless specifically indicated by TI Errata or other documentation. Modifying the contents of this register could cause this module to operate outside of datasheet specifications. Reset type: XRSn |
INTOSC2TRIM is shown in Figure 9-5 and described in Table 9-7.
Return to the Summary Table.
Internal Oscillator 2 Trim Register
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| RESERVED | RESERVED | ||||||||||||||
| R-0h | R/W-0h | ||||||||||||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| RESERVED | VALFINETRIM | ||||||||||||||
| R-0h | R/W-0h | ||||||||||||||
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 31-24 | RESERVED | R | 0h | Reserved |
| 23-16 | RESERVED | R/W | 0h | Reserved |
| 15-12 | RESERVED | R | 0h | Reserved |
| 11-0 | VALFINETRIM | R/W | 0h | Oscillator Value Fine Trim Bits. This register should not be modified unless specifically indicated by TI Errata or other documentation. Modifying the contents of this register could cause this module to operate outside of datasheet specifications. Reset type: XRSn |
TSNSCTL is shown in Figure 9-6 and described in Table 9-8.
Return to the Summary Table.
Temperature Sensor Control Register
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
| RESERVED | |||||||
| R-0h | |||||||
| 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| RESERVED | ENABLE | ||||||
| R-0h | R/W-0h | ||||||
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 15-1 | RESERVED | R | 0h | Reserved |
| 0 | ENABLE | R/W | 0h | Temperature Sensor Enable. This bit enables the temperature sensor output to the ADC. 0 Disabled 1 Enabled Reset type: CPU1.SYSRSn |
LOCK is shown in Figure 9-7 and described in Table 9-9.
Return to the Summary Table.
Lock Register
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 |
| RESERVED | RESERVED | RESERVED | RESERVED | RESERVED | ANAREFTRIMD | ANAREFTRIMC | ANAREFTRIMB |
| R-0h | R/WOnce-0h | R/WOnce-0h | R/WOnce-0h | R/WOnce-0h | R/WOnce-0h | R/WOnce-0h | R/WOnce-0h |
| 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| ANAREFTRIMA | RESERVED | RESERVED | RESERVED | RESERVED | RESERVED | ||
| R/WOnce-0h | R/WOnce-0h | R/WOnce-0h | R/WOnce-0h | R/WOnce-0h | R-0h | ||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
| RESERVED | |||||||
| R-0h | |||||||
| 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| RESERVED | RESERVED | RESERVED | RESERVED | TSNSCTL | RESERVED | RESERVED | RESERVED |
| R-0h | R/WOnce-0h | R/WOnce-0h | R/WOnce-0h | R/WOnce-0h | R/WOnce-0h | R/WOnce-0h | R/WOnce-0h |
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 31 | RESERVED | R | 0h | Reserved |
| 30 | RESERVED | R/WOnce | 0h | Reserved |
| 29 | RESERVED | R/WOnce | 0h | Reserved |
| 28 | RESERVED | R/WOnce | 0h | Reserved |
| 27 | RESERVED | R/WOnce | 0h | Reserved |
| 26 | ANAREFTRIMD | R/WOnce | 0h | Analog Reference D Trim Register Lock. Setting this bit will disable any future write to the respective register. This bit can only be cleared by a reset. Reset type: CPU1.SYSRSn |
| 25 | ANAREFTRIMC | R/WOnce | 0h | Analog Reference C Trim Register Lock. Setting this bit will disable any future write to the respective register. This bit can only be cleared by a reset. Reset type: CPU1.SYSRSn |
| 24 | ANAREFTRIMB | R/WOnce | 0h | Analog Reference B Trim Register Lock. Setting this bit will disable any future write to the respective register. This bit can only be cleared by a reset. Reset type: CPU1.SYSRSn |
| 23 | ANAREFTRIMA | R/WOnce | 0h | Analog Reference A Trim Register Lock. Setting this bit will disable any future write to the respective register. This bit can only be cleared by a reset. Reset type: CPU1.SYSRSn |
| 22 | RESERVED | R/WOnce | 0h | Reserved |
| 21 | RESERVED | R/WOnce | 0h | Reserved |
| 20 | RESERVED | R/WOnce | 0h | Reserved |
| 19 | RESERVED | R/WOnce | 0h | Reserved |
| 18-7 | RESERVED | R | 0h | Reserved |
| 6 | RESERVED | R/WOnce | 0h | Reserved |
| 5 | RESERVED | R/WOnce | 0h | Reserved |
| 4 | RESERVED | R/WOnce | 0h | Reserved |
| 3 | TSNSCTL | R/WOnce | 0h | Temperature Sensor Control Register Lock. Setting this bit will disable any future write to the respective register. This bit can only be cleared by a reset. Reset type: CPU1.SYSRSn |
| 2 | RESERVED | R/WOnce | 0h | Reserved |
| 1 | RESERVED | R/WOnce | 0h | Reserved |
| 0 | RESERVED | R/WOnce | 0h | Reserved |
ANAREFTRIMA is shown in Figure 9-8 and described in Table 9-10.
Return to the Summary Table.
Analog Reference Trim A Register
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| RESERVED | RESERVED | ||||||||||||||
| R-0h | R/W-0h | ||||||||||||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| IREFTRIM | BGSLOPETRIM | BGVALTRIM | |||||||||||||
| R/W-0h | R/W-0h | R/W-0h | |||||||||||||
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 31-24 | RESERVED | R | 0h | Reserved |
| 23-16 | RESERVED | R/W | 0h | Reserved |
| 15-11 | IREFTRIM | R/W | 0h | Reference Current Trim. This bit field defines the reference current trim value. 0x0 - Untrimmed all other values - Trimmed Reset type: XRSn |
| 10-6 | BGSLOPETRIM | R/W | 0h | Bandgap Slope Trim. This bit field defines the bandgap slope trim value. 0x0 - Untrimmed all other values - Trimmed Reset type: XRSn |
| 5-0 | BGVALTRIM | R/W | 0h | Bandgap Value Trim. This bit field defines the bandgap voltage offset trim value. 0x0 - Untrimmed all other values - Trimmed Reset type: XRSn |
ANAREFTRIMB is shown in Figure 9-9 and described in Table 9-11.
Return to the Summary Table.
Analog Reference Trim B Register
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| RESERVED | RESERVED | ||||||||||||||
| R-0h | R/W-0h | ||||||||||||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| IREFTRIM | BGSLOPETRIM | BGVALTRIM | |||||||||||||
| R/W-0h | R/W-0h | R/W-0h | |||||||||||||
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 31-24 | RESERVED | R | 0h | Reserved |
| 23-16 | RESERVED | R/W | 0h | Reserved |
| 15-11 | IREFTRIM | R/W | 0h | Reference Current Trim. This bit field defines the reference current trim value. 0x0 - Untrimmed all other values - Trimmed Reset type: XRSn |
| 10-6 | BGSLOPETRIM | R/W | 0h | Bandgap Slope Trim. This bit field defines the bandgap slope trim value. 0x0 - Untrimmed all other values - Trimmed Reset type: XRSn |
| 5-0 | BGVALTRIM | R/W | 0h | Bandgap Value Trim. This bit field defines the bandgap voltage offset trim value. 0x0 - Untrimmed all other values - Trimmed Reset type: XRSn |
ANAREFTRIMC is shown in Figure 9-10 and described in Table 9-12.
Return to the Summary Table.
Analog Reference Trim C Register
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| RESERVED | RESERVED | ||||||||||||||
| R-0h | R/W-0h | ||||||||||||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| IREFTRIM | BGSLOPETRIM | BGVALTRIM | |||||||||||||
| R/W-0h | R/W-0h | R/W-0h | |||||||||||||
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 31-24 | RESERVED | R | 0h | Reserved |
| 23-16 | RESERVED | R/W | 0h | Reserved |
| 15-11 | IREFTRIM | R/W | 0h | Reference Current Trim. This bit field defines the reference current trim value. 0x0 - Untrimmed all other values - Trimmed Reset type: XRSn |
| 10-6 | BGSLOPETRIM | R/W | 0h | Bandgap Slope Trim. This bit field defines the bandgap slope trim value. 0x0 - Untrimmed all other values - Trimmed Reset type: XRSn |
| 5-0 | BGVALTRIM | R/W | 0h | Bandgap Value Trim. This bit field defines the bandgap voltage offset trim value. 0x0 - Untrimmed all other values - Trimmed Reset type: XRSn |
ANAREFTRIMD is shown in Figure 9-11 and described in Table 9-13.
Return to the Summary Table.
Analog Reference Trim D Register
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| RESERVED | RESERVED | ||||||||||||||
| R-0h | R/W-0h | ||||||||||||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| IREFTRIM | BGSLOPETRIM | BGVALTRIM | |||||||||||||
| R/W-0h | R/W-0h | R/W-0h | |||||||||||||
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 31-24 | RESERVED | R | 0h | Reserved |
| 23-16 | RESERVED | R/W | 0h | Reserved |
| 15-11 | IREFTRIM | R/W | 0h | Reference Current Trim. This bit field defines the reference current trim value. 0x0 - Untrimmed all other values - Trimmed Reset type: XRSn |
| 10-6 | BGSLOPETRIM | R/W | 0h | Bandgap Slope Trim. This bit field defines the bandgap slope trim value. 0x0 - Untrimmed all other values - Trimmed Reset type: XRSn |
| 5-0 | BGVALTRIM | R/W | 0h | Bandgap Value Trim. This bit field defines the bandgap voltage offset trim value. 0x0 - Untrimmed all other values - Trimmed Reset type: XRSn |