cancel
Showing results for 
Search instead for 
Did you mean: 

when we should use the OB_STOP_RST config in Option Bytes?

Junde
Senior III

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.

1 ACCEPTED SOLUTION

Accepted Solutions
Sarra.S
ST Employee

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.

View solution in original post

2 REPLIES 2
Sarra.S
ST Employee

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.

@Sarra.S 

I got it, thank you.