Spark Logic

GD32F130 connection guide

GD32F130 (LQFP48) connection guide. Power and boot from Flash. Connect a Serial Wire Debug probe.

LQFP48

48 contacts Current package

GigaDevice· GD32F130Cx · 48 leads

Device variants · LQFP48

DeviceFlashSRAMSerial 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

Required

Use 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
    • →
4.7 µF bulk between +3.3 V digital and Digital return+3.3 V digital4.7 µF bulkDigital return
100 nF × 2, one at each VDD lead between +3.3 V digital and Digital return+3.3 V digital100 nF × 2, one at each VDD leadDigital return
1 µF in parallel with 10 nF at VDDA between +3.3 V analog and Analog return+3.3 V analog1 µF in parallel with 10 nF at VDDAAnalog return
100 nF between Backup supply and Digital returnBackup supply100 nFDigital return
10 kΩ between Boot strap and Digital returnBoot strap10 kΩDigital return

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

External wiring example · Connect a Serial Wire Debug probe

Highlighted contacts are used in the required step or selected circuit. Select a contact to highlight its wiring nets.

LQFP48

1 · VBAT · Left side, contact 1 from the top

Face the package marking. Pin 1 is beside the corner mark. Numbers advance counterclockwise.
Selected pin details

1 · VBAT

Supply input · Power

RTC and backup-domain supply. In a single-supply design, connect it to VDD with its own bypass capacitor.

Wiring requirements

GD32F130xx datasheet Rev. 4.3, Table 2-4

Electrical limits · Pin in the reference

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.