main
History Download
Ray Initial commit: component/stm8l051f3p6 39afc76

STM8L051F3P6

STMicroelectronics · Microcontrollers (MCU/MPU/SOC) · TSSOP-20

STM8L051F3P6 from STMicroelectronics, in a TSSOP-20. 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 PC5 bidirectional Port C5 I/O pin with LSE oscillator input as main function; supports alternate mappings to SPI1 NSS, USART TX, and TIM2 channel 1.
2 PC6 bidirectional Port C6 I/O pin with LSE oscillator output as main function; supports alternate mappings to SPI1 SCK, USART RX, and TIM2 channel 2.
3 PA0 bidirectional Port A0 I/O pin with high-sink LED driver capability (up to 80 mA); functions as SWIM debug interface, beeper output, and infrared timer output.
4 NRST/PA1 input Active-low device reset input with internal pull-up (30-60 kΩ), VIL max 0.8V; can be remapped as Port A1 open-drain or push-pull output only.
5 PA2 bidirectional Port A2 I/O pin with HSE oscillator input as main function; supports alternate mappings to USART TX and SPI MISO.
6 PA3 bidirectional Port A3 I/O pin with HSE oscillator output as main function; supports alternate mappings to USART RX and SPI MOSI.
7 VSS/VREF-/VSSA power_in Ground connections (VSS, VSSA) and ADC negative reference (VREF-), 0V reference potential; must be connected to external power return.
8 VDD/VDDA/VREF+ power_in Power supply (VDD, VDDA) and ADC positive reference (VREF+) connections, 1.8-3.6V operating range, up to 80 mA total output current.
9 PD0 bidirectional Port D0 I/O pin with functions as Timer 3 channel 2 input/output, ADC1 trigger input, and ADC1 analog input channel 22.
10 PB0 bidirectional Port B0 I/O pin; functions as Timer 2 channel 1 input/output and ADC1 analog input channel 18; pull-up applied during reset phase only.
11 PB1 bidirectional Port B1 I/O pin with Timer 3 channel 1 input/output and ADC1 analog input channel 17 functions.
12 PB2 bidirectional Port B2 I/O pin with Timer 2 channel 2 input/output and ADC1 analog input channel 16 functions.
13 PB3 bidirectional Port B3 I/O pin functioning as Timer 2 external trigger input, RTC alarm output, and ADC1 analog input channel 15.
14 PB4 bidirectional Port B4 I/O pin functioning as SPI1 slave select (NSS) input and ADC1 analog input channel 14; pull-up applied during reset phase only.
15 PB5 bidirectional Port B5 I/O pin functioning as SPI1 clock (SCK) input/output and ADC1 analog input channel 13.
16 PB6 bidirectional Port B6 I/O pin functioning as SPI1 master-out/slave-in (MOSI) and ADC1 analog input channel 12.
17 PB7 bidirectional Port B7 I/O pin functioning as SPI1 master-in/slave-out (MISO) and ADC1 analog input channel 11.
18 PC0 tri_state I2C1 data (SDA) pin with true open-drain output, 5-volt tolerant input (up to 5.5V), and integrated weak pull-up (30-60 kΩ).
19 PC1 tri_state I2C1 clock (SCL) pin with true open-drain output, 5-volt tolerant input (up to 5.5V), and integrated weak pull-up (30-60 kΩ).
20 PC4 bidirectional Port C4 I/O pin with USART1 synchronous clock, I2C1 SMBus, configurable clock output, and ADC1 analog input channel 4 functions.

Key specifications

Parameter Value
Manufacturer STMicroelectronics
Package TSSOP-20
Category Embedded Processors & Controllers
Pins 20

CAD (KiCad official)

  • Symbol: STM8L051F3P6
  • Footprint: Package_SO:TSSOP-20_4.4x6.5mm_P0.65mm
  • 3D model: TSSOP-20 (KiCad packages3D, STEP)
  • 3D model files: stm8l051f3p6-etched.step / stm8l051f3p6-etched.glb carry the MPN laser-etched on the die in a toggleable Adom.LaserEtch group (Fusion-ready); stm8l051f3p6.step / stm8l051f3p6.glb are the bare package body.

Provenance

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

  • Datasheet: STMicroelectronics datasheet (93 pp, sha256 49eab539fe1f16e1, retrieved 2026-09-24, tier: lcsc)
  • Extractor: parts-factory 2.0.0 / extract_pins 0.2, primary claude-haiku-4-5-20251001 (text), consensus claude-sonnet-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