main
Ray Publish 0.1.0 5f0f496 7d ago
{
  "slug": "gd32f405ret6",
  "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",
    "gd32f405ret6",
    "factory-2.0.0",
    "extractor-text"
  ],
  "dependencies": {},
  "hero": {
    "type": "image",
    "path": "docs/hero.png"
  },
  "files": [
    "page.json",
    "README.md",
    "gd32f405ret6.kicad_sym",
    "gd32f405ret6.kicad_mod",
    "gd32f405ret6.glb",
    "gd32f405ret6.step",
    "gd32f405ret6.lbr",
    "docs/hero.png",
    "docs/gd32f405ret6-datasheet.pdf",
    "viewers/symbol.html",
    "viewers/footprint.html",
    "gd32f405ret6-hero.glb",
    "gd32f405ret6-hero.overlay.json",
    "gd32f405ret6-etched.glb"
  ],
  "component": {
    "mpn": "GD32F405RET6",
    "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/8588920846778052608",
    "parts": {
      "symbol": "gd32f405ret6.kicad_sym",
      "footprint": "gd32f405ret6.kicad_mod",
      "model_3d": "gd32f405ret6-hero.glb",
      "model_3d_plain": "gd32f405ret6-etched.glb",
      "model_3d_step": "gd32f405ret6-etched.step",
      "model_3d_step_plain": "gd32f405ret6.step",
      "lbr": "gd32f405ret6.lbr"
    },
    "distributor_links": {
      "lcsc": "C2905398"
    },
    "distributor_check": {
      "checked_at": "2026-10-18T11:03:48Z",
      "source": "Component Ocean /api/assign-pns",
      "digikey": {
        "pn": null,
        "status": "quota"
      },
      "mouser": {
        "pn": null,
        "status": "quota"
      }
    },
    "pins": [
      {
        "number": "1",
        "name": "VBAT",
        "type": "power_in",
        "description": "Backup power supply pin (Default: VBAT); the block diagram shows the backup domain powered by VBAT."
      },
      {
        "number": "2",
        "name": "PC13-TAMPER-RTC",
        "type": "bidirectional",
        "description": "5 V tolerant I/O (Default: PC13) with additional RTC_TAMP0, RTC_OUT and RTC_TS functions and alternate function EVENTOUT."
      },
      {
        "number": "3",
        "name": "PC14-OSC32IN",
        "type": "bidirectional",
        "description": "5 V tolerant I/O (Default: PC14) that also serves as the OSC32IN low-speed oscillator input."
      },
      {
        "number": "4",
        "name": "PC15-OSC32OUT",
        "type": "bidirectional",
        "description": "5 V tolerant I/O (Default: PC15) that also serves as the OSC32OUT low-speed oscillator output."
      },
      {
        "number": "5",
        "name": "PH0",
        "type": "bidirectional",
        "description": "5 V tolerant I/O (Default: PH0) that also serves as OSCIN, the high-speed crystal input (HXTAL 4-32 MHz)."
      },
      {
        "number": "6",
        "name": "PH1",
        "type": "bidirectional",
        "description": "5 V tolerant I/O (Default: PH1) that also serves as OSCOUT, the high-speed crystal output (HXTAL 4-32 MHz)."
      },
      {
        "number": "7",
        "name": "NRST",
        "type": "input",
        "description": "Reset pin (Default: NRST); the datasheet does not state its electrical level or I/O direction beyond this."
      },
      {
        "number": "8",
        "name": "PC0",
        "type": "bidirectional",
        "description": "5 V tolerant I/O (Default: PC0) with alternate USBHS_ULPI_STP and EVENTOUT, and additional ADC012_IN10 analog input."
      },
      {
        "number": "9",
        "name": "PC1",
        "type": "bidirectional",
        "description": "5 V tolerant I/O (Default: PC1) with alternate SPI2_MOSI, I2S2_SD, SPI1_MOSI, I2S1_SD and EVENTOUT, and additional ADC012_IN11 analog input."
      },
      {
        "number": "10",
        "name": "PC2",
        "type": "bidirectional",
        "description": "5 V tolerant I/O (Default: PC2) with alternate SPI1_MISO, I2S1_ADD_SD, USBHS_ULPI_DIR and EVENTOUT, and additional ADC012_IN12 analog input."
      },
      {
        "number": "11",
        "name": "PC3",
        "type": "bidirectional",
        "description": "5 V tolerant I/O (Default: PC3) with alternate SPI1_MOSI, I2S1_SD, USBHS_ULPI_NXT and EVENTOUT, and additional ADC012_IN13 analog input."
      },
      {
        "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); the block diagram shows the SAR ADC and DAC powered by VDDA."
      },
      {
        "number": "14",
        "name": "PA0-WKUP",
        "type": "bidirectional",
        "description": "5 V tolerant I/O (Default: PA0) with additional ADC012_IN0 analog input and WKUP function, alternates including TIMER1_CH0, TIMER4_CH0, USART1_CTS and UART3_TX."
      },
      {
        "number": "15",
        "name": "PA1",
        "type": "bidirectional",
        "description": "5 V tolerant I/O (Default: PA1) with alternate TIMER1_CH1, TIMER4_CH1, USART1_RTS, UART3_RX and EVENTOUT, and additional ADC012_IN1 analog input."
      },
      {
        "number": "16",
        "name": "PA2",
        "type": "bidirectional",
        "description": "5 V tolerant I/O (Default: PA2) with alternate TIMER1_CH2, TIMER4_CH2, TIMER8_CH0, I2S_CKIN and USART1_TX, and additional ADC012_IN2 analog input."
      },
      {
        "number": "17",
        "name": "PA3",
        "type": "bidirectional",
        "description": "5 V tolerant I/O (Default: PA3) with alternate TIMER1_CH3, TIMER4_CH3, TIMER8_CH1, I2S1_MCK, USART1_RX and USBHS_ULPI_D0, and additional ADC012_IN3 analog input."
      },
      {
        "number": "18",
        "name": "VSS",
        "type": "power_in",
        "description": "Ground pin (Default: VSS)."
      },
      {
        "number": "19",
        "name": "VDD",
        "type": "power_in",
        "description": "Digital supply pin (Default: VDD); the device operates from a 2.6 to 3.6 V power supply."
      },
      {
        "number": "20",
        "name": "PA4",
        "type": "bidirectional",
        "description": "I/O with level listed as TTa rather than 5VT (Default: PA4) with alternate SPI0_NSS, SPI2_NSS, I2S2_WS, USART1_CK, USBHS_SOF and DCI_HSYNC, and additional ADC01_IN4 and DAC_OUT0."
      },
      {
        "number": "21",
        "name": "PA5",
        "type": "bidirectional",
        "description": "I/O with level listed as TTa rather than 5VT (Default: PA5) with alternate TIMER1_CH0, TIMER7_CH0_ON, SPI0_SCK and USBHS_ULPI_CK, and additional ADC01_IN5 and DAC_OUT1."
      },
      {
        "number": "22",
        "name": "PA6",
        "type": "bidirectional",
        "description": "5 V tolerant I/O (Default: PA6) with alternate TIMER0_BRKIN, TIMER2_CH0, SPI0_MISO, I2S1_MCK, SDIO_CMD and DCI_PIXCLK, and additional ADC01_IN6 analog input."
      },
      {
        "number": "23",
        "name": "PA7",
        "type": "bidirectional",
        "description": "5 V tolerant I/O (Default: PA7) with alternate TIMER0_CH0_ON, TIMER2_CH1, TIMER7_CH0_ON, SPI0_MOSI and TIMER13_CH0, and additional ADC01_IN7 analog input."
      },
      {
        "number": "24",
        "name": "PC4",
        "type": "bidirectional",
        "description": "5 V tolerant I/O (Default: PC4) with alternate EVENTOUT and additional ADC01_IN14 analog input."
      },
      {
        "number": "25",
        "name": "PC5",
        "type": "bidirectional",
        "description": "5 V tolerant I/O (Default: PC5) with alternate USART2_RX and EVENTOUT, and additional ADC01_IN15 analog input."
      },
      {
        "number": "26",
        "name": "PB0",
        "type": "bidirectional",
        "description": "5 V tolerant I/O (Default: PB0) with alternate TIMER0_CH1_ON, TIMER2_CH2, SPI2_MOSI, I2S2_SD, USBHS_ULPI_D1 and SDIO_D1, and additional ADC01_IN8 and IREF."
      },
      {
        "number": "27",
        "name": "PB1",
        "type": "bidirectional",
        "description": "5 V tolerant I/O (Default: PB1) with alternate TIMER0_CH2_ON, TIMER2_CH3, TIMER7_CH2_ON, USBHS_ULPI_D2 and SDIO_D2, and additional ADC01_IN9 analog input."
      },
      {
        "number": "28",
        "name": "PB2",
        "type": "bidirectional",
        "description": "5 V tolerant I/O (Default: PB2, BOOT1) with alternate TIMER1_CH3, SPI2_MOSI, I2S2_SD, USBHS_ULPI_D4 and SDIO_CK."
      },
      {
        "number": "29",
        "name": "PB10",
        "type": "bidirectional",
        "description": "5 V tolerant I/O (Default: PB10) with alternate TIMER1_CH2, I2C1_SCL, SPI1_SCK, I2S1_CK, I2S2_MCK, USART2_TX, USBHS_ULPI_D3 and SDIO_D7."
      },
      {
        "number": "30",
        "name": "PB11",
        "type": "bidirectional",
        "description": "5 V tolerant I/O (Default: PB11) with alternate TIMER1_CH3, I2C1_SDA, I2S_CKIN, USART2_RX and USBHS_ULPI_D4."
      },
      {
        "number": "31",
        "name": "NC",
        "type": "unconnected",
        "description": "Pin printed as NC in the pin definition table with default function VCORE and type P; the datasheet gives no voltage or limit for it."
      },
      {
        "number": "32",
        "name": "VDD",
        "type": "power_in",
        "description": "Digital supply pin (Default: VDD); the device operates from a 2.6 to 3.6 V power supply."
      },
      {
        "number": "33",
        "name": "PB12",
        "type": "bidirectional",
        "description": "5 V tolerant I/O (Default: PB12) with alternate TIMER0_BRKIN, I2C1_SMBA, SPI1_NSS, I2S1_WS, USART2_CK, CAN1_RX, USBHS_ULPI_D5, USBHS_ID and EVENTOUT."
      },
      {
        "number": "34",
        "name": "PB13",
        "type": "bidirectional",
        "description": "5 V tolerant I/O (Default: PB13) with alternate TIMER0_CH0_ON, SPI1_SCK, I2S1_CK, USART2_CTS, CAN1_TX and USBHS_ULPI_D6, and additional USBHS_VBUS function."
      },
      {
        "number": "35",
        "name": "PB14",
        "type": "bidirectional",
        "description": "5 V tolerant I/O (Default: PB14) with alternate TIMER0_CH1_ON, TIMER7_CH1_ON, SPI1_MISO, I2S1_ADD_SD, USART2_RTS, TIMER11_CH0 and USBHS_DM."
      },
      {
        "number": "36",
        "name": "PB15",
        "type": "bidirectional",
        "description": "5 V tolerant I/O (Default: PB15) with alternate RTC_REFIN, TIMER0_CH2_ON, TIMER7_CH2_ON, SPI1_MOSI, I2S1_SD, TIMER11_CH1 and USBHS_DP."
      },
      {
        "number": "37",
        "name": "PC6",
        "type": "bidirectional",
        "description": "5 V tolerant I/O (Default: PC6) with alternate TIMER2_CH0, TIMER7_CH0, I2S1_MCK, USART5_TX, SDIO_D6 and DCI_D0."
      },
      {
        "number": "38",
        "name": "PC7",
        "type": "bidirectional",
        "description": "5 V tolerant I/O (Default: PC7) with alternate TIMER2_CH1, TIMER7_CH1, SPI1_SCK, I2S1_CK, I2S2_MCK, USART5_RX, SDIO_D7 and DCI_D1."
      },
      {
        "number": "39",
        "name": "PC8",
        "type": "bidirectional",
        "description": "5 V tolerant I/O (Default: PC8) with alternate TRACED0, TIMER2_CH2, TIMER7_CH2, USART5_CK, SDIO_D0 and DCI_D2."
      },
      {
        "number": "40",
        "name": "PC9",
        "type": "bidirectional",
        "description": "5 V tolerant I/O (Default: PC9) with alternate CK_OUT1, TIMER2_CH3, TIMER7_CH3, I2C2_SDA, I2S_CKIN, SDIO_D1 and DCI_D3."
      },
      {
        "number": "41",
        "name": "PA8",
        "type": "bidirectional",
        "description": "5 V tolerant I/O (Default: PA8) with alternate CK_OUT0, TIMER0_CH0, I2C2_SCL, USART0_CK, CTC_SYNC, USBFS_SOF and SDIO_D1."
      },
      {
        "number": "42",
        "name": "PA9",
        "type": "bidirectional",
        "description": "5 V tolerant I/O (Default: PA9) with alternate TIMER0_CH1, I2C2_SMBA, SPI1_SCK, I2S1_CK, USART0_TX, SDIO_D2 and DCI_D0, and additional USBFS_VBUS function."
      },
      {
        "number": "43",
        "name": "PA10",
        "type": "bidirectional",
        "description": "5 V tolerant I/O (Default: PA10) with alternate TIMER0_CH2, I2C2_TXFRAME, USART0_RX, USBFS_ID and DCI_D1."
      },
      {
        "number": "44",
        "name": "PA11",
        "type": "bidirectional",
        "description": "5 V tolerant I/O (Default: PA11) with alternate TIMER0_CH3, USART0_CTS, USART5_TX, CAN0_RX and USBFS_DM."
      },
      {
        "number": "45",
        "name": "PA12",
        "type": "bidirectional",
        "description": "5 V tolerant I/O (Default: PA12) with alternate TIMER0_ETI, USART0_RTS, USART5_RX, CAN0_TX and USBFS_DP."
      },
      {
        "number": "46",
        "name": "PA13",
        "type": "bidirectional",
        "description": "5 V tolerant I/O with default function JTMS/SWDIO (Default: JTMS, SWDIO, PA13) and alternate EVENTOUT."
      },
      {
        "number": "47",
        "name": "NC",
        "type": "unconnected",
        "description": "Not connected (NC) on the LQFP64 package; the table gives no function for this pin."
      },
      {
        "number": "48",
        "name": "VDD",
        "type": "power_in",
        "description": "Digital supply pin (Default: VDD); the device operates from a 2.6 to 3.6 V power supply."
      },
      {
        "number": "49",
        "name": "PA14",
        "type": "bidirectional",
        "description": "5 V tolerant I/O with default function JTCK/SWCLK (Default: JTCK, SWCLK, PA14) and alternate EVENTOUT."
      },
      {
        "number": "50",
        "name": "PA15",
        "type": "bidirectional",
        "description": "5 V tolerant I/O with default function JTDI (Default: JTDI, PA15) and alternates TIMER1_CH0, TIMER1_ETI, SPI0_NSS, SPI2_NSS, I2S2_WS and USART0_TX."
      },
      {
        "number": "51",
        "name": "PC10",
        "type": "bidirectional",
        "description": "5 V tolerant I/O (Default: PC10) with alternate SPI2_SCK, I2S2_CK, USART2_TX, UART3_TX, SDIO_D2 and DCI_D8."
      },
      {
        "number": "52",
        "name": "PC11",
        "type": "bidirectional",
        "description": "5 V tolerant I/O (Default: PC11) with alternate I2S2_ADD_SD, SPI2_MISO, USART2_RX, UART3_RX, SDIO_D3 and DCI_D4."
      },
      {
        "number": "53",
        "name": "PC12",
        "type": "bidirectional",
        "description": "5 V tolerant I/O (Default: PC12) with alternate I2C1_SDA, SPI2_MOSI, I2S2_SD, USART2_CK, UART4_TX, SDIO_CK and DCI_D9."
      },
      {
        "number": "54",
        "name": "PD2",
        "type": "bidirectional",
        "description": "5 V tolerant I/O (Default: PD2) with alternate TIMER2_ETI, UART4_RX, SDIO_CMD and DCI_D11."
      },
      {
        "number": "55",
        "name": "PB3",
        "type": "bidirectional",
        "description": "5 V tolerant I/O with default function JTDO (Default: JTDO, PB3) with alternate TRACESWO, TIMER1_CH1, SPI0_SCK, SPI2_SCK, I2S2_CK, USART0_RX and I2C1_SDA."
      },
      {
        "number": "56",
        "name": "PB4",
        "type": "bidirectional",
        "description": "5 V tolerant I/O with default function NJTRST (Default: NJTRST, PB4) with alternate TIMER2_CH0, SPI0_MISO, SPI2_MISO, I2S2_ADD_SD, I2C2_SDA and SDIO_D0."
      },
      {
        "number": "57",
        "name": "PB5",
        "type": "bidirectional",
        "description": "5 V tolerant I/O (Default: PB5) with alternate TIMER2_CH1, I2C0_SMBA, SPI0_MOSI, SPI2_MOSI, I2S2_SD, CAN1_RX, USBHS_ULPI_D7, ETH_PPS_OUT and DCI_D10."
      },
      {
        "number": "58",
        "name": "PB6",
        "type": "bidirectional",
        "description": "5 V tolerant I/O (Default: PB6) with alternate TIMER3_CH0, I2C0_SCL, USART0_TX, CAN1_TX and DCI_D5."
      },
      {
        "number": "59",
        "name": "PB7",
        "type": "bidirectional",
        "description": "5 V tolerant I/O (Default: PB7) with alternate TIMER3_CH1, I2C0_SDA, USART0_RX and DCI_VSYNC."
      },
      {
        "number": "60",
        "name": "BOOT0",
        "type": "bidirectional",
        "description": "5 V tolerant I/O (Default: BOOT0) with no alternate function listed in the pin table."
      },
      {
        "number": "61",
        "name": "PB8",
        "type": "bidirectional",
        "description": "5 V tolerant I/O (Default: PB8) with alternate TIMER1_CH0, TIMER1_ETI, TIMER3_CH2, TIMER9_CH0, I2C0_SCL, CAN0_RX, SDIO_D4 and DCI_D6."
      },
      {
        "number": "62",
        "name": "PB9",
        "type": "bidirectional",
        "description": "5 V tolerant I/O (Default: PB9) with alternate TIMER1_CH1, TIMER3_CH3, TIMER10_CH0, I2C0_SDA, SPI1_NSS, I2S1_WS, CAN0_TX, SDIO_D5 and DCI_D7."
      },
      {
        "number": "63",
        "name": "VSS",
        "type": "power_in",
        "description": "Ground pin (Default: VSS)."
      },
      {
        "number": "64",
        "name": "VDD",
        "type": "power_in",
        "description": "Digital supply pin (Default: VDD); the device operates from a 2.6 to 3.6 V power supply."
      }
    ],
    "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: Pin table lists pin 31 as NC with default function VCORE and type P, and the LQFP64 figure places a ; Pin 47 is NC in the LQFP64 column of Table 2; no function is given.; PA4 and PA5 have I/O level TTa rather than 5VT in the pin table; the extracted text does not define "
        ],
        "pages_sent": 35,
        "cost_usd": 0.2063,
        "at": "2026-10-18T11:01:47"
      },
      "datasheet": {
        "url": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8588920846778052608",
        "pages": 60,
        "sha256": "b2de30485fb26059",
        "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": "gd32f405ret6.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": "gd32f405ret6-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": "f1159f4b1069d317b498ffbe2254d41013d0bb084fffcf16cce536c130182fc6",
        "checked": "2026-10-18",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      }
    ]
  }
}