2025-02-19 03:22 AM
Hello,
I am trying to use the UART peripheral in the secure zone via interrupts in SBSFU for the STM32U575 microcontroller, but I am not receiving any data. I have used the same code for the non-secure region, and it correctly receives the first value. However, after triggering the interrupt again, I get a hard fault in the UART_Start_Receive_IT function. The code works perfectly without TrustZone enabled. I have configured the UART interrupt handler and ensured proper initialization, but I suspect there may be something missing for UART interrupts to work properly in the secure zone. Is there a specific setting or configuration required to enable UART interrupts in the secure zone of SBSFU?
Thanks in advance,
Istillaga