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

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

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

Jump to solution
1,162 Views
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 Kudos
1 Solution
1,118 Views
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

View solution in original post

0 Kudos
5 Replies
1,144 Views
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 Kudos
1,129 Views
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 Kudos
1,119 Views
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 Kudos
1,114 Views
DKTempest
Contributor I

Thx 4 Helping

0 Kudos
1,160 Views
DKTempest
Contributor I

add: I use S 32DS studio

0 Kudos