main
Ray Publish 0.1.0 351069b 8h ago
{
  "slug": "hc32f003c4pa-tssop20tr",
  "version": "0.1.0",
  "type": "component",
  "description": "XHSC Microcontrollers (MCU/MPU/SOC), TSSOP-20. Pinout cross-checked by two models against the datasheet, KiCad symbol/footprint/3D.",
  "tags": [
    "component",
    "embedded processors & controllers",
    "hc32f003c4pa-tssop20tr",
    "factory-2.0.0",
    "extractor-text"
  ],
  "dependencies": {},
  "hero": {
    "type": "image",
    "path": "docs/hero.png"
  },
  "files": [
    "page.json",
    "README.md",
    "hc32f003c4pa-tssop20tr.kicad_sym",
    "hc32f003c4pa-tssop20tr.kicad_mod",
    "hc32f003c4pa-tssop20tr.glb",
    "hc32f003c4pa-tssop20tr.step",
    "hc32f003c4pa-tssop20tr.lbr",
    "docs/hero.png",
    "docs/hc32f003c4pa-tssop20tr-datasheet.pdf",
    "viewers/symbol.html",
    "viewers/footprint.html",
    "hc32f003c4pa-tssop20tr-hero.glb",
    "hc32f003c4pa-tssop20tr-hero.overlay.json",
    "hc32f003c4pa-tssop20tr-etched.glb"
  ],
  "component": {
    "mpn": "HC32F003C4PA-TSSOP20TR",
    "manufacturer": "XHSC",
    "package": "TSSOP-20",
    "pin_count": 20,
    "category": "Embedded Processors & Controllers",
    "subcategory": "Microcontrollers (MCU/MPU/SOC)",
    "datasheet": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8588908171657662464",
    "parts": {
      "symbol": "hc32f003c4pa-tssop20tr.kicad_sym",
      "footprint": "hc32f003c4pa-tssop20tr.kicad_mod",
      "model_3d": "hc32f003c4pa-tssop20tr-hero.glb",
      "model_3d_plain": "hc32f003c4pa-tssop20tr-etched.glb",
      "model_3d_step": "hc32f003c4pa-tssop20tr-etched.step",
      "model_3d_step_plain": "hc32f003c4pa-tssop20tr.step",
      "lbr": "hc32f003c4pa-tssop20tr.lbr"
    },
    "distributor_links": {
      "lcsc": "C784649"
    },
    "distributor_check": {
      "checked_at": "2026-10-18T13:48:46Z",
      "source": "Component Ocean /api/assign-pns",
      "digikey": {
        "pn": null,
        "status": "quota"
      },
      "mouser": {
        "pn": null,
        "status": "quota"
      }
    },
    "pins": [
      {
        "number": "1",
        "name": "AIN4/VCIN4/P34",
        "type": "bidirectional",
        "description": "General-purpose digital I/O P34, also analog input AIN4 / comparator input VC4, with PCA_CH0, TIM5_CHA, TIM0_EXT, TIM4_CHA and TIM1_TOG alternate functions."
      },
      {
        "number": "2",
        "name": "AIN5/VCIN5/P35",
        "type": "bidirectional",
        "description": "General-purpose digital I/O P35 (datasheet recommends reserving P35 and P36 as the ISP programming interface), also analog input AIN5 / VC5, with UART1_TXD, UART0_TXD, TIM6_CHB, TIM0_GATE, TIM4_CHB, SPI_MISO and I2C_SDA alternate functions."
      },
      {
        "number": "3",
        "name": "AIN6/VCIN6/AVREF/P36",
        "type": "bidirectional",
        "description": "General-purpose digital I/O P36 (datasheet recommends reserving P35 and P36 as the ISP programming interface), also analog input AIN6 / VC6 and AVREF external reference input, with UART1_RXD, UART0_RXD, TIM6_CHA, PCA_CH4, TIM5_CHA, SPI_MOSI and I2C_SCL alternate functions."
      },
      {
        "number": "4",
        "name": "RESETB/P00",
        "type": "input",
        "description": "RESETB is the active-low chip reset input with an internal pull-up that cannot be disconnected (about 80 kΩ at VIN = VSS); the pin can also be used as digital input P00."
      },
      {
        "number": "5",
        "name": "XTHI/AIN7/VCIN7/P01",
        "type": "bidirectional",
        "description": "General-purpose digital I/O P01, also external high-speed crystal oscillator input XTHI (4~32 MHz crystal), analog input AIN7 / VC7, with UART0_RXD, I2C_SDA, UART1_TXD, TIM0_TOG, TIM5_CHB, SPI_SCK and TIM2_EXT alternate functions."
      },
      {
        "number": "6",
        "name": "XTHO/AIN8/P02",
        "type": "bidirectional",
        "description": "General-purpose digital I/O P02, also external high-speed crystal oscillator output XTHO and analog input AIN8, with UART0_TXD, I2C_SCL, UART1_RXD, TIM0_TOGN, TIM6_CHA, SPI_CS and TIM2_GATE alternate functions."
      },
      {
        "number": "7",
        "name": "AVSS/DVSS",
        "type": "power_in",
        "description": "Ground (GND) for the analog and digital supply domains; all DVSS and AVSS pins must always be connected to the external supply system."
      },
      {
        "number": "8",
        "name": "VCAP",
        "type": "power_out",
        "description": "Output of the internal LDO core supply, for internal circuit use only; a 4.7 uF capacitor must be connected to this pin."
      },
      {
        "number": "9",
        "name": "AVCC/DVCC",
        "type": "power_in",
        "description": "Chip power supply, 1.8 to 5.5 V for both analog and digital domains; a decoupling capacitor must be placed as close as possible to this pin."
      },
      {
        "number": "10",
        "name": "LVDIN1/P03",
        "type": "bidirectional",
        "description": "General-purpose digital I/O P03, also LVD monitor input LVDIN1, with PCA_CH3, SPI_CS, TIM6_CHB, PCA_ECI and VC0_OUT alternate functions."
      },
      {
        "number": "11",
        "name": "P15",
        "type": "bidirectional",
        "description": "General-purpose digital I/O P15, with I2C_SDA, TIM2_TOG, TIM4_CHB, SPI_SCK, UART0_RXD and LVD_OUT alternate functions."
      },
      {
        "number": "12",
        "name": "P14",
        "type": "bidirectional",
        "description": "General-purpose digital I/O P14, with I2C_SCL, TIM2_TOGN, PCA external clock input (ECI), ADC_RDY, SPI_CS and UART0_TXD alternate functions."
      },
      {
        "number": "13",
        "name": "P23/LVDIN2/VCIN0",
        "type": "bidirectional",
        "description": "General-purpose digital I/O P23, also LVD monitor input LVDIN2 / comparator input VC0, with TIM6_CHA, TIM4_CHB, TIM4_CHA, PCA_CH0, SPI_MISO, UART1_TXD and IR_OUT (38 kHz carrier output) alternate functions."
      },
      {
        "number": "14",
        "name": "P24/AIN0",
        "type": "bidirectional",
        "description": "General-purpose digital I/O P24, also analog input AIN0, with TIM4_CHB, TIM5_CHB, HCLK_OUT, PCA_CH1, SPI_MOSI, UART1_RXD and VC1_OUT alternate functions."
      },
      {
        "number": "15",
        "name": "P25/LVDIN3/VC1",
        "type": "bidirectional",
        "description": "General-purpose digital I/O P25, also LVD monitor input LVDIN3 / comparator input VC1, with SPI_SCK, PCA_CH0, TIM5_CHA, LVD_OUT, I2C_SDA and TIM1_GATE alternate functions."
      },
      {
        "number": "16",
        "name": "P26/AIN1",
        "type": "bidirectional",
        "description": "General-purpose digital I/O P26, also analog input AIN1, with SPI_MOSI, TIM4_CHA, TIM5_CHB, PCA_CH2, I2C_SCL and TIM1_EXT alternate functions."
      },
      {
        "number": "17",
        "name": "P27/SWDIO",
        "type": "bidirectional",
        "description": "General-purpose digital I/O P27, also SWD debug data pin SWDIO (one of the SWD/ISP programming pin options), with SPI_MISO, TIM5_CHA, TIM6_CHA, PCA_CH3, UART0_RXD, RCH_OUT and XTH_OUT alternate functions."
      },
      {
        "number": "18",
        "name": "P31/SWCLK",
        "type": "bidirectional",
        "description": "General-purpose digital I/O P31, also SWD debug clock pin SWCLK (one of the SWD/ISP programming pin options), with PCA_ECI, PCLK_OUT, VC0OUT, UART0_TXD, RCL_OUT and HCLK_OUT alternate functions."
      },
      {
        "number": "19",
        "name": "P32/AIN2/VCIN2",
        "type": "bidirectional",
        "description": "General-purpose digital I/O P32, also analog input AIN2 / VC2, with PCA_CH2, TIM6_CHB, VC1OUT, UART1_TXD and PCA_CH4 alternate functions."
      },
      {
        "number": "20",
        "name": "P33/AIN3/VCIN3",
        "type": "bidirectional",
        "description": "General-purpose digital I/O P33, also analog input AIN3 / VC3, with PCA_CH1, TIM5_CHB, PCA_ECI, UART1_RXD and TIM1_TOGN alternate functions."
      }
    ],
    "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 TSSOP20 pinout comes from the package diagram on page 17 and matches the TSSOP20 column of the p; Pin 7 and pin 9 names differ between sources: the pin diagram prints AVSS/DVSS and AVCC/DVCC, while ; Type for VCAP (pin 8) is power_out, inferred from the datasheet 'Power' class and 'LDO core supply o"
        ],
        "pages_sent": 40,
        "cost_usd": 0.1386,
        "at": "2026-10-18T13:48:29"
      },
      "datasheet": {
        "url": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8588908171657662464",
        "pages": 65,
        "sha256": "74fd2ff9aa2d5d16",
        "source_tier": "lcsc"
      },
      "cad": "KiCad official (CC-BY-SA 4.0)",
      "pins": {
        "total": 20,
        "described": 20,
        "cites_pages": true,
        "refuses_to_fabricate": true
      }
    },
    "viewers": {
      "symbol": "viewers/symbol.html",
      "footprint": "viewers/footprint.html"
    },
    "models_3d": [
      {
        "file": "hc32f003c4pa-tssop20tr.step",
        "role": "plain",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "z = 0",
        "extents_mm": [
          6.4,
          6.5,
          1.2
        ],
        "zmin_mm": -0.0,
        "centre_offset_mm": 0.0,
        "footprint_binding": "identity",
        "sha256": "97339947f3a7196470ec2f1d9f9b92bb2fc2ab66ad53be0cf105192585ef3c9a",
        "checked": "2026-10-18",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      },
      {
        "file": "hc32f003c4pa-tssop20tr-etched.step",
        "role": "eda",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "z = 0",
        "extents_mm": [
          6.4,
          6.5,
          1.2
        ],
        "zmin_mm": -0.0,
        "centre_offset_mm": 0.0,
        "footprint_binding": "identity",
        "sha256": "a00243b8f45d6f08aafbf8b83df5b52db101ef6f21f58973a750b563604830d8",
        "checked": "2026-10-18",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      }
    ]
  }
}