S32k144 EVB Touch Pads

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

S32k144 EVB Touch Pads

2,531 Views
manuelmoreno-eg
Contributor II

Hi,

Perhaps my question is pretty stupid, but how to read touch pads in S32k144 EVB?

Are simple digital inputs?

Thanks a lot,

Manuel

Labels (1)
0 Kudos
3 Replies

1,901 Views
jiri_kral
NXP Employee
NXP Employee

Hi Manuel, 

for touch pads is easiest way how to use them link in your project TS_S32K144.a library (located in [YOUR_S32DS_INSTALL_PATH]\S32SDK_S32K14x_EAR_0.8.5\examples\S32K144\demo_apps\touchsense\SDK\middleware\

You can use  electrodeTouchSenseInit() function and  electrodeTouchQualified[ELECTRODE_NUM] variable from that library. If it is equal 1 - pad is touched - otherwise untouched. 

You can also look on example project - touchsense_s32k144 - which is part of S32DS_EAR_SDK_v0.8.5 - but the example includes FreeMaster code and is quite huge. 

Jiri

0 Kudos

1,901 Views
danielmartynek
NXP TechSupport
NXP TechSupport

Hi,

SDK v0.8.5 contains Touchsense demo application.

It converts actual capacitance of the electrodes to equivalent voltage sampled by ADC.

 

The below picture is taken from doxygen/touchsense.dox file in the project folder.

Touchsense_pins.png

Regards,

Daniel

0 Kudos

928 Views
hajianik
Senior Contributor I

My project is using S32K with the PE.

Now the SDK is S32SDK_S32K14x_EAR_0.8.4 .

Not sure how to switch to S32SDK_S32K14x_EAR_0.8.5.

Can someone help me with that?

Thanks,

Koorosh Hajiani

0 Kudos