Skip to main content
Rajesh Kannan
Associate II
September 5, 2021
Solved

GPIO IRQ call back handle pin - PA6 ,PI-6 ,Pj6

I am using STM32H750 MCU . I configured 14 GPIO as interrupt and handle in HAL_GPIO_EXTI_Callback(uint16_t GPIO_Pin)

function. In few GPIO pin number is same and different port .(PA6 , PI6 and PJ6).

How to find proper interrupt PIN?

This topic has been closed for replies.
TDK
TDKBest answer
September 5, 2021

You cannot have multiple ports with the same pin number trigger an interrupt. For example, PA6 and PB6 cannot both be set to trigger an interrupt.

See SYSCFG_EXTICRx for the underlying hardware limitation.

0693W00000DmCtVQAV.png

"If you feel a post has answered your question, please click ""Accept as Solution""."

1 reply

TDK
TDKBest answer
September 5, 2021

You cannot have multiple ports with the same pin number trigger an interrupt. For example, PA6 and PB6 cannot both be set to trigger an interrupt.

See SYSCFG_EXTICRx for the underlying hardware limitation.

0693W00000DmCtVQAV.png

"If you feel a post has answered your question, please click ""Accept as Solution""."