main
Ray Publish 0.1.0 a9a1dad 9d ago
{
  "slug": "gd32f307rgt6",
  "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",
    "gd32f307rgt6",
    "factory-2.0.0",
    "extractor-text"
  ],
  "dependencies": {},
  "hero": {
    "type": "image",
    "path": "docs/hero.png"
  },
  "files": [
    "page.json",
    "README.md",
    "gd32f307rgt6.kicad_sym",
    "gd32f307rgt6.kicad_mod",
    "gd32f307rgt6.glb",
    "gd32f307rgt6.step",
    "gd32f307rgt6.lbr",
    "docs/hero.png",
    "docs/gd32f307rgt6-datasheet.pdf",
    "viewers/symbol.html",
    "viewers/footprint.html",
    "gd32f307rgt6-hero.glb",
    "gd32f307rgt6-hero.overlay.json",
    "gd32f307rgt6-etched.glb"
  ],
  "component": {
    "mpn": "GD32F307RGT6",
    "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/8588944327149674496",
    "parts": {
      "symbol": "gd32f307rgt6.kicad_sym",
      "footprint": "gd32f307rgt6.kicad_mod",
      "model_3d": "gd32f307rgt6-hero.glb",
      "model_3d_plain": "gd32f307rgt6-etched.glb",
      "model_3d_step": "gd32f307rgt6-etched.step",
      "model_3d_step_plain": "gd32f307rgt6.step",
      "lbr": "gd32f307rgt6.lbr"
    },
    "distributor_links": {
      "lcsc": "C2835083"
    },
    "distributor_check": {
      "checked_at": "2026-10-18T03:17:16Z",
      "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": "Backup-domain supply pin (default function VBAT) for the RTC and backup registers."
      },
      {
        "number": "2",
        "name": "PC13-TAMPER-RTC",
        "type": "bidirectional",
        "description": "General-purpose I/O PC13 (default) with alternate function TAMPER-RTC."
      },
      {
        "number": "3",
        "name": "PC14-OSC32IN",
        "type": "bidirectional",
        "description": "General-purpose I/O PC14 (default) with alternate function OSC32IN, the low-speed crystal input."
      },
      {
        "number": "4",
        "name": "PC15-OSC32OUT",
        "type": "bidirectional",
        "description": "General-purpose I/O PC15 (default) with alternate function OSC32OUT, the low-speed crystal output."
      },
      {
        "number": "5",
        "name": "OSCIN",
        "type": "input",
        "description": "High-speed crystal oscillator input (default OSCIN), remappable to PD0; PD0/PD1 cannot be used for EXTI in this package."
      },
      {
        "number": "6",
        "name": "OSCOUT",
        "type": "output",
        "description": "High-speed crystal oscillator output (default OSCOUT), remappable to PD1; PD0/PD1 cannot be used for EXTI in this package."
      },
      {
        "number": "7",
        "name": "NRST",
        "type": "bidirectional",
        "description": "Active-low reset pin (default NRST) for the device."
      },
      {
        "number": "8",
        "name": "PC0",
        "type": "bidirectional",
        "description": "General-purpose I/O PC0 with alternate function ADC01_IN10."
      },
      {
        "number": "9",
        "name": "PC1",
        "type": "bidirectional",
        "description": "General-purpose I/O PC1 with alternate functions ADC01_IN11 and ENET_MDC."
      },
      {
        "number": "10",
        "name": "PC2",
        "type": "bidirectional",
        "description": "General-purpose I/O PC2 with alternate functions ADC01_IN12 and ENET_MII_TXD2."
      },
      {
        "number": "11",
        "name": "PC3",
        "type": "bidirectional",
        "description": "General-purpose I/O PC3 with alternate functions ADC01_IN13 and ENET_MII_TX_CLK."
      },
      {
        "number": "12",
        "name": "VSSA",
        "type": "power_in",
        "description": "Analog ground pin (default VSSA)."
      },
      {
        "number": "13",
        "name": "VDDA",
        "type": "power_in",
        "description": "Analog supply pin (default VDDA) for the ADC, DAC and LVD."
      },
      {
        "number": "14",
        "name": "PA0-WKUP",
        "type": "bidirectional",
        "description": "General-purpose I/O PA0 (default) with alternate functions WKUP, USART1_CTS, ADC01_IN0, TIMER1_CH0, TIMER1_ETI, TIMER4_CH0, TIMER7_ETI (GD32F307RG note 4: available in RE/G only), and ENET_MII_CRS."
      },
      {
        "number": "15",
        "name": "PA1",
        "type": "bidirectional",
        "description": "General-purpose I/O PA1 with alternate functions USART1_RTS, ADC01_IN1, TIMER1_CH1, TIMER4_CH1, ENET_MII_RX_CLK and ENET_RMII_REF_CLK."
      },
      {
        "number": "16",
        "name": "PA2",
        "type": "bidirectional",
        "description": "General-purpose I/O PA2 with alternate functions USART1_TX, ADC01_IN2, TIMER1_CH2, TIMER4_CH2, TIMER8_CH0, ENET_MDIO and SPI0_IO2."
      },
      {
        "number": "17",
        "name": "PA3",
        "type": "bidirectional",
        "description": "General-purpose I/O PA3 with alternate functions USART1_RX, ADC01_IN3, TIMER1_CH3, TIMER4_CH3, TIMER8_CH1, ENET_MII_COL and SPI0_IO3."
      },
      {
        "number": "18",
        "name": "VSS_4",
        "type": "power_in",
        "description": "Digital ground pin (default VSS_4)."
      },
      {
        "number": "19",
        "name": "VDD_4",
        "type": "power_in",
        "description": "Digital supply pin (default VDD_4)."
      },
      {
        "number": "20",
        "name": "PA4",
        "type": "bidirectional",
        "description": "General-purpose I/O PA4 with alternate functions SPI0_NSS, USART1_CK, ADC01_IN4 and DAC_OUT0; remap to SPI2_NSS and I2S2_WS."
      },
      {
        "number": "21",
        "name": "PA5",
        "type": "bidirectional",
        "description": "General-purpose I/O PA5 with alternate functions SPI0_SCK, ADC01_IN5 and DAC_OUT1."
      },
      {
        "number": "22",
        "name": "PA6",
        "type": "bidirectional",
        "description": "General-purpose I/O PA6 with alternate functions SPI0_MISO, ADC01_IN6, TIMER2_CH0, TIMER7_BRKIN, TIMER12_CH0; remap to TIMER0_BRKIN."
      },
      {
        "number": "23",
        "name": "PA7",
        "type": "bidirectional",
        "description": "General-purpose I/O PA7 with alternate functions SPI0_MOSI, ADC01_IN7, TIMER2_CH1, TIMER7_CH0_ON, TIMER13_CH0, ENET_MII_RX_DV and ENET_RMII_CRS_DV; remap to TIMER0_CH0_ON."
      },
      {
        "number": "24",
        "name": "PC4",
        "type": "bidirectional",
        "description": "General-purpose I/O PC4 with alternate functions ADC01_IN14, ENET_MII_RXD0 and ENET_RMII_RXD0."
      },
      {
        "number": "25",
        "name": "PC5",
        "type": "bidirectional",
        "description": "General-purpose I/O PC5 with alternate functions ADC01_IN15, ENET_MII_RXD1 and ENET_RMII_RXD1."
      },
      {
        "number": "26",
        "name": "PB0",
        "type": "bidirectional",
        "description": "General-purpose I/O PB0 with alternate functions ADC01_IN8, TIMER2_CH2, TIMER7_CH1_ON and ENET_MII_RXD2; remap to TIMER0_CH1_ON."
      },
      {
        "number": "27",
        "name": "PB1",
        "type": "bidirectional",
        "description": "General-purpose I/O PB1 with alternate functions ADC01_IN9, TIMER2_CH3, TIMER7_CH2_ON and ENET_MII_RXD3; remap to TIMER0_CH2_ON."
      },
      {
        "number": "28",
        "name": "PB2",
        "type": "bidirectional",
        "description": "5 V tolerant general-purpose I/O PB2 (default), which also serves as BOOT1."
      },
      {
        "number": "29",
        "name": "PB10",
        "type": "bidirectional",
        "description": "5 V tolerant general-purpose I/O PB10 with alternate functions I2C1_SCL, USART2_TX and ENET_MII_RX_ER; remap to TIMER1_CH2."
      },
      {
        "number": "30",
        "name": "PB11",
        "type": "bidirectional",
        "description": "5 V tolerant general-purpose I/O PB11 with alternate functions I2C1_SDA, USART2_RX, ENET_MII_TX_EN and ENET_RMII_TX_EN; remap to TIMER1_CH3."
      },
      {
        "number": "31",
        "name": "VSS_1",
        "type": "power_in",
        "description": "Digital ground pin (default VSS_1)."
      },
      {
        "number": "32",
        "name": "VDD_1",
        "type": "power_in",
        "description": "Digital supply pin (default VDD_1)."
      },
      {
        "number": "33",
        "name": "PB12",
        "type": "bidirectional",
        "description": "5 V tolerant general-purpose I/O PB12 with alternate functions SPI1_NSS, I2C1_SMBA, USART2_CK, TIMER0_BRKIN, I2S1_WS, CAN1_RX, ENET_MII_TXD0 and ENET_RMII_TXD0."
      },
      {
        "number": "34",
        "name": "PB13",
        "type": "bidirectional",
        "description": "5 V tolerant general-purpose I/O PB13 with alternate functions SPI1_SCK, USART2_CTS, TIMER0_CH0_ON, I2S1_CK, CAN1_TX, ENET_MII_TXD1 and ENET_RMII_TXD1."
      },
      {
        "number": "35",
        "name": "PB14",
        "type": "bidirectional",
        "description": "5 V tolerant general-purpose I/O PB14 with alternate functions SPI1_MISO, USART2_RTS, TIMER0_CH1_ON and TIMER11_CH0 (available in GD32F307RG devices)."
      },
      {
        "number": "36",
        "name": "PB15",
        "type": "bidirectional",
        "description": "5 V tolerant general-purpose I/O PB15 with alternate functions SPI1_MOSI, TIMER0_CH2_ON, I2S1_SD and TIMER11_CH1 (available in GD32F307RG devices)."
      },
      {
        "number": "37",
        "name": "PC6",
        "type": "bidirectional",
        "description": "5 V tolerant general-purpose I/O PC6 with alternate functions I2S1_MCK and TIMER7_CH0 (note 4); remap to TIMER2_CH0."
      },
      {
        "number": "38",
        "name": "PC7",
        "type": "bidirectional",
        "description": "5 V tolerant general-purpose I/O PC7 with alternate functions I2S2_MCK and TIMER7_CH1 (note 4); remap to TIMER2_CH1."
      },
      {
        "number": "39",
        "name": "PC8",
        "type": "bidirectional",
        "description": "5 V tolerant general-purpose I/O PC8 with alternate function TIMER7_CH2 (note 4); remap to TIMER2_CH2."
      },
      {
        "number": "40",
        "name": "PC9",
        "type": "bidirectional",
        "description": "5 V tolerant general-purpose I/O PC9 with alternate function TIMER7_CH3 (note 4); remap to TIMER2_CH3."
      },
      {
        "number": "41",
        "name": "PA8",
        "type": "bidirectional",
        "description": "5 V tolerant general-purpose I/O PA8 with alternate functions USART0_CK, TIMER0_CH0, CK_OUT0, USBFS_SOF and CTC_SYNC."
      },
      {
        "number": "42",
        "name": "PA9",
        "type": "bidirectional",
        "description": "5 V tolerant general-purpose I/O PA9 with alternate functions USART0_TX, TIMER0_CH1 and USBFS_VBUS."
      },
      {
        "number": "43",
        "name": "PA10",
        "type": "bidirectional",
        "description": "5 V tolerant general-purpose I/O PA10 with alternate functions USART0_RX, TIMER0_CH2 and USBFS_ID."
      },
      {
        "number": "44",
        "name": "PA11",
        "type": "bidirectional",
        "description": "5 V tolerant general-purpose I/O PA11 with alternate functions USART0_CTS, CAN0_RX, USBFS_DM and TIMER0_CH3."
      },
      {
        "number": "45",
        "name": "PA12",
        "type": "bidirectional",
        "description": "5 V tolerant general-purpose I/O PA12 with 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 general-purpose I/O PA13."
      },
      {
        "number": "47",
        "name": "VSS_2",
        "type": "power_in",
        "description": "Digital ground pin (default VSS_2)."
      },
      {
        "number": "48",
        "name": "VDD_2",
        "type": "power_in",
        "description": "Digital supply pin (default VDD_2)."
      },
      {
        "number": "49",
        "name": "PA14",
        "type": "bidirectional",
        "description": "5 V tolerant pin with default function JTCK/SWCLK, remappable to general-purpose I/O PA14."
      },
      {
        "number": "50",
        "name": "PA15",
        "type": "bidirectional",
        "description": "5 V tolerant pin with default function JTDI and alternate functions SPI2_NSS and I2S2_WS; remaps include TIMER1_CH0, TIMER1_ETI, PA15 and SPI0_NSS."
      },
      {
        "number": "51",
        "name": "PC10",
        "type": "bidirectional",
        "description": "5 V tolerant general-purpose I/O PC10 with alternate function UART3_TX; remaps include USART2_TX, SPI2_SCK and I2S2_CK."
      },
      {
        "number": "52",
        "name": "PC11",
        "type": "bidirectional",
        "description": "5 V tolerant general-purpose I/O PC11 with alternate function UART3_RX; remaps include USART2_RX and SPI2_MISO."
      },
      {
        "number": "53",
        "name": "PC12",
        "type": "bidirectional",
        "description": "5 V tolerant general-purpose I/O PC12 with alternate function UART4_TX; remaps include USART2_CK, SPI2_MOSI and I2S2_SD."
      },
      {
        "number": "54",
        "name": "PD2",
        "type": "bidirectional",
        "description": "5 V tolerant general-purpose I/O PD2 with alternate functions TIMER2_ETI and UART4_RX."
      },
      {
        "number": "55",
        "name": "PB3",
        "type": "bidirectional",
        "description": "5 V tolerant pin with default function JTDO, alternate functions SPI2_SCK and I2S2_CK; remaps include PB3, TRACESWO, TIMER1_CH1 and SPI0_SCK."
      },
      {
        "number": "56",
        "name": "PB4",
        "type": "bidirectional",
        "description": "5 V tolerant pin with default function NJTRST, alternate function SPI2_MISO; remaps include TIMER2_CH0, PB4 and SPI0_MISO."
      },
      {
        "number": "57",
        "name": "PB5",
        "type": "bidirectional",
        "description": "General-purpose I/O PB5 with alternate functions I2C0_SMBA, SPI2_MOSI, I2S2_SD, ENET_MII_PPS_OUT and ENET_RMII_PPS_OUT; remaps include TIMER2_CH1, SPI0_MOSI and CAN1_RX."
      },
      {
        "number": "58",
        "name": "PB6",
        "type": "bidirectional",
        "description": "5 V tolerant general-purpose I/O PB6 with alternate functions I2C0_SCL and TIMER3_CH0; remaps include USART0_TX, CAN1_TX and SPI0_IO2."
      },
      {
        "number": "59",
        "name": "PB7",
        "type": "bidirectional",
        "description": "5 V tolerant general-purpose I/O PB7 with alternate functions I2C0_SDA and TIMER3_CH1; remaps include USART0_RX and SPI0_IO3."
      },
      {
        "number": "60",
        "name": "BOOT0",
        "type": "input",
        "description": "Boot mode selection input (default BOOT0)."
      },
      {
        "number": "61",
        "name": "PB8",
        "type": "bidirectional",
        "description": "5 V tolerant general-purpose I/O PB8 with alternate functions TIMER3_CH2, TIMER9_CH0 (available in GD32F307RG devices) and ENET_MII_TXD3; remaps include I2C0_SCL and CAN0_RX."
      },
      {
        "number": "62",
        "name": "PB9",
        "type": "bidirectional",
        "description": "5 V tolerant general-purpose I/O PB9 with alternate functions TIMER3_CH3 and TIMER10_CH0 (available in GD32F307RG devices); remaps include I2C0_SDA and CAN0_TX."
      },
      {
        "number": "63",
        "name": "VSS_3",
        "type": "power_in",
        "description": "Digital ground pin (default VSS_3)."
      },
      {
        "number": "64",
        "name": "VDD_3",
        "type": "power_in",
        "description": "Digital supply pin (default 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: The datasheet (Table 2-5, note 5) states that PD0/PD1 cannot be used for EXTI in the LQFP64 package;; Table 2-5 leaves the I/O Level column blank for PB5 (pin 57), so it is not stated whether this pin i; Table 2-5 does not give an I/O level for PC13, PC14, PC15 (pins 2-4) or NRST (pin 7); these were typ"
        ],
        "pages_sent": 39,
        "cost_usd": 0.1877,
        "at": "2026-10-18T03:16:44"
      },
      "datasheet": {
        "url": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8588944327149674496",
        "pages": 86,
        "sha256": "937b09f27297d4dd",
        "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": "gd32f307rgt6.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": "gd32f307rgt6-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": "9918692a88e51c87fff9cf3ad4c42e8ed548c2abc713d1e137d9a457b6876abe",
        "checked": "2026-10-18",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      }
    ]
  }
}