cancel
Showing results for 
Search instead for 
Did you mean: 

Using EXTI on different port with the same pin number

migmel
Senior

Hello, is there any way to use EXTI simultaneously in different ports with the same pin number?

Examples for MCU STM32L071CB:

Using PA4 and PB4, or

Using PA10 and PB10, or

Using PA6 and PB6, and so on

1 ACCEPTED SOLUTION

Accepted Solutions
TDK
Guru

No, there is not. For a given pin number, only one port can have an active EXTI at a time.

This is a hardware limitation, see SYSCFG_EXTICRx for the underlying hardware limitation.

0693W00000KbMpyQAF.png

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

View solution in original post

2 REPLIES 2
TDK
Guru

No, there is not. For a given pin number, only one port can have an active EXTI at a time.

This is a hardware limitation, see SYSCFG_EXTICRx for the underlying hardware limitation.

0693W00000KbMpyQAF.png

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

Thank you for your quick response.

Regards,

Miguel