SPRSP69B July 2023 – November 2023 TMS320F28P650DK , TMS320F28P659DK-Q1
PRODMIX
Refer to the PDF data sheet for device specific package drawings
The following diagrams show the ADC conversion timings for two SOCs given the following assumptions:
Table 6-25 lists the descriptions of the ADC timing parameters. Table 6-26 and Table 6-27 list the ADC timings.
PARAMETER | DESCRIPTION |
---|---|
tSH | The duration of the S+H window. |
At the end of this window, the value on the S+H capacitor becomes the voltage to be converted into a digital value. The duration is given by (ACQPS + 1) SYSCLK cycles. ACQPS can be configured individually for each SOC, so tSH is not necessarily the same for different SOCs. | |
Note: The value on the S+H capacitor is captured approximately 5 ns before the end of the S+H window regardless of device clock settings. | |
tLAT | The time from the end of the S+H window until the ADC results latch in the ADCRESULTx register. |
If the ADCRESULTx register is read before this time, the previous conversion results are returned. | |
tEOC | The time from the end of the S+H window until the S+H window for the next ADC conversion can begin. In 16-bit mode, this coincides with the latching of the conversion results, while in 12-bit mode, the subsequent sample can start before the conversion results are latched. |
tINT | The time from the end of the S+H window until an ADCINT flag is set (if configured). |
If the INTPULSEPOS bit in the ADCCTL1 register is set, tINT coincides with the end of conversion (EOC) signal. | |
If the INTPULSEPOS bit is 0, tINT coincides with the end of the S+H window. If tINT triggers a read of the ADC result register (directly through DMA or indirectly by triggering an ISR that reads the result), care must be taken to make sure the read occurs after the results latch (otherwise, the previous results are read). | |
If the INTPULSEPOS bit is 0, and the OFFSET field in the ADCINTCYCLE register is not 0, then there is a delay of OFFSET SYSCLK cycles before the ADCINT flag is set. This delay can be used to enter the ISR or trigger the DMA exactly when the sample is ready. | |
tDMA | The time from the end of the S+H window until a DMA read of the ADC conversion result is triggered, when ADCCTL1.TDMAEN = 1. |
If TDMAEN is set to 0, then the DMA trigger occurs at TINT. In certain conditions, the ADCINT flag can be set before the ADCRESULT value is latched. To make sure that the DMA read occurs after the ADCRESULT value has been latched, write 1 to ADCCTL1.TDMAEN to enable DMA timings. |
ADCCLK Prescale | SYSCLK Cycles | |||||
---|---|---|---|---|---|---|
ADCCTL2. PRESCALE | Prescale Ratio | tEOC | tLAT | tINT
(Early)(1) |
tINT (Late) |
tDMA |
0 | 1 | 11 | 13 | 0 | 11 | 13 |
2 | 2 | 21 | 23 | 0 | 21 | 23 |
3 | 2.5 | 26 | 28 | 0 | 26 | 28 |
4 | 3 | 31 | 34 | 0 | 31 | 34 |
5 | 3.5 | 36 | 39 | 0 | 36 | 39 |
6 | 4 | 41 | 44 | 0 | 41 | 44 |
7 | 4.5 | 46 | 49 | 0 | 46 | 49 |
8 | 5 | 51 | 55 | 0 | 51 | 55 |
9 | 5.5 | 56 | 60 | 0 | 56 | 60 |
10 | 6 | 61 | 65 | 0 | 61 | 65 |
11 | 6.5 | 66 | 70 | 0 | 66 | 70 |
12 | 7 | 71 | 76 | 0 | 71 | 76 |
13 | 7.5 | 76 | 81 | 0 | 76 | 81 |
14 | 8 | 81 | 86 | 0 | 81 | 86 |
15 | 8.5 | 86 | 91 | 0 | 86 | 91 |
ADCCLK Prescale | SYSCLK Cycles | |||||
---|---|---|---|---|---|---|
ADCCTL2. PRESCALE | Prescale Ratio | tEOC | tLAT | tINT (Early)(1) |
tINT (Late) |
tDMA |
0 | 1 | 31 | 32 | 0 | 31 | 32 |
2 | 2 | 60 | 61 | 0 | 60 | 61 |
3 | 2.5 | 75 | 75 | 0 | 75 | 75 |
4 | 3 | 90 | 91 | 0 | 90 | 91 |
5 | 3.5 | 104 | 106 | 0 | 104 | 106 |
6 | 4 | 119 | 120 | 0 | 119 | 120 |
7 | 4.5 | 134 | 134 | 0 | 134 | 134 |
8 | 5 | 149 | 150 | 0 | 149 | 150 |
9 | 5.5 | 163 | 165 | 0 | 163 | 165 |
10 | 6 | 178 | 179 | 0 | 178 | 179 |
11 | 6.5 | 193 | 193 | 0 | 193 | 193 |
12 | 7 | 208 | 209 | 0 | 208 | 209 |
13 | 7.5 | 222 | 224 | 0 | 222 | 224 |
14 | 8 | 237 | 238 | 0 | 237 | 238 |
15 | 8.5 | 252 | 252 | 0 | 252 | 252 |