2025-03-20 8:00 AM
I'm trying to use the BOR in the STM32G031F4P6 microcontroler, as in the datasheet it shows that there is a BOR in this series. But, when I open the STM32cubeProgrammer, it doesn't show the BOR configurations at the Option Bytes window, and I couldn't arrive to activate it by code too.
My question is if there is really a BOR available for all the G0 series or it is just for some of the microcontrolers in that series?
If there is a BOR available, can I do it using the LL library?
2025-03-21 1:34 AM
Hello @Fabiom02 and welcome to the community;
What is the STM32CubeProgrammer version are you using? Try to upgrade STM32CubeProgrammer version.
I tested this behavior with STM32Cubeprogrammer V2.19.0 and Nucleo-G031K8 and I'm able to see the BOR option bytes.
Could you please share a screenshot?
The BOR can be enabled or disabled only through option bytes. It is not available in Shutdown mode.
When the BOR is enabled, four BOR levels can be selected through option bytes, with independent configuration
for rising and falling thresholds.
The BOR options bytes are defined in stm32g0xx_hal_flash.h.
Thank you.
Kaouthar
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.
2025-03-21 2:49 AM
Hi @KDJEM.1 ,
With the Nucleo board I can see too, but for the project that I'm doing, I'm using a PCB that I made with the STM32G031F4P6, and I can't see the BOR configurations at the STM32CubeProgrammer, and I have the same version as you:
Because for my project I need some tension monitoring like the BOR. For the microcontroler that I'm using I saw in the datasheet and in the reference manual that I can use just the BOR or the PVD since the VREF+ is not available for this package (TSSOP20), and the BOR is the fonctionality that fits better for me.
Futhermore, I'm going to change the microcontroler for the STM32C011F6P6, wich has the same package but more memory. But I'm afraid that I'm going to have the same issue.
Do you know if I can solve this or if there is another fonctionality similar wih the BOR that I can use?