s32k144 ADC processor expert

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

s32k144 ADC processor expert

1,453 Views
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

Labels (1)
Tags (1)
0 Kudos
Reply
2 Replies

1,201 Views
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 Kudos
Reply

1,201 Views
sushma
Contributor III

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

0 Kudos
Reply