cancel
Showing results for 
Search instead for 
Did you mean: 

Running into Secure Fault on STM32U5 after Timer starts

LBöhm.1
Associate III

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.

1 REPLY 1
Bubbles
ST Employee

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.