cancel
Showing results for 
Search instead for 
Did you mean: 

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

H_Sato
Associate II

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?

3 REPLIES 3
Sarra.S
ST Employee

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.

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_Sato
Associate II

Sorry, I forgot to upload the project file.