Skip to main content
Associate III
Nov 29, 2024 4:33 AM UTC
Solved

Confirmation on EXTI limitiation

I want to confirm the limitations of GPIO interrupts on STM32 devices.

I am using an STM32H7 device, and observed that interrupts cannot be configured for PA0 and PB0 at the same time.  I could not find any confirmation regarding this in the device datasheet,can anyone give me the confirmation on this.

This topic has been closed for replies.
mƎALLEm
mƎALLEmBest answer
ST Technical Moderator
Nov 29, 2024 9:27 AM UTC

Hello @sarun ,

If you refer to the reference manual / SYSCFG_EXTICR[n] register, you find that only one IO on x position could be configured as EXTI input at a time:

SofLit_0-1732872386323.png

To give better visibility on the answered topics, please click "Best answer" on the reply which solved your issue or answered your question.

3 replies

STTwo-32
ST Technical Moderator
Nov 29, 2024 5:24 AM UTC

Hello @sarun 

PA0 and PB0 and so on, are connected to Line0, so you can use only one pin at one time to handle interrupt from there.

Best Regards.

STTwo-32 

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
mƎALLEm
mƎALLEmBest answer
ST Technical Moderator
Nov 29, 2024 9:27 AM UTC

Hello @sarun ,

If you refer to the reference manual / SYSCFG_EXTICR[n] register, you find that only one IO on x position could be configured as EXTI input at a time:

SofLit_0-1732872386323.png

To give better visibility on the answered topics, please click "Best answer" on the reply which solved your issue or answered your question.
sarunAuthor
Associate III
Nov 29, 2024 10:30 AM UTC

Thank you for the support  @mƎALLEm  @STTwo-32