main
Ray Initial commit: component/stm8l052r8t6tr a99ce16

STM8L052R8T6TR

STMicroelectronics · Microcontrollers (MCU/MPU/SOC) · LQFP-64(10x10)

STM8L052R8T6TR from STMicroelectronics, in a LQFP-64(10x10). Pinout and pin descriptions extracted from the manufacturer datasheet by ds2sf; symbol, footprint, and 3D from KiCad-official CAD.

Pinout

Pin Name Type Function
1 PA0 bidirectional Port A0 general-purpose I/O with alternate functions: USART1 synchronous clock, SWIM debug interface input/output, Beep output, Infrared Timer output
2 NRST/PA1 input NRST reset input pin (active low) with internal pull-up; can be configured as PA1 general-purpose output-only GPIO
3 PA2 bidirectional Port A2 GPIO with alternate functions: HSE oscillator input, USART1 transmit, SPI1 MISO
4 PA3 bidirectional Port A3 GPIO with alternate functions: HSE oscillator output, USART1 receive, SPI1 MOSI
5 PA4 bidirectional Port A4 GPIO with alternate functions: Timer 2 break input, LCD common 0, ADC1 input 2; five-volt tolerant
6 PA5 bidirectional Port A5 GPIO with alternate functions: Timer 3 break input, LCD common 1, ADC1 input 1; five-volt tolerant
7 PA6 bidirectional Port A6 GPIO with alternate functions: ADC1 trigger input, LCD common 2, ADC1 input 0; five-volt tolerant
8 PA7 bidirectional Port A7 GPIO with alternate functions: LCD segment 0, Timer 5 channel 1; five-volt tolerant
9 VSSA/VREF- power_in Analog ground and ADC1 negative voltage reference (must be connected to VSS)
10 VSS1 power_in I/O ground voltage supply connection
11 VDD1 power_in Digital power supply 1.8 V to 3.6 V for core and peripherals
12 VDDA power_in Analog power supply 1.8 V to 3.6 V; must be at same potential as VDD
13 VREF+ power_in ADC1 positive voltage reference 2.4 V to 3.6 V (or equal to VDDA)
14 PG0 bidirectional Port G0 GPIO with alternate functions: USART3 receive, Timer 2 break input; five-volt tolerant
15 PG1 bidirectional Port G1 GPIO with alternate functions: USART3 transmit, Timer 3 break input; five-volt tolerant
16 PG2 bidirectional Port G2 GPIO with alternate function: USART3 synchronous clock; five-volt tolerant
17 PG3 bidirectional Port G3 GPIO with alternate function: Timer 3 external trigger; five-volt tolerant
18 VLCD passive LCD booster external capacitor connection 0.1 µF to 2 µF recommended
19 PE0 bidirectional Port E0 GPIO with alternate functions: LCD segment 1, Timer 5 channel 2, RTC tamper 1 input; five-volt tolerant
20 PE1 bidirectional Port E1 GPIO with alternate functions: Timer 1 inverted channel 2, LCD segment 2, RTC tamper 2 input; five-volt tolerant
21 PE2 bidirectional Port E2 GPIO with alternate functions: Timer 1 inverted channel 3, LCD segment 3, RTC tamper 3 input, configurable clock output; five-volt tolerant
22 PE3 bidirectional Port E3 GPIO with alternate functions: LCD segment 4, USART2 receive; five-volt tolerant
23 PE4 bidirectional Port E4 GPIO with alternate functions: LCD segment 5, USART2 transmit; five-volt tolerant
24 PE5 bidirectional Port E5 GPIO with alternate functions: LCD segment 6, ADC1 input 23, USART2 synchronous clock; five-volt tolerant
25 PD0 bidirectional Port D0 GPIO with alternate functions: Timer 3 channel 2, ADC1 trigger, LCD segment 7, ADC1 input 22; five-volt tolerant
26 PD1 bidirectional Port D1 GPIO with alternate functions: Timer 3 external trigger, LCD common 3, ADC1 input 21; five-volt tolerant
27 PD2 bidirectional Port D2 GPIO with alternate functions: Timer 1 channel 1, LCD segment 8, ADC1 input 20; five-volt tolerant
28 PD3 bidirectional Port D3 GPIO with alternate functions: Timer 1 external trigger, LCD segment 9, ADC1 input 19; five-volt tolerant
29 VDD3 power_in I/O power supply 1.8 V to 3.6 V
30 VSS3 power_in I/O ground voltage
31 PB0 bidirectional Port B0 GPIO with alternate functions: Timer 2 channel 1, LCD segment 10, ADC1 input 18; five-volt tolerant; pull-up applied during reset phase
32 PB1 bidirectional Port B1 GPIO with alternate functions: Timer 3 channel 1, LCD segment 11, ADC1 input 17; five-volt tolerant
33 PB2 bidirectional Port B2 GPIO with alternate functions: Timer 2 channel 2, LCD segment 12, ADC1 input 16; five-volt tolerant
34 PB3 bidirectional Port B3 GPIO with alternate functions: Timer 2 external trigger, LCD segment 13, ADC1 input 15; five-volt tolerant
35 PB4 bidirectional Port B4 GPIO with alternate functions: SPI1 slave select, LCD segment 14, ADC1 input 14; five-volt tolerant; pull-up applied during reset phase
36 PB5 bidirectional Port B5 GPIO with alternate functions: SPI1 clock, LCD segment 15, ADC1 input 13; five-volt tolerant
37 PB6 bidirectional Port B6 GPIO with alternate functions: SPI1 MOSI, LCD segment 16, ADC1 input 12; five-volt tolerant
38 PB7 bidirectional Port B7 GPIO with alternate functions: SPI1 MISO, LCD segment 17, ADC1 input 11; five-volt tolerant
39 PF0 bidirectional Port F0 GPIO with alternate functions: ADC1 input 24, USART3 transmit
40 PF1 bidirectional Port F1 GPIO with alternate functions: ADC1 input 25, USART3 receive
41 PF4 bidirectional Port F4 GPIO with alternate functions: LCD segment 36, LCD common 4; five-volt tolerant
42 PF5 bidirectional Port F5 GPIO with alternate functions: LCD segment 37, LCD common 5; five-volt tolerant
43 PF6 bidirectional Port F6 GPIO with alternate functions: LCD segment 38, LCD common 6; five-volt tolerant
44 PF7 bidirectional Port F7 GPIO with alternate functions: LCD segment 39, LCD common 7; five-volt tolerant
45 PD4 bidirectional Port D4 GPIO with alternate functions: Timer 1 channel 2, LCD segment 18, ADC1 input 10; five-volt tolerant
46 PD5 bidirectional Port D5 GPIO with alternate functions: Timer 1 channel 3, LCD segment 19, ADC1 input 9; five-volt tolerant
47 PD6 bidirectional Port D6 GPIO with alternate functions: Timer 1 break input, LCD segment 20, ADC1 input 8, RTC calibration, internal voltage reference output; five-volt tolerant
48 PD7 bidirectional Port D7 GPIO with alternate functions: Timer 1 inverted channel 1, LCD segment 21, ADC1 input 7, RTC alarm, internal voltage reference output; five-volt tolerant
49 PG4 bidirectional Port G4 GPIO with alternate function: SPI2 slave select; five-volt tolerant
50 PG5 bidirectional Port G5 GPIO with alternate function: SPI2 clock; five-volt tolerant
51 PG6 bidirectional Port G6 GPIO with alternate function: SPI2 MOSI; five-volt tolerant
52 PG7 bidirectional Port G7 GPIO with alternate function: SPI2 MISO; five-volt tolerant
53 PC0 bidirectional Port C0 GPIO open-drain with alternate function: I2C1 SDA line; five-volt tolerant; no protection diode to VDD
54 PC1 bidirectional Port C1 GPIO open-drain with alternate function: I2C1 SCL line; five-volt tolerant; no protection diode to VDD
55 VDD2 power_in I/O power supply 1.8 V to 3.6 V
56 VSS2 power_in I/O ground voltage
57 PC2 bidirectional Port C2 GPIO with alternate functions: USART1 receive, LCD segment 22, ADC1 input 6, internal voltage reference output; five-volt tolerant
58 PC3 bidirectional Port C3 GPIO with alternate functions: USART1 transmit, LCD segment 23, ADC1 input 5; five-volt tolerant
59 PC4 bidirectional Port C4 GPIO with alternate functions: USART1 synchronous clock, I2C1 SMBus alert, configurable clock output, ADC1 input 4; five-volt tolerant
60 PC5 bidirectional Port C5 GPIO with alternate functions: LSE oscillator input, SPI1 slave select, USART1 transmit; five-volt tolerant
61 PC6 bidirectional Port C6 GPIO with alternate functions: LSE oscillator output, SPI1 clock, USART1 receive; five-volt tolerant
62 PC7 bidirectional Port C7 GPIO with alternate function: ADC1 input 3; five-volt tolerant
63 PE6 bidirectional Port E6 GPIO with alternate functions: Programmable voltage detector input, Timer 5 break input; five-volt tolerant
64 PE7 bidirectional Port E7 GPIO with alternate function: Timer 5 external trigger; five-volt tolerant

Key specifications

Parameter Value
Manufacturer STMicroelectronics
Package LQFP-64(10x10)
Category Embedded Processors & Controllers
Pins 64

CAD (KiCad official)

  • Symbol: STM8L052R8T6TR
  • Footprint: Package_QFP:LQFP-64_10x10mm_P0.5mm
  • 3D model: LQFP-64(10x10) (KiCad packages3D, STEP)
  • 3D model files: stm8l052r8t6tr-etched.step / stm8l052r8t6tr-etched.glb carry the MPN laser-etched on the die in a toggleable Adom.LaserEtch group (Fusion-ready); stm8l052r8t6tr.step / stm8l052r8t6tr.glb are the bare package body.

Provenance

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

  • Datasheet: STMicroelectronics datasheet (112 pp, sha256 2292f03a7352bea4, retrieved 2026-09-23, 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