[MPC5748G] ADC calibration sometimes fails

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

[MPC5748G] ADC calibration sometimes fails

691 Views
travis_kuo
Contributor III

Hi,

I am using S32DS SDK to test ADC on MPC5748G DEVKIT. My ADC input pins (channels) are PB4, PD4 and PD5.

My test result shows sometimes ADC calibration failed at ADC_Init(). 

Register ADCx_CALBISTREG reports failure at bit 28.

Failures can still happen even inputs are connected to 3.3V or GND.

May I know which cases will make ADC calibration fail?

Thanks

Travis

Labels (1)
0 Kudos
1 Reply

573 Views
petervlna
NXP TechSupport
NXP TechSupport

Hello,

Could you please be more specific?

I expect you are using ADC example from SDK which is embedded in S32DS. Am I correct?

I see in following execution not matching reference manual:

pastedImage_1.png

and ref manual requires:

pastedImage_2.png

Try to switch those 2 lines of code to see if this has any impact.

regards,

Peter

0 Kudos