main
Ray Publish 0.1.0 2b2ffcb 9d ago
{
  "slug": "cw32l031c8u6",
  "version": "0.1.0",
  "type": "component",
  "description": "CW Microcontrollers (MCU/MPU/SOC), QFN-48(7x7). Pinout cross-checked by two models against the datasheet, KiCad symbol/footprint/3D.",
  "tags": [
    "component",
    "embedded processors & controllers",
    "cw32l031c8u6",
    "factory-2.0.0",
    "extractor-text"
  ],
  "dependencies": {},
  "hero": {
    "type": "image",
    "path": "docs/hero.png"
  },
  "files": [
    "page.json",
    "README.md",
    "cw32l031c8u6.kicad_sym",
    "cw32l031c8u6.kicad_mod",
    "cw32l031c8u6.glb",
    "cw32l031c8u6.step",
    "cw32l031c8u6.lbr",
    "docs/hero.png",
    "docs/cw32l031c8u6-datasheet.pdf",
    "viewers/symbol.html",
    "viewers/footprint.html",
    "cw32l031c8u6-hero.glb",
    "cw32l031c8u6-hero.overlay.json",
    "cw32l031c8u6-etched.glb"
  ],
  "component": {
    "mpn": "CW32L031C8U6",
    "manufacturer": "CW",
    "package": "QFN-48(7x7)",
    "pin_count": 49,
    "category": "Embedded Processors & Controllers",
    "subcategory": "Microcontrollers (MCU/MPU/SOC)",
    "datasheet": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8589839250725777408",
    "parts": {
      "symbol": "cw32l031c8u6.kicad_sym",
      "footprint": "cw32l031c8u6.kicad_mod",
      "model_3d": "cw32l031c8u6-hero.glb",
      "model_3d_plain": "cw32l031c8u6-etched.glb",
      "model_3d_step": "cw32l031c8u6-etched.step",
      "model_3d_step_plain": "cw32l031c8u6.step",
      "lbr": "cw32l031c8u6.lbr"
    },
    "distributor_links": {
      "lcsc": "C5364174"
    },
    "distributor_check": {
      "checked_at": "2026-10-18T03:15:17Z",
      "source": "Component Ocean /api/assign-pns",
      "digikey": {
        "pn": null,
        "status": "no match"
      },
      "mouser": {
        "pn": null,
        "status": "no match"
      }
    },
    "pins": [
      {
        "number": "1",
        "name": "Vcore",
        "type": "power_out",
        "description": "Internal core-logic supply node fed by the on-chip regulator; the extracted text gives no voltage limit or external capacitor value for this pin."
      },
      {
        "number": "2",
        "name": "PC13",
        "type": "bidirectional",
        "description": "Standard I/O (TC) with alternate functions UART1_TXD, RTC_1Hz, UART1_CTS, RTC_OUT, BTIM_ETR and RTC_TAMP; sinks/sources up to ±8 mA (up to ±20 mA where VOH/VOL requirements are relaxed)."
      },
      {
        "number": "3",
        "name": "PC14",
        "type": "bidirectional",
        "description": "Standard I/O (TC) with alternate functions AWT_ETR, UART2_TXD, UART1_RTS, BTIM2_TOGN and UART2_RXD, and the 32.768 kHz LSE oscillator input OSC32_IN; sinks/sources up to ±8 mA."
      },
      {
        "number": "4",
        "name": "PC15",
        "type": "bidirectional",
        "description": "Standard I/O (TC) with alternate functions HSE_OUT, UART2_RXD, MCO_OUT, BTIM2_TOGP, UART2_TXD and UART1_RXD, and the LSE oscillator output OSC32_OUT; sinks/sources up to ±8 mA."
      },
      {
        "number": "5",
        "name": "PF00",
        "type": "bidirectional",
        "description": "Standard I/O (TC) with alternate functions AWT_ETR, UART3_TXD, I2C_SDA, BTIM1_TOGN, UART3_RXD and GTIM2_TOGP, and the HSE oscillator input OSC_IN (4-32 MHz crystal or 1-32 MHz external clock in bypass mode)."
      },
      {
        "number": "6",
        "name": "PF01",
        "type": "bidirectional",
        "description": "Standard I/O (TC) with alternate functions LSE_OUT, UART3_RXD, I2C_SCL, BTIM1_TOGP, UART3_TXD and GTIM2_TOGN, and the HSE oscillator output OSC_OUT; sinks/sources up to ±8 mA."
      },
      {
        "number": "7",
        "name": "NRST",
        "type": "input",
        "description": "Active-low chip reset input with internal pull-up of 7-9 kΩ (8 kΩ typical); VIL max 0.3·VDD, VIH min 0.7·VDD, and minimum reset pulse width 20 µs."
      },
      {
        "number": "8",
        "name": "VSSA",
        "type": "power_in",
        "description": "Analog ground."
      },
      {
        "number": "9",
        "name": "VDDA",
        "type": "power_in",
        "description": "Analog supply for the ADC, reset circuit and internal RC oscillators; operating range 1.65 V to 5.5 V and must always be greater than or equal to VDD."
      },
      {
        "number": "10",
        "name": "PA00",
        "type": "bidirectional",
        "description": "Analog-capable I/O (TTa) with analog functions ADC_IN0, VC1_CH0 and LVD_CH1, and digital alternate functions UART3_CTS, UART2_CTS, RTC_TAMP, VC1_OUT, GTIM2_CH1 and GTIM2_ETR; injection current limit ±5 mA."
      },
      {
        "number": "11",
        "name": "PA01",
        "type": "bidirectional",
        "description": "Analog-capable I/O (TTa) with analog functions ADC_IN1 and VC1_CH1, and digital alternate functions UART3_RTS, UART2_RTS, LVD_OUT, GTIM2_CH2 and RTC_TAMP; injection current limit ±5 mA."
      },
      {
        "number": "12",
        "name": "PA02",
        "type": "bidirectional",
        "description": "Analog-capable I/O (TTa) with analog functions ADC_IN2 and VC1_CH2, and digital alternate functions UART3_TXD, UART2_TXD, VC2_OUT, GTIM2_CH3 and AWT_ETR; injection current limit ±5 mA."
      },
      {
        "number": "13",
        "name": "PA03",
        "type": "bidirectional",
        "description": "Analog-capable I/O (TTa) with analog functions ADC_IN3 and VC1_CH3, and digital alternate functions UART3_RXD, UART2_RXD, GTIM2_CH2, PCLK_OUT, UART3_TXD, GTIM2_CH4 and ATIM_CH3A; injection current limit ±5 mA."
      },
      {
        "number": "14",
        "name": "PA04",
        "type": "bidirectional",
        "description": "Analog-capable I/O (TTa) with analog functions ADC_IN4 and VC1_CH4, and digital alternate functions MCO_OUT, UART2_CTS, HCLK_OUT, SPI_CS, GTIM2_ETR and ATIM_CH2A; injection current limit ±5 mA."
      },
      {
        "number": "15",
        "name": "PA05",
        "type": "bidirectional",
        "description": "Analog-capable I/O (TTa) with analog functions ADC_IN5, VC1_CH5 and VC2_CH0, and digital alternate functions GTIM2_ETR, UART2_RTS, BTIM2_TOGN, SPI_SCK, GTIM2_CH1 and ATIM_CH1A; injection current limit ±5 mA."
      },
      {
        "number": "16",
        "name": "PA06",
        "type": "bidirectional",
        "description": "Analog-capable I/O (TTa) with analog functions ADC_IN6, VC1_CH6 and VC2_CH1, and digital alternate functions UART2_RXD, UART2_TXD, VC1_OUT, BTIM2_TOGP, SPI_MISO, GTIM1_CH1 and ATIM_BK; injection current limit ±5 mA."
      },
      {
        "number": "17",
        "name": "PA07",
        "type": "bidirectional",
        "description": "Analog-capable I/O (TTa) with analog functions ADC_IN7, VC1_CH7 and VC2_CH2, and digital alternate functions UART2_TXD, UART2_RXD, VC2_OUT, BTIM1_TOGN, SPI_MOSI, GTIM1_CH2 and ATIM_CH1B; injection current limit ±5 mA."
      },
      {
        "number": "18",
        "name": "PB00",
        "type": "bidirectional",
        "description": "Analog-capable I/O (TTa) with analog functions ADC_IN8/ExRef (external ADC reference), VC2_CH3 and LVD_CH2, and digital alternate functions UART2_RXD, UART1_CTS, UART2_TXD, BTIM1_TOGP, HSIOSC_OUT, GTIM1_CH3 and ATIM_CH2B; injection current limit ±5 mA."
      },
      {
        "number": "19",
        "name": "PB01",
        "type": "bidirectional",
        "description": "Analog-capable I/O (TTa) with analog functions ADC_IN9 and VC2_CH4, and digital alternate functions UART2_TXD, UART1_RTS, UART2_RXD, BTIM3_TOGN, GTIM1_CH4 and ATIM_CH3B; injection current limit ±5 mA."
      },
      {
        "number": "20",
        "name": "PB02",
        "type": "bidirectional",
        "description": "Analog-capable I/O (TTa) with analog functions ADC_IN10 and VC2_CH5, and digital alternate functions UART2_CTS, UART1_TXD, HSE_OUT, UART1_RXD, BTIM3_TOGP, GTIM1_ETR and ATIM_CH1A; injection current limit ±5 mA."
      },
      {
        "number": "21",
        "name": "PB10",
        "type": "bidirectional",
        "description": "Analog-capable I/O (TTa) with analog functions ADC_IN11 and VC2_CH6, and digital alternate functions UART2_RTS, UART1_RXD, I2C_SCL, UART1_TXD, GTIM2_CH3 and ATIM_CH2A; injection current limit ±5 mA."
      },
      {
        "number": "22",
        "name": "PB11",
        "type": "bidirectional",
        "description": "Analog-capable I/O (TTa) with analog functions ADC_IN12, VC2_CH7 and LVD_CH3, and digital alternate functions LSI_OUT, I2C_SDA, BTIM_ETR, GTIM2_CH4 and ATIM_CH3A; injection current limit ±5 mA."
      },
      {
        "number": "23",
        "name": "VSS",
        "type": "power_in",
        "description": "Ground reference for the digital supply domain."
      },
      {
        "number": "24",
        "name": "VDD",
        "type": "power_in",
        "description": "Digital supply for the I/O ports and internal regulator, 1.65 V to 5.5 V; all VDD pins must be powered at the same voltage."
      },
      {
        "number": "25",
        "name": "PB12",
        "type": "bidirectional",
        "description": "Standard I/O (TC) with alternate functions GTIM2_TOGP, LSE_OUT, SPI_CS, GTIM1_TOGP and ATIM_BK; sinks/sources up to ±8 mA."
      },
      {
        "number": "26",
        "name": "PB13",
        "type": "bidirectional",
        "description": "Standard I/O (TC) with alternate functions GTIM2_TOGN, SPI_SCK, GTIM1_TOGN and ATIM_CH1B; sinks/sources up to ±8 mA."
      },
      {
        "number": "27",
        "name": "PB14",
        "type": "bidirectional",
        "description": "Standard I/O (TC) with alternate functions GTIM2_CH1, SPI_MISO, RTC_OUT and ATIM_CH2B; sinks/sources up to ±8 mA."
      },
      {
        "number": "28",
        "name": "PB15",
        "type": "bidirectional",
        "description": "Standard I/O (TC) with alternate functions GTIM2_CH2, BTIM2_TOGN, SPI_MOSI, RTC_1Hz and ATIM_CH3B; sinks/sources up to ±8 mA."
      },
      {
        "number": "29",
        "name": "PA08",
        "type": "bidirectional",
        "description": "Standard I/O (TC) with alternate functions UART1_TXD, BTIM2_TOGP, MCO_OUT, LVD_OUT and ATIM_CH1A; sinks/sources up to ±8 mA."
      },
      {
        "number": "30",
        "name": "PA09",
        "type": "bidirectional",
        "description": "Standard I/O (TC) with alternate functions UART3_TXD, UART1_RXD, I2C_SCL, BTIM1_TOGN, SPI_CS, UART3_RXD and ATIM_CH2A; sinks/sources up to ±8 mA."
      },
      {
        "number": "31",
        "name": "PA10",
        "type": "bidirectional",
        "description": "Standard I/O (TC) with alternate functions UART3_RXD, UART1_CTS, I2C_SDA, BTIM1_TOGP, SPI_SCK, UART3_TXD and ATIM_CH3A; sinks/sources up to ±8 mA."
      },
      {
        "number": "32",
        "name": "PA11",
        "type": "bidirectional",
        "description": "Standard I/O (TC) with alternate functions UART3_CTS, UART1_RTS, VC1_OUT, SPI_MISO and ATIM_GATE; sinks/sources up to ±8 mA."
      },
      {
        "number": "33",
        "name": "PA12",
        "type": "bidirectional",
        "description": "Standard I/O (TC) with alternate functions UART3_RTS, BTIM_ETR, VC2_OUT, SPI_MOSI and ATIM_ETR; sinks/sources up to ±8 mA."
      },
      {
        "number": "34",
        "name": "PA13/SWDIO",
        "type": "bidirectional",
        "description": "Standard I/O (TC) with alternate functions I2C_SDA, UART1_RXD, UART2_TXD and IR_OUT; after reset it serves as the SWD data pin SWDIO with internal pull-up enabled."
      },
      {
        "number": "35",
        "name": "PF06",
        "type": "bidirectional",
        "description": "Standard I/O (TC) with alternate functions UART3_CTS, I2C_SCL, UART2_CTS and BTIM3_TOGN; sinks/sources up to ±8 mA."
      },
      {
        "number": "36",
        "name": "PF07",
        "type": "bidirectional",
        "description": "Standard I/O (TC) with alternate functions UART3_RTS, I2C_SDA, UART2_RTS and BTIM3_TOGP; sinks/sources up to ±8 mA."
      },
      {
        "number": "37",
        "name": "PA14/SWCLK",
        "type": "bidirectional",
        "description": "Standard I/O (TC) with alternate functions UART3_TXD, I2C_SCL, UART1_TXD and UART2_RXD; after reset it serves as the SWD clock SWCLK with internal pull-up enabled."
      },
      {
        "number": "38",
        "name": "PA15",
        "type": "bidirectional",
        "description": "Standard I/O (TC) with alternate functions UART3_RXD, GTIM2_CH1, UART1_RXD, UART2_RXD, SPI_CS, GTIM2_ETR and ATIM_CH1B; sinks/sources up to ±8 mA."
      },
      {
        "number": "39",
        "name": "PB03",
        "type": "bidirectional",
        "description": "Standard I/O (TC) with alternate functions UART3_RTS, GTIM2_CH2, UART1_CTS, UART2_TXD, SPI_SCK, GTIM1_ETR and ATIM_CH2B; sinks/sources up to ±8 mA."
      },
      {
        "number": "40",
        "name": "PB04",
        "type": "bidirectional",
        "description": "Standard I/O (TC) with alternate functions UART3_CTS, UART1_RTS, UART2_CTS, SPI_MISO, GTIM1_CH1 and ATIM_CH3B; sinks/sources up to ±8 mA."
      },
      {
        "number": "41",
        "name": "PB05",
        "type": "bidirectional",
        "description": "Standard I/O (TC) with alternate functions AWT_ETR, UART2_RTS, SPI_MOSI, GTIM1_CH2 and ATIM_CH1A; sinks/sources up to ±8 mA."
      },
      {
        "number": "42",
        "name": "PB06",
        "type": "bidirectional",
        "description": "Standard I/O (TC) with alternate functions UART3_TXD, UART3_RXD, I2C_SCL, GTIM1_TOGP and ATIM_CH2A; sinks/sources up to ±8 mA."
      },
      {
        "number": "43",
        "name": "PB07",
        "type": "bidirectional",
        "description": "Standard I/O (TC) with alternate functions UART3_RXD, UART3_TXD, I2C_SDA, GTIM1_TOGN and ATIM_CH3A; sinks/sources up to ±8 mA."
      },
      {
        "number": "44",
        "name": "PF03/BOOT",
        "type": "input",
        "description": "BOOT pin (structure B) sampled at startup to select between the internal bootloader and the user program."
      },
      {
        "number": "45",
        "name": "PB08",
        "type": "bidirectional",
        "description": "Standard I/O (TC) with alternate functions I2C_SCL, UART1_RXD, UART1_TXD, GTIM1_CH3 and ATIM_ETR; sinks/sources up to ±8 mA."
      },
      {
        "number": "46",
        "name": "PB09",
        "type": "bidirectional",
        "description": "Standard I/O (TC) with alternate functions I2C_SDA, UART1_TXD, UART1_RXD, IR_OUT, GTIM1_CH4 and ATIM_BK; sinks/sources up to ±8 mA."
      },
      {
        "number": "47",
        "name": "VSS",
        "type": "power_in",
        "description": "Ground reference for the digital supply domain."
      },
      {
        "number": "48",
        "name": "VDD",
        "type": "power_in",
        "description": "Digital supply for the I/O ports and internal regulator, 1.65 V to 5.5 V; all VDD pins must be powered at the same voltage."
      },
      {
        "number": "49",
        "name": "EP",
        "type": "passive",
        "description": "Exposed pad (from the footprint; not named in the datasheet pin table)."
      }
    ],
    "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 1 is printed as 'Vcore' in Table 5-2 with no pin type or description. The type power_out is infe; Table 5-2 leaves the 'pin type' column blank for power pins and the Vcore row, and does not state el; The QFN48 pin-diagram text (Figure 5-2) is garbled in the extraction, so the QFN48 pin numbers were ",
          "exposed pad 49 added from the footprint"
        ],
        "pages_sent": 68,
        "cost_usd": 0.2511,
        "at": "2026-10-18T03:14:19"
      },
      "datasheet": {
        "url": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8589839250725777408",
        "pages": 74,
        "sha256": "0e51efc1f45a11c9",
        "source_tier": "lcsc"
      },
      "cad": "KiCad official (CC-BY-SA 4.0)",
      "pins": {
        "total": 49,
        "described": 49,
        "cites_pages": true,
        "refuses_to_fabricate": true
      }
    },
    "viewers": {
      "symbol": "viewers/symbol.html",
      "footprint": "viewers/footprint.html"
    },
    "models_3d": [
      {
        "file": "cw32l031c8u6.step",
        "role": "plain",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "z = 0",
        "extents_mm": [
          7.0,
          7.0,
          0.77
        ],
        "zmin_mm": 0.0,
        "centre_offset_mm": 0.0,
        "footprint_binding": "identity",
        "sha256": "f2b38b0b4bf967c77e683e8d4599608b9f0503055ec535b93c4ebb5d0163e916",
        "checked": "2026-10-18",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      },
      {
        "file": "cw32l031c8u6-etched.step",
        "role": "eda",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "z = 0",
        "extents_mm": [
          7.0,
          7.0,
          0.77
        ],
        "zmin_mm": 0.0,
        "centre_offset_mm": 0.0,
        "footprint_binding": "identity",
        "sha256": "e4d84e71a4c23b90c1d02f25589128abd778123672329ae166b2cbf70b7a39b8",
        "checked": "2026-10-18",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      }
    ]
  }
}