Skip to main content
RLanz.2
Associate III
June 3, 2023
Question

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.

  • June 3, 2023
  • 1 reply
  • 946 views

..

This topic has been closed for replies.

1 reply

ST Employee
June 3, 2023

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