cancel
Showing results for 
Search instead for 
Did you mean: 

STM32G473RET6 Doesn't Start after Power on Until External reset

e-zeki
Associate III

Hi everyone, I started to work with G4 series. Everything was smooth with Nucleo 431RB board until I made a custom pcb withSTM32G473RE. Code is working very well after loading, debug also fine. but when I unplug the stlink and give the circuit a power off/on code doesn't start until I give it a reset with reset button. then it works fine.

I created my projects via CubeMX I saw NRST pin is a regular GPIO and there is no configuration to set it as NRST. So I leave it in Reset State.

Does anybody stumble across similar problem? or any idea what might I do wrong?

Even simple led blink has same results. Any help will be most appreciated.

Best regards,

Zeki

2 REPLIES 2
Igor Cesko
ST Employee

Hi e-zeki,

Please check the option bytes setting. We newer met some problem with Nucleo-G4 board. Maybe STM32G4 is going into bootloader - check the BOOT0 pin connection.

Regards

Igor

aslan
Associate

Hello Zeki and Everyone,

I’m experiencing the same issue as you. If you’ve managed to solve it, I’d really appreciate it if you could share your solution with me.

Also, if anyone else has an idea of what might be causing this problem, I’d be very grateful for your guidance.

In my custom board, when I power on the circuit, it doesn’t start running until I manually perform a hardware reset. I have a 100 nF capacitor connected between the NRST pin and ground, and the BOOT0 pin is pulled down to ground with a 10 kΩ resistor.

When I added a supervisor IC (MAX809) to the reset pin, the circuit started working most of the time—but not always. So, I’d like to know: what should I do to make the circuit start reliably every time?

Thank you very much!