main
Ray Publish 0.1.0 e632bb4 8d ago
{
  "slug": "cw32f003e4p7",
  "version": "0.1.0",
  "type": "component",
  "description": "CW Microcontrollers (MCU/MPU/SOC), TSSOP-24. Pinout cross-checked by two models against the datasheet, KiCad symbol/footprint/3D.",
  "tags": [
    "component",
    "embedded processors & controllers",
    "cw32f003e4p7",
    "factory-2.0.0",
    "extractor-text"
  ],
  "dependencies": {},
  "hero": {
    "type": "image",
    "path": "docs/hero.png"
  },
  "files": [
    "page.json",
    "README.md",
    "cw32f003e4p7.kicad_sym",
    "cw32f003e4p7.kicad_mod",
    "cw32f003e4p7.glb",
    "cw32f003e4p7.step",
    "cw32f003e4p7.lbr",
    "docs/hero.png",
    "docs/cw32f003e4p7-datasheet.pdf",
    "viewers/symbol.html",
    "viewers/footprint.html",
    "cw32f003e4p7-hero.glb",
    "cw32f003e4p7-hero.overlay.json",
    "cw32f003e4p7-etched.glb"
  ],
  "component": {
    "mpn": "CW32F003E4P7",
    "manufacturer": "CW",
    "package": "TSSOP-24",
    "pin_count": 24,
    "category": "Embedded Processors & Controllers",
    "subcategory": "Microcontrollers (MCU/MPU/SOC)",
    "datasheet": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8589952172844101632",
    "parts": {
      "symbol": "cw32f003e4p7.kicad_sym",
      "footprint": "cw32f003e4p7.kicad_mod",
      "model_3d": "cw32f003e4p7-hero.glb",
      "model_3d_plain": "cw32f003e4p7-etched.glb",
      "model_3d_step": "cw32f003e4p7-etched.step",
      "model_3d_step_plain": "cw32f003e4p7.step",
      "lbr": "cw32f003e4p7.lbr"
    },
    "distributor_links": {
      "lcsc": "C3019115"
    },
    "distributor_check": {
      "checked_at": "2026-10-18T22:23:08Z",
      "source": "Component Ocean /api/assign-pns",
      "digikey": {
        "pn": null,
        "status": "quota"
      },
      "mouser": {
        "pn": null,
        "status": "quota"
      }
    },
    "pins": [
      {
        "number": "1",
        "name": "PC00",
        "type": "bidirectional",
        "description": "General-purpose I/O (TTa, analog-capable) with digital alternate functions UART2_RXD, UART1_TXD, SPI_SCK, ATIM_CH1A, GTIM_CH2, BTIM1_TOGP, HCLK_OUT, and analog functions ADC_AIN5 and VC2_CH6; high-impedance input after reset."
      },
      {
        "number": "2",
        "name": "PC01",
        "type": "bidirectional",
        "description": "General-purpose I/O (TTa, analog-capable) with digital alternate functions UART2_TXD, GTIM_ETR, SPI_MISO, ATIM_CH2A, GTIM_CH3, BTIM1_TOGN, VC1_OUT, and analog functions ADC_AIN6 and VC2_CH7; high-impedance input after reset."
      },
      {
        "number": "3",
        "name": "PC02",
        "type": "bidirectional",
        "description": "General-purpose I/O (TTa, analog-capable) with digital alternate functions UART2_RXD, IR_OUT, SPI_MOSI, ATIM_CH3A, GTIM_CH4, HCLK_OUT, AWT_ETR, and analog functions ADC_AIN7 and VC1_CH0; high-impedance input after reset."
      },
      {
        "number": "4",
        "name": "NRST",
        "type": "input",
        "description": "Active-low chip reset input with internal pull-up of 7-9 kΩ; input low must be at most 0.3VDD and the reset pulse must be at least 20 µs."
      },
      {
        "number": "5",
        "name": "PC03",
        "type": "bidirectional",
        "description": "Standard I/O (TC, no analog function) with digital alternate functions UART1_TXD, SPI_CS, SPI_MISO, ATIM_CH3B, GTIM_CH3, GTIM_TOGP, ATIM_BK; high-impedance input after reset."
      },
      {
        "number": "6",
        "name": "PB00",
        "type": "bidirectional",
        "description": "General-purpose I/O (TTa, analog-capable) with digital alternate functions UART1_RXD, I2C_SDA, SPI_CS, ATIM_CH1B, GTIM_CH1, GTIM_TOGP, AWT_ETR, analog functions ADC_AIN8, VC1_CH1, and HEX_PB00; can also receive the external high-speed clock input to the HEX circuit (1-32 MHz)."
      },
      {
        "number": "7",
        "name": "PC04",
        "type": "bidirectional",
        "description": "Standard I/O (TC, no analog function) with digital alternate functions UART1_RXD, IR_OUT, SPI_MOSI, ATIM_CH2B, GTIM_CH4, GTIM_TOGN; high-impedance input after reset."
      },
      {
        "number": "8",
        "name": "PB01",
        "type": "bidirectional",
        "description": "General-purpose I/O (TTa, analog-capable) with digital alternate functions UART1_TXD, LVD_OUT, I2C_SCL, ATIM_BK, GTIM_CH2, GTIM_TOGN, AWT_ETR, analog functions ADC_AIN9, VC1_CH2, and HEX_PB01; can also receive the external high-speed clock input to the HEX circuit (1-32 MHz)."
      },
      {
        "number": "9",
        "name": "VSS",
        "type": "power_in",
        "description": "Ground reference; all voltages in the datasheet are specified relative to VSS, and each VDD/VSS pair must be decoupled with a filter ceramic capacitor placed as close to the pins as possible."
      },
      {
        "number": "10",
        "name": "PA02/SWDIO",
        "type": "bidirectional",
        "description": "Standard I/O (TC) with digital alternate functions UART1_RXD, UART2_TXD, I2C_SDA, GTIM_ETR, GTIM_CH3, VC2_OUT, AWT_ETR; after reset it is configured as the SWDIO debug function with internal pull-up enabled."
      },
      {
        "number": "11",
        "name": "VDD",
        "type": "power_in",
        "description": "Supply voltage, 1.65 V to 5.5 V; all VDD pins must be powered and held at the same voltage."
      },
      {
        "number": "12",
        "name": "PB07",
        "type": "bidirectional",
        "description": "Standard I/O (TC, no analog function) with digital alternate functions UART2_RXD, UART1_TXD, SPI_SCK, GTIM_CH1, BTIM2_TOGN, BTIM_ETR; high-impedance input after reset."
      },
      {
        "number": "13",
        "name": "PB06",
        "type": "bidirectional",
        "description": "General-purpose I/O (TTa, analog-capable) with digital alternate functions UART1_TXD, I2C_SCL, SPI_CS, ATIM_CH1A, GTIM_TOGP, BTIM2_TOGP, HCLK_OUT, and analog functions ADC_AIN10 and LVD_CH1; high-impedance input after reset."
      },
      {
        "number": "14",
        "name": "PB05",
        "type": "bidirectional",
        "description": "General-purpose I/O (TTa, analog-capable) with digital alternate functions UART1_RXD, I2C_SDA, BTIM_ETR, ATIM_CH1B, GTIM_TOGN, BTIM2_TOGN, ATIM_BK, and analog functions ADC_AIN11 and VC1_CH3; high-impedance input after reset."
      },
      {
        "number": "15",
        "name": "PB04",
        "type": "bidirectional",
        "description": "General-purpose I/O (TTa, analog-capable) with digital alternate functions UART2_TXD, I2C_SCL, GTIM_ETR, ATIM_ETR, GTIM_CH1, BTIM3_TOGN, ATIM_BK, and analog functions ExRef and VC1_CH4; high-impedance input after reset."
      },
      {
        "number": "16",
        "name": "PB03",
        "type": "bidirectional",
        "description": "General-purpose I/O (TTa, analog-capable) with digital alternate functions UART2_RXD, I2C_SDA, PCLK_OUT, ATIM_CH2A, GTIM_CH2, BTIM3_TOGP, IR_OUT, and analog functions ADC_AIN12, VC1_CH5, and LVD_CH2; high-impedance input after reset."
      },
      {
        "number": "17",
        "name": "PB02",
        "type": "bidirectional",
        "description": "General-purpose I/O (TTa, analog-capable) with digital alternate functions UART1_TXD, UART2_CTS, SPI_CS, ATIM_CH2B, GTIM_CH3, BTIM1_TOGP, MCO_OUT, and analog functions ADC_AIN0, VC1_CH6, and VC2_CH0; high-impedance input after reset."
      },
      {
        "number": "18",
        "name": "PA00",
        "type": "bidirectional",
        "description": "General-purpose I/O (TTa, analog-capable) with digital alternate functions UART1_RXD, UART2_RTS, SPI_SCK, ATIM_CH3A, GTIM_CH4, BTIM1_TOGN, VC1_OUT, and analog functions VC1_CH7, VC2_CH1, and LVD_CH3; high-impedance input after reset."
      },
      {
        "number": "19",
        "name": "PA01",
        "type": "bidirectional",
        "description": "General-purpose I/O (TTa, analog-capable) with digital alternate functions UART2_TXD, VC2_OUT, SPI_MOSI, ATIM_CH3B, GTIM_CH1, BTIM2_TOGP, MCO_OUT, and analog functions ADC_AIN1 and VC2_CH2; high-impedance input after reset."
      },
      {
        "number": "20",
        "name": "PA03",
        "type": "bidirectional",
        "description": "Standard I/O (TC, no analog function) with digital alternate functions UART2_TXD, UART1_RXD, PCLK_OUT, ATIM_BK, GTIM_ETR, BTIM2_TOGP, LVD_OUT; high-impedance input after reset."
      },
      {
        "number": "21",
        "name": "PA04",
        "type": "bidirectional",
        "description": "General-purpose I/O (TTa, analog-capable) with digital alternate functions UART1_RXD, IR_OUT, SPI_MISO, ATIM_CH3B, GTIM_CH2, BTIM2_TOGN, GTIM_ETR, and analog functions ADC_AIN2 and VC2_CH3; high-impedance input after reset."
      },
      {
        "number": "22",
        "name": "PA05/SWCLK",
        "type": "bidirectional",
        "description": "General-purpose I/O (TTa, analog-capable) with digital alternate functions UART1_TXD, UART2_RXD, I2C_SCL, GTIM_CH4, BTIM_ETR, MCO_OUT; after reset it is configured as the SWCLK debug function with internal pull-up enabled."
      },
      {
        "number": "23",
        "name": "PA06",
        "type": "bidirectional",
        "description": "General-purpose I/O (TTa, analog-capable) with digital alternate functions UART1_CTS, UART2_TXD, I2C_SDA, ATIM_CH2B, GTIM_CH3, BTIM3_TOGP, LVD_OUT, and analog functions ADC_AIN3 and VC2_CH4; high-impedance input after reset."
      },
      {
        "number": "24",
        "name": "PA07",
        "type": "bidirectional",
        "description": "General-purpose I/O (TTa, analog-capable) with digital alternate functions UART1_RTS, UART2_RXD, VC1_OUT, ATIM_CH1B, GTIM_CH4, BTIM3_TOGN, ATIM_BK, and analog functions ADC_AIN4 and VC2_CH5; high-impedance input after reset."
      }
    ],
    "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: PA02/SWDIO and PA05/SWCLK: datasheet note 1 says these pins are configured as SWDIO/SWCLK after rese; PB00/PB01 are listed as HEX_PB00/HEX_PB01 and section 7.3.7 says they may carry an external clock in; Alternate-function lists are summarized from Table 5-2; the exact function selected depends on GPIOx"
        ],
        "pages_sent": 58,
        "cost_usd": 0.1953,
        "at": "2026-10-18T22:19:30"
      },
      "datasheet": {
        "url": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8589952172844101632",
        "pages": 58,
        "sha256": "d9a466f1abc5af59",
        "source_tier": "lcsc"
      },
      "cad": "KiCad official (CC-BY-SA 4.0)",
      "pins": {
        "total": 24,
        "described": 24,
        "cites_pages": true,
        "refuses_to_fabricate": true
      }
    },
    "viewers": {
      "symbol": "viewers/symbol.html",
      "footprint": "viewers/footprint.html"
    },
    "models_3d": [
      {
        "file": "cw32f003e4p7.step",
        "role": "plain",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "z = 0",
        "extents_mm": [
          6.4,
          7.8,
          0.97
        ],
        "zmin_mm": 0.0,
        "centre_offset_mm": 0.0,
        "footprint_binding": "identity",
        "sha256": "706322f42d9793ebf28d5b80100a68bfa8769998a00b78acadf7af937fc1454f",
        "checked": "2026-10-18",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      },
      {
        "file": "cw32f003e4p7-etched.step",
        "role": "eda",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "z = 0",
        "extents_mm": [
          6.4,
          7.8,
          0.97
        ],
        "zmin_mm": 0.0,
        "centre_offset_mm": 0.0,
        "footprint_binding": "identity",
        "sha256": "6996220afb347d07d68ce784257e8a3e80f8dd3b28ee890a6c0e7f10dae8c87c",
        "checked": "2026-10-18",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      }
    ]
  }
}