ADC Potentiometer channel and programming for TWR-KL25Z48M

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

ADC Potentiometer channel and programming for TWR-KL25Z48M

791 Views
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

Labels (1)
0 Kudos
Reply
1 Reply

455 Views
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 Kudos
Reply