S32K322 ADC reading issue

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

S32K322 ADC reading issue

226件の閲覧回数
YL005
Contributor III

Hi,

I have two board with different analog input circuit. The first one can get the ADC value correctly, but the second one cannot and always get 4095 (12 bit). The software used for testing is the same.

The first analog input circuit is designed with passive components, and the second one is designed with an amplifier.

The analog input circuit that cannot successfully read the value is as follows.

Should the ADC or PORT module be configured differently between the two different designs?

YL005_0-1714644256706.png

S32K3

 

0 件の賞賛
3 返答(返信)

205件の閲覧回数
YL005
Contributor III

Hi,

I made some attempts, and it seemed that the software configuration should be fine, so I did Adc_SelftTest and found that there were differences in the results of the self test. What are the possible causes of the two errors ERR_C and ERR_S0?

YL005_0-1714699526459.png

 

0 件の賞賛

199件の閲覧回数
YL005
Contributor III

Hi,

I found that the ADC problem on the board was caused by not providing VREFH correctly.

And the wrong voltage caused the self test error.

When I provide the correct voltage to VREFH, I get right ADC values.

0 件の賞賛

182件の閲覧回数
_Leo_
NXP TechSupport
NXP TechSupport

I am glad that you found the root cause of your issue. Any other questions feel free to continue using our technical support service.

0 件の賞賛