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
Read a 3.3 V UART console
Use a 3.3 V logic-level UART adapter and set the same baud rate, parity and stop bits at both ends. Configure the default PA9/PA10 USART0 assignment in firmware.
- Target transmit
- →
- Adapter RX
- Target receive
- →
- Adapter TX
- Common ground
- Adapter ground
Bench checks
- Leave the adapter’s power output disconnected when the target has its own supply.
- Transmit a known string from the target and verify both bit timing and the decoded text.
GD32F130xx datasheet Rev. 4.3, §2.6, USART0_TX and USART0_RX pin assignments.
LQFP48 wiring map
4 · PC15
GPIO or low-speed external oscillator output (OSC32OUT).
Wiring requirements
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.
PC13–PC15 in GPIO output mode. The three outputs share a typical sourcing capability of 3 mA in total. Sink capability matches other GPIOs. Select a GPIO output speed of at most 2 MHz and keep the load at or below 30 pF.
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.
