FS26 S32K3 ADC AMUX

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 
1,788件の閲覧回数
WeiC
Contributor I

I use the ADC1 P1 channel of the S32K3 microcontroller to collect analog signals from the AMUX pin of FS26. AMUX switches to Low power bandgap for Main domain (1V), but the ADC result of the microcontroller is around 5000, which translates to a voltage of 1.5V. Why is the difference so significant?

0 件の賞賛
返信
1 解決策
1,728件の閲覧回数
danielmartynek
NXP TechSupport
NXP TechSupport

Hi @WeiC,

I'm sorry for the delay.

 

What is the VREFH - VREFL voltage?

The resolution is 14b, that is 0x3FFF = 16383

If VREFH - VREFL = 3.3V

LSB = 3.3 / 16383 = 0.20143mV

LSB * 5000 = 1.007V

 

So I would say, you use 3.3V reference but count with 5V reference.

 

Regards,

Daniel

元の投稿で解決策を見る

0 件の賞賛
返信
3 返答(返信)
1,769件の閲覧回数
danielmartynek
NXP TechSupport
NXP TechSupport

Hi @WeiC,

Have you measured the ADC input voltage on the pin?

What is the FREF voltage?

Can you share the ADC configuration like sample time, frequently, resolution, ...?

 

Thank you,

Daniel

 

 

0 件の賞賛
返信
1,766件の閲覧回数
WeiC
Contributor I

input volt is about 1.007V,ADC clock is from FIRC.

WeiC_0-1700527900213.pngWeiC_1-1700527918760.pngWeiC_2-1700527939499.pngWeiC_3-1700527956849.png

 

0 件の賞賛
返信
1,729件の閲覧回数
danielmartynek
NXP TechSupport
NXP TechSupport

Hi @WeiC,

I'm sorry for the delay.

 

What is the VREFH - VREFL voltage?

The resolution is 14b, that is 0x3FFF = 16383

If VREFH - VREFL = 3.3V

LSB = 3.3 / 16383 = 0.20143mV

LSB * 5000 = 1.007V

 

So I would say, you use 3.3V reference but count with 5V reference.

 

Regards,

Daniel

0 件の賞賛
返信