How can I get a example project? with membrane keypad(s32k144)

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

How can I get a example project? with membrane keypad(s32k144)

跳至解决方案
1,303 次查看
DKTempest
Contributor I

First Im the student first starting studying with NXP boards.

The problem I have is that I have no idea how to implement a 4x4 matrix keypad in s32k144.
where Can I find some 'membrane keypad' example project for s32k144?


Thx 4 helping

0 项奖励
1 解答
1,259 次查看
Robin_Shen
NXP TechSupport
NXP TechSupport

Please download S32K1xx MCU Family - Reference Manual and then you can see the PORT and GPIO registers.

PORT GPIO.png

在原帖中查看解决方案

0 项奖励
5 回复数
1,285 次查看
Robin_Shen
NXP TechSupport
NXP TechSupport

Hi 

Sorry we don't have example project with membrane keypad.
But I think you can use PORT interrupt to check which pin has be pressed.

PORT interrupt.png
You can refer the Button interrupt in can_pal_s32k144 of SDK.

Button interrupt.png

Best Regards,
Robin
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 项奖励
1,270 次查看
DKTempest
Contributor I

Additionally, I was using Atmel's AVR before moving on.
Is there any register related to port input and output such as DDRA, PORTA, PINA, etc. similar to AVR in NXP? I want to control multiple inputs and outputs at the same time.

0 项奖励
1,260 次查看
Robin_Shen
NXP TechSupport
NXP TechSupport

Please download S32K1xx MCU Family - Reference Manual and then you can see the PORT and GPIO registers.

PORT GPIO.png

0 项奖励
1,255 次查看
DKTempest
Contributor I

Thx 4 Helping

0 项奖励
1,301 次查看
DKTempest
Contributor I

add: I use S 32DS studio

0 项奖励