ADC Potentiometer channel and programming for TWR-KL25Z48M

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

ADC Potentiometer channel and programming for TWR-KL25Z48M

1,035 次查看
venkateshgr
Contributor I

Hi am trying to read the potentiometer through ADC for TWR-KL25Z48M. Can anybody please help me to find which channel of adc is connected to potentiometer and if its A r B and which channel in it is connected.

Can anybody share a test code for reading potentiometer readings

标签 (1)
0 项奖励
回复
1 回复

699 次查看
LuisCasado
NXP Employee
NXP Employee


Hello,

You can check in the schematics:

http://cache.freescale.com/files/soft_dev_tools/hardware_tools/schematics/TWR-KL25Z48M_SCH.pdf?fpsp=...

Connected to  PTE29/ADC0_SE4B.

In the SC code there is an adc16 driver code and an example of using ADC.

http://cache.freescale.com/files/32bit/software/KL25_SC.exe?fpsp=1&WT_TYPE=BSDL&WT_VENDOR=FREESCALE&...

I think, at least is a starting point.

Best Regards,

Luis

0 项奖励
回复