AnsweredAssumed Answered

ADC results reading

Question asked by Lietuva on Nov 20, 2015
Latest reply on Nov 24, 2015 by Lietuva



I have some problems with ADC raw results reading. I enabled ADC interrupts and registered callback function.

I use adi_AFE_RunSequence function with  parameters rxbuffer NULL and size 0. It has a wait of 5 sec, during which ADC conversion is enabled. In that callback function I increment a counter. After the sequence exits the counter is equal to 100000, even though I expected it to be 5*160000, showing the number of interrupts occurrences. That is the problem with ADC_RESULTS_READY interrupt? Why doesn't it occur every time the ADC conversion is performed?