main
Download ZIP Propose a change
Generated by kicad-footprint-generator · KiCad file format 20260206
Name Last commit message Last updated
docs Publish 0.1.0 · Ray 17h ago
viewers stm8l152c8u6: viewers · Ray 17h ago
package.json Publish 0.1.0 · Ray 17h ago
page.json Set visibility: public · Ray 17h ago
README.md Initial commit: component/stm8l152c8u6 · Ray 17h ago
stm8l152c8u6-etched.glb stm8l152c8u6: factory component page (tier=lcsc) · Ray 17h ago
stm8l152c8u6-etched.step stm8l152c8u6: factory component page (tier=lcsc) · Ray 17h ago
stm8l152c8u6-hero.glb Publish 0.1.0 · Ray 17h ago
stm8l152c8u6-hero.overlay.json Publish 0.1.0 · Ray 17h ago
stm8l152c8u6.glb Publish 0.1.0 · Ray 17h ago
stm8l152c8u6.kicad_mod Publish 0.1.0 · Ray 17h ago
stm8l152c8u6.kicad_sym Publish 0.1.0 · Ray 17h ago
stm8l152c8u6.lbr Publish 0.1.0 · Ray 17h ago
stm8l152c8u6.step Publish 0.1.0 · Ray 17h ago

STM8L152C8U6

STMicroelectronics · Microcontrollers (MCU/MPU/SOC) · UFQFPN-48(7x7)

STM8L152C8U6 from STMicroelectronics, in a UFQFPN-48(7x7). Pinout and pin descriptions extracted from the manufacturer datasheet (extract_pins, cross-checked by a second model); symbol, footprint, and 3D from KiCad-official CAD.

Pinout

