s32k144 ADC processor expert

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

s32k144 ADC processor expert

1,161 次查看
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 回复数

909 次查看
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 项奖励

909 次查看
sushma
Contributor III

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

0 项奖励