Interrupt limitation on LPC552x

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

Interrupt limitation on LPC552x

877件の閲覧回数
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

ラベル(1)
タグ(1)
0 件の賞賛
返信
1 返信

854件の閲覧回数
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 件の賞賛
返信