2026-02-05 10:37 PM
Hi everyone,
I'm working with an STM32F103CB in my project and would like to know the default Brown‑Out Reset (BOR) threshold set for this MCU. Additionally, I’m looking for guidance on how to configure the BOR threshold to a custom level.
Any help or pointers would be greatly appreciated!
Thanks in advance.
2026-02-05 11:17 PM
The F103 will be reset if voltage drops below a threshold. According to DS5792 (2.3.2 Power supply supervisor) the threshold value can be influenced by 3 bits PLS[2:0] according to Table 12 "Embedded reset and power control characteristics".
See RM0008 "5.4 Power control registers"
(F103 seems not to have more sophisticated brown out behaviour like F4xx and others.)
DS5792: https://www.st.com/resource/en/datasheet/cd00191185.pdf
2026-02-06 12:10 AM
Hello @Shanmugapriya
Based on table 11 of the product datasheet, ensure that the voltage does not fall below 2.0 V to ensure functionality at extreme conditions.
and like @mfgkw said, you can modify the power mode by setting the PLS bits in the power control register.
Hope that helps!
Gyessine
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.
2026-02-06 2:51 AM
2026-02-06 3:53 AM - edited 2026-02-06 3:53 AM
You can use an interrupt when voltage drops. DS says: "An interrupt can be
generated when VDD/VDDA drops below the VPVD threshold and/or when VDD/VDDA is
higher than the VPVD threshold. The interrupt service routine can then generate a warning
message and/or put the MCU into a safe state"
So in case you want to make some clean up before going into reset you do it in the interrupt.
The PLS bit can be configured to have more time for cleaning up. (A capacitor in VDD would give you more time as well...)
2026-02-06 4:14 AM
Is this interrupt similar to a power reset?
What will happen once the interrupt is triggered?
2026-02-10 12:13 AM
Hello @Shanmugapriya
I think your first question is solved, and you are now asking another question.
-First question " I’m looking for guidance on how to configure the BOR threshold to a custom level."
-Second question "is this interrupt similar to a power reset?What will happen once the interrupt is triggered?"
To keep everything organized, we always try to keep every question in an independent thread to make it easier for all users to find solutions.
Can you please accept the reply that you think solved your question as the solution to make it a reference for other users, and post your new question in a new thread?
Thanks for understanding in advance!
BR
Gyessine
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.