Perhaps my question is pretty stupid, but how to read touch pads in S32k144 EVB?
Are simple digital inputs?
Thanks a lot,
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.
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.
Retrieving data ...