main
Ray Publish 0.1.0 79e2822 10d ago
{
  "slug": "py32f030f28p6tu",
  "version": "0.1.0",
  "type": "component",
  "description": "PUYA Microcontrollers (MCU/MPU/SOC), TSSOP-20. Pinout cross-checked by two models against the datasheet, KiCad symbol/footprint/3D.",
  "tags": [
    "component",
    "embedded processors & controllers",
    "py32f030f28p6tu",
    "factory-2.0.0",
    "extractor-text"
  ],
  "dependencies": {},
  "hero": {
    "type": "image",
    "path": "docs/hero.png"
  },
  "files": [
    "page.json",
    "README.md",
    "py32f030f28p6tu.kicad_sym",
    "py32f030f28p6tu.kicad_mod",
    "py32f030f28p6tu.glb",
    "py32f030f28p6tu.step",
    "py32f030f28p6tu.lbr",
    "docs/hero.png",
    "docs/py32f030f28p6tu-datasheet.pdf",
    "viewers/symbol.html",
    "viewers/footprint.html",
    "py32f030f28p6tu-hero.glb",
    "py32f030f28p6tu-hero.overlay.json",
    "py32f030f28p6tu-etched.glb"
  ],
  "component": {
    "mpn": "PY32F030F28P6TU",
    "manufacturer": "PUYA",
    "package": "TSSOP-20",
    "pin_count": 20,
    "category": "Embedded Processors & Controllers",
    "subcategory": "Microcontrollers (MCU/MPU/SOC)",
    "datasheet": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8589838266024562688",
    "parts": {
      "symbol": "py32f030f28p6tu.kicad_sym",
      "footprint": "py32f030f28p6tu.kicad_mod",
      "model_3d": "py32f030f28p6tu-hero.glb",
      "model_3d_plain": "py32f030f28p6tu-etched.glb",
      "model_3d_step": "py32f030f28p6tu-etched.step",
      "model_3d_step_plain": "py32f030f28p6tu.step",
      "lbr": "py32f030f28p6tu.lbr"
    },
    "distributor_links": {
      "lcsc": "C3018716"
    },
    "distributor_check": {
      "checked_at": "2026-10-17T21:16:00Z",
      "source": "Component Ocean /api/assign-pns",
      "digikey": {
        "pn": null,
        "status": "quota"
      },
      "mouser": {
        "pn": null,
        "status": "quota"
      }
    },
    "pins": [
      {
        "number": "1",
        "name": "PA2",
        "type": "bidirectional",
        "description": "COM I/O port with ADC_IN2 and COMP2_INM additional functions and alternate functions including SPI1_MOSI, USART1_TX, USART2_TX, LED_DATA_D, LPUART_TX, COMP2_OUT, SPI1_SCK, TIM3_CH1 and I2C_SDA."
      },
      {
        "number": "2",
        "name": "PA3",
        "type": "bidirectional",
        "description": "COM I/O port with ADC_IN3 and COMP2_INP additional functions and alternate functions including SPI2_MISO, USART1_RX, USART2_RX, LED_DATA_E, EVENTOUT, SPI1_MOSI, TIM1_CH1 and I2C_SCL."
      },
      {
        "number": "3",
        "name": "PA4",
        "type": "bidirectional",
        "description": "COM I/O port with ADC_IN4 additional function and alternate functions including SPI1_NSS, USART1_CK, SPI2_MOSI, LED_DATA_F, TIM14_CH1, USART2_CK, RTC_OUT, TIM3_CH3 and USART2_TX."
      },
      {
        "number": "4",
        "name": "PA5",
        "type": "bidirectional",
        "description": "COM I/O port with ADC_IN5 additional function and alternate functions including SPI1_SCK, LED_DATA_G and LPTIM_ETR."
      },
      {
        "number": "5",
        "name": "PA6",
        "type": "bidirectional",
        "description": "COM I/O port with ADC_IN6 additional function and alternate functions including SPI1_MISO, TIM3_CH1, TIM1_BKIN, LED_DATA_DP and TIM16_CH1 (pin position taken from the pinout figure)."
      },
      {
        "number": "6",
        "name": "PA7",
        "type": "bidirectional",
        "description": "General-purpose I/O port PA7 (pin position taken from the pinout figure)."
      },
      {
        "number": "7",
        "name": "VSS",
        "type": "power_in",
        "description": "Ground pin (pin position taken from the pinout figure)."
      },
      {
        "number": "8",
        "name": "PA12",
        "type": "bidirectional",
        "description": "General-purpose I/O port PA12 (pin position taken from the pinout figure)."
      },
      {
        "number": "9",
        "name": "VCC",
        "type": "power_in",
        "description": "Digital power supply, operating range 1.7V to 5.5V."
      },
      {
        "number": "10",
        "name": "PA13",
        "type": "bidirectional",
        "description": "General-purpose I/O port PA13 (pin position taken from the pinout figure)."
      },
      {
        "number": "11",
        "name": "PA14",
        "type": "bidirectional",
        "description": "General-purpose I/O port PA14 (pin position taken from the pinout figure)."
      },
      {
        "number": "12",
        "name": "PB5",
        "type": "bidirectional",
        "description": "COM_L I/O port with high sink current (80/60/40/20 mA software-configurable) and alternate functions including SPI1_MOSI, TIM3_CH2, TIM16_BKIN, USART2_CK, USART1_CK, LPTIM_IN1, LED_COM3 and COMP1_OUT."
      },
      {
        "number": "13",
        "name": "PB6",
        "type": "bidirectional",
        "description": "COM I/O port with alternate functions including USART1_TX, COMP2_INP, TIM1_CH3, TIM16_CH1N, USART2_TX, SPI2_MISO, I2C_SCL and LPTIM_ETR."
      },
      {
        "number": "14",
        "name": "PB7",
        "type": "bidirectional",
        "description": "COM I/O port with PVD_IN additional function and alternate functions including USART1_RX, COMP2_INM, SPI2_MOSI, TIM17_CH1N, USART2_RX and I2C_SDA."
      },
      {
        "number": "15",
        "name": "PF4-BOOT0",
        "type": "input",
        "description": "COM I/O port PF4 with BOOT0 additional function for boot mode selection."
      },
      {
        "number": "16",
        "name": "PF0-OSC_IN",
        "type": "bidirectional",
        "description": "COM I/O port PF0 with OSC_IN additional function (HSE crystal input) and alternate functions including SPI2_SCK, USART2_RX, TIM14_CH1, USART1_RX, USART2_TX and I2C_SDA."
      },
      {
        "number": "17",
        "name": "PF1-OSC_OUT",
        "type": "bidirectional",
        "description": "COM I/O port PF1 with OSC_OUT additional function (HSE crystal output) and alternate functions including SPI2_MISO, USART2_TX, USART1_TX, USART2_RX, I2C_SCL, SPI1_NSS and TIM14_CH1."
      },
      {
        "number": "18",
        "name": "PF2-NRST",
        "type": "bidirectional",
        "description": "Reset port with internal weak pull-up and no analog function; NRST is the external reset input, with MCO, SPI2_MOSI and USART2_RX alternate functions."
      },
      {
        "number": "19",
        "name": "PA0",
        "type": "bidirectional",
        "description": "COM I/O port with ADC_IN0 and COMP1_INM additional functions and alternate functions including SPI2_SCK, USART1_CTS, LED_DATA_B, USART2_CTS, COMP1_OUT, TIM1_CH3, TIM1_CH1N, SPI1_MISO, USART2_TX and IR_OUT."
      },
      {
        "number": "20",
        "name": "PA1",
        "type": "bidirectional",
        "description": "COM I/O port with COMP1_INP and ADC_IN1 additional functions and alternate functions including SPI1_SCK, USART1_RTS, USART2_RTS, LED_DATA_C, EVENTOUT, SPI1_MOSI, USART2_RX, TIM1_CH4, TIM1_CH2N and MCO."
      }
    ],
    "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 numbering conflict in the datasheet: the Figure 4-8 TSSOP20 Pinout2 drawing order gives PA1=11, ; Port structure and alternate-function lists for PA7, PA12, PA13 and PA14 are not present in the extr; The datasheet classes PF2-NRST as I/O with RST structure; it is listed as bidirectional here, but it"
        ],
        "pages_sent": 37,
        "cost_usd": 0.159,
        "at": "2026-10-17T21:13:35"
      },
      "datasheet": {
        "url": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8589838266024562688",
        "pages": 59,
        "sha256": "38262b8a2c832056",
        "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": "py32f030f28p6tu.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-17",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      },
      {
        "file": "py32f030f28p6tu-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": "3166d4e28dbc3bb9a67825061bf14966716b1b09ebe50b121c80beae26916519",
        "checked": "2026-10-17",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      }
    ]
  }
}