Problematic tuning MK20 with 4 Capacitive Key TSI module

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

Problematic tuning MK20 with 4 Capacitive Key TSI module

639 Views
lucacampanale
Contributor I

Hi all,

I need the opinion of someone expert with TSI Module and capacitive key.

I have a board with with different devices including a MK20DX256VLK7 cpu and 4 capacitive keys connected to cpu using TSI Module. Key shape is a rectangular about 1.65(b)x1.2(h) cm and they are separated from each other with 0.2cm distance. Above each key is placed a copper tower about 0.4cm in order to reduce non-conducting strate and finally there is a plexiglass front panel about others 0.4cm. The follow figure shows the layout for one key.

pcb.jpg

The finger's distance is about 0.8cm.

I can successfully implement TSI Module with Keyboard control on Processor Expert both Kinetis Design Studio 3.1 and CodeWarrior 10.6, I can also use FreeMaster GUI.

In order to tune keys the parameter I can change are:

_Nsamples and Resolution to modify senisibility;

_Signal multiplier, divider, electrode senitivity to validate the touch.

The problem is the follow, in this enviroment changing Nsample or Resolution does not follow a logical behavior.

For example:

_with Resolution=14 bit and Nsample=6, all 4 Keys work but not good;

_with Resolution=14 bit and Nsample=7, 3 Keys work good and 1 Key does NOT work good, it seems deaf, freezed to finger although the  Status is OK;

_Changing again the Nsample, another key is freezed and often the previous one starts again to sense the finger.

 The same behavior appears with change Resolution, for a certain resolution all keys are sensing, for another one not all keys are working good.

Application note says that increasing Nsample improve sensibility. In my case it is false, increasing Nsample or Resolution, causes aleatory changing of sensiblity and baseline.

In this situation for me is impossibile to tune fine every sensors, besides I have to tune dozens of these boards. I would like to know, if it is an hardware layout problem (due to finger distance, pcb layout etc etc), or there is also a software component.

It is hard to explain well the problem, in case I can post FreeMaster screen, to shows this behavior.

0 Kudos
2 Replies

452 Views
lucacampanale
Contributor I

Hi Vicente,

thanks for reply.

Yes I am using latest TSS library and obviously I read that Application Note.

The PCB is 4 layers:

1) First Layer, Top side with components

2) GND Plane 

3) Power Plane and a small GND with the ground for capacitive keys

4) Bottom side, with the 4 capacitive keys

So in the layer next the capacitive keys there is their ground play, made with hatching.

This is an image of the PCB gerber with Red = Layer 4, Blu = Layer 3 with GND hatching

AAA.JPG

As I said on first post, I am able to sense the touch with some configurations, but not always  with all configurations despite I am using a very close configuration. The touch is sensed in a too much random way.

Luca

0 Kudos

452 Views
vicentegomez
NXP TechSupport
NXP TechSupport

Are you using the TSS library?

I think that your problem will be your hardware,

Do you have a ground plane on your design?

Please check the application note AN3863

Regards

Vicente

0 Kudos