s32k144 ADC processor expert

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

s32k144 ADC processor expert

1,157件の閲覧回数
sushma
Contributor III

Hello

I want to configure ADC using processor expert and below is the code I have tried and I'm not able to get the values.

I have connected PTA0( ADC0_SE0 - convertAdcChan(0)) to 3.3V onboard and I'm not able to get the reading. I have attached the code and screenshots. Kindly tell me where I may be going wrong.

Thank you.

pastedImage_1.png

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

905件の閲覧回数
dianabatrlova
NXP TechSupport
NXP TechSupport

Hello,

I have tested your code. Please select the Input channel ADC_INPUTCHAN_EXT0 in the adConv1:adc. After that, you will get the correct values.

pastedImage_1.png

I believe it helps you.

Best Regards,

Diana

0 件の賞賛

905件の閲覧回数
sushma
Contributor III

Thank you Diana, this helped. Can you look into this https://community.nxp.com/thread/496626  and give me solution.

0 件の賞賛