Pin Interrupt in LPC5536

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

Pin Interrupt in LPC5536

352 Views
Aravindh
Contributor I

Hi,

currently I'm developing a project based on LPC5536 Microcontroller.

Where I have to setup 10 GPIO pin interrupts (PINT) (pins from Port0 and Port1).

But, as per user manual, there is limitation that upto 8 GPIO pin interrupts are allowed to configure.

My question, Is there any alternate way to configure remaining pin interrupts.?

and I'm not aware of GINT, will it helpful in my case.? any suggestions?

Thanks in advance.

Labels (1)
0 Kudos
1 Reply

327 Views
RaRo
NXP TechSupport
NXP TechSupport

Hello @Aravindh,

Let us explain what GINT is. In the LPC553x Reference Manual. Chapter 24 Group GPIO Input Interrupt (GINT)., it is described "as a subset of GPIO pins in each port that can be selected to contribute to a common group interrupt (GINT)."

The LPC553x has two instances of GINT module (GINT0 and GINT1) each one of them with 32 port pins. We hardly recommend you read about this module before consider using it.

and I'm not aware of GINT, will it helpful in my case.? any suggestions?

You could use the GINT module similar to PINT by enabling only one port pin per GINT instance (GINT0 and GINT1). Please take a look at the SDK's gint example, which could be useful to understand how to use the module.

Kind regards, Raul.

0 Kudos