cancel
Showing results for 
Search instead for 
Did you mean: 

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

Rajesh Kannan
Associate II

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?

1 ACCEPTED SOLUTION

Accepted Solutions
TDK
Guru

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

View solution in original post

1 REPLY 1
TDK
Guru

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