GD32F130 connection guide
GD32F130 (LQFP48) connection guide. Power and boot from Flash. Connect a Serial Wire Debug probe.
LQFP48
48 contacts Current packageDevice variants · LQFP48
| Device | Flash | SRAM | Serial peripherals |
|---|---|---|---|
| GD32F130C4T6 | 16 KiB | 4 KiB | 1 USART, 1 SPI, 1 I²C |
| GD32F130C6T6 | 32 KiB | 4 KiB | 2 USART, 1 SPI, 1 I²C |
| GD32F130C8T6 | 64 KiB | 8 KiB | 2 USART, 2 SPI, 2 I²C |
Power and boot from Flash
RequiredUse a regulated 3.3 V supply and a single ground plane. Feed VBAT from the same rail for this single-supply setup. Fit each bypass capacitor close to its corresponding contacts. Pull BOOT0 low with 10 kΩ. Connect VDDA to VDD and VSSA to VSS even when the ADC is unused.
- +3.3 V digital
- Bench supply positive
- Digital return
- Bench supply return
- +3.3 V analog
- Same +3.3 V source
- Analog return
- Same ground plane
- Backup supply
- Same +3.3 V source
- Boot strap
- →
Bench checks
- Verify continuity from every supply and ground lead to its intended rail before powering up.
- Confirm that the digital and analog rails are near 3.3 V and that BOOT0 remains low through reset.
- Use the same source for VDD and VDDA as recommended by GigaDevice. Keep |VDD − VDDA| ≤ 300 mV during power-up and operation.
- When both supplies are powered, keep VBAT ≤ VDD + 0.3 V. If VBAT drops below 1.8 V while supplying the backup domain, refresh the backup registers and re-enable LXTAL when VDD returns.
GD32F130xx datasheet Rev. 4.3, pp. 37, 43–44. The 10 kΩ strap is a bench choice.
Connection scenarios
Connect a Serial Wire Debug probe
Keep the power circuit in place. Use a probe that senses the target’s I/O voltage on VTref. Enable its SWD mode and connect the probe’s reset output if the probe supports connection under reset.
- Target reference
- Probe VTref input
- Common ground
- Probe ground
- SWD data
- ↔
- Probe SWDIO
- SWD clock
- →
- Probe SWCLK
- Reset
- ↔
- Probe open-drain nRESET
Bench checks
- Check that VTref measures approximately 3.3 V with respect to probe ground.
- Select the exact part in the debugger. Start at a low SWD clock rate and check that the debug port responds before programming Flash.
GD32F1x0 user manual Rev. 3.8, debug port pin assignment. GD32F130xx datasheet Rev. 4.3, §2.6.
LQFP48 wiring map
1 · VBAT
RTC and backup-domain supply. In a single-supply design, connect it to VDD with its own bypass capacitor.
Wiring requirements
VDD and VBAT both powered. When both supplies are powered, keep VBAT ≤ VDD + 0.3 V.
Backup supply fell below its minimum. If VBAT drops below 1.8 V while supplying the backup domain, refresh the backup registers and re-enable LXTAL when VDD returns.
Recommended bypass capacitors. Fit 4.7 µF bulk on VDD and 100 nF near each VDD/VSS pair (24/23 and 48/47). Fit 1 µF and 10 nF in parallel across VDDA/VSSA (9/8), and 100 nF from VBAT (1) to VSS. Place the capacitors close to their supply pins.
Manufacturer documents
The interactive map covers GD32F130C4, C6 and C8 in LQFP48. See datasheet §2.3 for LQFP64, LQFP32, QFN32, QFN28 and TSSOP20 maps. The guide covers power, backup, BOOT0 and selected interface examples. See the datasheet pin table for the model-specific peripheral assignments. Per-pin AF modes and detailed NRST and oscillator circuits are outside this guide.
- GD32F130xx datasheet Rev. 4.3· LQFP48 pin definitions (Table 2-4), power and GPIO limits, and ordering information.
- GD32F1x0 user manual Rev. 3.8· Boot options, GPIO configuration and serial-wire debug.
- Source register· Document applicability, revisions and SHA-256 checksums.
