main
Ray Publish 0.1.0 5a7950b 17d ago
{
  "slug": "stm32l052c8u6",
  "version": "0.1.0",
  "type": "component",
  "description": "STMicroelectronics Microcontrollers (MCU/MPU/SOC), UFQFPN-48(7x7). Pinout checked against ST's open pin data, KiCad symbol/footprint/3D.",
  "tags": [
    "component",
    "embedded processors & controllers",
    "stm32l052c8u6",
    "factory-2.0.0",
    "extractor-text"
  ],
  "dependencies": {},
  "hero": {
    "type": "image",
    "path": "docs/hero.png"
  },
  "files": [
    "page.json",
    "README.md",
    "stm32l052c8u6.kicad_sym",
    "stm32l052c8u6.kicad_mod",
    "stm32l052c8u6.glb",
    "stm32l052c8u6.step",
    "stm32l052c8u6.lbr",
    "docs/hero.png",
    "docs/stm32l052c8u6-datasheet.pdf",
    "viewers/symbol.html",
    "viewers/footprint.html",
    "stm32l052c8u6-hero.glb",
    "stm32l052c8u6-hero.overlay.json"
  ],
  "component": {
    "mpn": "STM32L052C8U6",
    "manufacturer": "STMicroelectronics",
    "package": "UFQFPN-48(7x7)",
    "pin_count": 49,
    "category": "Embedded Processors & Controllers",
    "subcategory": "Microcontrollers (MCU/MPU/SOC)",
    "datasheet": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8588886251491495936",
    "parts": {
      "symbol": "stm32l052c8u6.kicad_sym",
      "footprint": "stm32l052c8u6.kicad_mod",
      "model_3d": "stm32l052c8u6-hero.glb",
      "model_3d_plain": "stm32l052c8u6.glb",
      "model_3d_step": "stm32l052c8u6-etched.step",
      "model_3d_step_plain": "stm32l052c8u6.step",
      "lbr": "stm32l052c8u6.lbr"
    },
    "distributor_links": {
      "lcsc": "C529423",
      "digikey": "497-STM32L052C8U6-ND",
      "mouser": "511-STM32L052C8U6"
    },
    "distributor_check": {
      "checked_at": "2026-10-10T19:44:36Z",
      "source": "Component Ocean /api/assign-pns",
      "digikey": {
        "pn": "497-STM32L052C8U6-ND",
        "status": "found"
      },
      "mouser": {
        "pn": "511-STM32L052C8U6",
        "status": "found"
      }
    },
    "pins": [
      {
        "number": "1",
        "name": "VDD",
        "type": "power_in",
        "description": "Digital supply pin for the core and I/Os; the features list the device power supply as 1.65 V to 3.6 V."
      },
      {
        "number": "2",
        "name": "PC13",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) GPIO, floating input after reset, with additional functions RTC_TAMP1, RTC_TS, RTC_OUT and WKUP2."
      },
      {
        "number": "3",
        "name": "PC14-OSC32_IN",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) GPIO, floating input after reset, which is also the 32 kHz oscillator input OSC32_IN."
      },
      {
        "number": "4",
        "name": "PC15-OSC32_OUT",
        "type": "bidirectional",
        "description": "Standard 3.3 V (TC) GPIO, floating input after reset, which is also the 32 kHz oscillator output OSC32_OUT."
      },
      {
        "number": "5",
        "name": "PH0-OSC_IN",
        "type": "bidirectional",
        "description": "Standard 3.3 V (TC) GPIO, which is also the HSE oscillator input OSC_IN and has alternate function USB_CRS_SYNC."
      },
      {
        "number": "6",
        "name": "PH1-OSC_OUT",
        "type": "bidirectional",
        "description": "Standard 3.3 V (TC) GPIO, which is also the HSE oscillator output OSC_OUT."
      },
      {
        "number": "7",
        "name": "NRST",
        "type": "bidirectional",
        "description": "Bidirectional reset pin with an embedded weak pull-up resistor."
      },
      {
        "number": "8",
        "name": "VSSA",
        "type": "power_in",
        "description": "Analog ground pin; the datasheet references all voltages to VSS."
      },
      {
        "number": "9",
        "name": "VDDA",
        "type": "power_in",
        "description": "Analog supply pin for the analog blocks; the features list the ADC and comparators down to 1.65 V and the DAC down to 1.8 V."
      },
      {
        "number": "10",
        "name": "PA0",
        "type": "bidirectional",
        "description": "Standard 3.3 V (TC) GPIO with alternate functions TIM2_CH1, USART2_CTS and COMP1_OUT, and analog inputs ADC_IN0 and COMP1_INM6."
      },
      {
        "number": "11",
        "name": "PA1",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) GPIO with alternate functions TIM2_CH2, USART2_RTS/USART2_DE and TIM21_ETR, and analog inputs ADC_IN1 and COMP1_INP."
      },
      {
        "number": "12",
        "name": "PA2",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) GPIO with alternate functions TIM21_CH1, TIM2_CH3, USART2_TX and COMP2_OUT, and analog inputs ADC_IN2 and COMP2_INM6."
      },
      {
        "number": "13",
        "name": "PA3",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) GPIO with alternate functions TIM21_CH2, TIM2_CH4 and USART2_RX, and analog inputs ADC_IN3 and COMP2_INP."
      },
      {
        "number": "14",
        "name": "PA4",
        "type": "bidirectional",
        "description": "Standard 3.3 V (TC) GPIO with reduced touch sensing sensitivity (note 2, recommended as sampling capacitor I/O), with alternate functions SPI1_NSS, USART2_CK and TIM22_ETR, and analog input ADC_IN4 and DAC_OUT."
      },
      {
        "number": "15",
        "name": "PA5",
        "type": "bidirectional",
        "description": "Standard 3.3 V (TC) GPIO with alternate functions SPI1_SCK, TIM2_ETR and TIM2_CH1, and analog inputs ADC_IN5, COMP1_INM5 and COMP2_INM5."
      },
      {
        "number": "16",
        "name": "PA6",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) GPIO with alternate functions SPI1_MISO, LPUART1_CTS, TIM22_CH1, EVENTOUT and COMP1_OUT, and analog input ADC_IN6."
      },
      {
        "number": "17",
        "name": "PA7",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) GPIO with alternate functions SPI1_MOSI, TIM22_CH2, EVENTOUT and COMP2_OUT, and analog input ADC_IN7."
      },
      {
        "number": "18",
        "name": "PB0",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) GPIO with alternate functions EVENTOUT and TSC_G3_IO2, and analog input ADC_IN8 and VREF_OUT."
      },
      {
        "number": "19",
        "name": "PB1",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) GPIO with alternate functions TSC_G3_IO3 and LPUART1_RTS/LPUART1_DE, and analog input ADC_IN9 and VREF_OUT."
      },
      {
        "number": "20",
        "name": "PB2",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) GPIO with alternate functions LPTIM1_OUT and TSC_G3_IO4."
      },
      {
        "number": "21",
        "name": "PB10",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) GPIO with alternate functions TIM2_CH3, TSC_SYNC, LPUART1_TX, SPI2_SCK and I2C2_SCL."
      },
      {
        "number": "22",
        "name": "PB11",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) GPIO with alternate functions EVENTOUT, TIM2_CH4, TSC_G6_IO1, LPUART1_RX and I2C2_SDA."
      },
      {
        "number": "23",
        "name": "VSS",
        "type": "power_in",
        "description": "Ground pin for the digital supply domain."
      },
      {
        "number": "24",
        "name": "VDD",
        "type": "power_in",
        "description": "Digital supply pin for the core and I/Os; the features list the device power supply as 1.65 V to 3.6 V."
      },
      {
        "number": "25",
        "name": "PB12",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) GPIO with alternate functions SPI2_NSS/I2S2_WS, LPUART1_RTS/LPUART1_DE, TSC_G6_IO2, I2C2_SMBA and EVENTOUT."
      },
      {
        "number": "26",
        "name": "PB13",
        "type": "bidirectional",
        "description": "5 V tolerant, FM+ capable (FTf) GPIO with alternate functions SPI2_SCK/I2S2_CK, TSC_G6_IO3, LPUART1_CTS, I2C2_SCL and TIM21_CH1."
      },
      {
        "number": "27",
        "name": "PB14",
        "type": "bidirectional",
        "description": "5 V tolerant, FM+ capable (FTf) GPIO with alternate functions SPI2_MISO/I2S2_MCK, RTC_OUT, TSC_G6_IO4, LPUART1_RTS/LPUART1_DE, I2C2_SDA and TIM21_CH2."
      },
      {
        "number": "28",
        "name": "PB15",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) GPIO with alternate function SPI2_MOSI/I2S2_SD and additional function RTC_REFIN."
      },
      {
        "number": "29",
        "name": "PA8",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) GPIO with alternate functions MCO, USB_CRS_SYNC, EVENTOUT and USART1_CK."
      },
      {
        "number": "30",
        "name": "PA9",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) GPIO with alternate functions MCO, TSC_G4_IO1 and USART1_TX."
      },
      {
        "number": "31",
        "name": "PA10",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) GPIO with alternate functions TSC_G4_IO2 and USART1_RX."
      },
      {
        "number": "32",
        "name": "PA11",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) GPIO powered by VDD_USB (note 3), with alternate functions SPI1_MISO, EVENTOUT, TSC_G4_IO3, USART1_CTS and COMP1_OUT, and additional function USB_DM."
      },
      {
        "number": "33",
        "name": "PA12",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) GPIO powered by VDD_USB (note 3), with alternate functions SPI1_MOSI, EVENTOUT, TSC_G4_IO4, USART1_RTS/USART1_DE and COMP2_OUT, and additional function USB_DP."
      },
      {
        "number": "34",
        "name": "PA13",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) GPIO with alternate function SWDIO and additional function USB_NOE."
      },
      {
        "number": "35",
        "name": "VSS",
        "type": "power_in",
        "description": "Ground pin for the digital supply domain."
      },
      {
        "number": "36",
        "name": "VDD_USB",
        "type": "power_in",
        "description": "Supply pin for the USB-related I/Os PA11 and PA12; per note 3, characteristics that refer to VDD must use VDD_USB for these pins."
      },
      {
        "number": "37",
        "name": "PA14",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) GPIO with alternate functions SWCLK and USART2_TX."
      },
      {
        "number": "38",
        "name": "PA15",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) GPIO with alternate functions SPI1_NSS, TIM2_ETR, EVENTOUT, USART2_RX and TIM2_CH1."
      },
      {
        "number": "39",
        "name": "PB3",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) GPIO with alternate functions SPI1_SCK, TIM2_CH2 and EVENTOUT, a touch sensing group 5 signal, and additional function COMP2_INN."
      },
      {
        "number": "40",
        "name": "PB4",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) GPIO with alternate functions SPI1_MISO, EVENTOUT, TSC_G5_IO2 and TIM22_CH1, and additional function COMP2_INP."
      },
      {
        "number": "41",
        "name": "PB5",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) GPIO with alternate functions SPI1_MOSI, LPTIM1_IN1, I2C1_SMBA and TIM22_CH2, and additional function COMP2_INP."
      },
      {
        "number": "42",
        "name": "PB6",
        "type": "bidirectional",
        "description": "5 V tolerant, FM+ capable (FTf) GPIO with alternate functions USART1_TX, I2C1_SCL, LPTIM1_ETR and TSC_G5_IO3, and additional function COMP2_INP."
      },
      {
        "number": "43",
        "name": "PB7",
        "type": "bidirectional",
        "description": "5 V tolerant, FM+ capable (FTf) GPIO with alternate functions USART1_RX, I2C1_SDA, LPTIM1_IN2 and TSC_G5_IO4, and additional functions COMP2_INP and PVD_IN."
      },
      {
        "number": "44",
        "name": "BOOT0",
        "type": "input",
        "description": "Dedicated BOOT0 pin (I/O structure B) used to select the boot mode."
      },
      {
        "number": "45",
        "name": "PB8",
        "type": "bidirectional",
        "description": "5 V tolerant, FM+ capable (FTf) GPIO with alternate functions TSC_SYNC and I2C1_SCL."
      },
      {
        "number": "46",
        "name": "PB9",
        "type": "bidirectional",
        "description": "5 V tolerant, FM+ capable (FTf) GPIO with alternate functions EVENTOUT, I2C1_SDA and SPI2_NSS/I2S2_WS."
      },
      {
        "number": "47",
        "name": "VSS",
        "type": "power_in",
        "description": "Ground pin for the digital supply domain."
      },
      {
        "number": "48",
        "name": "VDD",
        "type": "power_in",
        "description": "Digital supply pin for the core and I/Os; the features list the device power supply as 1.65 V to 3.6 V."
      },
      {
        "number": "49",
        "name": "EP",
        "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: Package check: the STM32L052C8U6 ordering code (C = 48 pins, U = UFQFPN) and the UFQFPN48 marking ex; BOOT0 has a dedicated BOOT0 I/O structure (B) in Table 16, but the extracted text does not print an ; Table 16 prints supply pins as 'S'. They are mapped to KiCad power_in per the task rule. VDD_USB (36",
          "exposed pad 49 added from the footprint"
        ],
        "pages_sent": 68,
        "cost_usd": 0.2852,
        "at": "2026-10-10T19:44:18"
      },
      "datasheet": {
        "url": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8588886251491495936",
        "pages": 150,
        "sha256": "8fdd784104b88c64",
        "source_tier": "lcsc"
      },
      "cad": "KiCad official (CC-BY-SA 4.0)",
      "pins": {
        "total": 49,
        "described": 49,
        "cites_pages": true,
        "refuses_to_fabricate": true
      }
    },
    "viewers": {
      "symbol": "viewers/symbol.html",
      "footprint": "viewers/footprint.html"
    },
    "models_3d": [
      {
        "file": "stm32l052c8u6.step",
        "role": "plain",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "z = 0",
        "extents_mm": [
          7.0,
          7.0,
          0.77
        ],
        "zmin_mm": 0.0,
        "centre_offset_mm": 0.0,
        "footprint_binding": "identity",
        "sha256": "f2b38b0b4bf967c77e683e8d4599608b9f0503055ec535b93c4ebb5d0163e916",
        "checked": "2026-10-10",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      },
      {
        "file": "stm32l052c8u6-etched.step",
        "role": "eda",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "z = 0",
        "extents_mm": [
          7.0,
          7.0,
          0.77
        ],
        "zmin_mm": 0.0,
        "centre_offset_mm": 0.0,
        "footprint_binding": "identity",
        "sha256": "f0955b6e6fe3de138d6ce2267434e4abfe00f9a9e4638dd4834cf37e54061f51",
        "checked": "2026-10-10",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      }
    ]
  }
}