LPC55S69 : GINT0 and GINT1

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

LPC55S69 : GINT0 and GINT1

719 Views
EugeneHiihtaja
Senior Contributor I

Hello !

Do I understand right and any GPIO pin from group 0 or 1 can be included to GINT0 or 1.

So the same pin can't be in both GINTx but it port 0 pins can be part of GINT1 and vise versa.

Is this so.

But if I select edge sensitivity of all pins what are part of GINT0 group, can I select falling edge or rising edge

for each pin individually or for all of them ?

Regards,

Eugene

0 Kudos
5 Replies

588 Views
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello Eugene Hiihtaja,

" any GPIO pin from group 0 or 1 can be included to GINT0 or 1."

-> Yes, any pins from PORT0 and PORT1 can be included to GINT0 and 1. 

" the same pin can't be in both GINTx but it port 0 pins can be part of GINT1 and vise versa."

-> I think the same pin can be in both GINT0 and 1.

"

 can I select falling edge or rising edge

for each pin individually or for all of them 

"

-> Yes, you can config them individually. The PORT_POL register can config each pin polarity:

pastedImage_1.png


Have a great day,
TIC

-------------------------------------------------------------------------------
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.
-------------------------------------------------------------------------------

588 Views
EugeneHiihtaja
Senior Contributor I

Hello Alice !

It means I should include pin to both group if I would like to detect both edges.

Is this so ?

Regards,

Eugene

0 Kudos

588 Views
Alice_Yang
NXP TechSupport
NXP TechSupport

YES.

0 Kudos

588 Views
EugeneHiihtaja
Senior Contributor I

Hi Alice !

For some reason it dosn't work like this. Please look y request : LPC55S69 : GINTx, detect both edges 

If one pin is included to both GINTx it works, but if more, only falling edge starts to work.

May be special powermanagement API should be called ?

But for me it is blocker.

I need to find out reason and see if ISP,SW2,SW3 on EVK can be programmed in way that all edges are detected for 3 pins at list.

Can https://community.nxp.com/thread/517579  be prioritized some how ?

Regards,

Eugene

0 Kudos

588 Views
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello Eugene,

There will other people help you on that thread.

0 Kudos