Skip to main content
LBöhm.1
Associate III
June 14, 2022
Question

Running into Secure Fault on STM32U5 after Timer starts

  • June 14, 2022
  • 1 reply
  • 740 views

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
June 17, 2022

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.