main
Ray stm8l052c6t6tr: component.models_3d pose record per STEP (Z-up, seated z=0, pad-centre origin, identity binding) 3d18cb7
{
  "schema_version": 1,
  "type": "component",
  "slug": "stm8l052c6t6tr",
  "title": "STM8L052C6T6TR",
  "brief": "STMicroelectronics Microcontrollers (MCU/MPU/SOC), LQFP-48(7x7). Pinout extracted from the datasheet, KiCad symbol/footprint/3D.",
  "version": "0.2.0",
  "license": "CC-BY-SA-4.0",
  "tags": [
    "component",
    "mcu",
    "stm8l052c6t6tr"
  ],
  "component": {
    "mpn": "STM8L052C6T6TR",
    "manufacturer": "STMicroelectronics",
    "package": "LQFP-48(7x7)",
    "pin_count": 48,
    "category": "MCU",
    "subcategory": "Microcontrollers (MCU/MPU/SOC)",
    "datasheet": "https://www.st.com/resource/en/datasheet/stm8l052c6t6tr.pdf",
    "parts": {
      "symbol": "stm8l052c6t6tr.kicad_sym",
      "footprint": "stm8l052c6t6tr.kicad_mod",
      "model_3d": "stm8l052c6t6tr-etched.glb",
      "model_3d_plain": "stm8l052c6t6tr.glb",
      "model_3d_step": "stm8l052c6t6tr-etched.step",
      "model_3d_step_plain": "stm8l052c6t6tr.step",
      "lbr": "stm8l052c6t6tr.lbr"
    },
    "distributor_links": {
      "lcsc": "C279570"
    },
    "pins": [
      {
        "number": "1",
        "name": "PA0/[USART1_CK]/SWIM/BEEP/IR_TIM",
        "type": "bidirectional",
        "description": "Port A0. High-sink LED driver capable. Default alternate: [USART1 synchronous clock] / SWIM input-output / Beep output / Infrared Timer output. PA0 is in input pull-up during and after reset."
      },
      {
        "number": "2",
        "name": "NRST/PA1",
        "type": "bidirectional",
        "description": "Reset input / general-purpose I/O PA1. Bidirectional reset pin with weak pull-up; can be reconfigured as PA1 GPIO (output-only) via option byte."
      },
      {
        "number": "3",
        "name": "PA2/OSC_IN/[USART1_TX]/[SPI1_MISO]",
        "type": "bidirectional",
        "description": "Port A2. Default alternate: HSE oscillator input / [USART1 transmit] / [SPI1 MISO]."
      },
      {
        "number": "4",
        "name": "PA3/OSC_OUT/[USART1_RX]/[SPI1_MOSI]",
        "type": "bidirectional",
        "description": "Port A3. Default alternate: HSE oscillator output / [USART1 receive] / [SPI1 MOSI]."
      },
      {
        "number": "5",
        "name": "PA4/TIM2_BKIN/LCD_COM0/ADC1_IN2",
        "type": "bidirectional",
        "description": "Port A4. Default alternate: Timer 2 break input / LCD COM 0 / ADC1 input 2. 3.6 V tolerant."
      },
      {
        "number": "6",
        "name": "PA5/TIM3_BKIN/LCD_COM1/ADC1_IN1",
        "type": "bidirectional",
        "description": "Port A5. Default alternate: Timer 3 break input / LCD COM 1 / ADC1 input 1. 3.6 V tolerant."
      },
      {
        "number": "7",
        "name": "PA6/[ADC1_TRIG]/LCD_COM2/ADC1_IN0",
        "type": "bidirectional",
        "description": "Port A6. Default alternate: [ADC1 trigger] / LCD COM 2 / ADC1 input 0. 3.6 V tolerant."
      },
      {
        "number": "8",
        "name": "PA7/LCD_SEG0",
        "type": "bidirectional",
        "description": "Port A7. Default alternate: LCD segment 0. Five-volt tolerant."
      },
      {
        "number": "9",
        "name": "VSS1/VSSA/VREF-",
        "type": "power_in",
        "description": "Combined digital I/O ground, analog supply ground, and ADC1 negative voltage reference."
      },
      {
        "number": "10",
        "name": "VDD1",
        "type": "power_in",
        "description": "Digital power supply. 1.8 V to 3.6 V."
      },
      {
        "number": "11",
        "name": "VDDA",
        "type": "power_in",
        "description": "Analog supply voltage for ADC and internal reference. 1.8 V to 3.6 V."
      },
      {
        "number": "12",
        "name": "VREF+",
        "type": "power_in",
        "description": "ADC1 positive voltage reference input."
      },
      {
        "number": "13",
        "name": "VLCD",
        "type": "passive",
        "description": "LCD booster external capacitor pin (LCD variant). On non-LCD variants this pin is Reserved and must be tied to VDD."
      },
      {
        "number": "14",
        "name": "PE0/LCD_SEG1",
        "type": "bidirectional",
        "description": "Port E0. Default alternate: LCD segment 1. Five-volt tolerant."
      },
      {
        "number": "15",
        "name": "PE1/TIM1_CH2N/LCD_SEG2",
        "type": "bidirectional",
        "description": "Port E1. Default alternate: Timer 1 inverted channel 2 / LCD segment 2. 3.6 V tolerant."
      },
      {
        "number": "16",
        "name": "PE2/TIM1_CH3N/LCD_SEG3",
        "type": "bidirectional",
        "description": "Port E2. Default alternate: Timer 1 inverted channel 3 / LCD segment 3. 3.6 V tolerant."
      },
      {
        "number": "17",
        "name": "PE3/LCD_SEG4",
        "type": "bidirectional",
        "description": "Port E3. Default alternate: LCD segment 4. 3.6 V tolerant."
      },
      {
        "number": "18",
        "name": "PE4/LCD_SEG5",
        "type": "bidirectional",
        "description": "Port E4. Default alternate: LCD segment 5. 3.6 V tolerant."
      },
      {
        "number": "19",
        "name": "PE5/LCD_SEG6/ADC1_IN23",
        "type": "bidirectional",
        "description": "Port E5. Default alternate: LCD segment 6 / ADC1 input 23. 3.6 V tolerant."
      },
      {
        "number": "20",
        "name": "PD0/TIM3_CH2/[ADC1_TRIG]/LCD_SEG7/ADC1_IN22",
        "type": "bidirectional",
        "description": "Port D0. Default alternate: Timer 3 channel 2 / [ADC1 trigger] / LCD segment 7 / ADC1 input 22. 3.6 V tolerant."
      },
      {
        "number": "21",
        "name": "PD1/TIM3_ETR/LCD_COM3/ADC1_IN21",
        "type": "bidirectional",
        "description": "Port D1. Default alternate: Timer 3 external trigger / LCD COM 3 / ADC1 input 21. 3.6 V tolerant."
      },
      {
        "number": "22",
        "name": "PD2/TIM1_CH1/LCD_SEG8/ADC1_IN20",
        "type": "bidirectional",
        "description": "Port D2. Default alternate: Timer 1 channel 1 / LCD segment 8 / ADC1 input 20. 3.6 V tolerant."
      },
      {
        "number": "23",
        "name": "PD3/TIM1_ETR/LCD_SEG9/ADC1_IN19",
        "type": "bidirectional",
        "description": "Port D3. Default alternate: Timer 1 external trigger / LCD segment 9 / ADC1 input 19. 3.6 V tolerant."
      },
      {
        "number": "24",
        "name": "PB0/TIM2_CH1/LCD_SEG10/ADC1_IN18",
        "type": "bidirectional",
        "description": "Port B0. Default alternate: Timer 2 channel 1 / LCD segment 10 / ADC1 input 18. 3.6 V tolerant. Pull-up applied during reset; input floating after reset release."
      },
      {
        "number": "25",
        "name": "PB1/TIM3_CH1/LCD_SEG11/ADC1_IN17",
        "type": "bidirectional",
        "description": "Port B1. Default alternate: Timer 3 channel 1 / LCD segment 11 / ADC1 input 17. 3.6 V tolerant."
      },
      {
        "number": "26",
        "name": "PB2/TIM2_CH2/LCD_SEG12/ADC1_IN16",
        "type": "bidirectional",
        "description": "Port B2. Default alternate: Timer 2 channel 2 / LCD segment 12 / ADC1 input 16. 3.6 V tolerant."
      },
      {
        "number": "27",
        "name": "PB3/TIM2_ETR/LCD_SEG13/ADC1_IN15",
        "type": "bidirectional",
        "description": "Port B3. Default alternate: Timer 2 external trigger / LCD segment 13 / ADC1 input 15. 3.6 V tolerant."
      },
      {
        "number": "28",
        "name": "PB4/[SPI1_NSS]/LCD_SEG14/ADC1_IN14",
        "type": "bidirectional",
        "description": "Port B4. Default alternate: [SPI1 master/slave select] / LCD segment 14 / ADC1 input 14. 3.6 V tolerant. Pull-up applied during reset; input floating after reset release."
      },
      {
        "number": "29",
        "name": "PB5/[SPI1_SCK]/LCD_SEG15/ADC1_IN13",
        "type": "bidirectional",
        "description": "Port B5. Default alternate: [SPI1 clock] / LCD segment 15 / ADC1 input 13. 3.6 V tolerant."
      },
      {
        "number": "30",
        "name": "PB6/[SPI1_MOSI]/LCD_SEG16/ADC1_IN12",
        "type": "bidirectional",
        "description": "Port B6. Default alternate: [SPI1 master out/slave in] / LCD segment 16 / ADC1 input 12. 3.6 V tolerant."
      },
      {
        "number": "31",
        "name": "PB7/[SPI1_MISO]/LCD_SEG17/ADC1_IN11",
        "type": "bidirectional",
        "description": "Port B7. Default alternate: [SPI1 master in/slave out] / LCD segment 17 / ADC1 input 11. 3.6 V tolerant."
      },
      {
        "number": "32",
        "name": "PF0/ADC1_IN24",
        "type": "bidirectional",
        "description": "Port F0. Default alternate: ADC1 input 24."
      },
      {
        "number": "33",
        "name": "PD4/TIM1_CH2/LCD_SEG18/ADC1_IN10",
        "type": "bidirectional",
        "description": "Port D4. Default alternate: Timer 1 channel 2 / LCD segment 18 / ADC1 input 10. 3.6 V tolerant."
      },
      {
        "number": "34",
        "name": "PD5/TIM1_CH3/LCD_SEG19/ADC1_IN9",
        "type": "bidirectional",
        "description": "Port D5. Default alternate: Timer 1 channel 3 / LCD segment 19 / ADC1 input 9. 3.6 V tolerant."
      },
      {
        "number": "35",
        "name": "PD6/TIM1_BKIN/LCD_SEG20/ADC1_IN8/RTC_CALIB/VREFINT",
        "type": "bidirectional",
        "description": "Port D6. Default alternate: Timer 1 break input / LCD segment 20 / ADC1 input 8 / RTC calibration / Internal voltage reference output. 3.6 V tolerant."
      },
      {
        "number": "36",
        "name": "PD7/TIM1_CH1N/LCD_SEG21/ADC1_IN7/RTC_ALARM/VREFINT",
        "type": "bidirectional",
        "description": "Port D7. Default alternate: Timer 1 inverted channel 1 / LCD segment 21 / ADC1 input 7 / RTC alarm / Internal voltage reference output. 3.6 V tolerant."
      },
      {
        "number": "37",
        "name": "PC0/I2C1_SDA",
        "type": "bidirectional",
        "description": "Port C0 / I2C1 data (true open-drain output). Five-volt tolerant."
      },
      {
        "number": "38",
        "name": "PC1/I2C1_SCL",
        "type": "bidirectional",
        "description": "Port C1 / I2C1 clock (true open-drain output). Five-volt tolerant."
      },
      {
        "number": "39",
        "name": "VDD2",
        "type": "power_in",
        "description": "IOs supply voltage."
      },
      {
        "number": "40",
        "name": "VSS2",
        "type": "power_in",
        "description": "IOs ground voltage."
      },
      {
        "number": "41",
        "name": "PC2/USART1_RX/LCD_SEG22/ADC1_IN6/VREFINT",
        "type": "bidirectional",
        "description": "Port C2. Default alternate: USART1 receive / LCD segment 22 / ADC1 input 6 / Internal voltage reference output. 3.6 V tolerant."
      },
      {
        "number": "42",
        "name": "PC3/USART1_TX/LCD_SEG23/ADC1_IN5",
        "type": "bidirectional",
        "description": "Port C3. Default alternate: USART1 transmit / LCD segment 23 / ADC1 input 5. 3.6 V tolerant."
      },
      {
        "number": "43",
        "name": "PC4/USART1_CK/I2C1_SMB/CCO/LCD_SEG24/ADC1_IN4",
        "type": "bidirectional",
        "description": "Port C4. Default alternate: USART1 synchronous clock / I2C1 SMB / Configurable clock output / LCD segment 24 / ADC1 input 4. 3.6 V tolerant."
      },
      {
        "number": "44",
        "name": "PC5/OSC32_IN/[SPI1_NSS]/[USART1_TX]",
        "type": "bidirectional",
        "description": "Port C5. Default alternate: LSE oscillator input / [SPI1 master/slave select] / [USART1 transmit]."
      },
      {
        "number": "45",
        "name": "PC6/OSC32_OUT/[SPI1_SCK]/[USART1_RX]",
        "type": "bidirectional",
        "description": "Port C6. Default alternate: LSE oscillator output / [SPI1 clock] / [USART1 receive]."
      },
      {
        "number": "46",
        "name": "PC7/LCD_SEG25/ADC1_IN3",
        "type": "bidirectional",
        "description": "Port C7. Default alternate: LCD segment 25 / ADC1 input 3. 3.6 V tolerant."
      },
      {
        "number": "47",
        "name": "PE6/LCD_SEG26/PVD_IN",
        "type": "bidirectional",
        "description": "Port E6. Default alternate: LCD segment 26 / PVD external input. 3.6 V tolerant."
      },
      {
        "number": "48",
        "name": "PE7/LCD_SEG27",
        "type": "bidirectional",
        "description": "Port E7. Default alternate: LCD segment 27. 3.6 V tolerant."
      }
    ],
    "provenance": {
      "extractor": "ds2sf",
      "datasheet": {
        "url": "https://www.st.com/resource/en/datasheet/stm8l052c6t6tr.pdf",
        "pages": 103,
        "sha256": "b0b463f58d51c7f5",
        "source_tier": "mfr"
      },
      "cad": "KiCad official (CC-BY-SA 4.0)",
      "pins": {
        "total": 48,
        "described": 48,
        "cites_pages": true,
        "refuses_to_fabricate": true
      }
    },
    "viewers": {
      "symbol": "viewers/symbol.html",
      "footprint": "viewers/footprint.html"
    },
    "pin1": {
      "pad": "1",
      "at": [
        -4.1625,
        -2.75
      ],
      "corner": "top-left",
      "source": "silk-marker",
      "derived_from": "LQFP-48_7x7mm_P0.5mm@sha256:1ccc5ad4d95398a4",
      "mark": "drawn"
    },
    "models_3d": [
      {
        "file": "stm8l052c6t6tr.step",
        "role": "plain",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "z = 0",
        "extents_mm": [
          9,
          9,
          1.5
        ],
        "zmin_mm": 0,
        "centre_offset_mm": 0,
        "footprint_binding": "identity",
        "sha256": "9dea352d93177c2904afd7d7b68ea8855ce1ab691f69f8b3e13655600514b6bf",
        "checked": "2026-10-07",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      },
      {
        "file": "stm8l052c6t6tr-etched.step",
        "role": "eda",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "z = 0",
        "extents_mm": [
          9,
          9,
          1.5
        ],
        "zmin_mm": 0,
        "centre_offset_mm": 0,
        "footprint_binding": "identity",
        "sha256": "17d5be5eb1c015a78e48e0028182148db3e93305290a8ee9570caf22231f8f56",
        "checked": "2026-10-07",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      }
    ]
  },
  "metadata": {
    "specs": {
      "Manufacturer": "STMicroelectronics",
      "Package": "LQFP-48(7x7)",
      "Category": "MCU",
      "Pins": "48"
    }
  },
  "sections": [
    "hero",
    "viewers",
    "readme",
    "breadcrumbs",
    "info"
  ],
  "discovery_triggers": [
    "stm8l052c6t6tr"
  ],
  "discovery_pitch": "STM8L052C6T6TR (STMicroelectronics) component page with datasheet-verified CAD.",
  "author": {
    "name": "Ray"
  },
  "dependencies": {},
  "hero": {
    "type": "image",
    "path": "docs/hero.png"
  },
  "files": [
    "page.json",
    "README.md",
    "stm8l052c6t6tr.kicad_sym",
    "stm8l052c6t6tr.kicad_mod",
    "stm8l052c6t6tr.glb",
    "stm8l052c6t6tr.step",
    "stm8l052c6t6tr-etched.step",
    "stm8l052c6t6tr.lbr",
    "docs/hero.png",
    "docs/stm8l052c6t6tr-datasheet.pdf",
    "viewers/symbol.html",
    "viewers/footprint.html"
  ],
  "visibility": {
    "public": true
  },
  "variants": [
    {
      "mpn": "STM8L052C6T6TR",
      "kind": "packaging"
    }
  ],
  "updated_at": "2026-09-25T08:59:23.484Z"
}