main
Ray Publish 0.1.0 e499977 9d ago
{
  "slug": "ch32v203g8r6",
  "version": "0.1.0",
  "type": "component",
  "description": "WCH(南京沁恒) Microcontrollers (MCU/MPU/SOC), QSOP-28. Pinout cross-checked by two models against the datasheet, KiCad symbol/footprint/3D.",
  "tags": [
    "component",
    "embedded processors & controllers",
    "ch32v203g8r6",
    "factory-2.0.0",
    "extractor-text"
  ],
  "dependencies": {},
  "hero": {
    "type": "image",
    "path": "docs/hero.png"
  },
  "files": [
    "page.json",
    "README.md",
    "ch32v203g8r6.kicad_sym",
    "ch32v203g8r6.kicad_mod",
    "ch32v203g8r6.glb",
    "ch32v203g8r6.step",
    "ch32v203g8r6.lbr",
    "docs/hero.png",
    "docs/ch32v203g8r6-datasheet.pdf",
    "viewers/symbol.html",
    "viewers/footprint.html",
    "ch32v203g8r6-hero.glb",
    "ch32v203g8r6-hero.overlay.json",
    "ch32v203g8r6-etched.glb"
  ],
  "component": {
    "mpn": "CH32V203G8R6",
    "manufacturer": "WCH(南京沁恒)",
    "package": "QSOP-28",
    "pin_count": 28,
    "category": "Embedded Processors & Controllers",
    "subcategory": "Microcontrollers (MCU/MPU/SOC)",
    "datasheet": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8618867474003873792",
    "parts": {
      "symbol": "ch32v203g8r6.kicad_sym",
      "footprint": "ch32v203g8r6.kicad_mod",
      "model_3d": "ch32v203g8r6-hero.glb",
      "model_3d_plain": "ch32v203g8r6-etched.glb",
      "model_3d_step": "ch32v203g8r6-etched.step",
      "model_3d_step_plain": "ch32v203g8r6.step",
      "lbr": "ch32v203g8r6.lbr"
    },
    "distributor_links": {
      "lcsc": "C5200779"
    },
    "distributor_check": {
      "checked_at": "2026-10-18T18:55:21Z",
      "source": "Component Ocean /api/assign-pns",
      "digikey": {
        "pn": null,
        "status": "quota"
      },
      "mouser": {
        "pn": null,
        "status": "quota"
      }
    },
    "pins": [
      {
        "number": "1",
        "name": "PA14/PB5",
        "type": "bidirectional",
        "description": "Shared pin: PA14 is the default SWCLK serial-wire debug clock (FT, tolerant to 5V), and the same pin can also be used as PB5 with I2C1_SMBA, TIM3_CH2_2 and SPI1_MOSI_1 alternate functions."
      },
      {
        "number": "2",
        "name": "PB6",
        "type": "bidirectional",
        "description": "FT (5V-tolerant) I/O with default I2C1_SCL and alternate TIM4_CH1, USBFS_DM and USART1_TX_1 functions."
      },
      {
        "number": "3",
        "name": "PB7",
        "type": "bidirectional",
        "description": "FT (5V-tolerant) I/O with default I2C1_SDA and alternate TIM4_CH2, USBFS_DP and USART1_RX_1 functions."
      },
      {
        "number": "4",
        "name": "BOOT0",
        "type": "input",
        "description": "Boot mode selection input, used together with BOOT1 to choose boot from program Flash, system memory or SRAM at startup."
      },
      {
        "number": "5",
        "name": "PB8",
        "type": "bidirectional",
        "description": "FT I/O (analog-capable) with alternate TIM4_CH3, I2C1_SCL_1 and CAN1_RX_2 functions."
      },
      {
        "number": "6",
        "name": "VDD",
        "type": "power_in",
        "description": "Main supply for part of the I/O pins and the internal regulator, specified at 2.4-3.6V."
      },
      {
        "number": "7",
        "name": "VSS",
        "type": "power_in",
        "description": "Ground reference; all datasheet voltages are referenced to VSS."
      },
      {
        "number": "8",
        "name": "NRST",
        "type": "input",
        "description": "External reset input with an internal pull-up of 30-50 kΩ; pulses of 100 ns are filterable and pulses of 300 ns are not filtered."
      },
      {
        "number": "9",
        "name": "PA0-WKUP",
        "type": "bidirectional",
        "description": "Analog-capable I/O whose default function is WKUP (a rising edge wakes the device from Standby), with alternate ADC_IN0, USART2_CTS, TIM2_CH1/TIM2_ETR functions."
      },
      {
        "number": "10",
        "name": "PA1",
        "type": "bidirectional",
        "description": "Analog-capable I/O with ADC_IN1, USART2_RTS and TIM2_CH2 alternate functions."
      },
      {
        "number": "11",
        "name": "PA2",
        "type": "bidirectional",
        "description": "Analog-capable I/O with ADC_IN2, USART2_TX, TIM2_CH3 and OPA2_OUT0 alternate functions."
      },
      {
        "number": "12",
        "name": "PA3",
        "type": "bidirectional",
        "description": "Analog-capable I/O with ADC_IN3, USART2_RX, TIM2_CH4 and OPA1_OUT0 alternate functions."
      },
      {
        "number": "13",
        "name": "PA6",
        "type": "bidirectional",
        "description": "Analog-capable I/O with SPI1_MISO, ADC_IN6, TIM3_CH1, OPA1_CH1N, TIM1_BKIN_1 and USART4_CK_1 alternate functions."
      },
      {
        "number": "14",
        "name": "PB0",
        "type": "bidirectional",
        "description": "Analog-capable I/O with ADC_IN8, TIM3_CH3, OPA1_CH1P, USART4_TX and TIM1_CH2N_1 alternate functions."
      },
      {
        "number": "15",
        "name": "PA4",
        "type": "bidirectional",
        "description": "Analog-capable I/O with SPI1_NSS, USART2_CK, ADC_IN4 and OPA2_OUT1 alternate functions."
      },
      {
        "number": "16",
        "name": "PA5",
        "type": "bidirectional",
        "description": "Analog-capable I/O with SPI1_SCK, ADC_IN5, OPA2_CH1N and USART4_TX_1 alternate functions."
      },
      {
        "number": "17",
        "name": "PA7",
        "type": "bidirectional",
        "description": "Analog-capable I/O with SPI1_MOSI, ADC_IN7, TIM3_CH2, OPA2_CH1P and TIM1_CH1N_1 alternate functions."
      },
      {
        "number": "18",
        "name": "PB10",
        "type": "bidirectional",
        "description": "FT (5V-tolerant) analog-capable I/O with OPA2_CH0N, TIM2_CH3_2 and TIM2_CH3_3 alternate functions."
      },
      {
        "number": "19",
        "name": "PB11",
        "type": "bidirectional",
        "description": "FT (5V-tolerant) analog-capable I/O with OPA1_CH0N, TIM2_CH4_2 and TIM2_CH4_3 alternate functions."
      },
      {
        "number": "20",
        "name": "PB1/PB12",
        "type": "bidirectional",
        "description": "Shared pin: PB1 is an analog-capable I/O with ADC_IN9, OPA1_OUT1 and TIM3_CH4 functions, while PB12 is an FT I/O with TIM1_BKIN as an alternate function; only one function can be used on this shared pin at a time."
      },
      {
        "number": "21",
        "name": "PB13",
        "type": "bidirectional",
        "description": "FT (5V-tolerant) analog-capable I/O with TIM1_CH1N as an alternate function."
      },
      {
        "number": "22",
        "name": "PB14",
        "type": "bidirectional",
        "description": "FT (5V-tolerant) analog-capable I/O with TIM1_CH2N and OPA2_CH0P alternate functions."
      },
      {
        "number": "23",
        "name": "PB15",
        "type": "bidirectional",
        "description": "FT (5V-tolerant) analog-capable I/O with TIM1_CH3N and OPA1_CH0P alternate functions."
      },
      {
        "number": "24",
        "name": "PA8",
        "type": "bidirectional",
        "description": "FT (5V-tolerant) I/O with USART1_CK, TIM1_CH1 and MCO alternate functions."
      },
      {
        "number": "25",
        "name": "PA9",
        "type": "bidirectional",
        "description": "FT (5V-tolerant) I/O with USART1_TX and TIM1_CH2 alternate functions."
      },
      {
        "number": "26",
        "name": "PA10",
        "type": "bidirectional",
        "description": "FT (5V-tolerant) I/O with USART1_RX and TIM1_CH3 alternate functions."
      },
      {
        "number": "27",
        "name": "PA11",
        "type": "bidirectional",
        "description": "FT (5V-tolerant) analog-capable I/O with USART1_CTS, USBDM, CAN1_RX and TIM1_CH4 alternate functions."
      },
      {
        "number": "28",
        "name": "PA12/PA13",
        "type": "bidirectional",
        "description": "Shared pin: PA13 is an FT I/O whose default function is SWDIO, while PA12 is an FT analog-capable I/O with USART1_RTS, USBDP, CAN1_TX and TIM1_ETR alternate functions; only one function can be used on this shared pin at a time."
      }
    ],
    "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: QSOP28 pins 1, 20 and 28 are shared between two GPIOs (PA14/PB5, PB1/PB12, PA12/PA13) per Note 7 and; Table 3-1-2 for the QSOP28 column omits some alternate functions listed in the general pin-multiplex; The datasheet gives NRST filter pulse widths (100 ns filterable, 300 ns not filtered) but does not e"
        ],
        "pages_sent": 47,
        "cost_usd": 0.2399,
        "at": "2026-10-18T18:54:53"
      },
      "datasheet": {
        "url": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8618867474003873792",
        "pages": 54,
        "sha256": "c1aff3146639fb0c",
        "source_tier": "lcsc"
      },
      "cad": "KiCad official (CC-BY-SA 4.0)",
      "pins": {
        "total": 28,
        "described": 28,
        "cites_pages": true,
        "refuses_to_fabricate": true
      }
    },
    "viewers": {
      "symbol": "viewers/symbol.html",
      "footprint": "viewers/footprint.html"
    },
    "models_3d": [
      {
        "file": "ch32v203g8r6.step",
        "role": "plain",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "z = 0",
        "extents_mm": [
          6.06,
          9.9,
          1.75
        ],
        "zmin_mm": 0.0,
        "centre_offset_mm": 0.0,
        "footprint_binding": "identity",
        "sha256": "ac034244baf98fd60aa14d0232018f8b373c0d692aa33d593b811e65592ed489",
        "checked": "2026-10-18",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      },
      {
        "file": "ch32v203g8r6-etched.step",
        "role": "eda",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "z = 0",
        "extents_mm": [
          6.06,
          9.9,
          1.75
        ],
        "zmin_mm": 0.0,
        "centre_offset_mm": 0.0,
        "footprint_binding": "identity",
        "sha256": "19537887d1836f8191c613ce74a339fbc1e89195125f563ef85ac8dbe7ab7a1f",
        "checked": "2026-10-18",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      }
    ]
  }
}