main
Ray stm8l052r8t6tr: component.models_3d pose record per STEP (Z-up, seated z=0, pad-centre origin, identity binding) 32bb1f9
{
  "slug": "stm8l052r8t6tr",
  "version": "0.1.0",
  "type": "component",
  "description": "STMicroelectronics Microcontrollers (MCU/MPU/SOC), LQFP-64(10x10). Datasheet-verified pinout, KiCad symbol/footprint/3D.",
  "tags": [
    "component",
    "embedded processors & controllers",
    "stm8l052r8t6tr",
    "factory-2.0.0",
    "extractor-text"
  ],
  "dependencies": {},
  "hero": {
    "type": "image",
    "path": "docs/hero.png"
  },
  "files": [
    "page.json",
    "README.md",
    "stm8l052r8t6tr.kicad_sym",
    "stm8l052r8t6tr.kicad_mod",
    "stm8l052r8t6tr.glb",
    "stm8l052r8t6tr.step",
    "stm8l052r8t6tr.lbr",
    "docs/hero.png",
    "docs/stm8l052r8t6tr-datasheet.pdf",
    "viewers/symbol.html",
    "viewers/footprint.html"
  ],
  "component": {
    "mpn": "STM8L052R8T6TR",
    "manufacturer": "STMicroelectronics",
    "package": "LQFP-64(10x10)",
    "pin_count": 64,
    "category": "Embedded Processors & Controllers",
    "subcategory": "Microcontrollers (MCU/MPU/SOC)",
    "datasheet": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8588907830682664960",
    "parts": {
      "symbol": "stm8l052r8t6tr.kicad_sym",
      "footprint": "stm8l052r8t6tr.kicad_mod",
      "model_3d": "stm8l052r8t6tr-etched.glb",
      "model_3d_plain": "stm8l052r8t6tr.glb",
      "model_3d_step": "stm8l052r8t6tr-etched.step",
      "model_3d_step_plain": "stm8l052r8t6tr.step",
      "lbr": "stm8l052r8t6tr.lbr"
    },
    "distributor_links": {
      "lcsc": "C967650"
    },
    "pins": [
      {
        "number": "1",
        "name": "PA0",
        "type": "bidirectional",
        "description": "Port A0 general-purpose I/O with alternate functions: USART1 synchronous clock, SWIM debug interface input/output, Beep output, Infrared Timer output"
      },
      {
        "number": "2",
        "name": "NRST/PA1",
        "type": "input",
        "description": "NRST reset input pin (active low) with internal pull-up; can be configured as PA1 general-purpose output-only GPIO"
      },
      {
        "number": "3",
        "name": "PA2",
        "type": "bidirectional",
        "description": "Port A2 GPIO with alternate functions: HSE oscillator input, USART1 transmit, SPI1 MISO"
      },
      {
        "number": "4",
        "name": "PA3",
        "type": "bidirectional",
        "description": "Port A3 GPIO with alternate functions: HSE oscillator output, USART1 receive, SPI1 MOSI"
      },
      {
        "number": "5",
        "name": "PA4",
        "type": "bidirectional",
        "description": "Port A4 GPIO with alternate functions: Timer 2 break input, LCD common 0, ADC1 input 2; five-volt tolerant"
      },
      {
        "number": "6",
        "name": "PA5",
        "type": "bidirectional",
        "description": "Port A5 GPIO with alternate functions: Timer 3 break input, LCD common 1, ADC1 input 1; five-volt tolerant"
      },
      {
        "number": "7",
        "name": "PA6",
        "type": "bidirectional",
        "description": "Port A6 GPIO with alternate functions: ADC1 trigger input, LCD common 2, ADC1 input 0; five-volt tolerant"
      },
      {
        "number": "8",
        "name": "PA7",
        "type": "bidirectional",
        "description": "Port A7 GPIO with alternate functions: LCD segment 0, Timer 5 channel 1; five-volt tolerant"
      },
      {
        "number": "9",
        "name": "VSSA/VREF-",
        "type": "power_in",
        "description": "Analog ground and ADC1 negative voltage reference (must be connected to VSS)"
      },
      {
        "number": "10",
        "name": "VSS1",
        "type": "power_in",
        "description": "I/O ground voltage supply connection"
      },
      {
        "number": "11",
        "name": "VDD1",
        "type": "power_in",
        "description": "Digital power supply 1.8 V to 3.6 V for core and peripherals"
      },
      {
        "number": "12",
        "name": "VDDA",
        "type": "power_in",
        "description": "Analog power supply 1.8 V to 3.6 V; must be at same potential as VDD"
      },
      {
        "number": "13",
        "name": "VREF+",
        "type": "power_in",
        "description": "ADC1 positive voltage reference 2.4 V to 3.6 V (or equal to VDDA)"
      },
      {
        "number": "14",
        "name": "PG0",
        "type": "bidirectional",
        "description": "Port G0 GPIO with alternate functions: USART3 receive, Timer 2 break input; five-volt tolerant"
      },
      {
        "number": "15",
        "name": "PG1",
        "type": "bidirectional",
        "description": "Port G1 GPIO with alternate functions: USART3 transmit, Timer 3 break input; five-volt tolerant"
      },
      {
        "number": "16",
        "name": "PG2",
        "type": "bidirectional",
        "description": "Port G2 GPIO with alternate function: USART3 synchronous clock; five-volt tolerant"
      },
      {
        "number": "17",
        "name": "PG3",
        "type": "bidirectional",
        "description": "Port G3 GPIO with alternate function: Timer 3 external trigger; five-volt tolerant"
      },
      {
        "number": "18",
        "name": "VLCD",
        "type": "passive",
        "description": "LCD booster external capacitor connection 0.1 µF to 2 µF recommended"
      },
      {
        "number": "19",
        "name": "PE0",
        "type": "bidirectional",
        "description": "Port E0 GPIO with alternate functions: LCD segment 1, Timer 5 channel 2, RTC tamper 1 input; five-volt tolerant"
      },
      {
        "number": "20",
        "name": "PE1",
        "type": "bidirectional",
        "description": "Port E1 GPIO with alternate functions: Timer 1 inverted channel 2, LCD segment 2, RTC tamper 2 input; five-volt tolerant"
      },
      {
        "number": "21",
        "name": "PE2",
        "type": "bidirectional",
        "description": "Port E2 GPIO with alternate functions: Timer 1 inverted channel 3, LCD segment 3, RTC tamper 3 input, configurable clock output; five-volt tolerant"
      },
      {
        "number": "22",
        "name": "PE3",
        "type": "bidirectional",
        "description": "Port E3 GPIO with alternate functions: LCD segment 4, USART2 receive; five-volt tolerant"
      },
      {
        "number": "23",
        "name": "PE4",
        "type": "bidirectional",
        "description": "Port E4 GPIO with alternate functions: LCD segment 5, USART2 transmit; five-volt tolerant"
      },
      {
        "number": "24",
        "name": "PE5",
        "type": "bidirectional",
        "description": "Port E5 GPIO with alternate functions: LCD segment 6, ADC1 input 23, USART2 synchronous clock; five-volt tolerant"
      },
      {
        "number": "25",
        "name": "PD0",
        "type": "bidirectional",
        "description": "Port D0 GPIO with alternate functions: Timer 3 channel 2, ADC1 trigger, LCD segment 7, ADC1 input 22; five-volt tolerant"
      },
      {
        "number": "26",
        "name": "PD1",
        "type": "bidirectional",
        "description": "Port D1 GPIO with alternate functions: Timer 3 external trigger, LCD common 3, ADC1 input 21; five-volt tolerant"
      },
      {
        "number": "27",
        "name": "PD2",
        "type": "bidirectional",
        "description": "Port D2 GPIO with alternate functions: Timer 1 channel 1, LCD segment 8, ADC1 input 20; five-volt tolerant"
      },
      {
        "number": "28",
        "name": "PD3",
        "type": "bidirectional",
        "description": "Port D3 GPIO with alternate functions: Timer 1 external trigger, LCD segment 9, ADC1 input 19; five-volt tolerant"
      },
      {
        "number": "29",
        "name": "VDD3",
        "type": "power_in",
        "description": "I/O power supply 1.8 V to 3.6 V"
      },
      {
        "number": "30",
        "name": "VSS3",
        "type": "power_in",
        "description": "I/O ground voltage"
      },
      {
        "number": "31",
        "name": "PB0",
        "type": "bidirectional",
        "description": "Port B0 GPIO with alternate functions: Timer 2 channel 1, LCD segment 10, ADC1 input 18; five-volt tolerant; pull-up applied during reset phase"
      },
      {
        "number": "32",
        "name": "PB1",
        "type": "bidirectional",
        "description": "Port B1 GPIO with alternate functions: Timer 3 channel 1, LCD segment 11, ADC1 input 17; five-volt tolerant"
      },
      {
        "number": "33",
        "name": "PB2",
        "type": "bidirectional",
        "description": "Port B2 GPIO with alternate functions: Timer 2 channel 2, LCD segment 12, ADC1 input 16; five-volt tolerant"
      },
      {
        "number": "34",
        "name": "PB3",
        "type": "bidirectional",
        "description": "Port B3 GPIO with alternate functions: Timer 2 external trigger, LCD segment 13, ADC1 input 15; five-volt tolerant"
      },
      {
        "number": "35",
        "name": "PB4",
        "type": "bidirectional",
        "description": "Port B4 GPIO with alternate functions: SPI1 slave select, LCD segment 14, ADC1 input 14; five-volt tolerant; pull-up applied during reset phase"
      },
      {
        "number": "36",
        "name": "PB5",
        "type": "bidirectional",
        "description": "Port B5 GPIO with alternate functions: SPI1 clock, LCD segment 15, ADC1 input 13; five-volt tolerant"
      },
      {
        "number": "37",
        "name": "PB6",
        "type": "bidirectional",
        "description": "Port B6 GPIO with alternate functions: SPI1 MOSI, LCD segment 16, ADC1 input 12; five-volt tolerant"
      },
      {
        "number": "38",
        "name": "PB7",
        "type": "bidirectional",
        "description": "Port B7 GPIO with alternate functions: SPI1 MISO, LCD segment 17, ADC1 input 11; five-volt tolerant"
      },
      {
        "number": "39",
        "name": "PF0",
        "type": "bidirectional",
        "description": "Port F0 GPIO with alternate functions: ADC1 input 24, USART3 transmit"
      },
      {
        "number": "40",
        "name": "PF1",
        "type": "bidirectional",
        "description": "Port F1 GPIO with alternate functions: ADC1 input 25, USART3 receive"
      },
      {
        "number": "41",
        "name": "PF4",
        "type": "bidirectional",
        "description": "Port F4 GPIO with alternate functions: LCD segment 36, LCD common 4; five-volt tolerant"
      },
      {
        "number": "42",
        "name": "PF5",
        "type": "bidirectional",
        "description": "Port F5 GPIO with alternate functions: LCD segment 37, LCD common 5; five-volt tolerant"
      },
      {
        "number": "43",
        "name": "PF6",
        "type": "bidirectional",
        "description": "Port F6 GPIO with alternate functions: LCD segment 38, LCD common 6; five-volt tolerant"
      },
      {
        "number": "44",
        "name": "PF7",
        "type": "bidirectional",
        "description": "Port F7 GPIO with alternate functions: LCD segment 39, LCD common 7; five-volt tolerant"
      },
      {
        "number": "45",
        "name": "PD4",
        "type": "bidirectional",
        "description": "Port D4 GPIO with alternate functions: Timer 1 channel 2, LCD segment 18, ADC1 input 10; five-volt tolerant"
      },
      {
        "number": "46",
        "name": "PD5",
        "type": "bidirectional",
        "description": "Port D5 GPIO with alternate functions: Timer 1 channel 3, LCD segment 19, ADC1 input 9; five-volt tolerant"
      },
      {
        "number": "47",
        "name": "PD6",
        "type": "bidirectional",
        "description": "Port D6 GPIO with alternate functions: Timer 1 break input, LCD segment 20, ADC1 input 8, RTC calibration, internal voltage reference output; five-volt tolerant"
      },
      {
        "number": "48",
        "name": "PD7",
        "type": "bidirectional",
        "description": "Port D7 GPIO with alternate functions: Timer 1 inverted channel 1, LCD segment 21, ADC1 input 7, RTC alarm, internal voltage reference output; five-volt tolerant"
      },
      {
        "number": "49",
        "name": "PG4",
        "type": "bidirectional",
        "description": "Port G4 GPIO with alternate function: SPI2 slave select; five-volt tolerant"
      },
      {
        "number": "50",
        "name": "PG5",
        "type": "bidirectional",
        "description": "Port G5 GPIO with alternate function: SPI2 clock; five-volt tolerant"
      },
      {
        "number": "51",
        "name": "PG6",
        "type": "bidirectional",
        "description": "Port G6 GPIO with alternate function: SPI2 MOSI; five-volt tolerant"
      },
      {
        "number": "52",
        "name": "PG7",
        "type": "bidirectional",
        "description": "Port G7 GPIO with alternate function: SPI2 MISO; five-volt tolerant"
      },
      {
        "number": "53",
        "name": "PC0",
        "type": "bidirectional",
        "description": "Port C0 GPIO open-drain with alternate function: I2C1 SDA line; five-volt tolerant; no protection diode to VDD"
      },
      {
        "number": "54",
        "name": "PC1",
        "type": "bidirectional",
        "description": "Port C1 GPIO open-drain with alternate function: I2C1 SCL line; five-volt tolerant; no protection diode to VDD"
      },
      {
        "number": "55",
        "name": "VDD2",
        "type": "power_in",
        "description": "I/O power supply 1.8 V to 3.6 V"
      },
      {
        "number": "56",
        "name": "VSS2",
        "type": "power_in",
        "description": "I/O ground voltage"
      },
      {
        "number": "57",
        "name": "PC2",
        "type": "bidirectional",
        "description": "Port C2 GPIO with alternate functions: USART1 receive, LCD segment 22, ADC1 input 6, internal voltage reference output; five-volt tolerant"
      },
      {
        "number": "58",
        "name": "PC3",
        "type": "bidirectional",
        "description": "Port C3 GPIO with alternate functions: USART1 transmit, LCD segment 23, ADC1 input 5; five-volt tolerant"
      },
      {
        "number": "59",
        "name": "PC4",
        "type": "bidirectional",
        "description": "Port C4 GPIO with alternate functions: USART1 synchronous clock, I2C1 SMBus alert, configurable clock output, ADC1 input 4; five-volt tolerant"
      },
      {
        "number": "60",
        "name": "PC5",
        "type": "bidirectional",
        "description": "Port C5 GPIO with alternate functions: LSE oscillator input, SPI1 slave select, USART1 transmit; five-volt tolerant"
      },
      {
        "number": "61",
        "name": "PC6",
        "type": "bidirectional",
        "description": "Port C6 GPIO with alternate functions: LSE oscillator output, SPI1 clock, USART1 receive; five-volt tolerant"
      },
      {
        "number": "62",
        "name": "PC7",
        "type": "bidirectional",
        "description": "Port C7 GPIO with alternate function: ADC1 input 3; five-volt tolerant"
      },
      {
        "number": "63",
        "name": "PE6",
        "type": "bidirectional",
        "description": "Port E6 GPIO with alternate functions: Programmable voltage detector input, Timer 5 break input; five-volt tolerant"
      },
      {
        "number": "64",
        "name": "PE7",
        "type": "bidirectional",
        "description": "Port E7 GPIO with alternate function: Timer 5 external trigger; five-volt tolerant"
      }
    ],
    "provenance": {
      "extractor": "extract_pins 0.2",
      "factory_chain": {
        "factory": "2.0.0",
        "extractor": "extract_pins 0.2",
        "primary_model": "claude-haiku-4-5-20251001",
        "primary_mode": "text",
        "consensus_model": "claude-sonnet-5",
        "consensus": "agreed",
        "guards": "pin_guards 0.1: passed",
        "guard_notes": [
          "extractor flagged: Pin 2 (NRST/PA1): Primary function is reset input, but datasheet states it can be configured as outp; Pins PC0 and PC1 (I2C open-drain): Specified as true open-drain I/Os without protection diode to VDD; Power supply pins (VDD1, VDD2, VDD3, VSS1, VSS2, VSS3, VSSA): Multiple power rails require proper de"
        ],
        "pages_sent": 112,
        "cost_usd": 1.0507,
        "at": "2026-09-23T08:43:09"
      },
      "datasheet": {
        "url": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8588907830682664960",
        "pages": 112,
        "sha256": "2292f03a7352bea4",
        "source_tier": "lcsc"
      },
      "cad": "KiCad official (CC-BY-SA 4.0)",
      "pins": {
        "total": 64,
        "described": 64,
        "cites_pages": true,
        "refuses_to_fabricate": true
      }
    },
    "viewers": {
      "symbol": "viewers/symbol.html",
      "footprint": "viewers/footprint.html"
    },
    "models_3d": [
      {
        "file": "stm8l052r8t6tr.step",
        "role": "plain",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "z = 0",
        "extents_mm": [
          12.0,
          12.0,
          1.5
        ],
        "zmin_mm": 0.0,
        "centre_offset_mm": 0.0,
        "footprint_binding": "identity",
        "sha256": "b0c827bc5c05552175d28affe44a5bd2ab45c9c36efff6ff07a74cc449b13db4",
        "checked": "2026-10-07",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      },
      {
        "file": "stm8l052r8t6tr-etched.step",
        "role": "eda",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "z = 0",
        "extents_mm": [
          12.0,
          12.0,
          1.5
        ],
        "zmin_mm": 0.0,
        "centre_offset_mm": 0.0,
        "footprint_binding": "identity",
        "sha256": "42a86a779df2a1261f4d8da73fa02ebc49ff8b7ca99a670404d70708209ce5ff",
        "checked": "2026-10-07",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      }
    ]
  }
}