MPC5748G  ADC0_X[0]

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

MPC5748G  ADC0_X[0]

739 Views
tony_huang
Contributor III

Hi,my hardware is using PB[12],PB[13],PB[15] for AD function,I found PB[12],PB[13],PB[15] are mapped  ADC0_X[0], ADC0_X[1], ADC0_X[3], and how to config  AD module? 

Labels (1)
0 Kudos
Reply
2 Replies

660 Views
davidtosenovjan
NXP TechSupport
NXP TechSupport

Please pay attention to following document, section 2.8 Analog-to-digital converter:

http://www.nxp.com/assets/documents/data/en/application-notes/AN4830.pdf

 

The principle is the same, it differs in the used channels thus you will have to modify the code according to your needs.

0 Kudos
Reply

660 Views
tony_huang
Contributor III

I  read the app notes ,and my ad module code is  reference  AN4830. I found  adc0_x[0]   result  register multiplied  four  is OK.

0 Kudos
Reply