2024-10-20 11:52 PM
Hello, I have created a custom PCB based on STM32U545RET6Q and I am getting crazy to do it work. I have a random errors and I can't solve any of them becaouse each time the hardfaluts are different. I started to work with the EVAL board MB-1841 (STM32U545RET6QU), the first thing I realized that in mi IC the "U" does not appear.
One more thing, is that I have many times problems to find the target with STLINK, but others I can flash the board correctly.
I post the schematic here. I have to say that I've forgotten the inductance between VDD11 1&2 and VLXSMPS, but I added it externally and it seems to work.
My FW is really simple, I just use the ADC in DMA mode reading 6 channels, internal clock, 1 DAC output, and 1 UART bus. One important thing to pint out is that the FW runs perfectly on the evaluation board. Here are the .ioc:
2024-10-21 12:14 AM
Vdd11 is the core supply voltage, ca. 1.1 V. Verify your schematic - it must not be connected to 3.3 V! It's a miracle your MCU is still alive (maybe not completely alive, hence the problems).
2024-10-21 01:03 AM
Yes @gbm , I made a mistake there but I've made a re-work and correct the problem. The first MCU I soldered was dead for that reason...
2024-10-21 04:52 AM
Looks like you've made many mistakes related to power supply. At least 5..6 capacitors are missing from your schematic.
2024-10-21 05:36 AM
You're right @gbm , but this could be the reason to the random hard faluts? I've checked the power supply with an oscilloscope and it is stable.