Error ADC Calibration on MPC5674F (eQADC + eDMA Continuous_Scan + Calibration)

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Error ADC Calibration on MPC5674F (eQADC + eDMA Continuous_Scan + Calibration)

2,076件の閲覧回数
tgc-yilmaz
Contributor III

Hello,

I'm using a MPC5674F. I want to read adc values with eQADC and want to work in  Continuous Scan mode. I would also like to calibrate the adc module. In order to perform the calibration with the "EQADC_PowerUpCalibration" function, I first set it to Single Scan mode. After getting the necessary values for calibration (gain, offset), I set it to continuous scan mode. However, I cannot read the adc values after setting the continuous scan mode.

How can I read adc values by performing adc calibration in Continuous Scan mode? Can you help with this?

pastedImage_16.png

Thank you for your help...

ラベル(1)
2 返答(返信)

1,872件の閲覧回数
tgc-yilmaz
Contributor III

Hi,

Thank you for your answer. I got this information in the data sheet. I solved my problem by setting the mode to disabled before switching to continuous scan mode.

 pastedImage_3.png

pastedImage_2.png

Thank you for your help...

1,872件の閲覧回数
davidtosenovjan
NXP TechSupport
NXP TechSupport

Hi, I don't see any reason why it should not work. Actually even in the original example it firstly use single scan mode to configure ADCs and then it switches to continuous scan mode.

https://community.nxp.com/docs/DOC-105724 

If you put calibration routine between ADC initialization the same way, it should work correctly.

0 件の賞賛
返信