S32k314 ADC reading info

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

S32k314 ADC reading info

跳至解决方案
1,620 次查看
vasanth-sr
Contributor II

Hi team,

In our design, pin no 93 -ADC1_MA[0] (ADC1 -> mux_output0 -> PTC27) used to read voltage.

I configured this pin, this pin default direction is output not configurable as a input.

How can i configure and read ADC value from this ADC1_MA[0]?

0 项奖励
回复
1 解答
1,603 次查看
PetrS
NXP TechSupport
NXP TechSupport

Hi,

ADCx_MA signals are output decode signals, cannot be used as ADC input.
The ADC provides three external decode signals which it uses to select one channel out of eight in the external analog multiplexers. There can be a maximum of four such multiplexers used to connect the 32 external channels. The ADC automatically sets the decode signals to control these external analog multiplexers, based on the current external channel selected for conversion.

BR, Petr

在原帖中查看解决方案

5 回复数
1,604 次查看
PetrS
NXP TechSupport
NXP TechSupport

Hi,

ADCx_MA signals are output decode signals, cannot be used as ADC input.
The ADC provides three external decode signals which it uses to select one channel out of eight in the external analog multiplexers. There can be a maximum of four such multiplexers used to connect the 32 external channels. The ADC automatically sets the decode signals to control these external analog multiplexers, based on the current external channel selected for conversion.

BR, Petr

1,021 次查看
Agis02
Contributor I
Hi @PetrS,

Could you please mention the code to get and print temperature data for S32K314 microcontroller. Actually, very less data is available for this type of configuration.
0 项奖励
回复
1,422 次查看
EthanXu
Contributor I

So it means that all the pin connected to ADCx_MA cannot read the voltage value,right?

标记 (1)
0 项奖励
回复
1,595 次查看
vasanth-sr
Contributor II

Ok, Thank you 

0 项奖励
回复
1,614 次查看
vasanth-sr
Contributor II
Any one please help me to bringup the adc in my s32k314 platform
0 项奖励
回复