2025-12-07 10:52 AM - edited 2025-12-07 12:33 PM
Hi everyone,
I’m new to STM32 and working on a custom board using the STSPIN32G4 to drive a 3-phase BLDC motor (max 1000 W). The board will be powered by a 7-cell Li-ion pack (max 29.4 V, up to 30 A). I would appreciate a general schematic review.
Could you please check the following points:
Debug interface – Is the STDC14 wiring correct? I want to use the STLINK-V3SET Debugger!
Power routing – Are VDD_3V3, VDDA, VREF+, REGIN, and VCC connected properly and decoupled with the correct capacitors?
Decoupling – Can any of the VDDA / VREF+ / VDD capacitors be safely reduced?
TVS diode on VM – For the 29.4 V input, should I use a unidirectional or bidirectional TVS diode at the VM input? I’ve seen both approaches online but not sure which approach is best practice.
RFM69 supply – Is it safe to power the RFM69 from VDD_3V (internal LDO), given ~140 mA peak and ~10–30 mA continuous (≈1% duty cycle), noting the STSPIN32G4 LDO is limited to 150 mA?
SPI pin conflict – All SPI1, 2, 3 pins are occupied. How can I connect the SPI pins of the RFM69 under these constraints? In the following, the overview of occupied SPI pins:
My Schematic:
Thanks a lot for your guidance!