Skip to main content
Visitor II
July 29, 2024
Question

STM32U5A9NJH6Q: When PB4, PB14, and PB15 are set to EXTI with interruption, EXTI15 interruption is activated by the signal of PB14

  • July 29, 2024
  • 2 replies
  • 1070 views

Hello , 

I have an issue in STM32U5A9 IN EXTI interruption.
When PB4, PB14, and PB15 are set to EXTI with interruption, EXTI15 interruption is activated by the signal of PB14.
And EXTI15 interruption isn't activated by the signal of PB15.

All EXTI settings are Pull-up and External Interrupt Mode with Rising / Falling edge trigger detection

I do not believe it is a circuit board issue since it is reproduced on both STM32U5A9J-DK and another circuit boards.

Environment : STM32CubeIDE Version: 1.16.0 Build: 21983_20240628_1741 (UTC)

 

Is there any way to resolve this problem?

    This topic has been closed for replies.

    2 replies

    ST Employee
    July 29, 2024

    Hello @H_Sato, welcome to ST Community, 

    For reference, for EXTI lines 10 to 15, the correct handler is EXTI15_10_IRQHandler.

    Are you using PB15 in another function or peripheral that might interfere with the EXTI functionality?

    H_SatoAuthor
    Visitor II
    July 29, 2024

    Hello Sarra.S, thank you for replying.

    PB15 function set as only EXTI15 as following.

    H_Sato_0-1722293399554.png
    I searched for EXTI15_10_IRQHandler but it could not be found.
    CubeIDE didn't seems to generate EXTI15_10_IRQHandler().
    But EXTI14_IRQHandler() and EXTI15_IRQHandler() were generated as following.
    (I appended LED toggle lighting code to each functions for debug.)

    H_Sato_1-1722293428929.png

    I tried setting PB13 as EXTI13.
    EXTI13_IRQHandler() was generated  and activated by the signal of PB13.

    H_SatoAuthor
    Visitor II
    July 31, 2024

    Sorry, I forgot to upload the project file.