SPRUIW9C October 2021 – March 2024 TMS320F280033 , TMS320F280034 , TMS320F280034-Q1 , TMS320F280036-Q1 , TMS320F280036C-Q1 , TMS320F280037 , TMS320F280037-Q1 , TMS320F280037C , TMS320F280037C-Q1 , TMS320F280038-Q1 , TMS320F280038C-Q1 , TMS320F280039 , TMS320F280039-Q1 , TMS320F280039C , TMS320F280039C-Q1
Table 17-3 lists the memory-mapped registers for the DAC_REGS registers. All register offset addresses not listed in Table 17-3 should be considered as reserved locations and the register contents should not be modified.
Offset | Acronym | Register Name | Write Protection | Section |
---|---|---|---|---|
0h | DACREV | DAC Revision Register | Go | |
1h | DACCTL | DAC Control Register | EALLOW | Go |
2h | DACVALA | DAC Value Register - Active | Go | |
3h | DACVALS | DAC Value Register - Shadow | Go | |
4h | DACOUTEN | DAC Output Enable Register | EALLOW | Go |
5h | DACLOCK | DAC Lock Register | EALLOW | Go |
6h | DACTRIM | DAC Trim Register | EALLOW | Go |
Complex bit access types are encoded to fit into small table cells. Table 17-4 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 |
WSonce | W Sonce | Write Set once |
Reset or Default Value | ||
-n | Value after reset or the default value |
DACREV is shown in Figure 17-2 and described in Table 17-5.
Return to the Summary Table.
DAC Revision Register
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
RESERVED | |||||||
R-0h | |||||||
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
REV | |||||||
R-0h | |||||||
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
15-8 | RESERVED | R | 0h | Reserved |
7-0 | REV | R | 0h | DAC Revision Reset type: SYSRSn |
DACCTL is shown in Figure 17-3 and described in Table 17-6.
Return to the Summary Table.
DAC Control Register
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
RESERVED | |||||||
R-0h | |||||||
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
SYNCSEL | RESERVED | LOADMODE | MODE | DACREFSEL | |||
R/W-0h | R-0h | R/W-0h | R/W-0h | R/W-0h | |||
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
15-8 | RESERVED | R | 0h | Reserved |
7-4 | SYNCSEL | R/W | 0h | DAC EPWMSYNCPER select. Determines which EPWMSYNCPER signal will update the DACVALA register. Where n represents the maximum number of EPWMSYNCPER signals available on the device: 0 EPWM1SYNCPER 1 EPWM2SYNCPER 2 EPWM3SYNCPER ... n-1 EPWMnSYNCPER Reset type: SYSRSn |
3 | RESERVED | R | 0h | Reserved |
2 | LOADMODE | R/W | 0h | DACVALA load mode. Determines when the DACVALA register is updated with the value from DACVALS. 0 Load on next SYSCLK 1 Load on next EPWMSYNCPER specified by SYNCSEL Reset type: SYSRSn |
1 | MODE | R/W | 0h | DAC gain mode select. Selects the gain mode for the buffered output. The MODE value is only used when DACREFSEL=1 and internal ADC reference mode is selected. 0 Gain is 1 1 Gain is 2 Reset type: SYSRSn |
0 | DACREFSEL | R/W | 0h | DAC reference select. Selects which voltage references are used by the DAC. 0 VDAC/VSSA are the reference voltages 1 ADC VREFHI/VSSA are the reference voltages Reset type: SYSRSn |
DACVALA is shown in Figure 17-4 and described in Table 17-7.
Return to the Summary Table.
DAC Value Register - Active
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
RESERVED | DACVALA | ||||||
R-0h | R-0h | ||||||
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
DACVALA | |||||||
R-0h | |||||||
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
15-12 | RESERVED | R | 0h | Reserved |
11-0 | DACVALA | R | 0h | Active output code currently driven by the DAC Reset type: SYSRSn |
DACVALS is shown in Figure 17-5 and described in Table 17-8.
Return to the Summary Table.
DAC Value Register - Shadow
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
RESERVED | DACVALS | ||||||
R-0h | R/W-0h | ||||||
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
DACVALS | |||||||
R/W-0h | |||||||
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
15-12 | RESERVED | R | 0h | Reserved |
11-0 | DACVALS | R/W | 0h | Shadow output code to be loaded into DACVALA Reset type: SYSRSn |
DACOUTEN is shown in Figure 17-6 and described in Table 17-9.
Return to the Summary Table.
DAC Output Enable Register
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
RESERVED | |||||||
R-0h | |||||||
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | DACOUTEN | ||||||
R-0h | R/W-0h | ||||||
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
15-1 | RESERVED | R | 0h | Reserved |
0 | DACOUTEN | R/W | 0h | DAC output enable 0 DAC output is disabled 1 DAC output is enabled Reset type: SYSRSn |
DACLOCK is shown in Figure 17-7 and described in Table 17-10.
Return to the Summary Table.
DAC Lock Register
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
KEY | RESERVED | ||||||
R-0/W-0h | R-0h | ||||||
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | DACOUTEN | DACVAL | DACCTL | ||||
R-0h | R/WSonce-0h | R/WSonce-0h | R/WSonce-0h | ||||
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
15-12 | KEY | R-0/W | 0h | Writes to this register succeed only if this field is written with a value of 0xA. Only 16-bit writes will succeed (provided the KEY matches). Read-modify-writes to individual bits in this register will be ignored. Reset type: SYSRSn |
11-3 | RESERVED | R | 0h | Reserved |
2 | DACOUTEN | R/WSonce | 0h | Lock write-access to the DACOUTEN register. 0 DACOUTEN register is not locked. Write 0 to this bit has no effect. 1 DACOUTEN register is locked. Only a system reset can clear this bit. Reset type: SYSRSn |
1 | DACVAL | R/WSonce | 0h | Lock write-access to the DACVALS register. 0 DACVALS register is not locked. Write 0 to this bit has no effect. 1 DACVALS register is locked. Only a system reset can clear this bit. Reset type: SYSRSn |
0 | DACCTL | R/WSonce | 0h | Lock write-access to the DACCTL register. 0 DACCTL register is not locked. Write 0 to this bit has no effect. 1 DACCTL register is locked. Only a system reset can clear this bit. Reset type: SYSRSn |
DACTRIM is shown in Figure 17-8 and described in Table 17-11.
Return to the Summary Table.
DAC Trim Register
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
RESERVED | RESERVED | ||||||
R-0h | R/W-0h | ||||||
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
OFFSET_TRIM | |||||||
R/W-0h | |||||||
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
15-12 | RESERVED | R | 0h | Reserved |
11-8 | RESERVED | R/W | 0h | Reserved |
7-0 | OFFSET_TRIM | R/W | 0h | DAC Offset Trim. 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: SYSRSn |