Skip to main content
Graduate
March 1, 2024
Solved

Brown Out Reset in STM32H753ZI

  • March 1, 2024
  • 1 reply
  • 1255 views

I am using STM32H753ZI for my project. My use case is I want to detect brown out reset after brownout occurs and system restarts.

I am checking brownout reset flag using

 if (__HAL_RCC_GET_FLAG(RCC_FLAG_BORRST). My query is this flag is shared/common between Power On Reset and Brown Out Reset i.e POR/PDR or BOR same as like in STM32F779NI?

    This topic has been closed for replies.
    Best answer by TDK

    The reference manual tells you which bits are set in various scenarios. For BOR reset, BORRST is set and PORRST is not set. For POR reset, both are set.

    TDK_0-1709471476248.png

     

    1 reply

    TDKAnswer
    Super User
    March 3, 2024

    The reference manual tells you which bits are set in various scenarios. For BOR reset, BORRST is set and PORRST is not set. For POR reset, both are set.

    TDK_0-1709471476248.png