2024-07-28 10:21 PM
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?
2024-07-29 02:44 AM
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?
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.
2024-07-29 04:08 PM
Hello Sarra.S, thank you for replying.
PB15 function set as only EXTI15 as following.
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.)
I tried setting PB13 as EXTI13.
EXTI13_IRQHandler() was generated and activated by the signal of PB13.
2024-07-30 06:50 PM