main
Ray Set visibility: public 7b23be7 9h ago
{
  "schema_version": 1,
  "type": "component",
  "slug": "stm8l151c6u6",
  "title": "STM8L151C6U6",
  "brief": "STMicroelectronics Microcontrollers (MCU/MPU/SOC), UFQFPN-48(7x7). Pinout cross-checked by two models against the datasheet, KiCad symbol/footprint/3D.",
  "version": "0.1.0",
  "license": "CC-BY-SA-4.0",
  "tags": [
    "component",
    "embedded processors & controllers",
    "stm8l151c6u6",
    "factory-2.0.0",
    "extractor-text"
  ],
  "component": {
    "mpn": "STM8L151C6U6",
    "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/8588941536193359872",
    "parts": {
      "symbol": "stm8l151c6u6.kicad_sym",
      "footprint": "stm8l151c6u6.kicad_mod",
      "model_3d": "stm8l151c6u6-hero.glb",
      "model_3d_plain": "stm8l151c6u6.glb",
      "model_3d_step": "stm8l151c6u6-etched.step",
      "model_3d_step_plain": "stm8l151c6u6.step",
      "lbr": "stm8l151c6u6.lbr"
    },
    "distributor_links": {
      "lcsc": "C1341777",
      "digikey": "STM8L151C6U6-ND",
      "mouser": "511-STM8L151C6U6"
    },
    "distributor_check": {
      "checked_at": "2026-10-08T19:11:40Z",
      "source": "Component Ocean /api/assign-pns",
      "digikey": {
        "pn": "STM8L151C6U6-ND",
        "status": "found",
        "lifecycle": "Active"
      },
      "mouser": {
        "pn": "511-STM8L151C6U6",
        "status": "found"
      }
    },
    "pins": [
      {
        "number": "1",
        "name": "PA0",
        "type": "bidirectional",
        "description": "Port A0 high-sink I/O (LED driver capable), input pull-up in and after reset, with alternate functions [USART1_CK], SWIM input/output, BEEP output and IR_TIM output."
      },
      {
        "number": "2",
        "name": "NRST/PA1",
        "type": "bidirectional",
        "description": "Reset input with pull-up at power-up (VIL max 0.8 V, VIH min 1.4 V), usable only as general-purpose output (PA1) open-drain or push-pull."
      },
      {
        "number": "3",
        "name": "PA2",
        "type": "bidirectional",
        "description": "Port A2 high-sink I/O with HSE oscillator input (OSC_IN) and remappable [USART1_TX]/[SPI1_MISO]."
      },
      {
        "number": "4",
        "name": "PA3",
        "type": "bidirectional",
        "description": "Port A3 high-sink I/O with HSE oscillator output (OSC_OUT) and remappable [USART1_RX]/[SPI1_MOSI]."
      },
      {
        "number": "5",
        "name": "PA4",
        "type": "bidirectional",
        "description": "Port A4 3.6 V tolerant high-sink I/O with TIM2_BKIN, ADC1_IN2 and COMP1_INP."
      },
      {
        "number": "6",
        "name": "PA5",
        "type": "bidirectional",
        "description": "Port A5 3.6 V tolerant high-sink I/O with TIM3_BKIN, ADC1_IN1 and COMP1_INP."
      },
      {
        "number": "7",
        "name": "PA6",
        "type": "bidirectional",
        "description": "Port A6 3.6 V tolerant high-sink I/O with [ADC1_TRIG], ADC1_IN0 and COMP1_INP."
      },
      {
        "number": "8",
        "name": "PA7",
        "type": "bidirectional",
        "description": "Port A7 five-volt tolerant high-sink I/O (no protection diode to VDD); LCD_SEG0 function is on STM8L152xx only."
      },
      {
        "number": "9",
        "name": "VSS1/VSSA/VREF-",
        "type": "power_in",
        "description": "I/O ground, analog ground and ADC1 negative voltage reference."
      },
      {
        "number": "10",
        "name": "VDD1",
        "type": "power_in",
        "description": "Digital power supply, 1.8 V to 3.6 V operating range (down to 1.65 V at power down)."
      },
      {
        "number": "11",
        "name": "VDDA",
        "type": "power_in",
        "description": "Analog supply voltage."
      },
      {
        "number": "12",
        "name": "VREF+",
        "type": "power_in",
        "description": "ADC1 and DAC positive voltage reference."
      },
      {
        "number": "13",
        "name": "Reserved",
        "type": "passive",
        "description": "Reserved on STM8L151xx; must be tied to VDD (this pin is VLCD on STM8L152xx)."
      },
      {
        "number": "14",
        "name": "PE0",
        "type": "bidirectional",
        "description": "Port E0 five-volt tolerant high-sink I/O (no protection diode to VDD); LCD_SEG1 function is STM8L152xx only."
      },
      {
        "number": "15",
        "name": "PE1",
        "type": "bidirectional",
        "description": "Port E1 3.6 V tolerant high-sink I/O with TIM1_CH2N."
      },
      {
        "number": "16",
        "name": "PE2",
        "type": "bidirectional",
        "description": "Port E2 3.6 V tolerant high-sink I/O with TIM1_CH3N."
      },
      {
        "number": "17",
        "name": "PE3",
        "type": "bidirectional",
        "description": "Port E3 3.6 V tolerant high-sink I/O (LCD_SEG4 on STM8L152xx only)."
      },
      {
        "number": "18",
        "name": "PE4",
        "type": "bidirectional",
        "description": "Port E4 3.6 V tolerant high-sink I/O (LCD_SEG5 on STM8L152xx only)."
      },
      {
        "number": "19",
        "name": "PE5",
        "type": "bidirectional",
        "description": "Port E5 3.6 V tolerant high-sink I/O with ADC1_IN23, COMP2_INP and COMP1_INP."
      },
      {
        "number": "20",
        "name": "PD0",
        "type": "bidirectional",
        "description": "Port D0 3.6 V tolerant high-sink I/O with TIM3_CH2, [ADC1_TRIG], ADC1_IN22, COMP2_INP and COMP1_INP."
      },
      {
        "number": "21",
        "name": "PD1",
        "type": "bidirectional",
        "description": "Port D1 3.6 V tolerant high-sink I/O with TIM3_ETR, ADC1_IN21, COMP2_INP and COMP1_INP."
      },
      {
        "number": "22",
        "name": "PD2",
        "type": "bidirectional",
        "description": "Port D2 3.6 V tolerant high-sink I/O with TIM1_CH1, ADC1_IN20 and COMP1_INP."
      },
      {
        "number": "23",
        "name": "PD3",
        "type": "bidirectional",
        "description": "Port D3 3.6 V tolerant high-sink I/O with TIM1_ETR, ADC1_IN19 and COMP1_INP."
      },
      {
        "number": "24",
        "name": "PB0",
        "type": "bidirectional",
        "description": "Port B0 3.6 V tolerant high-sink I/O with TIM2_CH1, ADC1_IN18 and COMP1_INP; pull-up applied during reset, input floating after reset release."
      },
      {
        "number": "25",
        "name": "PB1",
        "type": "bidirectional",
        "description": "Port B1 3.6 V tolerant high-sink I/O with TIM3_CH1, ADC1_IN17 and COMP1_INP."
      },
      {
        "number": "26",
        "name": "PB2",
        "type": "bidirectional",
        "description": "Port B2 3.6 V tolerant high-sink I/O with TIM2_CH2, ADC1_IN16 and COMP1_INP."
      },
      {
        "number": "27",
        "name": "PB3",
        "type": "bidirectional",
        "description": "Port B3 3.6 V tolerant high-sink I/O with TIM2_ETR, ADC1_IN15 and COMP1_INP."
      },
      {
        "number": "28",
        "name": "PB4",
        "type": "bidirectional",
        "description": "Port B4 3.6 V tolerant high-sink I/O with [SPI1_NSS], ADC1_IN14 and COMP1_INP; pull-up applied during reset, input floating after reset release."
      },
      {
        "number": "29",
        "name": "PB5",
        "type": "bidirectional",
        "description": "Port B5 3.6 V tolerant high-sink I/O with [SPI1_SCK], ADC1_IN13 and COMP1_INP."
      },
      {
        "number": "30",
        "name": "PB6",
        "type": "bidirectional",
        "description": "Port B6 3.6 V tolerant high-sink I/O with [SPI1_MOSI], ADC1_IN12 and COMP1_INP."
      },
      {
        "number": "31",
        "name": "PB7",
        "type": "bidirectional",
        "description": "Port B7 3.6 V tolerant high-sink I/O with [SPI1_MISO], ADC1_IN11 and COMP1_INP."
      },
      {
        "number": "32",
        "name": "PF0",
        "type": "bidirectional",
        "description": "Port F0 3.6 V tolerant high-sink I/O with ADC1_IN24 and DAC_OUT."
      },
      {
        "number": "33",
        "name": "PD4",
        "type": "bidirectional",
        "description": "Port D4 3.6 V tolerant high-sink I/O with TIM1_CH2, ADC1_IN10 and COMP1_INP."
      },
      {
        "number": "34",
        "name": "PD5",
        "type": "bidirectional",
        "description": "Port D5 3.6 V tolerant high-sink I/O with TIM1_CH3, ADC1_IN9 and COMP1_INP."
      },
      {
        "number": "35",
        "name": "PD6",
        "type": "bidirectional",
        "description": "Port D6 3.6 V tolerant high-sink I/O with TIM1_BKIN, ADC1_IN8, RTC_CALIB, VREFINT output and COMP1_INP."
      },
      {
        "number": "36",
        "name": "PD7",
        "type": "bidirectional",
        "description": "Port D7 3.6 V tolerant high-sink I/O with TIM1_CH1N, ADC1_IN7, RTC_ALARM, VREFINT output and COMP1_INP."
      },
      {
        "number": "37",
        "name": "PC0",
        "type": "bidirectional",
        "description": "Port C0 five-volt tolerant true open-drain I/O (no protection diode to VDD) with I2C1_SDA data."
      },
      {
        "number": "38",
        "name": "PC1",
        "type": "bidirectional",
        "description": "Port C1 five-volt tolerant true open-drain I/O (no protection diode to VDD) with I2C1_SCL clock."
      },
      {
        "number": "39",
        "name": "VDD2",
        "type": "power_in",
        "description": "I/O supply voltage."
      },
      {
        "number": "40",
        "name": "VSS2",
        "type": "power_in",
        "description": "I/O ground voltage."
      },
      {
        "number": "41",
        "name": "PC2",
        "type": "bidirectional",
        "description": "Port C2 3.6 V tolerant high-sink I/O with USART1_RX, ADC1_IN6, COMP1_INP and VREFINT output."
      },
      {
        "number": "42",
        "name": "PC3",
        "type": "bidirectional",
        "description": "Port C3 3.6 V tolerant high-sink I/O with USART1_TX, ADC1_IN5, COMP1_INP and COMP2_INM."
      },
      {
        "number": "43",
        "name": "PC4",
        "type": "bidirectional",
        "description": "Port C4 3.6 V tolerant high-sink I/O with USART1_CK, I2C1_SMB, CCO, ADC1_IN4, COMP2_INM and COMP1_INP."
      },
      {
        "number": "44",
        "name": "PC5",
        "type": "bidirectional",
        "description": "Port C5 high-sink I/O with LSE oscillator input (OSC32_IN) and remappable [SPI1_NSS]/[USART1_TX]."
      },
      {
        "number": "45",
        "name": "PC6",
        "type": "bidirectional",
        "description": "Port C6 high-sink I/O with LSE oscillator output (OSC32_OUT) and remappable [SPI1_SCK]/[USART1_RX]."
      },
      {
        "number": "46",
        "name": "PC7",
        "type": "bidirectional",
        "description": "Port C7 3.6 V tolerant high-sink I/O with ADC1_IN3, COMP2_INM and COMP1_INP."
      },
      {
        "number": "47",
        "name": "PE6",
        "type": "bidirectional",
        "description": "Port E6 3.6 V tolerant high-sink I/O with PVD_IN."
      },
      {
        "number": "48",
        "name": "PE7",
        "type": "bidirectional",
        "description": "Port E7 3.6 V tolerant high-sink I/O (LCD_SEG27 on STM8L152xx only)."
      },
      {
        "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: MPN decode: STM8L151C6U6 = 48 pins (C), 32 Kbyte Flash (6), UFQFPN package (U), -40 to 85 °C (6) per; The UFQFPN48 exposed die pad on the underside (page 119) is not given a pin number in the datasheet ; Pin 13 is printed as 'Reserved, must be tied to VDD' for STM8L151xx; its ERC type 'passive' is my cl",
          "exposed pad 49 added from the footprint"
        ],
        "pages_sent": 56,
        "cost_usd": 0.2669,
        "at": "2026-10-08T19:10:58"
      },
      "datasheet": {
        "url": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8588941536193359872",
        "pages": 141,
        "sha256": "76f669f0972e887a",
        "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": "stm8l151c6u6.step",
        "role": "plain",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "z = 0",
        "extents_mm": [
          7,
          7,
          0.77
        ],
        "zmin_mm": 0,
        "centre_offset_mm": 0,
        "footprint_binding": "identity",
        "sha256": "f2b38b0b4bf967c77e683e8d4599608b9f0503055ec535b93c4ebb5d0163e916",
        "checked": "2026-10-08",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      },
      {
        "file": "stm8l151c6u6-etched.step",
        "role": "eda",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "z = 0",
        "extents_mm": [
          7,
          7,
          0.77
        ],
        "zmin_mm": 0,
        "centre_offset_mm": 0,
        "footprint_binding": "identity",
        "sha256": "239ba91fb9651252fe32730d6248380de33b4a3e1b6010587cb72801d869221e",
        "checked": "2026-10-08",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      }
    ]
  },
  "metadata": {
    "specs": {
      "Manufacturer": "STMicroelectronics",
      "Package": "UFQFPN-48(7x7)",
      "Category": "Embedded Processors & Controllers",
      "Pins": "49"
    }
  },
  "variants": [],
  "sections": [
    "hero",
    "viewers",
    "readme",
    "breadcrumbs",
    "info"
  ],
  "discovery_triggers": [
    "stm8l151c6u6"
  ],
  "discovery_pitch": "STM8L151C6U6 (STMicroelectronics) component page: datasheet pinout, KiCad symbol, footprint and 3D.",
  "author": {
    "name": "Ray",
    "email": "[email protected]"
  },
  "dependencies": {},
  "hero": {
    "type": "image",
    "path": "docs/hero.png"
  },
  "files": [
    "page.json",
    "README.md",
    "stm8l151c6u6.kicad_sym",
    "stm8l151c6u6.kicad_mod",
    "stm8l151c6u6.glb",
    "stm8l151c6u6.step",
    "stm8l151c6u6.lbr",
    "docs/hero.png",
    "docs/stm8l151c6u6-datasheet.pdf",
    "viewers/symbol.html",
    "viewers/footprint.html",
    "stm8l151c6u6-hero.glb",
    "stm8l151c6u6-hero.overlay.json"
  ],
  "visibility": {
    "public": true
  }
}