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

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

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

ソリューションへジャンプ
1,286件の閲覧回数
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,242件の閲覧回数
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,268件の閲覧回数
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,253件の閲覧回数
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,243件の閲覧回数
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,238件の閲覧回数
DKTempest
Contributor I

Thx 4 Helping

0 件の賞賛
1,284件の閲覧回数
DKTempest
Contributor I

add: I use S 32DS studio

0 件の賞賛