cancel
Showing results for 
Search instead for 
Did you mean: 

Does HAL_NVIC_SystemReset activation required disable interrupts before calling it (STM32U575)? I call it in order to reset the MCU, upon a command request from a host connected to it.

RLanz.2
Associate III
 
1 REPLY 1
Aime
ST Employee

Hi @RLanz.2​ ,

The HAL_NVIC_SystemReset does not require to disable the interrupts. This reset is specific on Cortex M33 processors, it writes the value 0x5FA to the VECTKEY field in the AIRCR (Application Interrupt and Reset Control Register) which will reset the device.

Best

Aime