Part Number: TMS320F28P550SG
Other Parts Discussed in Thread: C2000WARE
Hi Experts,
To verify the conversion time for adc modue (12 bits), I use example of adc_ex2_soc_epwm from C2000ware 5.02 and modify. Now, AdcaRegs.ADCCTL2.PRESCALE = 0; ClkCfgRegs.SYSCLKDIVSEL.bit.PLLSYSCLKDIV = 1; AdcaRegs,ADCSOC0CTL.ACQPS = 9;
The total time between pwm trigger (SOC) to adcA1ISR() (end od conversion) is about 1 uS from osscillscope. Meanwhile, the pwm reg. TBCTR is about 145 when measuring it at beginning of adcA1ISR() . So its duration is 145 x 6.67ns = 967 nS.
After remove adc S/H (10 x 6.67=66.7nS) and adcA1ISR() function call time about 0.2uS, 700 nS is the estimation of adc conversion time.
The data sheet says Analog-to-Digital Converter (ADC) (12-bit) is 187 ns typical.
Why the ADC conversion in my testing is more than its data sheet specified? How to reduce the conversion time ? Please advice.
Thanks,
Jeffrey Jin