KL25Z TSI (touch sensor interface) pin name to channel mapping

The TSI library used in the KL25Z code template in the online IDE uses channel names instead of pin names to configure the touch sensor. Here is a correspondence table between pin names and channel numbers taken from the data sheet at http://cache.freescale.com/files/32bit/doc/data_sheet/KL25P80M48SF0.pdf?fasp=1

  • PTA0 - TSI0_CH1
  • PTA1 - TSI0_CH2
  • PTA2 - TSI0_CH3
  • PTA3 - TSI0_CH4
  • PTA4 - TSI0_CH5
  • PTB0 - TSI0_CH0
  • PTB1 - TSI0_CH6
  • PTB2 - TSI0_CH7
  • PTB3 - TSI0_CH8
  • PTB16 - TSI0_CH9
  • PTB17 - TSI0_CH10
  • PTB18 - TSI0_CH11
  • PTB19 - TSI0_CH12
  • PTC0 - TSI0_CH13
  • PTC1 - TSI0_CH14
  • PTC2 - TSI0_CH15

A comprehensive description of the TSI is at: https://community.freescale.com/community/the-embedded-beat/blog/2012/10/15/using-the-touch-interface-on-the-freescale-freedom-development-platform


Please log in to post comments.