Interrupt limitation on LPC552x

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

Interrupt limitation on LPC552x

471 Views
JRIIS
NXP Employee
NXP Employee

Hi - I Need to understand the limitation of Interrupts on LPC552x.

From DS it Documented:

Up to eight GPIOs can be selected as pin interrupts (PINT), triggered by rising,
falling or both input edges.

I need 14 GPIO for Interrupts!

Can I use the Pin interrupt input multiplexing if I have some interrupts that dont come at the same time?

Could I identify from witch pin an interrupts come from when using the Pin interrupt input multiplexing?

Thanks,

/Jakob

Labels (1)
Tags (1)
0 Kudos
1 Reply

448 Views
Alexis_A
NXP TechSupport
NXP TechSupport

Hello @JRIIS,

As you mention, the PINT only has 8 pins available but you can also use the GINT module to multiplex more inputs and trigger the interruption, unfortunately, in this peripheral is not possible to identify the pin using the registers but you could workaround this reading the state of the pin using the GPIO.PIN register.

In the PINT module is possible to identify which pin is the one that trigger the interrupt, if you look at the pint example in the SDK, the first parameter in the callback is to identify which pin is the one that trigger the interruption.

Let me know if this helps you.

Best Regards,

Alexis Andalon

0 Kudos