How to programming multi-channel self-capacitance touch

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

How to programming multi-channel self-capacitance touch

858 Views
daonguyen3154
Contributor II

I want to design a capacitance touch system and have owned a Freedom board KE15Z. As far as I know, the KE15z can only perform 1 channel at a time for the self-capacitance mode. 

Is there any way to program for multi-channel ? If yes, please give me the sample code. 

Thanks. 

#KE15z #capacitance-touch 

0 Kudos
Reply
1 Reply

641 Views
Sabina_Bruce
NXP Employee
NXP Employee

Hello,

The self-capacitance allows you to use one TSI channel per electrode. Essentially you will be able to use it like "buttons". The mutual-capacitance measures the capacitance between two electrodes connected to two TSI channels, this one could work like a "slider".

There are examples in the SDK for this mcu. You can download it in the following page. Select your FRDM-KE15z board and make sure you include all the middleware available and download it. In MCUXpresso you will find examples in two locations, when you click on "Import SDK examples" from the Quickstart panel.

One example will be located under demo_examples and the other two will be located in the driver_examples in the TSI folder. 

In addition here are some application notes that may be of help:

KE15Z Touch Sensing Interface

Touch Library Reference Manual

Hope this helps. Let me know if you have any further questions.

Best Regards,

Sabina