component
GD32F407RET6
Public Made by Adomby adom
GigaDevice Semicon Beijing Microcontrollers (MCU/MPU/SOC), LQFP-64(10x10). Pinout cross-checked by two models against the datasheet, KiCad symbol/footprint/3D.
main
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528
{
"slug": "gd32f407ret6",
"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",
"gd32f407ret6",
"factory-2.0.0",
"extractor-text"
],
"dependencies": {},
"hero": {
"type": "image",
"path": "docs/hero.png"
},
"files": [
"page.json",
"README.md",
"gd32f407ret6.kicad_sym",
"gd32f407ret6.kicad_mod",
"gd32f407ret6.glb",
"gd32f407ret6.step",
"gd32f407ret6.lbr",
"docs/hero.png",
"docs/gd32f407ret6-datasheet.pdf",
"viewers/symbol.html",
"viewers/footprint.html",
"gd32f407ret6-hero.glb",
"gd32f407ret6-hero.overlay.json",
"gd32f407ret6-etched.glb"
],
"component": {
"mpn": "GD32F407RET6",
"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/8588894267603628032",
"parts": {
"symbol": "gd32f407ret6.kicad_sym",
"footprint": "gd32f407ret6.kicad_mod",
"model_3d": "gd32f407ret6-hero.glb",
"model_3d_plain": "gd32f407ret6-etched.glb",
"model_3d_step": "gd32f407ret6-etched.step",
"model_3d_step_plain": "gd32f407ret6.step",
"lbr": "gd32f407ret6.lbr"
},
"distributor_links": {
"lcsc": "C2688748"
},
"distributor_check": {
"checked_at": "2026-10-20T10:03:41Z",
"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 pin (default function VBAT); the block diagram labels the backup domain as 'Powered By VBAT'."
},
{
"number": "2",
"name": "PC13-TAMPER-RTC",
"type": "bidirectional",
"description": "5 V tolerant GPIO (default PC13) with additional functions RTC_TAMP0, RTC_OUT and RTC_TS, and alternate function EVENTOUT."
},
{
"number": "3",
"name": "PC14-OSC32IN",
"type": "bidirectional",
"description": "5 V tolerant GPIO (default PC14) that also serves as the OSC32IN low-speed oscillator input, with alternate function EVENTOUT."
},
{
"number": "4",
"name": "PC15-OSC32OUT",
"type": "bidirectional",
"description": "5 V tolerant GPIO (default PC15) that also serves as the OSC32OUT low-speed oscillator output, with alternate function EVENTOUT."
},
{
"number": "5",
"name": "PH0-OSC_IN",
"type": "bidirectional",
"description": "5 V tolerant GPIO (default PH0) that also serves as the high-speed oscillator input OSCIN, with alternate function EVENTOUT."
},
{
"number": "6",
"name": "PH1-OSC_OUT",
"type": "bidirectional",
"description": "5 V tolerant GPIO (default PH1) that also serves as the high-speed oscillator output OSCOUT, with alternate function EVENTOUT."
},
{
"number": "7",
"name": "NRST",
"type": "input",
"description": "Device reset pin (default function NRST); the pin table gives no further electrical limits for this pin."
},
{
"number": "8",
"name": "PC0",
"type": "bidirectional",
"description": "5 V tolerant GPIO with ADC012_IN10 analog input; alternate functions are USBHS_ULPI_STP, EXMC_SDNWE and EVENTOUT."
},
{
"number": "9",
"name": "PC1",
"type": "bidirectional",
"description": "5 V tolerant GPIO with ADC012_IN11 analog input; alternate functions include SPI2_MOSI/I2S2_SD, SPI1_MOSI/I2S1_SD, ETH_MDC and EVENTOUT."
},
{
"number": "10",
"name": "PC2",
"type": "bidirectional",
"description": "5 V tolerant GPIO with ADC012_IN12 analog input; alternate functions include SPI1_MISO, I2S1_ADD_SD, USBHS_ULPI_DIR, ETH_MII_TXD2 and EXMC_SDNE0."
},
{
"number": "11",
"name": "PC3",
"type": "bidirectional",
"description": "5 V tolerant GPIO with ADC012_IN13 analog input; alternate functions include SPI1_MOSI/I2S1_SD, USBHS_ULPI_NXT, ETH_MII_TX_CLK and EXMC_SDCKE0."
},
{
"number": "12",
"name": "VSSA",
"type": "power_in",
"description": "Analog ground pin (default function VSSA)."
},
{
"number": "13",
"name": "VDDA",
"type": "power_in",
"description": "Analog supply pin (default function VDDA); the block diagram shows the SAR ADC and DAC powered by VDDA."
},
{
"number": "14",
"name": "PA0-WKUP",
"type": "bidirectional",
"description": "5 V tolerant GPIO with ADC012_IN0 analog input and a WKUP function; alternate functions include TIMER1_CH0, TIMER4_CH0, USART1_CTS, UART3_TX and ETH_MII_CRS."
},
{
"number": "15",
"name": "PA1",
"type": "bidirectional",
"description": "5 V tolerant GPIO with ADC012_IN1 analog input; alternate functions include TIMER1_CH1, TIMER4_CH1, USART1_RTS, UART3_RX and ETH_RMII_REF_CLK."
},
{
"number": "16",
"name": "PA2",
"type": "bidirectional",
"description": "5 V tolerant GPIO with ADC012_IN2 analog input; alternate functions include TIMER1_CH2, TIMER4_CH2, TIMER8_CH0, I2S_CKIN, USART1_TX and ETH_MDIO."
},
{
"number": "17",
"name": "PA3",
"type": "bidirectional",
"description": "5 V tolerant GPIO with ADC012_IN3 analog input; alternate functions include TIMER1_CH3, TIMER4_CH3, TIMER8_CH1, I2S1_MCK, USART1_RX and USBHS_ULPI_D0."
},
{
"number": "18",
"name": "VSS",
"type": "power_in",
"description": "Ground pin (default function VSS)."
},
{
"number": "19",
"name": "VDD",
"type": "power_in",
"description": "Digital supply pin (default function VDD); the pin table gives no numeric voltage limits for this pin."
},
{
"number": "20",
"name": "PA4",
"type": "bidirectional",
"description": "I/O with TTa level (as printed in Table 2) and ADC01_IN4 and DAC_OUT0 functions; alternate functions include SPI0_NSS, SPI2_NSS/I2S2_WS, USART1_CK, USBHS_SOF and DCI_HSYNC."
},
{
"number": "21",
"name": "PA5",
"type": "bidirectional",
"description": "I/O with TTa level (as printed in Table 2) and ADC01_IN5 and DAC_OUT1 functions; alternate functions include TIMER1_CH0/TIMER1_ETI, TIMER7_CH0_ON, SPI0_SCK and USBHS_ULPI_CK."
},
{
"number": "22",
"name": "PA6",
"type": "bidirectional",
"description": "5 V tolerant GPIO with ADC01_IN6 analog input; alternate functions include TIMER0_BRKIN, TIMER2_CH0, SPI0_MISO, I2S1_MCK, SDIO_CMD and DCI_PIXCLK."
},
{
"number": "23",
"name": "PA7",
"type": "bidirectional",
"description": "5 V tolerant GPIO with ADC01_IN7 analog input; alternate functions include TIMER0_CH0_ON, TIMER2_CH1, SPI0_MOSI, ETH_MII_RX_DV, ETH_RMII_CRS_DV and EXMC_SDNWE."
},
{
"number": "24",
"name": "PC4",
"type": "bidirectional",
"description": "5 V tolerant GPIO with ADC01_IN14 analog input; alternate functions include ETH_MII_RXD0, ETH_RMII_RXD0 and EXMC_SDNE0."
},
{
"number": "25",
"name": "PC5",
"type": "bidirectional",
"description": "5 V tolerant GPIO with ADC01_IN15 analog input; alternate functions include USART2_RX, ETH_MII_RXD1, ETH_RMII_RXD1 and EXMC_SDCKE0."
},
{
"number": "26",
"name": "PB0",
"type": "bidirectional",
"description": "5 V tolerant GPIO with ADC01_IN8 and IREF functions; alternate functions include TIMER0_CH1_ON, TIMER2_CH2, SPI2_MOSI/I2S2_SD, USBHS_ULPI_D1, ETH_MII_RXD2 and SDIO_D1."
},
{
"number": "27",
"name": "PB1",
"type": "bidirectional",
"description": "5 V tolerant GPIO with ADC01_IN9 analog input; alternate functions include TIMER0_CH2_ON, TIMER2_CH3, TIMER7_CH2_ON, USBHS_ULPI_D2, ETH_MII_RXD3 and SDIO_D2."
},
{
"number": "28",
"name": "PB2",
"type": "bidirectional",
"description": "5 V tolerant GPIO whose default functions are PB2 and BOOT1; alternate functions include TIMER1_CH3, SPI2_MOSI/I2S2_SD, USBHS_ULPI_D4 and SDIO_CK."
},
{
"number": "29",
"name": "PB10",
"type": "bidirectional",
"description": "5 V tolerant GPIO; alternate functions include TIMER1_CH2, I2C1_SCL, SPI1_SCK/I2S1_CK, I2S2_MCK, USART2_TX, USBHS_ULPI_D3, ETH_MII_RX_ER and SDIO_D7."
},
{
"number": "30",
"name": "PB11",
"type": "bidirectional",
"description": "5 V tolerant GPIO; alternate functions include TIMER1_CH3, I2C1_SDA, I2S_CKIN, USART2_RX, USBHS_ULPI_D4 and ETH_MII_TX_EN/ETH_RMII_TX_EN."
},
{
"number": "31",
"name": "NC",
"type": "unconnected",
"description": "Pin is labelled NC in the pin name column but its default function is VCORE (Table 2 type P); the datasheet gives no further limits for it."
},
{
"number": "32",
"name": "VDD",
"type": "power_in",
"description": "Digital supply pin (default function VDD); the pin table gives no numeric voltage limits for this pin."
},
{
"number": "33",
"name": "PB12",
"type": "bidirectional",
"description": "5 V tolerant GPIO; alternate functions include TIMER0_BRKIN, I2C1_SMBA, SPI1_NSS/I2S1_WS, USART2_CK, CAN1_RX, USBHS_ULPI_D5, ETH_MII_TXD0/ETH_RMII_TXD0 and USBHS_ID."
},
{
"number": "34",
"name": "PB13",
"type": "bidirectional",
"description": "5 V tolerant GPIO with additional function USBHS_VBUS; alternate functions include TIMER0_CH0_ON, SPI1_SCK/I2S1_CK, USART2_CTS, CAN1_TX, USBHS_ULPI_D6 and ETH_MII_TXD1/ETH_RMII_TXD1."
},
{
"number": "35",
"name": "PB14",
"type": "bidirectional",
"description": "5 V tolerant GPIO; alternate functions include 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 GPIO; alternate functions include 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 GPIO; alternate functions include TIMER2_CH0, TIMER7_CH0, I2S1_MCK, USART5_TX, SDIO_D6 and DCI_D0."
},
{
"number": "38",
"name": "PC7",
"type": "bidirectional",
"description": "5 V tolerant GPIO; alternate functions include 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 GPIO; alternate functions include TRACED0, TIMER2_CH2, TIMER7_CH2, USART5_CK, SDIO_D0 and DCI_D2."
},
{
"number": "40",
"name": "PC9",
"type": "bidirectional",
"description": "5 V tolerant GPIO; alternate functions include 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 GPIO; alternate functions include CK_OUT0, TIMER0_CH0, I2C2_SCL, USART0_CK, USBFS_SOF, SDIO_D1 and CTC_SYNC."
},
{
"number": "42",
"name": "PA9",
"type": "bidirectional",
"description": "5 V tolerant GPIO with additional function USBFS_VBUS; alternate functions include TIMER0_CH1, I2C2_SMBA, SPI1_SCK/I2S1_CK, USART0_TX, SDIO_D2 and DCI_D0."
},
{
"number": "43",
"name": "PA10",
"type": "bidirectional",
"description": "5 V tolerant GPIO; alternate functions include TIMER0_CH2, USART0_RX, USBFS_ID, DCI_D1 and I2C2_TXFRAME."
},
{
"number": "44",
"name": "PA11",
"type": "bidirectional",
"description": "5 V tolerant GPIO; alternate functions include TIMER0_CH3, USART0_CTS, USART5_TX, CAN0_RX and USBFS_DM."
},
{
"number": "45",
"name": "PA12",
"type": "bidirectional",
"description": "5 V tolerant GPIO; alternate functions include TIMER0_ETI, USART0_RTS, USART5_RX, CAN0_TX and USBFS_DP."
},
{
"number": "46",
"name": "PA13",
"type": "bidirectional",
"description": "5 V tolerant GPIO whose default functions are JTMS and SWDIO (PA13); the only listed alternate function is EVENTOUT."
},
{
"number": "47",
"name": "NC",
"type": "unconnected",
"description": "Not connected on the LQFP64 package (NC in the pin table)."
},
{
"number": "48",
"name": "VDD",
"type": "power_in",
"description": "Digital supply pin (default function VDD); the pin table gives no numeric voltage limits for this pin."
},
{
"number": "49",
"name": "PA14",
"type": "bidirectional",
"description": "5 V tolerant GPIO whose default functions are JTCK and SWCLK (PA14); the only listed alternate function is EVENTOUT."
},
{
"number": "50",
"name": "PA15",
"type": "bidirectional",
"description": "5 V tolerant GPIO whose default functions are JTDI and PA15; alternate functions include TIMER1_CH0, SPI0_NSS, SPI2_NSS/I2S2_WS and USART0_TX."
},
{
"number": "51",
"name": "PC10",
"type": "bidirectional",
"description": "5 V tolerant GPIO; alternate functions include SPI2_SCK/I2S2_CK, USART2_TX, UART3_TX, SDIO_D2 and DCI_D8."
},
{
"number": "52",
"name": "PC11",
"type": "bidirectional",
"description": "5 V tolerant GPIO; alternate functions include I2S2_ADD_SD, SPI2_MISO, USART2_RX, UART3_RX, SDIO_D3 and DCI_D4."
},
{
"number": "53",
"name": "PC12",
"type": "bidirectional",
"description": "5 V tolerant GPIO; alternate functions include 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 GPIO; alternate functions include TIMER2_ETI, UART4_RX, SDIO_CMD and DCI_D11."
},
{
"number": "55",
"name": "PB3",
"type": "bidirectional",
"description": "5 V tolerant GPIO whose default functions are JTDO and PB3; alternate functions include TRACESWO, TIMER1_CH1, SPI0_SCK, SPI2_SCK/I2S2_CK, USART0_RX and I2C1_SDA."
},
{
"number": "56",
"name": "PB4",
"type": "bidirectional",
"description": "5 V tolerant GPIO whose default functions are NJTRST and PB4; alternate functions include TIMER2_CH0, SPI0_MISO, SPI2_MISO, I2C2_SDA and SDIO_D0."
},
{
"number": "57",
"name": "PB5",
"type": "bidirectional",
"description": "5 V tolerant GPIO; alternate functions include 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 GPIO; alternate functions include TIMER3_CH0, I2C0_SCL, USART0_TX, CAN1_TX, EXMC_SDNE1 and DCI_D5."
},
{
"number": "59",
"name": "PB7",
"type": "bidirectional",
"description": "5 V tolerant GPIO; alternate functions include TIMER3_CH1, I2C0_SDA, USART0_RX, EXMC_NL and DCI_VSYNC."
},
{
"number": "60",
"name": "BOOT0",
"type": "input",
"description": "Boot pin with default function BOOT0; Table 2 lists it as a 5 V tolerant I/O and it has no alternate functions, and it selects the boot mode described in section 3.4."
},
{
"number": "61",
"name": "PB8",
"type": "bidirectional",
"description": "5 V tolerant GPIO; alternate functions include TIMER1_CH0/TIMER1_ETI, TIMER3_CH2, TIMER9_CH0, I2C0_SCL, CAN0_RX, ETH_MII_TXD3, SDIO_D4 and DCI_D6."
},
{
"number": "62",
"name": "PB9",
"type": "bidirectional",
"description": "5 V tolerant GPIO; alternate functions include TIMER1_CH1, TIMER3_CH3, TIMER10_CH0, I2C0_SDA, SPI1_NSS/I2S1_WS, CAN0_TX and SDIO_D5."
},
{
"number": "63",
"name": "VSS",
"type": "power_in",
"description": "Ground pin (default function VSS)."
},
{
"number": "64",
"name": "VDD",
"type": "power_in",
"description": "Digital supply pin (default function VDD); the pin table gives no numeric voltage limits for this 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: Pin 31 is printed as NC in the LQFP64 pin column, but its default function in Table 2 is VCORE with ; PA4 and PA5 are marked 'TTa' in Table 2. This level is not defined in the extracted text, which only; The supply voltage limits (VDD, VDDA, VBAT, and related ratings) are in section 4.2 (Table 13), whic"
],
"pages_sent": 41,
"cost_usd": 0.2249,
"at": "2026-10-20T10:03:16"
},
"datasheet": {
"url": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8588894267603628032",
"pages": 69,
"sha256": "d97becb856f2c5c3",
"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": "gd32f407ret6.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-20",
"checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
},
{
"file": "gd32f407ret6-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": "93aca6e123f25e55a2137d9cfa9267ff59286106de6a2ed5c6851e10c18d6487",
"checked": "2026-10-20",
"checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
}
]
}
}