ADC issue for external channels on S32k146 controller.

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

ADC issue for external channels on S32k146 controller.

Jump to solution
601 Views
PawanGupta
Contributor I

Hi,

"ADC conversion not happening for external channels when S32k144 compiled code loaded on S32k146 controller".

I have taken adc_swtrigger_s32k144 example code and configured external input channel 10 to read voltage and is working as expected on S32k144 controller but when the same code is flashed on S32k146 controller not getting expected value.

Is S32k144 compiled code compatible with S32k146 controller?

While debugging observed that ADC conversion is happening but result register RA is showing value as 7 every time. 

Also, I've tried to measure the reference BANDGAP voltage, as per the ref manual result should be 1V but I am getting around 0.6V.

 

Anyone, please suggest the solution.

 

0 Kudos
1 Solution
591 Views
Robin_Shen
NXP TechSupport
NXP TechSupport

Hi PawanGupta,

Is S32k144 compiled code compatible with S32k146 controller?
No.
Why not direct use adc_swtrigger_s32k146 example?
You can compare the different between these two project.

Best Regards,
Robin
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

View solution in original post

0 Kudos
1 Reply
592 Views
Robin_Shen
NXP TechSupport
NXP TechSupport

Hi PawanGupta,

Is S32k144 compiled code compatible with S32k146 controller?
No.
Why not direct use adc_swtrigger_s32k146 example?
You can compare the different between these two project.

Best Regards,
Robin
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 Kudos