[MPC5748G] ADC calibration sometimes fails

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

[MPC5748G] ADC calibration sometimes fails

1,163 次查看
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

标签 (1)
0 项奖励
回复
1 回复

1,045 次查看
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 项奖励
回复