Hedi BASLY

MPC5746C ADC Wrong Channel

Discussion created by Hedi BASLY on Sep 6, 2018

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

Attachments

Outcomes