I am attempting to use the Monitoring ADC functionality and am having problems. We are using ADCIN2 and there is a correct voltage being applied to the adcin2 pin. For the MADC conversion process I am attempting to use the Software conversion request SW1. We have the startadc pin tied low, since we are not using the Hardware conversion request. The MADC clocks seem to be in the correct states and 26MHz is being provided.Here is the sequence of register writes that I perform.
setting the MADCON bit in the CTRL1 register to 1
setting the CH2 bit in the SW1AVERAGE_LSB register to 1 (I have tried it with and without averaging)
I am monitoring the EOC_SW1 bit in the CTRL_SW1 to see when the conversion is complete.
Reading the GPCH2_LSB and GPCH2_MSB registers for the results.
the results registers are always empty.
I am not using any interrupts to determine when a conversion is complete, my understanding is that interrupts are there to use but not required.