Question about the lwgpio driver

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

Question about the lwgpio driver

1,255件の閲覧回数
Garil
Contributor III

Hi, folk

i want to implement on by custom board a keypad 3X4, 3 rows and 4colunms completly interrupted driven, i did this with the

msp430 from texas instrument by following a document provided by them. The fact is that i want to repeat this with MQX on kenetis k53

My questions:

is it possible to do this with MQX lwgpio ?

is some one ever did this with MQX ?

should i provide more info? eg the texas doc? (very small)

 

So I have the lwgpio as a baseline code.

 

br

thank you in advance

0 件の賞賛
返信
3 返答(返信)

1,024件の閲覧回数
Garil
Contributor III

Hi martink

Thx a lot for your reply, here attached is the document. In order to answer your question, i decided to use the push button because i implement this in a old project ( schematic + programming) and we have a critical problem with the time.

 

I started making some tests with the Gpio, but it seems limited, i switched to the lwgpio it seems to have more functions than the GPIO but i m still no able to make it run like on my old project

 

need help , please try to advise me

thx a lot

 

br

0 件の賞賛
返信

1,024件の閲覧回数
PetrL
NXP Employee
NXP Employee

HI Garil,

 

what functionality is missing in LWGPIO to complete your task?

 

You can still use a direct access to the pins.. maybe it will be the best for your case.

 

The LWGPIO provide nice abstraction of GPIO pins, but on other hand they also limits fuctionality to some extend.. Also if you need super fast access it is the best use direct read from registers.

 

PetrL

0 件の賞賛
返信

1,024件の閲覧回数
c0170
Senior Contributor III

Hi Garil,

 

why you are not using touch buttons but push buttons? Share the name of the document you have on your mind.

 

Regards,

MartinK

0 件の賞賛
返信