I'm looking for the fastest way to acquire a single sample with the ADC in the F28335. The HSPCLK is set for 25MHz and ACQ_PS is 0. SYSCLK is 150MHz. Here's what i'm doing now:
AdcRegs.ADCTRL2.bit.SOC_SEQ1 = 1;//(100ns) While (AdcRegs.ADCST.bit.INT_SEQ1== 0);//(400ns) AdcRegs.ADCST.bit.INT_SEQ1_CLR = 1; var = AdcMirror.ADCRESULT0;//(100ns)
The times where measured with a scope by toggling a pin immediately before and after each line. So, does this process really need to take this long? I understand the ADC is capable of a 40ns sample timer, but if I can't enable the ADC and load the sample into a variable fast enough it's of no use in my application. Any thoughts?
Thanks,
Aron