

Synch buck digital
12 V to 6 V, 10 A synchronous buck converter with closed-loop digital control on an STM32G474RET6. Custom 4-layer board in KiCad.
- Size
- 52.8 × 49.6 mm
- Copper layers
- 4
- Thickness
- 1.6 mm
- Parts
- 49
- Nets
- 25
- Pads
- 159
- Tracks, vias
- 171, 114
- Pours
- 94
- Routed
- Yes
- KiCad
- KiCad 10.0 (file 20260206)
- Created
- 21 Apr 2026
- Updated
- 24 Sep 2026
Overview
Synch buck digital is an open-source printed circuit board by BenjaminMeyerEE, from the BenjaminMeyerEE/Digital-Synchronous-Buck-Converter repository on GitHub. It is a 4-layer board of 52.8 × 49.6 mm with 49 parts on 25 nets, routed with 171 tracks and 114 vias.
It is built around the UCC27211D, BSC066N06NSATMA1 and TLV3603DCKR-ET. Its parts include 5 resistors, 3 ICs, 1 diode and 1 inductor. It belongs with the power boards of this library.
Main components
3UCC27211D
SOIC-8-40℃~+140℃ 1.3V~2.1V 1.9V~2.8V 17ns 18ns 2 4A 4A 5.5ns 7.2ns 85uA 8V~17V Half-Bridge MOSFET Under Voltage Protection SOIC-8 Gate Drivers ROHSTexas InstrumentsGate DriversBSC066N06NSATMA1
PG-TDSON-8PG-TDSON-8 SMT ROHSInfineon TechnologiesUncategorisedTLV3603DCKR-ET
SC-70-6-55℃~+125℃ 0.75ns 1 1uA 2.4V~5.5V 2.5ns 30nA 3mV 3uV/℃ 5.5V 5.7mA 500uV 80dB CMOS ESD protection、Built-in hysteresis、Latch function Push-pull Rail-to-rail input SC-70-6 Comparators ROHSTexas InstrumentsComparators
README
README.mdDigital Synchronous Buck Converter
12 V to 6 V, 10 A synchronous buck converter with closed-loop digital control on an STM32G474RET6. Custom 4-layer board in KiCad. The firmware runs a 400 kHz PI voltage loop with hardware-enforced dead-time and a comparator overcurrent trip that doesn't depend on the CPU.

