MPC5748G  ADC0_X[0]

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

MPC5748G  ADC0_X[0]

739件の閲覧回数
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? 

ラベル(1)
0 件の賞賛
返信
2 返答(返信)

660件の閲覧回数
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 件の賞賛
返信

660件の閲覧回数
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 件の賞賛
返信