Hello everybody,
I am programing an IIR filter that has to be executed really fast. It works with the measurement from the ADC.
In order to improve the speed of the function, I have removed the next ADC checking:
while (AdcRegs.ADCST.bit.INT_SEQ1== 0){}
AdcRegs.ADCST.bit.INT_SEQ1_CLR = 1;
This, if I understood right, is to wait for the measurement in the ADC to be ready.
But it is time consuming, and for my application, in spite of running as fast as I can, there is time enough for the ADC to have the measurement ready (80ns conversion rate).
Am I right about this?
Thanks,
Ricardo.