Skip to main content
Graduate II
November 29, 2024
Solved

Confirmation on EXTI limitiation

  • November 29, 2024
  • 3 replies
  • 976 views

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.
    Best answer by mƎALLEm

    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

    3 replies

    Technical Moderator
    November 29, 2024

    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 

    mƎALLEmAnswer
    Technical Moderator
    November 29, 2024

    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

    sarunAuthor
    Graduate II
    November 29, 2024

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