2024-03-13 05:39 PM
Hello All,
I designed and built a bare metal board with an STM32H723ZGT6 and it runs fine.
I have blinking LED's, timer / interrupts running, HSE and LSE etc.
I have been trying to figure out why if I toggle the power supply the device will not boot up clean.
The device appears stable in that I have left it running overnight withn o issues.
I have looked through datasheets etc. but think I am missing something really simple.
The device is powered through a 3.6V 500ma LDO voltage regulator and I can see no issues on this.
Pointers on where too look would be appreciated.
Solved! Go to Solution.
2024-03-14 12:07 PM
I found the solution so this is for anybody else.
I did not fully understand the BOOT0 pin on the STM32H723ZGT6.
This changes the program memory start execution.
I was not sure of this so had made my bare metal board optional that I could switch using a jumper between VDD and VSS on this pin. When I programmed the device it worked fine but if I powered off/on program start execution was not correct.
Switching from VDD to VSS on the BOOT0 pin and now it works correctly.
2024-03-13 08:54 PM
What are you doing with the NRST pin? Driven High?
2024-03-14 12:43 AM - edited 2024-03-14 12:43 AM
Hello,
The first thought is to start by checking your HW schematics and refer to the AN5419.
Then check your system clock config function clocks etc .. and the flash wait states vs system frequency used..
2024-03-14 08:04 AM
Yes NRST is pulled high through a resistor.
2024-03-14 12:07 PM
I found the solution so this is for anybody else.
I did not fully understand the BOOT0 pin on the STM32H723ZGT6.
This changes the program memory start execution.
I was not sure of this so had made my bare metal board optional that I could switch using a jumper between VDD and VSS on this pin. When I programmed the device it worked fine but if I powered off/on program start execution was not correct.
Switching from VDD to VSS on the BOOT0 pin and now it works correctly.