S32k144 EVB Touch Pads

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

S32k144 EVB Touch Pads

3,279件の閲覧回数
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

ラベル(1)
0 件の賞賛
返信
3 返答(返信)

2,649件の閲覧回数
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 件の賞賛
返信

2,649件の閲覧回数
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 件の賞賛
返信

1,676件の閲覧回数
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 件の賞賛
返信