I am putting a mux in front of ADuCM361, so I have to change gain in ADC ISR when I switch channels
I start with your Meter example and set the sample rate to 2000 S/s. At this point, the gain is not touched in ISR, and the software runs as expected, 2000s/s
Once I add the code in ISR to change the gain
pADI_ADC1->MDE = TempADC|((gain&0x70));
The data rate is changed!
How can I get around this?