main
Ray Publish 0.1.0 c476373
{
  "slug": "gd32f403ret6",
  "version": "0.1.0",
  "type": "component",
  "description": "GigaDevice Semicon Beijing Microcontroller Units (MCUs/MPUs/SOCs), LQFP-64(10x10). Pinout cross-checked by two models against the datasheet, KiCad symbol/footprint/3D.",
  "tags": [
    "component",
    "single chip microcomputer-microcontroller",
    "gd32f403ret6",
    "factory-2.0.0",
    "extractor-text"
  ],
  "dependencies": {},
  "hero": {
    "type": "image",
    "path": "docs/hero.png"
  },
  "files": [
    "page.json",
    "README.md",
    "gd32f403ret6.kicad_sym",
    "gd32f403ret6.kicad_mod",
    "gd32f403ret6.glb",
    "gd32f403ret6.step",
    "gd32f403ret6.lbr",
    "docs/hero.png",
    "docs/gd32f403ret6-datasheet.pdf",
    "viewers/symbol.html",
    "viewers/footprint.html",
    "gd32f403ret6-hero.glb",
    "gd32f403ret6-hero.overlay.json",
    "gd32f403ret6-etched.glb"
  ],
  "component": {
    "mpn": "GD32F403RET6",
    "manufacturer": "GigaDevice Semicon Beijing",
    "package": "LQFP-64(10x10)",
    "pin_count": 64,
    "category": "Single Chip Microcomputer/Microcontroller",
    "subcategory": "Microcontroller Units (MCUs/MPUs/SOCs)",
    "datasheet": "https://datasheet.lcsc.com/datasheet/pdf/0715a6a839912b916677a4895f4d01d0.pdf",
    "parts": {
      "symbol": "gd32f403ret6.kicad_sym",
      "footprint": "gd32f403ret6.kicad_mod",
      "model_3d": "gd32f403ret6-hero.glb",
      "model_3d_plain": "gd32f403ret6-etched.glb",
      "model_3d_step": "gd32f403ret6-etched.step",
      "model_3d_step_plain": "gd32f403ret6.step",
      "lbr": "gd32f403ret6.lbr"
    },
    "distributor_links": {
      "lcsc": "C2973792"
    },
    "distributor_check": {
      "checked_at": "2026-10-30T22:36:54Z",
      "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 power supply input for the RTC and backup domain, as defined in the LQFP64 pin definition table."
      },
      {
        "number": "2",
        "name": "PC13-TAMPER-RTC",
        "type": "bidirectional",
        "description": "5 V tolerant? Not marked; default GPIO PC13 with alternate function TAMPER-RTC."
      },
      {
        "number": "3",
        "name": "PC14-OSC32IN",
        "type": "bidirectional",
        "description": "Default GPIO PC14 with alternate function OSC32IN for the low-speed oscillator input."
      },
      {
        "number": "4",
        "name": "PC15-OSC32OUT",
        "type": "bidirectional",
        "description": "Default GPIO PC15 with alternate function OSC32OUT for the low-speed oscillator output."
      },
      {
        "number": "5",
        "name": "OSCIN",
        "type": "input",
        "description": "High-speed crystal oscillator input, 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, remappable to PD1; PD0/PD1 cannot be used for EXTI in this package."
      },
      {
        "number": "7",
        "name": "NRST",
        "type": "bidirectional",
        "description": "Active-low reset pin, as listed in the LQFP64 pin definition table."
      },
      {
        "number": "8",
        "name": "PC0",
        "type": "bidirectional",
        "description": "GPIO PC0 with alternate function ADC012_IN10."
      },
      {
        "number": "9",
        "name": "PC1",
        "type": "bidirectional",
        "description": "GPIO PC1 with alternate function ADC012_IN11."
      },
      {
        "number": "10",
        "name": "PC2",
        "type": "bidirectional",
        "description": "GPIO PC2 with alternate function ADC012_IN12."
      },
      {
        "number": "11",
        "name": "PC3",
        "type": "bidirectional",
        "description": "GPIO PC3 with alternate function ADC012_IN13."
      },
      {
        "number": "12",
        "name": "VSSA",
        "type": "power_in",
        "description": "Analog ground for the ADC and analog circuitry."
      },
      {
        "number": "13",
        "name": "VDDA",
        "type": "power_in",
        "description": "Analog supply for the ADC, DAC and analog circuitry."
      },
      {
        "number": "14",
        "name": "PA0-WKUP",
        "type": "bidirectional",
        "description": "GPIO PA0 with alternate functions WKUP, USART1_CTS, ADC012_IN0 and TIMER7_ETI."
      },
      {
        "number": "15",
        "name": "PA1",
        "type": "bidirectional",
        "description": "GPIO PA1 with alternate functions USART1_RTS and ADC012_IN1."
      },
      {
        "number": "16",
        "name": "PA2",
        "type": "bidirectional",
        "description": "GPIO PA2 with alternate functions USART1_TX, ADC012_IN2, TIMER8_CH0 and SPI0_IO2."
      },
      {
        "number": "17",
        "name": "PA3",
        "type": "bidirectional",
        "description": "GPIO PA3 with alternate functions USART1_RX, ADC012_IN3, TIMER8_CH1 and SPI0_IO3."
      },
      {
        "number": "18",
        "name": "VSS_4",
        "type": "power_in",
        "description": "Digital ground pin."
      },
      {
        "number": "19",
        "name": "VDD_4",
        "type": "power_in",
        "description": "Digital supply pin."
      },
      {
        "number": "20",
        "name": "PA4",
        "type": "bidirectional",
        "description": "GPIO PA4 with alternate functions SPI0_NSS, USART1_CK, ADC01_IN4 and DAC_OUT0, remappable to SPI2_NSS and I2S2_WS."
      },
      {
        "number": "21",
        "name": "PA5",
        "type": "bidirectional",
        "description": "GPIO PA5 with alternate functions SPI0_SCK, ADC01_IN5 and DAC_OUT1."
      },
      {
        "number": "22",
        "name": "PA6",
        "type": "bidirectional",
        "description": "GPIO PA6 with alternate functions SPI0_MISO, ADC01_IN6, TIMER2_CH0, TIMER7_BRKIN and TIMER12_CH0, remappable to TIMER0_BRKIN."
      },
      {
        "number": "23",
        "name": "PA7",
        "type": "bidirectional",
        "description": "GPIO PA7 with alternate functions SPI0_MOSI, ADC01_IN7, TIMER2_CH1, TIMER7_CH0_ON and TIMER13_CH0, remappable to TIMER0_CH0_ON."
      },
      {
        "number": "24",
        "name": "PC4",
        "type": "bidirectional",
        "description": "GPIO PC4 with alternate function ADC01_IN14."
      },
      {
        "number": "25",
        "name": "PC5",
        "type": "bidirectional",
        "description": "GPIO PC5 with alternate function ADC01_IN15."
      },
      {
        "number": "26",
        "name": "PB0",
        "type": "bidirectional",
        "description": "GPIO PB0 with alternate functions ADC01_IN8, TIMER2_CH2 and TIMER7_CH1_ON, remappable to TIMER0_CH1_ON."
      },
      {
        "number": "27",
        "name": "PB1",
        "type": "bidirectional",
        "description": "GPIO PB1 with alternate functions ADC01_IN9, TIMER2_CH3 and TIMER7_CH2_ON, remappable to TIMER0_CH2_ON."
      },
      {
        "number": "28",
        "name": "PB2",
        "type": "bidirectional",
        "description": "5 V tolerant GPIO PB2 which also serves as BOOT1."
      },
      {
        "number": "29",
        "name": "PB10",
        "type": "bidirectional",
        "description": "5 V tolerant GPIO PB10 with alternate functions I2C1_SCL and USART2_TX."
      },
      {
        "number": "30",
        "name": "PB11",
        "type": "bidirectional",
        "description": "5 V tolerant GPIO PB11 with alternate functions I2C1_SDA and USART2_RX."
      },
      {
        "number": "31",
        "name": "VSS_1",
        "type": "power_in",
        "description": "Digital ground pin."
      },
      {
        "number": "32",
        "name": "VDD_1",
        "type": "power_in",
        "description": "Digital supply pin."
      },
      {
        "number": "33",
        "name": "PB12",
        "type": "bidirectional",
        "description": "5 V tolerant GPIO PB12 with 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 GPIO PB13 with alternate functions SPI1_SCK, USART2_CTS, TIMER0_CH0_ON, I2S1_CK and CAN1_TX."
      },
      {
        "number": "35",
        "name": "PB14",
        "type": "bidirectional",
        "description": "5 V tolerant GPIO PB14 with alternate functions SPI1_MISO, USART2_RTS, TIMER0_CH1_ON and TIMER11_CH0."
      },
      {
        "number": "36",
        "name": "PB15",
        "type": "bidirectional",
        "description": "5 V tolerant GPIO PB15 with alternate functions SPI1_MOSI, TIMER0_CH2_ON, I2S1_SD and TIMER11_CH1."
      },
      {
        "number": "37",
        "name": "PC6",
        "type": "bidirectional",
        "description": "5 V tolerant GPIO PC6 with alternate functions I2S1_MCK, TIMER7_CH0 and SDIO_D6, remappable to TIMER2_CH0."
      },
      {
        "number": "38",
        "name": "PC7",
        "type": "bidirectional",
        "description": "5 V tolerant GPIO PC7 with alternate functions I2S2_MCK, TIMER7_CH1 and SDIO_D7, remappable to TIMER2_CH1."
      },
      {
        "number": "39",
        "name": "PC8",
        "type": "bidirectional",
        "description": "5 V tolerant GPIO PC8 with alternate functions TIMER7_CH2 and SDIO_D0, remappable to TIMER2_CH2."
      },
      {
        "number": "40",
        "name": "PC9",
        "type": "bidirectional",
        "description": "5 V tolerant GPIO PC9 with alternate functions TIMER7_CH3 and SDIO_D1, remappable to TIMER2_CH3."
      },
      {
        "number": "41",
        "name": "PA8",
        "type": "bidirectional",
        "description": "5 V tolerant GPIO 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 GPIO PA9 with alternate functions USART0_TX, TIMER0_CH1 and USBFS_VBUS."
      },
      {
        "number": "43",
        "name": "PA10",
        "type": "bidirectional",
        "description": "5 V tolerant GPIO PA10 with alternate functions USART0_RX, TIMER0_CH2 and USBFS_ID."
      },
      {
        "number": "44",
        "name": "PA11",
        "type": "bidirectional",
        "description": "5 V tolerant GPIO PA11 with alternate functions USART0_CTS, CAN0_RX, USBFS_DM and TIMER0_CH3."
      },
      {
        "number": "45",
        "name": "PA12",
        "type": "bidirectional",
        "description": "5 V tolerant GPIO PA12 with alternate functions USART0_RTS, CAN0_TX, TIMER0_ETI and USBFS_DP."
      },
      {
        "number": "46",
        "name": "PA13",
        "type": "bidirectional",
        "description": "5 V tolerant pin defaulting to JTMS/SWDIO, remappable to PA13 GPIO."
      },
      {
        "number": "47",
        "name": "VSS_2",
        "type": "power_in",
        "description": "Digital ground pin."
      },
      {
        "number": "48",
        "name": "VDD_2",
        "type": "power_in",
        "description": "Digital supply pin."
      },
      {
        "number": "49",
        "name": "PA14",
        "type": "bidirectional",
        "description": "5 V tolerant pin defaulting to JTCK/SWCLK, remappable to PA14 GPIO."
      },
      {
        "number": "50",
        "name": "PA15",
        "type": "bidirectional",
        "description": "5 V tolerant pin defaulting to JTDI with alternate functions SPI2_NSS and I2S2_WS, remappable to PA15 and SPI0_NSS."
      },
      {
        "number": "51",
        "name": "PC10",
        "type": "bidirectional",
        "description": "5 V tolerant GPIO PC10 with alternate functions UART3_TX and SDIO_D2, remappable to USART2_TX, SPI2_SCK and I2S2_CK."
      },
      {
        "number": "52",
        "name": "PC11",
        "type": "bidirectional",
        "description": "5 V tolerant GPIO PC11 with alternate functions UART3_RX and SDIO_D3, remappable to USART2_RX and SPI2_MISO."
      },
      {
        "number": "53",
        "name": "PC12",
        "type": "bidirectional",
        "description": "5 V tolerant GPIO PC12 with alternate functions UART4_TX and SDIO_CK, remappable to USART2_CK, SPI2_MOSI and I2S2_SD."
      },
      {
        "number": "54",
        "name": "PD2",
        "type": "bidirectional",
        "description": "5 V tolerant GPIO PD2 with alternate functions TIMER2_ETI, SDIO_CMD and UART4_RX."
      },
      {
        "number": "55",
        "name": "PB3",
        "type": "bidirectional",
        "description": "5 V tolerant pin defaulting to JTDO with alternate functions SPI2_SCK and I2S2_CK, remappable to PB3, TRACESWO and SPI0_SCK."
      },
      {
        "number": "56",
        "name": "PB4",
        "type": "bidirectional",
        "description": "5 V tolerant pin defaulting to NJTRST with alternate function SPI2_MISO, remappable to TIMER2_CH0, PB4 and SPI0_MISO."
      },
      {
        "number": "57",
        "name": "PB5",
        "type": "bidirectional",
        "description": "GPIO PB5 with alternate functions I2C0_SMBA, SPI2_MOSI and I2S2_SD, remappable to TIMER2_CH1, SPI0_MOSI and CAN1_RX."
      },
      {
        "number": "58",
        "name": "PB6",
        "type": "bidirectional",
        "description": "5 V tolerant GPIO PB6 with alternate functions I2C0_SCL and TIMER3_CH0, remappable to USART0_TX, SPI0_IO2 and CAN1_TX."
      },
      {
        "number": "59",
        "name": "PB7",
        "type": "bidirectional",
        "description": "5 V tolerant GPIO PB7 with alternate functions I2C0_SDA and TIMER3_CH1, remappable to USART0_RX and SPI0_IO3."
      },
      {
        "number": "60",
        "name": "BOOT0",
        "type": "input",
        "description": "Boot mode selection input pin, as listed in the LQFP64 pin definition table."
      },
      {
        "number": "61",
        "name": "PB8",
        "type": "bidirectional",
        "description": "5 V tolerant GPIO PB8 with alternate functions TIMER3_CH2, SDIO_D4 and TIMER9_CH0, remappable to I2C0_SCL and CAN0_RX."
      },
      {
        "number": "62",
        "name": "PB9",
        "type": "bidirectional",
        "description": "5 V tolerant GPIO PB9 with alternate functions TIMER3_CH3, SDIO_D5 and TIMER10_CH0, remappable to I2C0_SDA and CAN0_TX."
      },
      {
        "number": "63",
        "name": "VSS_3",
        "type": "power_in",
        "description": "Digital ground pin."
      },
      {
        "number": "64",
        "name": "VDD_3",
        "type": "power_in",
        "description": "Digital supply pin."
      }
    ],
    "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: GD32F403RET6 is ordered in the LQFP64 package (Table 6-1), so the Rx LQFP64 pin table (Table 2-6) wa; Source table lists PB5 as I/O without a 5 V tolerance marking, unlike most other GPIOs; recorded as ; Source table prints PB6's remap as 'CNA1_TX'; recorded here as printed in the source text, which mos"
        ],
        "pages_sent": 44,
        "cost_usd": 0.0696,
        "at": "2026-10-30T22:36:34"
      },
      "datasheet": {
        "url": "https://datasheet.lcsc.com/datasheet/pdf/0715a6a839912b916677a4895f4d01d0.pdf",
        "pages": 94,
        "sha256": "f6702479232b3155",
        "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": "gd32f403ret6.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-30",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      },
      {
        "file": "gd32f403ret6-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": "2ea056cd214f47dba8121ad7ee2ff9e0eaa6eaa6469501cd187571a857b887d5",
        "checked": "2026-10-30",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      }
    ]
  }
}