main
Ray Publish 0.1.0 63bbbbe 8d ago
{
  "slug": "ch32f203cbt6",
  "version": "0.1.0",
  "type": "component",
  "description": "WCH Jiangsu Qin Heng Microcontrollers (MCU/MPU/SOC), LQFP-48(7x7). Pinout cross-checked by two models against the datasheet, KiCad symbol/footprint/3D.",
  "tags": [
    "component",
    "embedded processors & controllers",
    "ch32f203cbt6",
    "factory-2.0.0",
    "extractor-text"
  ],
  "dependencies": {},
  "hero": {
    "type": "image",
    "path": "docs/hero.png"
  },
  "files": [
    "page.json",
    "README.md",
    "ch32f203cbt6.kicad_sym",
    "ch32f203cbt6.kicad_mod",
    "ch32f203cbt6.glb",
    "ch32f203cbt6.step",
    "ch32f203cbt6.lbr",
    "docs/hero.png",
    "docs/ch32f203cbt6-datasheet.pdf",
    "viewers/symbol.html",
    "viewers/footprint.html",
    "ch32f203cbt6-hero.glb",
    "ch32f203cbt6-hero.overlay.json",
    "ch32f203cbt6-etched.glb"
  ],
  "component": {
    "mpn": "CH32F203CBT6",
    "manufacturer": "WCH Jiangsu Qin Heng",
    "package": "LQFP-48(7x7)",
    "pin_count": 48,
    "category": "Embedded Processors & Controllers",
    "subcategory": "Microcontrollers (MCU/MPU/SOC)",
    "datasheet": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8567438510215741440",
    "parts": {
      "symbol": "ch32f203cbt6.kicad_sym",
      "footprint": "ch32f203cbt6.kicad_mod",
      "model_3d": "ch32f203cbt6-hero.glb",
      "model_3d_plain": "ch32f203cbt6-etched.glb",
      "model_3d_step": "ch32f203cbt6-etched.step",
      "model_3d_step_plain": "ch32f203cbt6.step",
      "lbr": "ch32f203cbt6.lbr"
    },
    "distributor_links": {
      "lcsc": "C5155973"
    },
    "distributor_check": {
      "checked_at": "2026-10-19T06:15:46Z",
      "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 supply of 1.8-3.6V that independently powers the RTC, the external low-frequency oscillator and the backup registers when VDD is turned off."
      },
      {
        "number": "2",
        "name": "PC13/TAMPER-RTC",
        "type": "bidirectional",
        "description": "GPIO powered through the power switch, which can only absorb 3mA; when used as an output only one of PC13-PC15 may be an output at a time, only in 2MHz mode, with a maximum load of 30pF and no current-source use."
      },
      {
        "number": "3",
        "name": "PC14/OSC32_IN",
        "type": "bidirectional",
        "description": "GPIO powered through the backup power switch (3mA limit shared with PC13/PC15, 2MHz output mode, 30pF max load) that doubles as the 32.768 kHz low-speed oscillator input OSC32_IN."
      },
      {
        "number": "4",
        "name": "PC15/OSC32_OUT",
        "type": "bidirectional",
        "description": "GPIO powered through the backup power switch (3mA limit shared with PC13/PC14, 2MHz output mode, 30pF max load) that doubles as the low-speed oscillator output OSC32_OUT."
      },
      {
        "number": "5",
        "name": "OSC_IN/PD0",
        "type": "input",
        "description": "High-speed external oscillator input (3-25MHz) that is OSC_IN by default after reset and can be reconfigured as PD0 by software."
      },
      {
        "number": "6",
        "name": "OSC_OUT/PD1",
        "type": "output",
        "description": "High-speed external oscillator output that is OSC_OUT by default after reset and can be reconfigured as PD1 by software."
      },
      {
        "number": "7",
        "name": "NRST",
        "type": "input",
        "description": "External reset input on NRST; an external reset on this pin also exits Stop and Standby modes."
      },
      {
        "number": "8",
        "name": "VSSA",
        "type": "power_in",
        "description": "Analog ground for the analog circuitry (ADC, DAC, temperature sensor, PLL and high-frequency RC oscillator)."
      },
      {
        "number": "9",
        "name": "VDDA",
        "type": "power_in",
        "description": "Analog supply of 2.4-3.6V for the high-frequency RC oscillator, ADC, temperature sensor, DAC and PLL, which must equal VI/O and be at least 2.4V when the ADC is used."
      },
      {
        "number": "10",
        "name": "PA0/WKUP/ADC0",
        "type": "bidirectional",
        "description": "GPIO with WKUP wake-up function (rising edge on WKUP wakes from Standby), ADC_IN0 analog input, and timer and USART2_CTS alternate functions."
      },
      {
        "number": "11",
        "name": "PA1/ADC1",
        "type": "bidirectional",
        "description": "GPIO with ADC_IN1 analog input and alternate functions including USART2_RTS, TIM5_CH2 and TIM2_CH2."
      },
      {
        "number": "12",
        "name": "PA2/ADC2",
        "type": "bidirectional",
        "description": "GPIO with ADC_IN2 analog input and alternate functions including USART2_TX, TIM5_CH3, TIM2_CH3 and TIM9_CH1."
      },
      {
        "number": "13",
        "name": "PA3/ADC3",
        "type": "bidirectional",
        "description": "GPIO with ADC_IN3 analog input and alternate functions including USART2_RX, TIM5_CH4, TIM2_CH4 and TIM9_CH2."
      },
      {
        "number": "14",
        "name": "PA4/ADC4/DAC0",
        "type": "bidirectional",
        "description": "GPIO with ADC_IN4 analog input and DAC_OUT1 analog output, plus alternate functions including SPI1_NSS, USART2_CK, SPI3_NSS and I2S3_WS."
      },
      {
        "number": "15",
        "name": "PA5/ADC5/DAC1",
        "type": "bidirectional",
        "description": "GPIO with ADC_IN5 analog input and DAC_OUT2 analog output, plus alternate functions including SPI1_SCK and DVP_VSYNC."
      },
      {
        "number": "16",
        "name": "PA6/ADC6",
        "type": "bidirectional",
        "description": "GPIO with ADC_IN6 analog input, plus alternate functions including SPI1_MISO, TIM8_BKIN, TIM3_CH1 and DVP_PCLK."
      },
      {
        "number": "17",
        "name": "PA7/ADC7",
        "type": "bidirectional",
        "description": "GPIO with ADC_IN7 analog input, plus alternate functions including SPI1_MOSI, TIM8_CH1N, TIM3_CH2 and ETH_MII_RX_DV."
      },
      {
        "number": "18",
        "name": "PB0/ADC8",
        "type": "bidirectional",
        "description": "GPIO with ADC_IN8 analog input, plus alternate functions including TIM3_CH3, TIM8_CH2N, OPA1_CH1P and ETH_MII_RXD2."
      },
      {
        "number": "19",
        "name": "PB1/ADC9",
        "type": "bidirectional",
        "description": "GPIO with ADC_IN9 analog input, plus alternate functions including TIM3_CH4, TIM8_CH3N, OPA4_CH0N and ETH_MII_RXD3."
      },
      {
        "number": "20",
        "name": "PB2/BOOT1",
        "type": "bidirectional",
        "description": "5V-tolerant (FT) GPIO that also serves as the BOOT1 boot-mode input, and is pulled down internally when used as BOOT1 on devices without this pin."
      },
      {
        "number": "21",
        "name": "PB10",
        "type": "bidirectional",
        "description": "5V-tolerant (FT) GPIO with I2C2_SCL, USART3_TX, OPA2_CH0N, ETH_MII_RX_ER and TIM2_CH3/TIM10_BKIN alternate functions."
      },
      {
        "number": "22",
        "name": "PB11",
        "type": "bidirectional",
        "description": "5V-tolerant (FT) GPIO with I2C2_SDA, USART3_RX, OPA1_CH0N, ETH_MII_TX_EN and TIM2_CH4/TIM10_ETR alternate functions."
      },
      {
        "number": "23",
        "name": "VSS_1",
        "type": "power_in",
        "description": "Ground pin for the I/O domain."
      },
      {
        "number": "24",
        "name": "VDD_I/O_1",
        "type": "power_in",
        "description": "I/O supply of 2.4-3.6V that powers most I/O pins and sets their output high level; it must not be higher than VDD during operation."
      },
      {
        "number": "25",
        "name": "PB12",
        "type": "bidirectional",
        "description": "5V-tolerant (FT) GPIO with SPI2_NSS, I2S2_WS, I2C2_SMBA, USART3_CK, TIM1_BKIN, OPA4_CH0P, CAN2_RX and ETH_MII_TXD0 alternate functions."
      },
      {
        "number": "26",
        "name": "PB13",
        "type": "bidirectional",
        "description": "5V-tolerant (FT) GPIO with SPI2_SCK, I2S2_CK, USART3_CTS, TIM1_CH1N, OPA3_CH0P, CAN2_TX and ETH_MII_TXD1 alternate functions."
      },
      {
        "number": "27",
        "name": "PB14",
        "type": "bidirectional",
        "description": "5V-tolerant (FT) GPIO with SPI2_MISO, TIM1_CH2N, USART3_RTS and OPA2_CH0P alternate functions."
      },
      {
        "number": "28",
        "name": "PB15",
        "type": "bidirectional",
        "description": "5V-tolerant (FT) GPIO with SPI2_MOSI/I2S2_SD, TIM1_CH3N/OPA1_CH0P and USART1_TX_2 alternate functions."
      },
      {
        "number": "29",
        "name": "PA8",
        "type": "bidirectional",
        "description": "5V-tolerant (FT) GPIO with USART1_CK, TIM1_CH1 and MCO (microcontroller clock output) alternate functions."
      },
      {
        "number": "30",
        "name": "PA9",
        "type": "bidirectional",
        "description": "5V-tolerant (FT) GPIO with USART1_TX, TIM1_CH2, OTG_FS_VBUS and DVP_D0 alternate functions."
      },
      {
        "number": "31",
        "name": "PA10",
        "type": "bidirectional",
        "description": "5V-tolerant (FT) GPIO with USART1_RX, TIM1_CH3, OTG_FS_ID and DVP_D1 alternate functions."
      },
      {
        "number": "32",
        "name": "PA11/USB1DM",
        "type": "bidirectional",
        "description": "5V-tolerant (FT) GPIO with USB full-speed D- (USBDM) and OTG_FS_DM, plus USART1_CTS, CAN1_RX and TIM1_CH4 alternate functions."
      },
      {
        "number": "33",
        "name": "PA12/USB1DP",
        "type": "bidirectional",
        "description": "5V-tolerant (FT) GPIO with USB full-speed D+ (USBDP) and OTG_FS_DP, plus USART1_RTS, CAN1_TX and TIM1_ETR alternate functions."
      },
      {
        "number": "34",
        "name": "PA13/SWDIO",
        "type": "bidirectional",
        "description": "5V-tolerant (FT) serial-wire debug data pin SWDIO, enabled by default after power-on or reset, with TIM10_CH2N and TIM8_CH1N_1 alternate functions."
      },
      {
        "number": "35",
        "name": "VSS_2",
        "type": "power_in",
        "description": "Ground pin for the digital supply domain."
      },
      {
        "number": "36",
        "name": "VDD_2",
        "type": "power_in",
        "description": "System digital supply of 2.4-3.6V that powers some I/O pins and the internal voltage regulator."
      },
      {
        "number": "37",
        "name": "PA14/SWCLK",
        "type": "bidirectional",
        "description": "5V-tolerant (FT) serial-wire debug clock SWCLK, enabled by default after power-on or reset, with TIM10_CH3N, TIM8_CH2N_1 and UART8_TX_1 alternate functions."
      },
      {
        "number": "38",
        "name": "PA15",
        "type": "bidirectional",
        "description": "5V-tolerant (FT) GPIO with SPI3_NSS, I2S3_WS, TIM2_CH1_ETR, SPI1_NSS, TIM8_CH3N_1 and UART8_RX_1 alternate functions."
      },
      {
        "number": "39",
        "name": "PB3",
        "type": "bidirectional",
        "description": "5V-tolerant (FT) GPIO with SPI3_SCK, I2S3_CK, TRACESWO, TIM2_CH2_1 and SPI1_SCK alternate functions."
      },
      {
        "number": "40",
        "name": "PB4",
        "type": "bidirectional",
        "description": "5V-tolerant (FT) GPIO with SPI3_MISO, TIM3_CH1_2, SPI1_MISO, UART5_TX_1 and TIM10_CH2_1 alternate functions."
      },
      {
        "number": "41",
        "name": "PB5",
        "type": "bidirectional",
        "description": "GPIO with I2C1_SMBA, SPI3_MOSI, I2S3_SD, ETH_MII_PPS_OUT, SPI1_MOSI and CAN2_RX alternate functions; the table gives no FT (5V-tolerant) rating for this pin."
      },
      {
        "number": "42",
        "name": "PB6",
        "type": "bidirectional",
        "description": "5V-tolerant (FT) GPIO with I2C1_SCL, TIM4_CH1, USBFS_DM/USBHS_DM, DVP_D5, USART1_TX_1 and CAN2_TX alternate functions."
      },
      {
        "number": "43",
        "name": "PB7",
        "type": "bidirectional",
        "description": "5V-tolerant (FT) GPIO with I2C1_SDA, FSMC_NADV, TIM4_CH2, USBFS_DP/USBHS_DP, USART1_RX_1 and TIM8_CH2_1 alternate functions."
      },
      {
        "number": "44",
        "name": "BOOT0",
        "type": "input",
        "description": "Boot-mode select input that is sampled at startup together with BOOT1 (PB2) to choose boot from program flash, system memory or internal SRAM."
      },
      {
        "number": "45",
        "name": "PB8",
        "type": "bidirectional",
        "description": "5V-tolerant (FT) GPIO with TIM4_CH3, SDIO_D4, TIM10_CH1, DVP_D6, I2C1_SCL, CAN1_RX and UART6_TX_1 alternate functions."
      },
      {
        "number": "46",
        "name": "PB9",
        "type": "bidirectional",
        "description": "5V-tolerant (FT) GPIO with TIM4_CH4, SDIO_D5, TIM10_CH2, DVP_D7, I2C1_SDA, CAN1_TX and UART6_RX_1 alternate functions."
      },
      {
        "number": "47",
        "name": "VSS_3",
        "type": "power_in",
        "description": "Ground pin for the I/O domain."
      },
      {
        "number": "48",
        "name": "VDD_I/O_3",
        "type": "power_in",
        "description": "I/O supply of 2.4-3.6V that powers most I/O pins and sets their output high level; it must not be higher than VDD during operation."
      }
    ],
    "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 LQFP48 pinout is not presented as a titled diagram. I took pin numbers from the LQFP48 column of; Naming inconsistency: Table 3-1 names pins 24 and 48 VDD_I/O_1 and VDD_I/O_3, while the page 21 diag; Note 4 on OSC_IN/OSC_OUT (PD0/PD1 reconfiguration) explicitly refers to the LQFP64M package. The LQF",
          "3/48 pins cited to the wrong page (name found elsewhere): ['24:VDD_I/O_1@p11', '36:VDD_2@p11', '48:VDD_I/O_3@p11']"
        ],
        "pages_sent": 24,
        "cost_usd": 0.1693,
        "at": "2026-10-19T06:15:24"
      },
      "datasheet": {
        "url": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8567438510215741440",
        "pages": 69,
        "sha256": "4b7f09894a062d50",
        "source_tier": "lcsc"
      },
      "cad": "KiCad official (CC-BY-SA 4.0)",
      "pins": {
        "total": 48,
        "described": 48,
        "cites_pages": true,
        "refuses_to_fabricate": true
      }
    },
    "viewers": {
      "symbol": "viewers/symbol.html",
      "footprint": "viewers/footprint.html"
    },
    "models_3d": [
      {
        "file": "ch32f203cbt6.step",
        "role": "plain",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "z = 0",
        "extents_mm": [
          9.0,
          9.0,
          1.5
        ],
        "zmin_mm": -0.0,
        "centre_offset_mm": 0.0,
        "footprint_binding": "identity",
        "sha256": "9dea352d93177c2904afd7d7b68ea8855ce1ab691f69f8b3e13655600514b6bf",
        "checked": "2026-10-19",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      },
      {
        "file": "ch32f203cbt6-etched.step",
        "role": "eda",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "z = 0",
        "extents_mm": [
          9.0,
          9.0,
          1.5
        ],
        "zmin_mm": -0.0,
        "centre_offset_mm": 0.0,
        "footprint_binding": "identity",
        "sha256": "ae4ab1dab8586a7ca36ad1e9cf317a4e3935184cd83479062d4b6ea3e6e23727",
        "checked": "2026-10-19",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      }
    ]
  }
}