Skip to main content
LBöhm.1
Associate III
Jun 14, 2022 1:26 PM UTC
Question

Running into Secure Fault on STM32U5 after Timer starts

I am using the example project GPIO_IOToggle_TrustZone for NUCLEO-U575ZI-Q and added Timer3 for Non-secure application via CubeMx with Interrupts enabled. When this Timer is started with HAL_TIM_Base_Start_IT the application runs into SecureFault_Handler.

Something seems to be not correctly configured by CubeMx.

This topic has been closed for replies.

1 reply

Bubbles
ST Employee
Jun 17, 2022 2:25 PM UTC

Hi @Lukas Böhm​ ,

unfortnately the CubeMX cannot yet fully configure the Trustzone aspects by itself. I don't have the nucleo here with me, but I'll try to have a look next week.

BR,

J

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.