How can I override on board potentiometer to read external potentiometer?

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

How can I override on board potentiometer to read external potentiometer?

跳至解决方案
1,094 次查看
bradford96789
Contributor I

On the s32k148 eval board, we are using the adc_swtrigger_s32k148 project example code and we would like to use this code to read our own potentiometer. We can not seem to find what function or register to set to access a different port. We are looking to use port PTC14. 

标签 (1)
0 项奖励
回复
1 解答
997 次查看
danielmartynek
NXP TechSupport
NXP TechSupport

Hi,

This should be the ADC_INPUTCHAN_EXT12 input channel.

pastedImage_1.png

BR,

Daniel

在原帖中查看解决方案

1 回复
998 次查看
danielmartynek
NXP TechSupport
NXP TechSupport

Hi,

This should be the ADC_INPUTCHAN_EXT12 input channel.

pastedImage_1.png

BR,

Daniel