Spark Logic

GD32F103 connection guide

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

PackageContactsDetails
LQFP48 48 GD32F103Cx · 48 leads
LQFP64 64 GD32F103Rx · 64 leads
LQFP100 100 GD32F103Vx · 100 leads

GigaDevice

Device variants · LQFP100

DeviceFlashSRAMSerial peripherals
GD32F103V8T6 64 KiB 20 KiB 3 USART, 2 SPI, 2 I²C, 1 CAN, 1 USBD
GD32F103VBT6 128 KiB 20 KiB 3 USART, 2 SPI, 2 I²C, 1 CAN, 1 USBD
GD32F103VCT6 256 KiB 48 KiB 3 USART, 2 UART, 3 SPI, 2 I²C, 1 CAN, 1 USBD, 1 SDIO
GD32F103VDT6 384 KiB 64 KiB 3 USART, 2 UART, 3 SPI, 2 I²C, 1 CAN, 1 USBD, 1 SDIO
GD32F103VET6 512 KiB 64 KiB 3 USART, 2 UART, 3 SPI, 2 I²C, 1 CAN, 1 USBD, 1 SDIO
GD32F103VFT6 768 KiB 96 KiB 3 USART, 2 UART, 3 SPI, 2 I²C, 1 CAN, 1 USBD, 1 SDIO
GD32F103VGT6 1024 KiB 96 KiB 3 USART, 2 UART, 3 SPI, 2 I²C, 1 CAN, 1 USBD, 1 SDIO
GD32F103VIT6 2048 KiB 96 KiB 3 USART, 2 UART, 3 SPI, 2 I²C, 1 CAN, 1 USBD, 1 SDIO
GD32F103VKT6 3072 KiB 96 KiB 3 USART, 2 UART, 3 SPI, 2 I²C, 1 CAN, 1 USBD, 1 SDIO

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Ω.

  • +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 × 5, one at each VDD lead between +3.3 V digital and Digital return+3.3 V digital100 nF × 5, 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
1 µF in parallel with 10 nF at VREFP between +3.3 V analog and Analog return+3.3 V analog1 µF in parallel with 10 nF at VREFPAnalog 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.

GD32F103xx datasheet Rev. 3.3, §3.3 and Fig. 4-1. 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.

GD32F10x user manual Rev. 2.9, debug port pin assignment. GD32F103xx datasheet Rev. 3.3, §2.6.

LQFP100 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.

LQFP100

1 · PE2 · 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 · PE2

Bidirectional · GPIO

General-purpose port E, bit 2. See the package table for peripheral assignments and input tolerance.

GD32F103xx datasheet Rev. 3.3, Table 2-6

Electrical limits · Pin in the reference

Manufacturer documents

Interactive maps cover LQFP48, LQFP64 and LQFP100. See Figures 2-3 and 2-7 of the datasheet for LQFP144 and QFN36. Match the suffix on the chip. Board headers and regulator connections depend on the PCB.