Skip to main content
Junde
Senior III
November 15, 2024
Solved

when we should use the OB_STOP_RST config in Option Bytes?

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.
Sarra.SBest answer
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.

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

2 replies

Sarra.SBest answer
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.

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
Junde
JundeAuthor
Senior III
November 19, 2024

@Sarra.S 

I got it, thank you.