main
Ray Set visibility: public 624d498 9d ago
{
  "schema_version": 1,
  "type": "component",
  "slug": "ch32v303cbt6",
  "title": "CH32V303CBT6",
  "brief": "WCH Jiangsu Qin Heng Microcontrollers (MCU/MPU/SOC), LQFP-48(7x7). Pinout cross-checked by two models against the datasheet, KiCad symbol/footprint/3D.",
  "version": "0.1.0",
  "license": "CC-BY-SA-4.0",
  "tags": [
    "component",
    "embedded processors & controllers",
    "ch32v303cbt6",
    "factory-2.0.0",
    "extractor-text"
  ],
  "component": {
    "mpn": "CH32V303CBT6",
    "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/8786658357216464896",
    "parts": {
      "symbol": "ch32v303cbt6.kicad_sym",
      "footprint": "ch32v303cbt6.kicad_mod",
      "model_3d": "ch32v303cbt6-hero.glb",
      "model_3d_plain": "ch32v303cbt6-etched.glb",
      "model_3d_step": "ch32v303cbt6-etched.step",
      "model_3d_step_plain": "ch32v303cbt6.step",
      "lbr": "ch32v303cbt6.lbr"
    },
    "distributor_links": {
      "lcsc": "C7494374"
    },
    "distributor_check": {
      "checked_at": "2026-10-18T03:08: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 supply input, 1.8-3.6 V, powers the RTC, LSE and backup registers when VDD is removed; keep the battery connection short."
      },
      {
        "number": "2",
        "name": "PC13",
        "type": "bidirectional",
        "description": "GPIO, TAMPER-RTC input and RTC alarm/second output; when powered from VDD it is limited to 2 MHz with 30 pF load and cannot source LED current."
      },
      {
        "number": "3",
        "name": "PC14/OSC32_IN",
        "type": "bidirectional",
        "description": "GPIO or LSE oscillator input; as a GPIO output it is limited to 2 MHz and 30 pF, and it is LSE-only when powered from VBAT."
      },
      {
        "number": "4",
        "name": "PC15/OSC32_OUT",
        "type": "bidirectional",
        "description": "GPIO or LSE oscillator output; same limits as PC14 (2 MHz, 30 pF as GPIO output, LSE-only when powered from VBAT)."
      },
      {
        "number": "5",
        "name": "OSC_IN/PD0",
        "type": "input",
        "description": "HSE oscillator input for a 3-25 MHz crystal or external clock; PD0 is the alternate function on this pin."
      },
      {
        "number": "6",
        "name": "OSC_OUT/PD1",
        "type": "output",
        "description": "HSE oscillator output for a 3-25 MHz crystal; PD1 is the alternate function on this pin."
      },
      {
        "number": "7",
        "name": "NRST",
        "type": "input",
        "description": "Active-low external reset input with an internal pull-up of 30-50 kΩ."
      },
      {
        "number": "8",
        "name": "VSSA",
        "type": "power_in",
        "description": "Analog ground reference for ADC, DAC, OPA, RC oscillator and PLL."
      },
      {
        "number": "9",
        "name": "VDDA",
        "type": "power_in",
        "description": "Analog supply, 2.4-3.6 V; must equal VIO, and must be at least 2.4 V when the ADC is used."
      },
      {
        "number": "10",
        "name": "PA0/WKUP/ADC0",
        "type": "bidirectional",
        "description": "GPIO with WKUP wake-up input, ADC_IN0 analog input, USART2_CTS, TIM2_CH1/ETR and OPA4_OUT0."
      },
      {
        "number": "11",
        "name": "PA1/ADC1",
        "type": "bidirectional",
        "description": "GPIO with ADC_IN1 analog input, USART2_RTS, TIM2_CH2 and OPA3_OUT0."
      },
      {
        "number": "12",
        "name": "PA2/ADC2",
        "type": "bidirectional",
        "description": "GPIO with ADC_IN2 analog input, USART2_TX, TIM2_CH3 and OPA2_OUT0."
      },
      {
        "number": "13",
        "name": "PA3/ADC3",
        "type": "bidirectional",
        "description": "GPIO with ADC_IN3 analog input, USART2_RX, TIM2_CH4 and OPA1_OUT0."
      },
      {
        "number": "14",
        "name": "PA4/ADC4/DAC0",
        "type": "bidirectional",
        "description": "GPIO with ADC_IN4 analog input, DAC1_OUT, SPI1_NSS and USART2_CK."
      },
      {
        "number": "15",
        "name": "PA5/ADC5/DAC1",
        "type": "bidirectional",
        "description": "GPIO with ADC_IN5 analog input, DAC2_OUT, SPI1_SCK and OPA2_CH1N."
      },
      {
        "number": "16",
        "name": "PA6/ADC6",
        "type": "bidirectional",
        "description": "GPIO with ADC_IN6 analog input, SPI1_MISO, TIM3_CH1 and OPA1_CH1N."
      },
      {
        "number": "17",
        "name": "PA7/ADC7",
        "type": "bidirectional",
        "description": "GPIO with ADC_IN7 analog input, SPI1_MOSI, TIM3_CH2 and OPA2_CH1P."
      },
      {
        "number": "18",
        "name": "PB0/ADC8",
        "type": "bidirectional",
        "description": "GPIO with ADC_IN8 analog input, TIM3_CH3 and OPA1_CH1P."
      },
      {
        "number": "19",
        "name": "PB1/ADC9",
        "type": "bidirectional",
        "description": "GPIO with ADC_IN9 analog input, TIM3_CH4 and OPA4_CH0N."
      },
      {
        "number": "20",
        "name": "PB2/BOOT1",
        "type": "bidirectional",
        "description": "5 V tolerant GPIO that is sampled as BOOT1 for boot mode selection at startup; also OPA3_CH0N."
      },
      {
        "number": "21",
        "name": "PB10",
        "type": "bidirectional",
        "description": "5 V tolerant GPIO with I2C2_SCL, USART3_TX and OPA2_CH0N."
      },
      {
        "number": "22",
        "name": "PB11",
        "type": "bidirectional",
        "description": "5 V tolerant GPIO with I2C2_SDA, USART3_RX and OPA1_CH0N."
      },
      {
        "number": "23",
        "name": "VSS_1",
        "type": "power_in",
        "description": "Digital ground."
      },
      {
        "number": "24",
        "name": "VDD_IO_1",
        "type": "power_in",
        "description": "I/O supply for this GPIO group, 2.4-3.6 V; must not be higher than VDD during normal operation."
      },
      {
        "number": "25",
        "name": "PB12",
        "type": "bidirectional",
        "description": "5 V tolerant GPIO with SPI2_NSS, I2C2_SMBA, USART3_CK, TIM1_BKIN and OPA4_CH0P."
      },
      {
        "number": "26",
        "name": "PB13",
        "type": "bidirectional",
        "description": "5 V tolerant GPIO with SPI2_SCK, USART3_CTS, TIM1_CH1N and OPA3_CH0P."
      },
      {
        "number": "27",
        "name": "PB14",
        "type": "bidirectional",
        "description": "5 V tolerant GPIO with SPI2_MISO, TIM1_CH2N, USART3_RTS and OPA2_CH0P."
      },
      {
        "number": "28",
        "name": "PB15",
        "type": "bidirectional",
        "description": "5 V tolerant GPIO with SPI2_MOSI, TIM1_CH3N and OPA1_CH0P."
      },
      {
        "number": "29",
        "name": "PA8",
        "type": "bidirectional",
        "description": "5 V tolerant GPIO with USART1_CK, TIM1_CH1 and MCO clock output."
      },
      {
        "number": "30",
        "name": "PA9",
        "type": "bidirectional",
        "description": "5 V tolerant GPIO with USART1_TX, TIM1_CH2 and OTG_FS_VBUS."
      },
      {
        "number": "31",
        "name": "PA10",
        "type": "bidirectional",
        "description": "5 V tolerant GPIO with USART1_RX, TIM1_CH3 and OTG_FS_ID."
      },
      {
        "number": "32",
        "name": "PA11/USB1DM",
        "type": "bidirectional",
        "description": "5 V tolerant GPIO with USART1_CTS, CAN1_RX, TIM1_CH4 and OTG_FS_DM (USB full-speed D-)."
      },
      {
        "number": "33",
        "name": "PA12/USB1DP",
        "type": "bidirectional",
        "description": "5 V tolerant GPIO with USART1_RTS, CAN1_TX, TIM1_ETR and OTG_FS_DP (USB full-speed D+)."
      },
      {
        "number": "34",
        "name": "PA13/SWDIO",
        "type": "bidirectional",
        "description": "5 V tolerant; serial-wire debug data I/O (SWDIO) at reset, otherwise GPIO PA13."
      },
      {
        "number": "35",
        "name": "VSS_2",
        "type": "power_in",
        "description": "Digital ground."
      },
      {
        "number": "36",
        "name": "VDD_2",
        "type": "power_in",
        "description": "Digital supply, 2.4-3.6 V (3.0-3.6 V when USB is used)."
      },
      {
        "number": "37",
        "name": "PA14/SWCLK",
        "type": "bidirectional",
        "description": "5 V tolerant; serial-wire debug clock (SWCLK) at reset, otherwise GPIO PA14."
      },
      {
        "number": "38",
        "name": "PA15",
        "type": "bidirectional",
        "description": "5 V tolerant GPIO with SPI3_NSS, SPI3_MOSI and SPI1_NSS remap."
      },
      {
        "number": "39",
        "name": "PB3",
        "type": "bidirectional",
        "description": "5 V tolerant GPIO with SPI3_SCK, TIM2_CH2 remap and SPI1_SCK remap."
      },
      {
        "number": "40",
        "name": "PB4",
        "type": "bidirectional",
        "description": "5 V tolerant GPIO with SPI3_MISO, TIM3_CH1 remap and SPI1_MISO remap."
      },
      {
        "number": "41",
        "name": "PB5",
        "type": "bidirectional",
        "description": "5 V tolerant GPIO with I2C1_SMBA, SPI3_MOSI, TIM3_CH2 remap and SPI1_MOSI remap."
      },
      {
        "number": "42",
        "name": "PB6",
        "type": "bidirectional",
        "description": "5 V tolerant GPIO with I2C1_SCL, TIM4_CH1 and USART1_TX remap."
      },
      {
        "number": "43",
        "name": "PB7",
        "type": "bidirectional",
        "description": "5 V tolerant GPIO with I2C1_SDA, TIM4_CH2 and USART1_RX remap."
      },
      {
        "number": "44",
        "name": "BOOT0",
        "type": "input",
        "description": "Boot mode select input sampled at startup together with BOOT1."
      },
      {
        "number": "45",
        "name": "PB8",
        "type": "bidirectional",
        "description": "5 V tolerant GPIO with TIM4_CH3, I2C1_SCL remap and CAN1_RX remap."
      },
      {
        "number": "46",
        "name": "PB9",
        "type": "bidirectional",
        "description": "5 V tolerant GPIO with TIM4_CH4, I2C1_SDA remap and CAN1_TX remap."
      },
      {
        "number": "47",
        "name": "VSS_3",
        "type": "power_in",
        "description": "Digital ground."
      },
      {
        "number": "48",
        "name": "VDD_IO_3",
        "type": "power_in",
        "description": "I/O supply for this GPIO group, 2.4-3.6 V; must not be higher than VDD during normal 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: Alternate-function lists were trimmed to peripherals present on the CH32V303 resource table (Table 2; Table 3-1 names these pins VDD_IO_1 and VDD_IO_3, while the LQFP48 pinout diagram labels them VDD_VI; Pin notes 4 apply the PD0/PD1 default-to-OSC behaviour to the LQFP64M package; the LQFP48 column doe"
        ],
        "pages_sent": 69,
        "cost_usd": 0.3789,
        "at": "2026-10-18T03:06:59"
      },
      "datasheet": {
        "url": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8786658357216464896",
        "pages": 87,
        "sha256": "5f87f9f397529ca8",
        "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": "ch32v303cbt6.step",
        "role": "plain",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "z = 0",
        "extents_mm": [
          9,
          9,
          1.5
        ],
        "zmin_mm": 0,
        "centre_offset_mm": 0,
        "footprint_binding": "identity",
        "sha256": "9dea352d93177c2904afd7d7b68ea8855ce1ab691f69f8b3e13655600514b6bf",
        "checked": "2026-10-18",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      },
      {
        "file": "ch32v303cbt6-etched.step",
        "role": "eda",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "z = 0",
        "extents_mm": [
          9,
          9,
          1.5
        ],
        "zmin_mm": 0,
        "centre_offset_mm": 0,
        "footprint_binding": "identity",
        "sha256": "f3edf21172f47f3270822fc1f61f25401c0e22dff640b9c4cba01e3d3d9416b9",
        "checked": "2026-10-18",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      }
    ]
  },
  "metadata": {
    "specs": {
      "Manufacturer": "WCH Jiangsu Qin Heng",
      "Package": "LQFP-48(7x7)",
      "Category": "Embedded Processors & Controllers",
      "Pins": "48"
    },
    "characteristics": {
      "version": 1,
      "source": "datasheet",
      "datasheet_sha256": "5f87f9f397529ca80c17a341188f26819a4420f79535a5a613c4cfe9a9575bb6",
      "rows": [
        {
          "name": "Input voltage on FT (5V-tolerant) pins",
          "symbol": "VIN",
          "kind": "absolute_maximum",
          "unit": "V",
          "min": null,
          "typ": null,
          "max": 5.5,
          "conditions": "FT (5V-tolerant) pins; min printed as VSS-0.3, not a numeric value",
          "source_page": 51,
          "source": "datasheet"
        },
        {
          "name": "External main supply voltage (includes VDDA and VDD)",
          "symbol": "VDD-VSS",
          "kind": "absolute_maximum",
          "unit": "V",
          "min": -0.3,
          "typ": null,
          "max": 4,
          "conditions": "",
          "source_page": 51,
          "source": "datasheet"
        },
        {
          "name": "I/O supply voltage",
          "symbol": "VIO-VSS",
          "kind": "absolute_maximum",
          "unit": "V",
          "min": -0.3,
          "typ": null,
          "max": 4,
          "conditions": "",
          "source_page": 51,
          "source": "datasheet"
        },
        {
          "name": "Ambient temperature under bias",
          "symbol": "TA",
          "kind": "absolute_maximum",
          "unit": "℃",
          "min": -40,
          "typ": null,
          "max": 85,
          "conditions": "Chip with model last digit 6",
          "source_page": 51,
          "source": "datasheet"
        },
        {
          "name": "Storage ambient temperature",
          "symbol": "TS",
          "kind": "absolute_maximum",
          "unit": "℃",
          "min": -40,
          "typ": null,
          "max": 125,
          "conditions": "",
          "source_page": 51,
          "source": "datasheet"
        }
      ]
    }
  },
  "variants": [],
  "sections": [
    "hero",
    "viewers",
    "readme",
    "breadcrumbs",
    "info"
  ],
  "discovery_triggers": [
    "ch32v303cbt6"
  ],
  "discovery_pitch": "CH32V303CBT6 (WCH Jiangsu Qin Heng) component page: datasheet pinout, KiCad symbol, footprint and 3D.",
  "author": {
    "name": "Ray",
    "email": "[email protected]"
  },
  "dependencies": {},
  "hero": {
    "type": "image",
    "path": "docs/hero.png"
  },
  "files": [
    "page.json",
    "README.md",
    "ch32v303cbt6.kicad_sym",
    "ch32v303cbt6.kicad_mod",
    "ch32v303cbt6.glb",
    "ch32v303cbt6.step",
    "ch32v303cbt6.lbr",
    "docs/hero.png",
    "docs/ch32v303cbt6-datasheet.pdf",
    "viewers/symbol.html",
    "viewers/footprint.html",
    "ch32v303cbt6-hero.glb",
    "ch32v303cbt6-hero.overlay.json",
    "ch32v303cbt6-etched.glb"
  ],
  "visibility": {
    "public": true
  }
}