Specifications
| Parameter | Value |
|---|---|
| Input / output | 12 V → 6 V, 10 A |
| Board | 53.1 × 50.0 mm, 4-layer |
| Controller | STM32G474RET6 (Nucleo-G474RE) |
| Switching frequency | 400 kHz (TIM1 at 170 MHz, ARR = 424) |
| Control loop | Voltage-mode PI, one update per switching period (2.5 µs) |
| Dead-time | 100 ns, hardware-enforced (TIM1 DTG = 17) |
| Current sense | INA241A3, 50 V/V into a 5 mΩ shunt, so 0.25 V/A |
| Feedback divider | 0.4047619 (ADC sees V_out × gain) |
| Sampling | Dual-simultaneous 12-bit ADC, TIM1 TRGO triggered, DMA |
| Overcurrent protection | TLV3603 comparator into TIM1 BKIN2 |
| Gate driver | UCC27211D half-bridge |
Status
The power stage works. I've driven it from a function generator and from the test
firmware in test-firmware/.
Still open: the main control firmware in firmware/ hasn't run on hardware yet, so
the closed loop is unproven. The board also hasn't been characterized, so there are
no efficiency, regulation, ripple or thermal numbers. Both are waiting on lab
access, which was shut through August 2026.
Repository layout
| Path | Contents |
|---|---|
hardware/ | KiCad 10 project: schematic, PCB, design rules, library tables |
firmware/ | Main control firmware (CubeMX + EWARM) |
test-firmware/ | Standalone open-loop PWM bring-up project |
fabrication/ | Gerbers, BOM, pick-and-place, interactive BOM |
Hardware
4-layer stackup with a solid internal ground plane. All four copper layers are plotted from the top and unmirrored so they line up with each other.
F.Cu — top signal + power | In1.Cu — ground plane |
|---|---|
In2.Cu — power / signal | B.Cu — bottom signal + ground |
|---|---|
B.Cu is meant to stay as close to unbroken ground as I could keep it. It only
carries routing where a connection couldn't be finished on another layer.
Schematic: docs/schematic.pdf. Top-down render: docs/board-top.png.
27 BOM lines across 49 placements. Everything in fabrication/ comes out of the
KiCad fabrication toolkit: gerbers, a JLCPCB-format BOM and centroid file, and an
interactive HTML BOM at fabrication/bom/ibom.html.
Firmware
Control
Buck_CtrlLoopISR() runs at 400 kHz. It's called from a lean direct-register DMA
handler rather than going through HAL dispatch, which keeps it inside the 2.5 µs
budget. V_FB and current sense are sampled at the same instant by the dual ADC and
come back as a single 32-bit DMA word.
PI with anti-windup. Integrator and duty are both clamped to [0, duty_limit], and
the clamps reject NaN so a bad value written at runtime can't reach the duty cycle.
Analog scaling uses precomputed reciprocals to keep division out of the ISR.
Gains, setpoints and the overcurrent trip level are tunable at runtime over SWD with STM32CubeMonitor. Monitoring variables are read-only.
Protection
Overcurrent shutdown is pure hardware: the TLV3603 comparator drives TIM1 BKIN2 directly and kills the gates in under 100 ns. It still works with the CPU halted or hung. The software break callback only does bookkeeping, forcing MOE off, masking the break IRQ so it can't storm, and latching the fault.
IWDG is set to 2 s, and the main loop only refreshes it while the control ISR heartbeat is advancing. A stalled ADC or DMA path resets the board to idle instead of leaving the half-bridge running open-loop.
TIM3 dual-edge input capture timestamps the gate edges in hardware, so the dead-time at the power stage is measured rather than assumed.
Test firmware
test-firmware/ is a separate project for bringing the power stage up before
closing the loop. Open-loop complementary PWM at 400 kHz with the same 100 ns
hardware dead-time. It holds everything off for 500 ms after reset so the rails
settle and the debugger can attach, then soft-starts by walking CCR up 4 counts
every 2 ms, roughly 106 ms from 0 to 50 % duty. Kept separate so the gate drive can
be checked on its own.
Toolchain
The CubeMX project targets EWARM V8.50. It also builds clean under
arm-none-eabi-gcc 14.3 (the one bundled with STM32CubeIDE 2.1.1) at
-O2 -Wall -Wextra with no warnings, using about 64 KB of flash and 2.4 KB of RAM.
Flash over ST-Link with STM32CubeProgrammer. CubeMonitor needs the exact .out ELF
matching what's on the chip, otherwise the symbol addresses won't line up.
TIM1 and IWDG are both frozen on core halt via DBGMCU, so halting in the debugger is safe. A halt does leave the gates frozen wherever they were. The BKIN2 kill still works while halted, but don't halt under load with the OC comparator disarmed.
Parts
49| Qty | Value | Footprint | References |
|---|---|---|---|
| 8 | TestPoint | TestPoint:TestPoint_Pad_2.0x2.0mm | TP1, TP2, TP3, TP4, TP5, TP6, TP7, TP8 |
| 4 | 100pF | Capacitor_SMD:C_0805_2012Metric | C_DT_100P1, C_INA_FILT2, C_INA_FILT3, C_OC_100P1 |
| 3 | 1uF | Capacitor_SMD:C_0805_2012Metric | C_DT_1U1, C_OC_1U1, C_UCC_VDD_HF1 |
| 2 | 100nF | Capacitor_SMD:C_0603_1608Metric | C_INA_VCC1, C_UCC_VDD_LF1 |
| 2 | 10R | Resistor_SMD:R_0402_1005Metric | R_FILT_N1, R_FILT_P1 |
| 2 | 10R | Capacitor_SMD:C_0805_2012Metric | R_GATE_1, R_GATE_2 |
| 2 | 10nF | Capacitor_SMD:C_0402_1005Metric | C_DT_10N1, C_OC_10N1 |
| 2 | 10uF | Capacitor_SMD:C_1210_3225Metric | C_IN_HF1, C_OUT_HF1 |
| 2 | 47uF | Capacitor_SMD:CP_Elec_8x10 | C_IN_LF1, C_OUT_LF1 |
| 2 | 75KR | Resistor_SMD:R_0603_1608Metric | R_HYS1, R_HYS2 |
| 2 | BSC066N06NSATMA1 | Package_SON:Infineon_PG-TDSON-8_6.15x5.15mm | U1, U2 |
| 2 | Conn_01x02 | TerminalBlock:TerminalBlock_MaiXu_MX126-5.0-02P_1x02_P5.00mm | J_IN1, J_OUT1 |
| 2 | TLV3603DCKR-ET | TLV3603:SC70_DCK_TEX | U_DT1, U_OC1 |
| 1 | 0R | Resistor_SMD:R_0603_1608Metric | R1 |
| 1 | 10KR | Resistor_SMD:R_0603_1608Metric | R2_VFB1 |
| 1 | 1KR | Resistor_SMD:R_0603_1608Metric | R2_DT1 |
| 1 | 1nF | Capacitor_SMD:C_0402_1005Metric | C_INA_FILT1 |
| 1 | 1nF | Capacitor_SMD:C_0603_1608Metric | C_VFB_FILT1 |
| 1 | 3.3V | Diode_SMD:D_SOD-123 | D1 |
| 1 | 3.9KR | Resistor_SMD:R_0603_1608Metric | R1_DT1 |
| 1 | 47nF | Capacitor_SMD:C_0805_2012Metric | CB1 |
| 1 | 5mR | KRL2012_5mR_Shunt:RES_2012_SUS | R_SHUNT1 |
| 1 | 6.8KR | Resistor_SMD:R_0603_1608Metric | R1_VFB1 |
| 1 | 6.8uH | Inductor_SMD:L_Coilcraft_XAL1010-XXX | L1 |
| 1 | Conn_01x13 | Connector_PinHeader_2.54mm:PinHeader_1x13_P2.54mm_Vertical | J_STM1 |
| 1 | INA241A3IDDFR | INA241A3:SOT23-8_DDF_TEX | U3 |
| 1 | UCC27211D | UC27211D:SOIC127P599X175-8N | U_UCC1 |
Similar boards
- 2 layers49 × 75 mm

