Mux and ADC performance | Cypress Semiconductor
Mux and ADC performance
Looking at the performance of the AMux(8->1) and DelSig ADC. The project seems to work but the channels influence each other.
My code looks like this:
countMA = 0; // rests Moving average count
volts = ADC_CountsTo_mVolts( ADC_GetResult32() );
volts1 = ADC_CountsTo_mVolts( ADC_GetResult32() );
Up to 8th input.
If I read the same pin on 8 - always set AMux_1_Select(1) it seems stable, but when I switch I get strange results.
I think I need to reset the ADC when I switch pin inputs or reset the buffers? ( trying to do this with AMux_1_Init() )
Any ideas to test?