SPRUIX1B October 2022 – April 2024 TMS320F2800132 , TMS320F2800133 , TMS320F2800135 , TMS320F2800137
The following diagrams show the ADC conversion timings for two SOCs given the following assumptions:
Table 11-9 describes the parameters in the following timing diagrams. Table 11-10 lists 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 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 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 (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)(1) |
tINT (Late) |
0 | 1 | 11 | 13 | 0 | 11 |
2 | 2 | 21 | 23 | 0 | 21 |
4 | 3 | 31 | 34 | 0 | 31 |
6 | 4 | 41 | 44 | 0 | 41 |
8 | 5 | 51 | 55 | 0 | 51 |
10 | 6 | 61 | 65 | 0 | 61 |
12 | 7 | 71 | 76 | 0 | 71 |
14 | 8 | 81 | 86 | 0 | 81 |