main
Ray Publish 0.1.0 c5880b0 8d ago
{
  "slug": "py32md310k18u7tr",
  "version": "0.1.0",
  "type": "component",
  "description": "PUYA Microcontrollers (MCU/MPU/SOC), QFN-32-EP(5x5). Pinout cross-checked by two models against the datasheet, KiCad symbol/footprint/3D.",
  "tags": [
    "component",
    "embedded processors & controllers",
    "py32md310k18u7tr",
    "factory-2.0.0",
    "extractor-text"
  ],
  "dependencies": {},
  "hero": {
    "type": "image",
    "path": "docs/hero.png"
  },
  "files": [
    "page.json",
    "README.md",
    "py32md310k18u7tr.kicad_sym",
    "py32md310k18u7tr.kicad_mod",
    "py32md310k18u7tr.glb",
    "py32md310k18u7tr.step",
    "py32md310k18u7tr.lbr",
    "docs/hero.png",
    "docs/py32md310k18u7tr-datasheet.pdf",
    "viewers/symbol.html",
    "viewers/footprint.html",
    "py32md310k18u7tr-hero.glb",
    "py32md310k18u7tr-hero.overlay.json",
    "py32md310k18u7tr-etched.glb"
  ],
  "component": {
    "mpn": "PY32MD310K18U7TR",
    "manufacturer": "PUYA",
    "package": "QFN-32-EP(5x5)",
    "pin_count": 33,
    "category": "Embedded Processors & Controllers",
    "subcategory": "Microcontrollers (MCU/MPU/SOC)",
    "datasheet": "https://datasheet.lcsc.com/datasheet/pdf/ab8810ecf8222eac818aa193ebfdb4e1.pdf",
    "parts": {
      "symbol": "py32md310k18u7tr.kicad_sym",
      "footprint": "py32md310k18u7tr.kicad_mod",
      "model_3d": "py32md310k18u7tr-hero.glb",
      "model_3d_plain": "py32md310k18u7tr-etched.glb",
      "model_3d_step": "py32md310k18u7tr-etched.step",
      "model_3d_step_plain": "py32md310k18u7tr.step",
      "lbr": "py32md310k18u7tr.lbr"
    },
    "distributor_links": {
      "lcsc": "C42376917"
    },
    "distributor_check": {
      "checked_at": "2026-10-18T17:43:11Z",
      "source": "Component Ocean /api/assign-pns",
      "digikey": {
        "pn": null,
        "status": "quota"
      },
      "mouser": {
        "pn": null,
        "status": "quota"
      }
    },
    "pins": [
      {
        "number": "1",
        "name": "INN1",
        "type": "input",
        "description": "Negative input of the channel 1 low-offset op-amp."
      },
      {
        "number": "2",
        "name": "INP1",
        "type": "input",
        "description": "Positive input of the channel 1 low-offset op-amp."
      },
      {
        "number": "3",
        "name": "INN2",
        "type": "input",
        "description": "Negative input of the channel 2 low-offset op-amp."
      },
      {
        "number": "4",
        "name": "INP2",
        "type": "input",
        "description": "Positive input of the channel 2 low-offset op-amp."
      },
      {
        "number": "5",
        "name": "LDO",
        "type": "power_out",
        "description": "5 V LDO output; connect an external 1 µF capacitor to ground."
      },
      {
        "number": "6",
        "name": "VIN",
        "type": "power_in",
        "description": "Input supply for the gate driver; connect an external 1 µF capacitor to ground."
      },
      {
        "number": "7",
        "name": "PGND",
        "type": "power_in",
        "description": "Power ground for the gate driver, connected to the gate driver stage."
      },
      {
        "number": "8",
        "name": "LO1",
        "type": "bidirectional",
        "description": "Port PA10 (COM: normal 5 V port with analog I/O capability), also the channel 1 low-side gate driver output LO1."
      },
      {
        "number": "9",
        "name": "HO1",
        "type": "bidirectional",
        "description": "Port PB1 (COM), also the channel 1 high-side gate driver output HO1."
      },
      {
        "number": "10",
        "name": "LO2",
        "type": "bidirectional",
        "description": "Port PA8 (COM), also the channel 2 low-side gate driver output LO2."
      },
      {
        "number": "11",
        "name": "HO2",
        "type": "bidirectional",
        "description": "Port PA7 (COM), also the channel 2 high-side gate driver output HO2."
      },
      {
        "number": "12",
        "name": "LO3",
        "type": "bidirectional",
        "description": "Port PB3 (COM), also the channel 3 low-side gate driver output LO3."
      },
      {
        "number": "13",
        "name": "HO3",
        "type": "bidirectional",
        "description": "Port PA1 (COM), also the channel 3 high-side gate driver output HO3."
      },
      {
        "number": "14",
        "name": "PB4",
        "type": "bidirectional",
        "description": "General-purpose I/O (COM, analog I/O capable); alternate functions include SPI1_MISO, TIM3_CH1, USART1_CTS and TIM17_BKIN."
      },
      {
        "number": "15",
        "name": "PB5",
        "type": "bidirectional",
        "description": "General-purpose I/O (COM, analog I/O capable); alternate functions include SPI1_MOSI, TIM3_CH2, LPTIM_IN1 and COMP1_OUT."
      },
      {
        "number": "16",
        "name": "PB7",
        "type": "bidirectional",
        "description": "General-purpose I/O (COM, analog I/O capable); alternate functions include USART1_RX, COMP2_INM, PVD_IN and I2C_SDA."
      },
      {
        "number": "17",
        "name": "PA14-SWCLK",
        "type": "bidirectional",
        "description": "SWD clock (SWCLK); after reset this pin is SWCLK with an internal pull-down enabled."
      },
      {
        "number": "18",
        "name": "PA13-SWDIO",
        "type": "bidirectional",
        "description": "SWD data I/O (SWDIO); after reset this pin is SWDIO with an internal pull-up enabled."
      },
      {
        "number": "19",
        "name": "PB8",
        "type": "bidirectional",
        "description": "General-purpose I/O (COM, analog I/O capable); alternate functions include COMP1_INP, TIM16_CH1, I2C1_SCL and USART2_TX."
      },
      {
        "number": "20",
        "name": "VCC",
        "type": "power_in",
        "description": "Main power supply, 1.7 V to 5.5 V; supplies the analog modules and I/O ring."
      },
      {
        "number": "21",
        "name": "PF0-OSC_IN",
        "type": "bidirectional",
        "description": "Port PF0 (COM, analog I/O capable); also the HSE oscillator input OSC_IN."
      },
      {
        "number": "22",
        "name": "PF1-OSC_OUT",
        "type": "bidirectional",
        "description": "Port PF1 (COM, analog I/O capable); also the HSE oscillator output OSC_OUT."
      },
      {
        "number": "23",
        "name": "PF2-NRST",
        "type": "bidirectional",
        "description": "Reset port (RST: internal weak pull-up, no analog I/O); function is PF2 or NRST, selected through option bytes."
      },
      {
        "number": "24",
        "name": "PF3",
        "type": "bidirectional",
        "description": "General-purpose I/O (COM, analog I/O capable); alternate functions include COMP2_INP, USART1_TX and RTC_OUT."
      },
      {
        "number": "25",
        "name": "PA0",
        "type": "bidirectional",
        "description": "General-purpose I/O (COM, analog I/O capable); alternate functions include ADC_IN0, COMP1_INM and COMP1_OUT."
      },
      {
        "number": "26",
        "name": "PA2",
        "type": "bidirectional",
        "description": "General-purpose I/O; alternate functions include SPI1_MOSI, USART1_TX, USART2_TX and COMP2_OUT."
      },
      {
        "number": "27",
        "name": "PA3",
        "type": "bidirectional",
        "description": "General-purpose I/O; alternate functions include SPI2_MISO, USART1_RX, USART2_RX and I2C_SCL."
      },
      {
        "number": "28",
        "name": "PA4",
        "type": "bidirectional",
        "description": "General-purpose I/O; alternate functions include SPI1_NSS, USART1_CK, SPI2_MOSI and TIM14_CH1."
      },
      {
        "number": "29",
        "name": "PA5",
        "type": "bidirectional",
        "description": "General-purpose I/O; alternate functions include SPI1_SCK, LPTIM1_ETR, USART2_RX and TIM3_CH2."
      },
      {
        "number": "30",
        "name": "PA6",
        "type": "bidirectional",
        "description": "General-purpose I/O; alternate functions include SPI1_MISO, TIM3_CH1, TIM1_BKIN and COMP1_OUT."
      },
      {
        "number": "31",
        "name": "AO2",
        "type": "output",
        "description": "Output of the channel 2 low-offset op-amp."
      },
      {
        "number": "32",
        "name": "AO1",
        "type": "output",
        "description": "Output of the channel 1 low-offset op-amp."
      },
      {
        "number": "33",
        "name": "VSS",
        "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: Exposed pad is not given a pin number in the datasheet; the figure only labels it 'Exposed pad' next; Page 21 is missing from the supplied text. Pin 18 (PA13/SWDIO) and pin 20 (VCC) are taken from the p; Pins 26-30 (PA2, PA3, PA4, PA5, PA6) have names from the pinout figure only. Their pin-table rows (o",
          "exposed pad 33 added from the footprint",
          "3/33 pins cited to the wrong page (name found elsewhere): ['20:VCC@p9', '29:PA5@p24', '30:PA6@p24']"
        ],
        "pages_sent": 32,
        "cost_usd": 0.1505,
        "at": "2026-10-18T17:42:55"
      },
      "datasheet": {
        "url": "https://datasheet.lcsc.com/datasheet/pdf/ab8810ecf8222eac818aa193ebfdb4e1.pdf",
        "pages": 48,
        "sha256": "a1419850cd1069c6",
        "source_tier": "lcsc"
      },
      "cad": "KiCad official (CC-BY-SA 4.0)",
      "pins": {
        "total": 33,
        "described": 33,
        "cites_pages": true,
        "refuses_to_fabricate": true
      }
    },
    "viewers": {
      "symbol": "viewers/symbol.html",
      "footprint": "viewers/footprint.html"
    },
    "models_3d": [
      {
        "file": "py32md310k18u7tr.step",
        "role": "plain",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "z = 0",
        "extents_mm": [
          5.0,
          5.0,
          0.875
        ],
        "zmin_mm": 0.0,
        "centre_offset_mm": 0.0,
        "footprint_binding": "identity",
        "sha256": "5fa713ea46b36980895812ed853577889b7cb06d275041a39b99bc0be305dc79",
        "checked": "2026-10-18",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      },
      {
        "file": "py32md310k18u7tr-etched.step",
        "role": "eda",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "z = 0",
        "extents_mm": [
          5.0,
          5.0,
          0.875
        ],
        "zmin_mm": 0.0,
        "centre_offset_mm": 0.0,
        "footprint_binding": "identity",
        "sha256": "da2bbf8a1e73d53e1741b989e64b81f2b722cc879f244c7c1b92da891cbecfb9",
        "checked": "2026-10-18",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      }
    ]
  }
}