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

LQFP48 wiring map

External wiring example · Power and boot from Flash

Highlighted contacts are used in this circuit. Select a contact to highlight its wiring nets.

LQFP48

48 · VDD · Top side, contact 1 from the left

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

48 · VDD

Supply input · Power

Digital supply. Connect every VDD lead and place a local 100 nF bypass at each supply pair.

Wiring requirements

GD32F130xx datasheet Rev. 4.3, Table 2-4

Connected nets

Electrical limits · Pin in the reference

Dashed lines show external connections in this wiring example.

  • +3.3 V digital
    • Bench supply positive
    • Via 4.7 µF bulk to Digital return · Bench supply return, VSS (23), VSS (47)
    • Via 100 nF × 2, one at each VDD lead to Digital return · Bench supply return, VSS (23), VSS (47)

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.