Hi,
I am using the TMS320F28377D chip.
I have one question about using the On-Chip ADC module.
If I set codes the following for SOC0 and SOC1, I wonder if the time from SOC Flag to the completion of conversion of both channels and recording the value in the result register is calculated as follows.
[SYSCLK Frequecy]
- 200MHz
[SOC0 Setting]
- ADC Clock = 50MHz (ADCCTL2[PRESCALE] = 6)
- Acquisition Window : 15 SYSCLK
- Trigger Source : EPWM1 SOCA
[SOC1 Setting]
- ADC Clock = 50MHz (ADCCTL2[PRESCALE] = 6)
- Acquisition Window : 15 SYSCLK
- Trigger Source : EPWM1 SOCA
[Calculated time from SOC flag to recording the results]
SOC0 : tSH + tEOC = 15 + 41 SYSCLK = 280nsec
SOC1 : tSH + tLAT = 15 + 44 SYSCLK = 295nsec
SOC0 and SOC1 : 280nsec + 295nsec = 575nsec
I wonder if I calculated it correctly.
Thanks in advance.