SPRUIN7C March 2020 – March 2024 TMS320F280021 , TMS320F280021-Q1 , TMS320F280023 , TMS320F280023-Q1 , TMS320F280023C , TMS320F280025 , TMS320F280025-Q1 , TMS320F280025C , TMS320F280025C-Q1
The following diagrams show the ADC conversion timings for two SOCs given the following assumptions:
Table 15-8 describes the parameters in the following timing diagrams. Table 15-9
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 5ns 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. 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, 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. | |
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). |
ADCCLK Prescale | SYSCLK Cycles | ||||
---|---|---|---|---|---|
ADCCTL2. PRESCALE | Prescale Ratio | tEOC | tLAT | tINT
(Early) |
tINT (Late) |
0 | 1 | 11 | 13 | 1 | 11 |
2 | 2 | 21 | 23 | 1 | 21 |
4 | 3 | 31 | 34 | 1 | 31 |
6 | 4 | 41 | 44 | 1 | 41 |
8 | 5 | 51 | 55 | 1 | 51 |
10 | 6 | 61 | 65 | 1 | 61 |
12 | 7 | 71 | 76 | 1 | 71 |
14 | 8 | 81 | 86 | 1 | 81 |