main
Ray Publish 0.1.0 10e81ae 18d ago
{
  "slug": "gd32f303cgt6",
  "version": "0.1.0",
  "type": "component",
  "description": "GigaDevice Semicon Beijing Microcontrollers (MCU/MPU/SOC), LQFP-48(7x7). Pinout cross-checked by two models against the datasheet, KiCad symbol/footprint/3D.",
  "tags": [
    "component",
    "embedded processors & controllers",
    "gd32f303cgt6",
    "factory-2.0.0",
    "extractor-text"
  ],
  "dependencies": {},
  "hero": {
    "type": "image",
    "path": "docs/hero.png"
  },
  "files": [
    "page.json",
    "README.md",
    "gd32f303cgt6.kicad_sym",
    "gd32f303cgt6.kicad_mod",
    "gd32f303cgt6.glb",
    "gd32f303cgt6.step",
    "gd32f303cgt6.lbr",
    "docs/hero.png",
    "docs/gd32f303cgt6-datasheet.pdf",
    "viewers/symbol.html",
    "viewers/footprint.html",
    "gd32f303cgt6-hero.glb",
    "gd32f303cgt6-hero.overlay.json"
  ],
  "component": {
    "mpn": "GD32F303CGT6",
    "manufacturer": "GigaDevice Semicon Beijing",
    "package": "LQFP-48(7x7)",
    "pin_count": 48,
    "category": "Embedded Processors & Controllers",
    "subcategory": "Microcontrollers (MCU/MPU/SOC)",
    "datasheet": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8588919983217266688",
    "parts": {
      "symbol": "gd32f303cgt6.kicad_sym",
      "footprint": "gd32f303cgt6.kicad_mod",
      "model_3d": "gd32f303cgt6-hero.glb",
      "model_3d_plain": "gd32f303cgt6.glb",
      "model_3d_step": "gd32f303cgt6-etched.step",
      "model_3d_step_plain": "gd32f303cgt6.step",
      "lbr": "gd32f303cgt6.lbr"
    },
    "distributor_links": {
      "lcsc": "C2835084"
    },
    "distributor_check": {
      "checked_at": "2026-10-09T13:10:39Z",
      "source": "Component Ocean /api/assign-pns",
      "digikey": {
        "pn": null,
        "status": "no match"
      },
      "mouser": {
        "pn": null,
        "status": "no match"
      }
    },
    "pins": [
      {
        "number": "1",
        "name": "VBAT",
        "type": "power_in",
        "description": "Power pin named VBAT in the LQFP48 pin definition table; the table gives no voltage limit for it."
      },
      {
        "number": "2",
        "name": "PC13-TAMPER-RTC",
        "type": "bidirectional",
        "description": "GPIO PC13 by default, with alternate function TAMPER-RTC; the table does not mark this pin as 5 V tolerant."
      },
      {
        "number": "3",
        "name": "PC14-OSC32IN",
        "type": "bidirectional",
        "description": "GPIO PC14 by default, with alternate function OSC32IN; the table does not mark this pin as 5 V tolerant."
      },
      {
        "number": "4",
        "name": "PC15-OSC32OUT",
        "type": "bidirectional",
        "description": "GPIO PC15 by default, with alternate function OSC32OUT; the table does not mark this pin as 5 V tolerant."
      },
      {
        "number": "5",
        "name": "OSCIN",
        "type": "input",
        "description": "Default function OSCIN (external oscillator input); can be remapped to PD0, which cannot be used for EXTI in this package."
      },
      {
        "number": "6",
        "name": "OSCOUT",
        "type": "output",
        "description": "Default function OSCOUT (external oscillator output); can be remapped to PD1, which cannot be used for EXTI in this package."
      },
      {
        "number": "7",
        "name": "NRST",
        "type": "bidirectional",
        "description": "Reset pin with default function NRST, shown as I/O in the pin table."
      },
      {
        "number": "8",
        "name": "VSSA",
        "type": "power_in",
        "description": "Analog ground pin with default function VSSA."
      },
      {
        "number": "9",
        "name": "VDDA",
        "type": "power_in",
        "description": "Analog supply pin with default function VDDA; the table gives no voltage limit for it."
      },
      {
        "number": "10",
        "name": "PA0-WKUP",
        "type": "bidirectional",
        "description": "GPIO PA0 with alternate functions WKUP, USART1_CTS, ADC012_IN0, TIMER1_CH0, TIMER1_ETI and TIMER4_CH0."
      },
      {
        "number": "11",
        "name": "PA1",
        "type": "bidirectional",
        "description": "GPIO PA1 with alternate functions USART1_RTS, ADC012_IN1, TIMER1_CH1 and TIMER4_CH1."
      },
      {
        "number": "12",
        "name": "PA2",
        "type": "bidirectional",
        "description": "GPIO PA2 with alternate functions USART1_TX, ADC012_IN2, TIMER1_CH2, TIMER4_CH2, TIMER8_CH0 (CG devices) and SPI0_IO2."
      },
      {
        "number": "13",
        "name": "PA3",
        "type": "bidirectional",
        "description": "GPIO PA3 with alternate functions USART1_RX, ADC012_IN3, TIMER1_CH3, TIMER4_CH3, TIMER8_CH1 (CG devices) and SPI0_IO3."
      },
      {
        "number": "14",
        "name": "PA4",
        "type": "bidirectional",
        "description": "GPIO PA4 with alternate functions SPI0_NSS, USART1_CK, ADC01_IN4 and DAC_OUT0; remap SPI2_NSS, I2S2_WS."
      },
      {
        "number": "15",
        "name": "PA5",
        "type": "bidirectional",
        "description": "GPIO PA5 with alternate functions SPI0_SCK, ADC01_IN5 and DAC_OUT1."
      },
      {
        "number": "16",
        "name": "PA6",
        "type": "bidirectional",
        "description": "GPIO PA6 with alternate functions SPI0_MISO, ADC01_IN6, TIMER2_CH0 and TIMER12_CH0 (CG devices); remap TIMER0_BRKIN."
      },
      {
        "number": "17",
        "name": "PA7",
        "type": "bidirectional",
        "description": "GPIO PA7 with alternate functions SPI0_MOSI, ADC01_IN7, TIMER2_CH1 and TIMER13_CH0 (CG devices); remap TIMER0_CH0_ON."
      },
      {
        "number": "18",
        "name": "PB0",
        "type": "bidirectional",
        "description": "GPIO PB0 with alternate functions ADC01_IN8 and TIMER2_CH2; remap TIMER0_CH1_ON."
      },
      {
        "number": "19",
        "name": "PB1",
        "type": "bidirectional",
        "description": "GPIO PB1 with alternate functions ADC01_IN9 and TIMER2_CH3; remap TIMER0_CH2_ON."
      },
      {
        "number": "20",
        "name": "PB2",
        "type": "bidirectional",
        "description": "5 V tolerant GPIO PB2 whose default function is PB2 and which also carries BOOT1."
      },
      {
        "number": "21",
        "name": "PB10",
        "type": "bidirectional",
        "description": "5 V tolerant GPIO PB10 with alternate functions I2C1_SCL and USART2_TX; remap TIMER1_CH2."
      },
      {
        "number": "22",
        "name": "PB11",
        "type": "bidirectional",
        "description": "5 V tolerant GPIO PB11 with alternate functions I2C1_SDA and USART2_RX; remap TIMER1_CH3."
      },
      {
        "number": "23",
        "name": "VSS_1",
        "type": "power_in",
        "description": "Ground pin VSS_1."
      },
      {
        "number": "24",
        "name": "VDD_1",
        "type": "power_in",
        "description": "Supply pin VDD_1; the table gives no voltage limit for it."
      },
      {
        "number": "25",
        "name": "PB12",
        "type": "bidirectional",
        "description": "5 V tolerant GPIO PB12 with alternate functions SPI1_NSS, I2C1_SMBA, USART2_CK, TIMER0_BRKIN and I2S1_WS."
      },
      {
        "number": "26",
        "name": "PB13",
        "type": "bidirectional",
        "description": "5 V tolerant GPIO PB13 with alternate functions SPI1_SCK, USART2_CTS, TIMER0_CH0_ON and I2S1_CK."
      },
      {
        "number": "27",
        "name": "PB14",
        "type": "bidirectional",
        "description": "5 V tolerant GPIO PB14 with alternate functions SPI1_MISO, USART2_RTS, TIMER0_CH1_ON and TIMER11_CH0 (CG devices)."
      },
      {
        "number": "28",
        "name": "PB15",
        "type": "bidirectional",
        "description": "5 V tolerant GPIO PB15 with alternate functions SPI1_MOSI, TIMER0_CH2_ON, I2S1_SD and TIMER11_CH1 (CG devices)."
      },
      {
        "number": "29",
        "name": "PA8",
        "type": "bidirectional",
        "description": "5 V tolerant GPIO PA8 with alternate functions USART0_CK, TIMER0_CH0, CK_OUT0 and CTC_SYNC."
      },
      {
        "number": "30",
        "name": "PA9",
        "type": "bidirectional",
        "description": "5 V tolerant GPIO PA9 with alternate functions USART0_TX and TIMER0_CH1."
      },
      {
        "number": "31",
        "name": "PA10",
        "type": "bidirectional",
        "description": "5 V tolerant GPIO PA10 with alternate functions USART0_RX and TIMER0_CH2."
      },
      {
        "number": "32",
        "name": "PA11",
        "type": "bidirectional",
        "description": "5 V tolerant GPIO PA11 with alternate functions USART0_CTS, CAN0_RX, USBDM and TIMER0_CH3."
      },
      {
        "number": "33",
        "name": "PA12",
        "type": "bidirectional",
        "description": "5 V tolerant GPIO PA12 with alternate functions USART0_RTS, CAN0_TX, TIMER0_ETI and USBDP."
      },
      {
        "number": "34",
        "name": "PA13",
        "type": "bidirectional",
        "description": "5 V tolerant GPIO PA13 whose default function is JTMS/SWDIO; remap PA13."
      },
      {
        "number": "35",
        "name": "VSS_2",
        "type": "power_in",
        "description": "Ground pin VSS_2."
      },
      {
        "number": "36",
        "name": "VDD_2",
        "type": "power_in",
        "description": "Supply pin VDD_2; the table gives no voltage limit for it."
      },
      {
        "number": "37",
        "name": "PA14",
        "type": "bidirectional",
        "description": "5 V tolerant GPIO PA14 whose default function is JTCK/SWCLK; remap PA14."
      },
      {
        "number": "38",
        "name": "PA15",
        "type": "bidirectional",
        "description": "5 V tolerant GPIO PA15 whose default function is JTDI, with alternate functions SPI2_NSS and I2S2_WS; remaps include TIMER1_CH0, TIMER1_ETI and SPI0_NSS."
      },
      {
        "number": "39",
        "name": "PB3",
        "type": "bidirectional",
        "description": "5 V tolerant GPIO PB3 whose default function is JTDO, with alternate functions SPI2_SCK and I2S2_CK; remaps include TRACESWO, TIMER1_CH1 and SPI0_SCK."
      },
      {
        "number": "40",
        "name": "PB4",
        "type": "bidirectional",
        "description": "5 V tolerant GPIO PB4 whose default function is NJTRST, with alternate function SPI2_MISO; remaps include TIMER2_CH0 and SPI0_MISO."
      },
      {
        "number": "41",
        "name": "PB5",
        "type": "bidirectional",
        "description": "GPIO PB5 (not marked 5 V tolerant in the table) with alternate functions I2C0_SMBA, SPI2_MOSI and I2S2_SD; remaps TIMER2_CH1 and SPI0_MOSI."
      },
      {
        "number": "42",
        "name": "PB6",
        "type": "bidirectional",
        "description": "5 V tolerant GPIO PB6 with alternate functions I2C0_SCL and TIMER3_CH0; remaps USART0_TX and SPI0_IO2."
      },
      {
        "number": "43",
        "name": "PB7",
        "type": "bidirectional",
        "description": "5 V tolerant GPIO PB7 with alternate functions I2C0_SDA and TIMER3_CH1; remaps USART0_RX and SPI0_IO3."
      },
      {
        "number": "44",
        "name": "BOOT0",
        "type": "input",
        "description": "Boot-mode input with default function BOOT0."
      },
      {
        "number": "45",
        "name": "PB8",
        "type": "bidirectional",
        "description": "5 V tolerant GPIO PB8 with alternate functions TIMER3_CH2 and TIMER9_CH0 (CG devices); remaps I2C0_SCL and CAN0_RX."
      },
      {
        "number": "46",
        "name": "PB9",
        "type": "bidirectional",
        "description": "5 V tolerant GPIO PB9 with alternate functions TIMER3_CH3 and TIMER10_CH0 (CG devices); remaps I2C0_SDA and CAN0_TX."
      },
      {
        "number": "47",
        "name": "VSS_3",
        "type": "power_in",
        "description": "Ground pin VSS_3."
      },
      {
        "number": "48",
        "name": "VDD_3",
        "type": "power_in",
        "description": "Supply pin VDD_3; the table gives no voltage limit for it."
      }
    ],
    "provenance": {
      "extractor": "extract_pins 0.3",
      "factory_chain": {
        "factory": "2.0.0",
        "extractor": "extract_pins 0.3",
        "primary_model": "claude-haiku-5-5",
        "primary_mode": "text",
        "consensus_model": "claude-sonnet-5-5",
        "consensus": "agreed",
        "guards": "pin_guards 0.1: passed",
        "guard_notes": [
          "extractor flagged: The MPN GD32F303CGT6 is the LQFP48 package with 1024 KB flash (Table 6-1). The pinout is from Table ; Supply voltage, supply current and absolute-maximum ratings were not extracted. They are in Section ; Pin names with broken hyphenation in the source (e.g. 'TAMPER-RTC', 'OSC32OUT') were cleaned to thei"
        ],
        "pages_sent": 41,
        "cost_usd": 0.1951,
        "at": "2026-10-09T13:08:15"
      },
      "datasheet": {
        "url": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8588919983217266688",
        "pages": 91,
        "sha256": "b051a816cf2b71d0",
        "source_tier": "lcsc"
      },
      "cad": "KiCad official (CC-BY-SA 4.0)",
      "pins": {
        "total": 48,
        "described": 48,
        "cites_pages": true,
        "refuses_to_fabricate": true
      }
    },
    "viewers": {
      "symbol": "viewers/symbol.html",
      "footprint": "viewers/footprint.html"
    },
    "models_3d": [
      {
        "file": "gd32f303cgt6.step",
        "role": "plain",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "z = 0",
        "extents_mm": [
          9.0,
          9.0,
          1.5
        ],
        "zmin_mm": -0.0,
        "centre_offset_mm": 0.0,
        "footprint_binding": "identity",
        "sha256": "9dea352d93177c2904afd7d7b68ea8855ce1ab691f69f8b3e13655600514b6bf",
        "checked": "2026-10-09",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      },
      {
        "file": "gd32f303cgt6-etched.step",
        "role": "eda",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "z = 0",
        "extents_mm": [
          9.0,
          9.0,
          1.5
        ],
        "zmin_mm": -0.0,
        "centre_offset_mm": 0.0,
        "footprint_binding": "identity",
        "sha256": "88626c1626a9cf4914a3f70856d3436046573c29c3ec477dbb3809bc6b618459",
        "checked": "2026-10-09",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      }
    ]
  }
}