Skip to main content
Graduate II
November 15, 2024
Solved

when we should use the OB_STOP_RST config in Option Bytes?

  • November 15, 2024
  • 1 reply
  • 738 views

Hi there,

There is a config option named "OB_STOP_RST" that exists in Option Bytes' USERconfig, I tested it with STOP mode, and it works well.

But I can't understand when we should use it. After clearing this bit to OB_STOP_RST, the MCU will reset right away and enter run mode when it enters stop mode, why don't we just reset the MCU, it's easier and faster.

Same as the OB_STDBY_RST config.

    This topic has been closed for replies.
    Best answer by Sarra.S

    Hello @Junde

    This can be useful in scenarios where the system needs to ensure a clean start after waking up from STOP mode, avoiding any potential issues that might arise from an improper wake-up sequence or corrupted state

    >>why don't we just reset the MCU, it's easier and faster

    these OB provide a controlled way to handle low-power mode entries, instead of relying on external events or manual resets.

    1 reply

    Sarra.SAnswer
    ST Employee
    November 15, 2024

    Hello @Junde

    This can be useful in scenarios where the system needs to ensure a clean start after waking up from STOP mode, avoiding any potential issues that might arise from an improper wake-up sequence or corrupted state

    >>why don't we just reset the MCU, it's easier and faster

    these OB provide a controlled way to handle low-power mode entries, instead of relying on external events or manual resets.

    JundeAuthor
    Graduate II
    November 19, 2024

    @Sarra.S 

    I got it, thank you.