Pin Name Type Function
1 PA0 bidirectional General purpose I/O, five-volt tolerant with high-sink LED driver capability; alternate functions: USART1 synchronous clock, SWIM interface, beeper output, infrared timer output.
2 NRST/PA1 input Reset input with internal pull-up (30-60 kΩ); can be configured as output PA1 (push-pull only) after reset.
3 PA2 bidirectional General purpose I/O, five-volt tolerant; alternate functions: HSE oscillator input, USART1 transmit, SPI1 MISO.
4 PA3 bidirectional General purpose I/O, five-volt tolerant; alternate functions: HSE oscillator output, USART1 receive, SPI1 MOSI.
5 PA4 bidirectional General purpose I/O, five-volt tolerant; alternate functions: Timer 2 break/trigger, LCD COM 0, ADC1 input 2, Comparator 1 positive input.
6 PA5 bidirectional General purpose I/O, five-volt tolerant; alternate functions: Timer 3 break/trigger, LCD COM 1, ADC1 input 1, Comparator 1 positive input.
7 PA6 bidirectional General purpose I/O, five-volt tolerant; alternate functions: ADC1 trigger, LCD COM 2, ADC1 input 0, Comparator 1 positive input.
8 PA7 bidirectional General purpose I/O, five-volt tolerant; alternate functions: LCD segment 0, Timer 5 channel 1 output.
9 VSS/VSSA/VREF- power_in I/O ground, analog ground, and ADC1 negative voltage reference.
10 VDD1 power_in Digital power supply for I/Os, operating range 1.65 to 3.6 V.
11 VDDA power_in Analog power supply for ADC1 and comparators, operating range 1.65 to 3.6 V (minimum 1.8 V when ADC1 is used).
12 VREF+ power_in ADC1 and DAC1/2 positive voltage reference, operating range 1.65 to 3.6 V.
13 VLCD power_in External capacitor connection for LCD step-up converter (STM8L152 devices only).
14 PE0 bidirectional General purpose I/O, five-volt tolerant; alternate functions: LCD segment 1, Timer 5 channel 2 output.
15 PE1 bidirectional General purpose I/O, five-volt tolerant; alternate functions: Timer 1 inverted channel 2, LCD segment 2.
16 PE2 bidirectional General purpose I/O, five-volt tolerant; alternate functions: Timer 1 inverted channel 3, LCD segment 3, configurable clock output.
17 PE3 bidirectional General purpose I/O, five-volt tolerant; alternate functions: LCD segment 4, USART2 receive.
18 PE4 bidirectional General purpose I/O, five-volt tolerant; alternate functions: LCD segment 5, DAC 2 trigger, USART2 transmit.
19 PE5 bidirectional General purpose I/O, five-volt tolerant; alternate functions: LCD segment 6, ADC1 input 23, Comparators 1/2 positive inputs, USART2 synchronous clock.
20 PD0 bidirectional General purpose I/O, five-volt tolerant; alternate functions: Timer 3 channel 2, ADC1 trigger, LCD segment 7, ADC1 input 22, Comparator 2 positive input.
21 PD1 bidirectional General purpose I/O, five-volt tolerant; alternate functions: Timer 3 trigger, LCD COM 3, ADC1 input 21, Comparators 1/2 positive inputs.
22 PD2 bidirectional General purpose I/O, five-volt tolerant; alternate functions: Timer 1 channel 1, LCD segment 8, ADC1 input 20, Comparator 1 positive input.
23 PD3 bidirectional General purpose I/O, five-volt tolerant; alternate functions: Timer 1 trigger, LCD segment 9, ADC1 input 19, Comparator 1 positive input.
24 PB0 bidirectional General purpose I/O, five-volt tolerant with pull-up during reset; alternate functions: Timer 2 channel 1, LCD segment 10, ADC1 input 18, Comparator 1 positive input.
25 PB1 bidirectional General purpose I/O, five-volt tolerant; alternate functions: Timer 3 channel 1, LCD segment 11, ADC1 input 17, Comparator 1 positive input.
26 PB2 bidirectional General purpose I/O, five-volt tolerant; alternate functions: Timer 2 channel 2, LCD segment 12, ADC1 input 16, Comparator 1 positive input.
27 PB3 bidirectional General purpose I/O, five-volt tolerant; alternate functions: Timer 2 trigger, LCD segment 13, ADC1 input 15, Comparator 1 positive input.
28 PB4 bidirectional General purpose I/O, five-volt tolerant with pull-up during reset; alternate functions: SPI1 master/slave select, LCD segment 14, ADC1 input 14, DAC 2 output, Comparator 1 positive input.
29 PB5 bidirectional General purpose I/O, five-volt tolerant; alternate functions: SPI1 clock, LCD segment 15, ADC1 input 13, DAC 2 output, Comparator 1 positive input.
30 PB6 bidirectional General purpose I/O, five-volt tolerant; alternate functions: SPI1 master-out/slave-in, LCD segment 16, ADC1 input 12, DAC 2 output, Comparator 1 positive input.
31 PB7 bidirectional General purpose I/O, five-volt tolerant; alternate functions: SPI1 master-in/slave-out, LCD segment 17, ADC1 input 11, Comparator 1 positive input.
32 PF0 bidirectional General purpose I/O (not five-volt tolerant); alternate functions: ADC1 input 24, DAC 1 output.
33 PD4 bidirectional General purpose I/O, five-volt tolerant; alternate functions: Timer 1 channel 2, LCD segment 18, ADC1 input 10, SPI2 MISO, Comparator 1 positive input.
34 PD5 bidirectional General purpose I/O, five-volt tolerant; alternate functions: Timer 1 channel 3, LCD segment 19, ADC1 input 9, SPI2 MOSI, Comparator 1 positive input.
35 PD6 bidirectional General purpose I/O, five-volt tolerant; alternate functions: Timer 1 break input, LCD segment 20, ADC1 input 8, RTC calibration, SPI2 clock, Comparator 1 positive input, internal reference voltage output.
36 PD7 bidirectional General purpose I/O, five-volt tolerant; alternate functions: Timer 1 inverted channel 1, LCD segment 21, ADC1 input 7, RTC alarm output, SPI2 master/slave select, Comparator 1 positive input, internal reference voltage output.
37 PC0 bidirectional General purpose I/O, five-volt tolerant, true open-drain output; primary function: I2C1 data line (SDA).
38 PC1 bidirectional General purpose I/O, five-volt tolerant, true open-drain output; primary function: I2C1 clock line (SCL).
39 VDD2 power_in I/O power supply, operating range 1.65 to 3.6 V.
40 VSS2 power_in I/O ground.
41 PC2 bidirectional General purpose I/O, five-volt tolerant; alternate functions: USART1 receive, LCD segment 22, ADC1 input 6, Comparator 1 positive input, internal reference voltage output.
42 PC3 bidirectional General purpose I/O, five-volt tolerant; alternate functions: USART1 transmit, LCD segment 23, ADC1 input 5.
43 PC4 bidirectional General purpose I/O, five-volt tolerant; alternate functions: USART1 synchronous clock, I2C1 SMBus, configurable clock output, LCD segment 24/COM 4, ADC1 input 4, Comparators 1/2 inputs.
44 PC5 bidirectional General purpose I/O, five-volt tolerant; alternate functions: LSE oscillator input, SPI1 master/slave select, USART1 transmit.
45 PC6 bidirectional General purpose I/O, five-volt tolerant; alternate functions: LSE oscillator output, SPI1 clock, USART1 receive.
46 PC7 bidirectional General purpose I/O, five-volt tolerant; alternate functions: LCD segment 25/COM 5, ADC1 input 3, USART3 synchronous clock, Comparators 1/2 inputs.
47 PE6 bidirectional General purpose I/O, five-volt tolerant; alternate functions: LCD segment 26/COM 6, PVD input, Timer 5 break input, USART3 transmit.
48 PE7 bidirectional General purpose I/O, five-volt tolerant; alternate functions: LCD segment 27/COM 7, Timer 5 trigger, USART3 receive.
49 EP passive Exposed pad (from the footprint; not named in the datasheet pin table).

Key specifications

Parameter Value
Manufacturer STMicroelectronics
Package UFQFPN-48(7x7)
Category Embedded Processors & Controllers
Pins 49

CAD (KiCad official)

  • Symbol: STM8L152C8U6
  • Footprint: Package_DFN_QFN:QFN-48-1EP_7x7mm_P0.5mm_EP5.15x5.15mm
  • 3D model: UFQFPN-48(7x7) (KiCad packages3D, STEP)
  • 3D model files: stm8l152c8u6-etched.step / stm8l152c8u6-etched.glb carry the MPN laser-etched on the die in a toggleable Adom.LaserEtch group (Fusion-ready); stm8l152c8u6.step / stm8l152c8u6.glb are the bare package body.

Provenance

Data extracted from the manufacturer datasheet, not a distributor listing:

  • Datasheet: STMicroelectronics datasheet (147 pp, sha256 193f2133f3d81d2b, retrieved 2026-10-05, tier: lcsc)
  • Extractor: parts-factory 2.0.0 / extract_pins 0.3, primary claude-haiku-4-5-20251001 (text), consensus claude-sonnet-5-5 (agreed), guards: pin_guards 0.1: passed. Pins are checked against the footprint pad set and their cited datasheet pages before publish.
  • CAD: KiCad official libraries (CC-BY-SA 4.0).

Datasheet PDF