FS26 S32K3 ADC AMUX

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

FS26 S32K3 ADC AMUX

跳至解决方案
1,772 次查看
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,712 次查看
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,753 次查看
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,750 次查看
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,713 次查看
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 项奖励
回复