Hello,
I'm working with MPC574xG EVB, and i'm trying to do a simple ADC acquisition.
i took the ADC exemple and try to make it work. when reading the CDATA register i found value = 0.
but after trying different configuration it worked, the changes i made are to read the voltage from ADC1 Channel 9 instead of ADC1 Channel 0. the Pot output is connected to PB4 which correspond to ADC1_P[0], but reading the data from Channel 0 give always a 0.
is there an explication for that, or i missed some info from the RM.
Thanks,
Hedi
Hi Heidi,
This example converts channel 3 of ADC0 and channel 9 of ADC1.
There is mistake in comment
regards,
Peter
Thank you for your reply, i already solved the issue, i missed the ADC channels mapping from the reference manual,, you can see from the table below that ADC1_P[0] is connected to channel 9, the confusion i did was to link the index of the Name to the ADC channel, but the correct analyse is to check the ADC channels mapping from the reference manual.