- 4 layers82 × 60 mm

P1 tx
Deco025/resonare
Resonare: open-source 120 W LCC-S resonant wireless charger, transmitter and receiver boards (KiCad 10, 4-layer)
92 parts4CERN-OHL-S-2.0 - 4 layers76 × 74.3 mm

MCU PSU
Blaze-Pascal/EKA-PiF-MCU_PSU
2-phase synchronous digitally controlled buck converter (30V in, up to 10A out). Features a 4-layer custom KiCad PCB optimized for EMI.
119 partsGPL-3.0 - 4 layers50 × 70 mm

FOC2
IpinZhu/foc-esc
这是一个基于 STM32G473RC 的实验性三相 PMSM/BLDC 电机控制平台。仓库包含驱动板设计,以及使用 Rust 2024 + Embassy 实现的电流控制型磁场定向控制(FOC)固件。
124 partsMIT - 2 layers58.5 × 43.1 mm

- 2 layers54 × 40 mm

Sync buck
shonzinger-spec/ee-portfolio
Electrical engineering portfolio: simulated and verified EE projects (firmware, SPICE, KiCad, Wokwi) by Shon Zinger
37 partsMIT - 2 layers17 × 50 mm

- 2 layers

P14
chainstart/makerai-lab
MakerAI hardware-agent research, whitepaper, lab artifacts, and MVP pipeline
8 parts
Questions
How big is the Synch buck digital PCB?
It measures 52.8 × 49.6 mm and has 4 copper layers, 1.6 mm thick.
What parts does the Synch buck digital use?
49 parts, built around the UCC27211D, BSC066N06NSATMA1 and TLV3603DCKR-ET. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.
Where can I download the Synch buck digital KiCad files?
From the BenjaminMeyerEE/Digital-Synchronous-Buck-Converter repository on GitHub, at the commit this page was made from: the board is hardware/synch_buck_digital.kicad_pcb and its schematic hardware/synch_buck_digital.kicad_sch. PCBKit opens the board in the browser, with nothing to install.
Can I use the Synch buck digital design in my own project?
Its repository states no licence, so its author keeps all rights: ask BenjaminMeyerEE before reusing the design.