main
Ray Publish 0.1.0 c04b508 9d ago
{
  "slug": "gd32f305ret6",
  "version": "0.1.0",
  "type": "component",
  "description": "GigaDevice Semicon Beijing Microcontrollers (MCU/MPU/SOC), LQFP-64(10x10). Pinout cross-checked by two models against the datasheet, KiCad symbol/footprint/3D.",
  "tags": [
    "component",
    "embedded processors & controllers",
    "gd32f305ret6",
    "factory-2.0.0",
    "extractor-text"
  ],
  "dependencies": {},
  "hero": {
    "type": "image",
    "path": "docs/hero.png"
  },
  "files": [
    "page.json",
    "README.md",
    "gd32f305ret6.kicad_sym",
    "gd32f305ret6.kicad_mod",
    "gd32f305ret6.glb",
    "gd32f305ret6.step",
    "gd32f305ret6.lbr",
    "docs/hero.png",
    "docs/gd32f305ret6-datasheet.pdf",
    "viewers/symbol.html",
    "viewers/footprint.html",
    "gd32f305ret6-hero.glb",
    "gd32f305ret6-hero.overlay.json",
    "gd32f305ret6-etched.glb"
  ],
  "component": {
    "mpn": "GD32F305RET6",
    "manufacturer": "GigaDevice Semicon Beijing",
    "package": "LQFP-64(10x10)",
    "pin_count": 64,
    "category": "Embedded Processors & Controllers",
    "subcategory": "Microcontrollers (MCU/MPU/SOC)",
    "datasheet": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8588954776218849281",
    "parts": {
      "symbol": "gd32f305ret6.kicad_sym",
      "footprint": "gd32f305ret6.kicad_mod",
      "model_3d": "gd32f305ret6-hero.glb",
      "model_3d_plain": "gd32f305ret6-etched.glb",
      "model_3d_step": "gd32f305ret6-etched.step",
      "model_3d_step_plain": "gd32f305ret6.step",
      "lbr": "gd32f305ret6.lbr"
    },
    "distributor_links": {
      "lcsc": "C2938694"
    },
    "distributor_check": {
      "checked_at": "2026-10-18T01:41:28Z",
      "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": "Default function VBAT, the backup-domain power supply pin with no alternate function listed."
      },
      {
        "number": "2",
        "name": "PC13-TAMPER-RTC",
        "type": "bidirectional",
        "description": "Default function PC13, with alternate function TAMPER-RTC."
      },
      {
        "number": "3",
        "name": "PC14-OSC32IN",
        "type": "bidirectional",
        "description": "Default function PC14, with alternate function OSC32IN for the low-speed crystal input."
      },
      {
        "number": "4",
        "name": "PC15-OSC32OUT",
        "type": "bidirectional",
        "description": "Default function PC15, with alternate function OSC32OUT for the low-speed crystal output."
      },
      {
        "number": "5",
        "name": "OSCIN",
        "type": "input",
        "description": "Default function OSCIN for the high-speed crystal input, remappable to PD0, which cannot be used for EXTI in this package."
      },
      {
        "number": "6",
        "name": "OSCOUT",
        "type": "output",
        "description": "Default function OSCOUT for the high-speed crystal output, remappable to PD1, which cannot be used for EXTI in this package."
      },
      {
        "number": "7",
        "name": "NRST",
        "type": "bidirectional",
        "description": "Default function NRST, the reset pin listed as I/O in the table."
      },
      {
        "number": "8",
        "name": "PC0",
        "type": "bidirectional",
        "description": "Default function PC0, with alternate function ADC01_IN10."
      },
      {
        "number": "9",
        "name": "PC1",
        "type": "bidirectional",
        "description": "Default function PC1, with alternate function ADC01_IN11."
      },
      {
        "number": "10",
        "name": "PC2",
        "type": "bidirectional",
        "description": "Default function PC2, with alternate function ADC01_IN12."
      },
      {
        "number": "11",
        "name": "PC3",
        "type": "bidirectional",
        "description": "Default function PC3, with alternate function ADC01_IN13."
      },
      {
        "number": "12",
        "name": "VSSA",
        "type": "power_in",
        "description": "Default function VSSA, the analog ground pin."
      },
      {
        "number": "13",
        "name": "VDDA",
        "type": "power_in",
        "description": "Default function VDDA, the analog supply pin."
      },
      {
        "number": "14",
        "name": "PA0-WKUP",
        "type": "bidirectional",
        "description": "Default function PA0, with alternate functions WKUP, USART1_CTS, ADC01_IN0, TIMER1_CH0, TIMER1_ETI, TIMER4_CH0 and TIMER7_ETI (TIMER7_ETI available on RE/G devices)."
      },
      {
        "number": "15",
        "name": "PA1",
        "type": "bidirectional",
        "description": "Default function PA1, with alternate functions USART1_RTS, ADC01_IN1, TIMER1_CH1 and TIMER4_CH1."
      },
      {
        "number": "16",
        "name": "PA2",
        "type": "bidirectional",
        "description": "Default function PA2, with alternate functions USART1_TX, ADC01_IN2, TIMER1_CH2, TIMER4_CH2 and SPI0_IO2."
      },
      {
        "number": "17",
        "name": "PA3",
        "type": "bidirectional",
        "description": "Default function PA3, with alternate functions USART1_RX, ADC01_IN3, TIMER1_CH3, TIMER4_CH3 and SPI0_IO3."
      },
      {
        "number": "18",
        "name": "VSS_4",
        "type": "power_in",
        "description": "Ground pin VSS_4."
      },
      {
        "number": "19",
        "name": "VDD_4",
        "type": "power_in",
        "description": "Supply pin VDD_4."
      },
      {
        "number": "20",
        "name": "PA4",
        "type": "bidirectional",
        "description": "Default function PA4, with alternate functions SPI0_NSS, USART1_CK, ADC01_IN4 and DAC_OUT0; remap SPI2_NSS and I2S2_WS."
      },
      {
        "number": "21",
        "name": "PA5",
        "type": "bidirectional",
        "description": "Default function PA5, with alternate functions SPI0_SCK, ADC01_IN5 and DAC_OUT1."
      },
      {
        "number": "22",
        "name": "PA6",
        "type": "bidirectional",
        "description": "Default function PA6, with alternate functions SPI0_MISO, ADC01_IN6, TIMER2_CH0 and TIMER7_BRKIN (RE/G devices); remap TIMER0_BRKIN."
      },
      {
        "number": "23",
        "name": "PA7",
        "type": "bidirectional",
        "description": "Default function PA7, with alternate functions SPI0_MOSI, ADC01_IN7, TIMER2_CH1 and TIMER7_CH0_ON (RE/G devices); remap TIMER0_CH0_ON."
      },
      {
        "number": "24",
        "name": "PC4",
        "type": "bidirectional",
        "description": "Default function PC4, with alternate function ADC01_IN14."
      },
      {
        "number": "25",
        "name": "PC5",
        "type": "bidirectional",
        "description": "Default function PC5, with alternate function ADC01_IN15."
      },
      {
        "number": "26",
        "name": "PB0",
        "type": "bidirectional",
        "description": "Default function PB0, with alternate functions ADC01_IN8, TIMER2_CH2 and TIMER7_CH1_ON (RE/G devices); remap TIMER0_CH1_ON."
      },
      {
        "number": "27",
        "name": "PB1",
        "type": "bidirectional",
        "description": "Default function PB1, with alternate functions ADC01_IN9, TIMER2_CH3 and TIMER7_CH2_ON (RE/G devices); remap TIMER0_CH2_ON."
      },
      {
        "number": "28",
        "name": "PB2",
        "type": "bidirectional",
        "description": "5 V tolerant pin with default function PB2, which also serves as BOOT1."
      },
      {
        "number": "29",
        "name": "PB10",
        "type": "bidirectional",
        "description": "5 V tolerant pin with default function PB10, alternate functions I2C1_SCL and USART2_TX, and remap TIMER1_CH2."
      },
      {
        "number": "30",
        "name": "PB11",
        "type": "bidirectional",
        "description": "5 V tolerant pin with default function PB11, alternate functions I2C1_SDA and USART2_RX, and remap TIMER1_CH3."
      },
      {
        "number": "31",
        "name": "VSS_1",
        "type": "power_in",
        "description": "Ground pin VSS_1."
      },
      {
        "number": "32",
        "name": "VDD_1",
        "type": "power_in",
        "description": "Supply pin VDD_1."
      },
      {
        "number": "33",
        "name": "PB12",
        "type": "bidirectional",
        "description": "5 V tolerant pin with default function PB12 and alternate functions SPI1_NSS, I2C1_SMBA, USART2_CK, TIMER0_BRKIN, I2S1_WS and CAN1_RX."
      },
      {
        "number": "34",
        "name": "PB13",
        "type": "bidirectional",
        "description": "5 V tolerant pin with default function PB13 and alternate functions SPI1_SCK, USART2_CTS, TIMER0_CH0_ON, I2S1_CK and CAN1_TX."
      },
      {
        "number": "35",
        "name": "PB14",
        "type": "bidirectional",
        "description": "5 V tolerant pin with default function PB14 and alternate functions SPI1_MISO, USART2_RTS and TIMER0_CH1_ON."
      },
      {
        "number": "36",
        "name": "PB15",
        "type": "bidirectional",
        "description": "5 V tolerant pin with default function PB15 and alternate functions SPI1_MOSI, TIMER0_CH2_ON and I2S1_SD."
      },
      {
        "number": "37",
        "name": "PC6",
        "type": "bidirectional",
        "description": "5 V tolerant pin with default function PC6, alternate functions I2S1_MCK and TIMER7_CH0 (RE/G devices), and remap TIMER2_CH0."
      },
      {
        "number": "38",
        "name": "PC7",
        "type": "bidirectional",
        "description": "5 V tolerant pin with default function PC7, alternate functions I2S2_MCK and TIMER7_CH1 (RE/G devices), and remap TIMER2_CH1."
      },
      {
        "number": "39",
        "name": "PC8",
        "type": "bidirectional",
        "description": "5 V tolerant pin with default function PC8, alternate function TIMER7_CH2 (RE/G devices), and remap TIMER2_CH2."
      },
      {
        "number": "40",
        "name": "PC9",
        "type": "bidirectional",
        "description": "5 V tolerant pin with default function PC9, alternate function TIMER7_CH3 (RE/G devices), and remap TIMER2_CH3."
      },
      {
        "number": "41",
        "name": "PA8",
        "type": "bidirectional",
        "description": "5 V tolerant pin with default function PA8 and alternate functions USART0_CK, TIMER0_CH0, CK_OUT0, USBFS_SOF and CTC_SYNC."
      },
      {
        "number": "42",
        "name": "PA9",
        "type": "bidirectional",
        "description": "5 V tolerant pin with default function PA9 and alternate functions USART0_TX, TIMER0_CH1 and USBFS_VBUS."
      },
      {
        "number": "43",
        "name": "PA10",
        "type": "bidirectional",
        "description": "5 V tolerant pin with default function PA10 and alternate functions USART0_RX, TIMER0_CH2 and USBFS_ID."
      },
      {
        "number": "44",
        "name": "PA11",
        "type": "bidirectional",
        "description": "5 V tolerant pin with default function PA11 and alternate functions USART0_CTS, CAN0_RX, USBFS_DM and TIMER0_CH3."
      },
      {
        "number": "45",
        "name": "PA12",
        "type": "bidirectional",
        "description": "5 V tolerant pin with default function PA12 and alternate functions USART0_RTS, USBFS_DP, CAN0_TX and TIMER0_ETI."
      },
      {
        "number": "46",
        "name": "PA13",
        "type": "bidirectional",
        "description": "5 V tolerant pin with default function JTMS/SWDIO, remappable to PA13."
      },
      {
        "number": "47",
        "name": "VSS_2",
        "type": "power_in",
        "description": "Ground pin VSS_2."
      },
      {
        "number": "48",
        "name": "VDD_2",
        "type": "power_in",
        "description": "Supply pin VDD_2."
      },
      {
        "number": "49",
        "name": "PA14",
        "type": "bidirectional",
        "description": "5 V tolerant pin with default function JTCK/SWCLK, remappable to PA14."
      },
      {
        "number": "50",
        "name": "PA15",
        "type": "bidirectional",
        "description": "5 V tolerant pin with default function JTDI and alternate functions SPI2_NSS and I2S2_WS; remap TIMER1_CH0, TIMER1_ETI, PA15 and SPI0_NSS."
      },
      {
        "number": "51",
        "name": "PC10",
        "type": "bidirectional",
        "description": "5 V tolerant pin with default function PC10, alternate function UART3_TX, and remap USART2_TX, SPI2_SCK and I2S2_CK."
      },
      {
        "number": "52",
        "name": "PC11",
        "type": "bidirectional",
        "description": "5 V tolerant pin with default function PC11, alternate function UART3_RX, and remap USART2_RX and SPI2_MISO."
      },
      {
        "number": "53",
        "name": "PC12",
        "type": "bidirectional",
        "description": "5 V tolerant pin with default function PC12, alternate function UART4_TX, and remap USART2_CK, SPI2_MOSI and I2S2_SD."
      },
      {
        "number": "54",
        "name": "PD2",
        "type": "bidirectional",
        "description": "5 V tolerant pin with default function PD2 and alternate functions TIMER2_ETI and UART4_RX."
      },
      {
        "number": "55",
        "name": "PB3",
        "type": "bidirectional",
        "description": "5 V tolerant pin with default function JTDO and alternate functions SPI2_SCK and I2S2_CK; remap PB3, TRACESWO, TIMER1_CH1 and SPI0_SCK."
      },
      {
        "number": "56",
        "name": "PB4",
        "type": "bidirectional",
        "description": "5 V tolerant pin with default function NJTRST and alternate function SPI2_MISO; remap TIMER2_CH0, PB4 and SPI0_MISO."
      },
      {
        "number": "57",
        "name": "PB5",
        "type": "bidirectional",
        "description": "Pin with default function PB5 and alternate functions I2C0_SMBA, SPI2_MOSI and I2S2_SD; remap TIMER2_CH1, SPI0_MOSI and CAN1_RX."
      },
      {
        "number": "58",
        "name": "PB6",
        "type": "bidirectional",
        "description": "5 V tolerant pin with default function PB6 and alternate functions I2C0_SCL and TIMER3_CH0; remap USART0_TX, CAN1_TX and SPI0_IO2."
      },
      {
        "number": "59",
        "name": "PB7",
        "type": "bidirectional",
        "description": "5 V tolerant pin with default function PB7 and alternate functions I2C0_SDA and TIMER3_CH1; remap USART0_RX and SPI0_IO3."
      },
      {
        "number": "60",
        "name": "BOOT0",
        "type": "input",
        "description": "Input pin with default function BOOT0."
      },
      {
        "number": "61",
        "name": "PB8",
        "type": "bidirectional",
        "description": "5 V tolerant pin with default function PB8 and alternate function TIMER3_CH2; remap I2C0_SCL and CAN0_RX."
      },
      {
        "number": "62",
        "name": "PB9",
        "type": "bidirectional",
        "description": "5 V tolerant pin with default function PB9 and alternate function TIMER3_CH3; remap I2C0_SDA and CAN0_TX."
      },
      {
        "number": "63",
        "name": "VSS_3",
        "type": "power_in",
        "description": "Ground pin VSS_3."
      },
      {
        "number": "64",
        "name": "VDD_3",
        "type": "power_in",
        "description": "Supply pin VDD_3."
      }
    ],
    "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: Package confirmed: Table 6-1 lists GD32F305RET6 as LQFP64 (512 KB flash). Pinout taken from Table 2-; Footnote (3) functions are available only in GD32F305RG devices, so they were omitted for the RET6. ; Footnote (4) functions (RE/G devices) were included because the RET6 is an RE-variant part."
        ],
        "pages_sent": 38,
        "cost_usd": 0.1809,
        "at": "2026-10-18T01:39:40"
      },
      "datasheet": {
        "url": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8588954776218849281",
        "pages": 83,
        "sha256": "b600f18e174fa334",
        "source_tier": "lcsc"
      },
      "cad": "KiCad official (CC-BY-SA 4.0)",
      "pins": {
        "total": 64,
        "described": 64,
        "cites_pages": true,
        "refuses_to_fabricate": true
      }
    },
    "viewers": {
      "symbol": "viewers/symbol.html",
      "footprint": "viewers/footprint.html"
    },
    "models_3d": [
      {
        "file": "gd32f305ret6.step",
        "role": "plain",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "z = 0",
        "extents_mm": [
          12.0,
          12.0,
          1.5
        ],
        "zmin_mm": 0.0,
        "centre_offset_mm": 0.0,
        "footprint_binding": "identity",
        "sha256": "b0c827bc5c05552175d28affe44a5bd2ab45c9c36efff6ff07a74cc449b13db4",
        "checked": "2026-10-18",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      },
      {
        "file": "gd32f305ret6-etched.step",
        "role": "eda",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "z = 0",
        "extents_mm": [
          12.0,
          12.0,
          1.5
        ],
        "zmin_mm": 0.0,
        "centre_offset_mm": 0.0,
        "footprint_binding": "identity",
        "sha256": "7d1636459e860e16afbbce1fbb145d0fa5979d990ce513c9fcfa9f0611c0b1a3",
        "checked": "2026-10-18",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      }
    ]
  }
}