SPRUIZ1B July 2023 – August 2024 TMS320F28P650DH , TMS320F28P650DK , TMS320F28P650SH , TMS320F28P650SK , TMS320F28P659DH-Q1 , TMS320F28P659DK-Q1 , TMS320F28P659SH-Q1
Table 18-213 lists the memory-mapped registers for the ADC_SAFECHECK_REGS registers. All register offset addresses not listed in Table 18-213 should be considered as reserved locations and the register contents should not be modified.
Offset | Acronym | Register Name | Write Protection | Section |
---|---|---|---|---|
0h | CHECKCONFIG | ADC Check Configuration Register | Go | |
2h | CHECKSTATUS | ADC Check Status Register | Go | |
4h | ADCRESSEL1 | ADC Check 1 Select Register | Go | |
6h | ADCRESSEL2 | ADC Check 2 Select Register | Go | |
8h | TOLERANCE | ADC Check Tolerance Register | Go | |
Ch | CHECKRESULT1 | ADC Check Captured Result 1 | Go | |
Eh | CHECKRESULT2 | ADC Check Captured Result 2 | Go |
Complex bit access types are encoded to fit into small table cells. Table 18-214 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 |
W1S | W 1S | Write 1 to set |
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. |
CHECKCONFIG is shown in Figure 18-233 and described in Table 18-215.
Return to the Summary Table.
ADC Check Configuration Register
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
CHKEN | RESERVED | ||||||
R/W-0h | R-0h | ||||||
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | SWSYNC | RESERVED | RESERVED | ||||
R-0h | R-0/W1S-0h | R-0h | R/W-0h | ||||
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
15 | CHKEN | R/W | 0h | Result Safe Check Module enable Reset type: SYSRSn |
14-7 | RESERVED | R | 0h | Reserved |
6 | SWSYNC | R-0/W1S | 0h | Result Safe Check SW Force Sync. Reset type: SYSRSn |
5 | RESERVED | R | 0h | Reserved |
4-0 | RESERVED | R/W | 0h | Reserved |
CHECKSTATUS is shown in Figure 18-234 and described in Table 18-216.
Return to the Summary Table.
ADC Check Status Register
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
RESERVED | |||||||
R-0h | |||||||
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | OOT | RES2READY | RES1READY | ||||
R-0h | R-0h | R-0h | R-0h | ||||
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
15-3 | RESERVED | R | 0h | Reserved |
2 | OOT | R | 0h | Set when the difference between CHECKRESULT1 and CHECKRESULT2 is greater than TOLERANCE after both results have arrived. When set, further results will not be captured into the safety checker module CHECKRESULT1 or CHECKRESULT2 registers and further OOT or OVF events can't be generated. Cleared when the associated OOTx flag for all CPUs are either cleared (via the OOTFLGCLR.OOTx bit) or disabled to all ISR and events (via the CHECKINTSEL3.OOTx, CHECKEVT1SEL3.OOTx, CHECKEVT2SEL3.OOTx, CHECKEVT3SEL3.OOTx, and CHECKEVT4SEL3.OOTx registers) Reset type: SYSRSn |
1 | RES2READY | R | 0h | Result Safe Check Result 2 arrived. Cleared automatically when both results have arrived and the comparison occurs. Can also be cleared by issuing a software sync to the tile via the CHECKCONFIG.SWSYNC field. Reset type: SYSRSn |
0 | RES1READY | R | 0h | Result Safe Check Result 1 arrived. Cleared automatically when both results have arrived and the comparison occurs. Can also be cleared by issuing a software sync to the tile via the CHECKCONFIG.SWSYNC field. Reset type: SYSRSn |
ADCRESSEL1 is shown in Figure 18-235 and described in Table 18-217.
Return to the Summary Table.
ADC Check 1 Select Register
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
RESERVED | ADCRESULTSEL | ||||||
R-0h | R/W-0h | ||||||
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
ADCRESULTSEL | RESERVED | ADCSEL | |||||
R/W-0h | R-0h | R/W-0h | |||||
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
15-10 | RESERVED | R | 0h | Reserved |
9-4 | ADCRESULTSEL | R/W | 0h | ADC Result Safety Checker Result Select 1 0 = ADCRESULT0 1 = ADCRESULT1 2= ADCRESULT2 3 = ADCRESULT3 4 = ADCRESULT4 5 = ADCRESULT5 6 = ADCRESULT6 7 = ADCRESULT7 8 = ADCRESULT8 9 = ADCRESULT9 10 = ADCRESULT10 11 = ADCRESULT11 12 = ADCRESULT12 13 = ADCRESULT13 14 = ADCRESULT14 15 = ADCRESULT15 16 = RESERVED 17 = RESERVED 18 = RESERVED 19 = RESERVED 20 = RESERVED 21 = RESERVED 22 = RESERVED 23 = RESERVED 24 = RESERVED 25 = RESERVED 26 = RESERVED 27 = RESERVED 28 = RESERVED 29 = RESERVED 30 = RESERVED 31 = RESERVED 32 = ADCPPBRESULT1 33 = ADCPPBRESULT2 34 = ADCPPBRESULT3 35 = ADCPPBRESULT4 36 = ADCPPBSUM1 37 = ADCPPBSUM2 38 = ADCPPBSUM3 39 = ADCPPBSUM4 ... 40 - 61 = Reserved Reset type: SYSRSn |
3 | RESERVED | R | 0h | Reserved |
2-0 | ADCSEL | R/W | 0h | ADC Result Safety Checker ADC Select 1 0 = ADC-A 1 = ADC-B 2 = ADC-C 3 = ADC-D 4 - 7 = Reserved Reset type: SYSRSn |
ADCRESSEL2 is shown in Figure 18-236 and described in Table 18-218.
Return to the Summary Table.
ADC Check 2 Select Register
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
RESERVED | ADCRESULTSEL | ||||||
R-0h | R/W-0h | ||||||
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
ADCRESULTSEL | RESERVED | ADCSEL | |||||
R/W-0h | R-0h | R/W-0h | |||||
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
15-10 | RESERVED | R | 0h | Reserved |
9-4 | ADCRESULTSEL | R/W | 0h | ADC Result Safety Checker Result Select 2 0 = ADCRESULT0 1 = ADCRESULT1 2= ADCRESULT2 3 = ADCRESULT3 4 = ADCRESULT4 5 = ADCRESULT5 6 = ADCRESULT6 7 = ADCRESULT7 8 = ADCRESULT8 9 = ADCRESULT9 10 = ADCRESULT10 11 = ADCRESULT11 12 = ADCRESULT12 13 = ADCRESULT13 14 = ADCRESULT14 15 = ADCRESULT15 16 = RESERVED 17 = RESERVED 18 = RESERVED 19 = RESERVED 20 = RESERVED 21 = RESERVED 22 = RESERVED 23 = RESERVED 24 = RESERVED 25 = RESERVED 26 = RESERVED 27 = RESERVED 28 = RESERVED 29 = RESERVED 30 = RESERVED 31 = RESERVED 32 = ADCPPBRESULT1 33 = ADCPPBRESULT2 34 = ADCPPBRESULT3 35 = ADCPPBRESULT4 36 = ADCPPBSUM1 37 = ADCPPBSUM2 38 = ADCPPBSUM3 39 = ADCPPBSUM4 ... 40 - 61 = Reserved Reset type: SYSRSn |
3 | RESERVED | R | 0h | Reserved |
2-0 | ADCSEL | R/W | 0h | ADC Result Safety Checker ADC Select 2 0 = ADC-A 1 = ADC-B 2 = ADC-C 3 = ADC-D 4 - 7 = Reserved Reset type: SYSRSn |
TOLERANCE is shown in Figure 18-237 and described in Table 18-219.
Return to the Summary Table.
ADC Check Tolerance Register
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | TOLERANCE | ||||||||||||||||||||||||||||||
R-0h | R/W-0h | ||||||||||||||||||||||||||||||
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-24 | RESERVED | R | 0h | Reserved |
23-0 | TOLERANCE | R/W | 0h | Tolerance for the difference between CHECKRESULT1 and CHECKRESULT2. If the difference is greater than (but not equal to) the tolerance, an out-of-tolerance event will be generated, indicated the compared ADC results are not within expected tolerance of each other. Reset type: SYSRSn |
CHECKRESULT1 is shown in Figure 18-238 and described in Table 18-220.
Return to the Summary Table.
ADC Check Captured Result 1
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | RESULT | ||||||||||||||||||||||||||||||
R-0h | R-0h | ||||||||||||||||||||||||||||||
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-24 | RESERVED | R | 0h | Reserved |
23-0 | RESULT | R | 0h | ADC Result Safety Checker Captured Result Result that was captured In the case that multiple results arrive for one selected result before one result arrives for the other result for comparison, the RES1OVF flag in CHECKSTATUS will be set. This does not prevent CHECKRESULT1 from updating to the latest result. Reset type: SYSRSn |
CHECKRESULT2 is shown in Figure 18-239 and described in Table 18-221.
Return to the Summary Table.
ADC Check Captured Result 2
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | RESULT | ||||||||||||||||||||||||||||||
R-0h | R-0h | ||||||||||||||||||||||||||||||
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-24 | RESERVED | R | 0h | Reserved |
23-0 | RESULT | R | 0h | ADC Result Safety Checker Captured Result Result that was captured In the case that multiple results arrive for one selected result before one result arrives for the other result for comparison, the RES2OVF flag in CHECKSTATUS will be set. This does not prevent CHECKRESULT2 from updating to the latest result. Reset type: SYSRSn |