component
STM8L052R8T6
Public Made by Adomby adom
STMicroelectronics Microcontrollers (MCU/MPU/SOC), LQFP-64(10x10). Pinout cross-checked by two models against the datasheet, KiCad symbol/footprint/3D.
main
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474
{
"slug": "stm8l052r8t6",
"version": "0.1.0",
"type": "component",
"description": "STMicroelectronics Microcontrollers (MCU/MPU/SOC), LQFP-64(10x10). Datasheet-verified pinout, KiCad symbol/footprint/3D.",
"tags": [
"component",
"embedded processors & controllers",
"stm8l052r8t6",
"factory-2.0.0",
"extractor-text"
],
"dependencies": {},
"hero": {
"type": "image",
"path": "docs/hero.png"
},
"files": [
"page.json",
"README.md",
"stm8l052r8t6.kicad_sym",
"stm8l052r8t6.kicad_mod",
"stm8l052r8t6.glb",
"stm8l052r8t6.step",
"stm8l052r8t6.lbr",
"docs/hero.png",
"docs/stm8l052r8t6-datasheet.pdf",
"viewers/symbol.html",
"viewers/footprint.html"
],
"component": {
"mpn": "STM8L052R8T6",
"manufacturer": "STMicroelectronics",
"package": "LQFP-64(10x10)",
"pin_count": 64,
"category": "Embedded Processors & Controllers",
"subcategory": "Microcontrollers (MCU/MPU/SOC)",
"datasheet": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8586175707394924544",
"parts": {
"symbol": "stm8l052r8t6.kicad_sym",
"footprint": "stm8l052r8t6.kicad_mod",
"model_3d": "stm8l052r8t6-etched.glb",
"model_3d_plain": "stm8l052r8t6.glb",
"model_3d_step": "stm8l052r8t6-etched.step",
"model_3d_step_plain": "stm8l052r8t6.step",
"lbr": "stm8l052r8t6.lbr"
},
"distributor_links": {
"lcsc": "C34222"
},
"pins": [
{
"number": "1",
"name": "PA0",
"type": "bidirectional",
"description": "Port A0 configurable as general purpose I/O, SWIM debug interface, beep output, or infrared timer output; high sink LED driver capability."
},
{
"number": "2",
"name": "NRST/PA1",
"type": "bidirectional",
"description": "Power-on reset input or configurable as Port A1 general purpose output only with push-pull or open-drain configuration; external interrupt source."
},
{
"number": "3",
"name": "PA2",
"type": "bidirectional",
"description": "Port A2 configurable as general purpose I/O, HSE oscillator input, alternate USART1 transmit, or alternate SPI1 MISO; 5V tolerant."
},
{
"number": "4",
"name": "PA3",
"type": "bidirectional",
"description": "Port A3 configurable as general purpose I/O, HSE oscillator output, alternate USART1 receive, or alternate SPI1 MOSI; 5V tolerant."
},
{
"number": "5",
"name": "PA4",
"type": "bidirectional",
"description": "Port A4 configurable as general purpose I/O, Timer 2 break input, alternate Timer 2 trigger, LCD common 0, or ADC1 input channel 2; 5V tolerant."
},
{
"number": "6",
"name": "PA5",
"type": "bidirectional",
"description": "Port A5 configurable as general purpose I/O, Timer 3 break input, alternate Timer 3 trigger, LCD common 1, or ADC1 input channel 1; 5V tolerant."
},
{
"number": "7",
"name": "PA6",
"type": "bidirectional",
"description": "Port A6 configurable as general purpose I/O, alternate ADC1 trigger, LCD common 2, or ADC1 input channel 0; 5V tolerant."
},
{
"number": "8",
"name": "PA7",
"type": "bidirectional",
"description": "Port A7 configurable as general purpose I/O, LCD segment 0, or Timer 5 channel 1; 5V tolerant."
},
{
"number": "9",
"name": "VSSA/VREF-",
"type": "power_in",
"description": "Analog ground voltage and ADC1 negative voltage reference; must be connected to VSS; supply range 1.8 to 3.6 V."
},
{
"number": "10",
"name": "VSS1",
"type": "power_in",
"description": "I/O and digital power supply ground return; must not be left unconnected; supply range 1.8 to 3.6 V."
},
{
"number": "11",
"name": "VDD1",
"type": "power_in",
"description": "Digital power supply voltage for I/Os and internal regulator; must not be left unconnected; supply range 1.8 to 3.6 V."
},
{
"number": "12",
"name": "VDDA",
"type": "power_in",
"description": "Analog supply voltage for ADC peripherals; must be connected to VDD; supply range 1.8 to 3.6 V."
},
{
"number": "13",
"name": "VREF+",
"type": "power_in",
"description": "ADC1 positive voltage reference; must be provided externally; supply range 1.8 to 3.6 V."
},
{
"number": "14",
"name": "PG0",
"type": "bidirectional",
"description": "Port G0 configurable as general purpose I/O, USART3 receive, or alternate Timer 2 break input; 5V tolerant."
},
{
"number": "15",
"name": "PG1",
"type": "bidirectional",
"description": "Port G1 configurable as general purpose I/O, USART3 transmit, or alternate Timer 3 break input; 5V tolerant."
},
{
"number": "16",
"name": "PG2",
"type": "bidirectional",
"description": "Port G2 configurable as general purpose I/O or USART3 synchronous clock; 5V tolerant."
},
{
"number": "17",
"name": "PG3",
"type": "bidirectional",
"description": "Port G3 configurable as general purpose I/O or alternate Timer 3 external trigger; 5V tolerant."
},
{
"number": "18",
"name": "VLCD",
"type": "power_in",
"description": "LCD booster external capacitor connection for internal step-up converter to guarantee contrast control; supply range 1.8 to 3.6 V."
},
{
"number": "19",
"name": "PE0",
"type": "bidirectional",
"description": "Port E0 configurable as general purpose I/O, LCD segment 1, Timer 5 channel 2, or RTC tamper 1 detection input; 5V tolerant."
},
{
"number": "20",
"name": "PE1",
"type": "bidirectional",
"description": "Port E1 configurable as general purpose I/O, Timer 1 inverted channel 2, LCD segment 2, or RTC tamper 2 detection input; 5V tolerant."
},
{
"number": "21",
"name": "PE2",
"type": "bidirectional",
"description": "Port E2 configurable as general purpose I/O, Timer 1 inverted channel 3, LCD segment 3, or RTC tamper 3 detection input; 5V tolerant."
},
{
"number": "22",
"name": "PE3",
"type": "bidirectional",
"description": "Port E3 configurable as general purpose I/O, LCD segment 4, or USART2 receive; 5V tolerant."
},
{
"number": "23",
"name": "PE4",
"type": "bidirectional",
"description": "Port E4 configurable as general purpose I/O, LCD segment 5, or USART2 transmit; 5V tolerant."
},
{
"number": "24",
"name": "PE5",
"type": "bidirectional",
"description": "Port E5 configurable as general purpose I/O, LCD segment 6, ADC1 input channel 23, or USART2 synchronous clock; 5V tolerant."
},
{
"number": "25",
"name": "PD0",
"type": "bidirectional",
"description": "Port D0 configurable as general purpose I/O, Timer 3 channel 2, alternate ADC1 trigger, LCD segment 7, or ADC1 input channel 22; 5V tolerant."
},
{
"number": "26",
"name": "PD1",
"type": "bidirectional",
"description": "Port D1 configurable as general purpose I/O, Timer 3 external trigger, LCD common 3, or ADC1 input channel 21; 5V tolerant."
},
{
"number": "27",
"name": "PD2",
"type": "bidirectional",
"description": "Port D2 configurable as general purpose I/O, Timer 1 channel 1, LCD segment 8, or ADC1 input channel 20; 5V tolerant."
},
{
"number": "28",
"name": "PD3",
"type": "bidirectional",
"description": "Port D3 configurable as general purpose I/O, Timer 1 external trigger, LCD segment 9, or ADC1 input channel 19; 5V tolerant."
},
{
"number": "29",
"name": "VDD3",
"type": "power_in",
"description": "I/O supply voltage; must not be left unconnected; supply range 1.8 to 3.6 V."
},
{
"number": "30",
"name": "VSS3",
"type": "power_in",
"description": "I/O ground return; must not be left unconnected; supply range 1.8 to 3.6 V."
},
{
"number": "31",
"name": "PB0",
"type": "bidirectional",
"description": "Port B0 configurable as general purpose I/O, Timer 2 channel 1, LCD segment 10, or ADC1 input channel 18; 5V tolerant; pull-up applied during reset, input floating after reset release."
},
{
"number": "32",
"name": "PB1",
"type": "bidirectional",
"description": "Port B1 configurable as general purpose I/O, Timer 3 channel 1, LCD segment 11, or ADC1 input channel 17; 5V tolerant."
},
{
"number": "33",
"name": "PB2",
"type": "bidirectional",
"description": "Port B2 configurable as general purpose I/O, Timer 2 channel 2, LCD segment 12, or ADC1 input channel 16; 5V tolerant."
},
{
"number": "34",
"name": "PB3",
"type": "bidirectional",
"description": "Port B3 configurable as general purpose I/O, Timer 2 external trigger, LCD segment 13, or ADC1 input channel 15; 5V tolerant."
},
{
"number": "35",
"name": "PB4",
"type": "bidirectional",
"description": "Port B4 configurable as general purpose I/O, alternate SPI1 master/slave select, LCD segment 14, or ADC1 input channel 14; 5V tolerant; pull-up applied during reset."
},
{
"number": "36",
"name": "PB5",
"type": "bidirectional",
"description": "Port B5 configurable as general purpose I/O, alternate SPI1 clock, LCD segment 15, or ADC1 input channel 13; 5V tolerant."
},
{
"number": "37",
"name": "PB6",
"type": "bidirectional",
"description": "Port B6 configurable as general purpose I/O, alternate SPI1 master out/slave in, LCD segment 16, or ADC1 input channel 12; 5V tolerant."
},
{
"number": "38",
"name": "PB7",
"type": "bidirectional",
"description": "Port B7 configurable as general purpose I/O, alternate SPI1 master in/slave out, LCD segment 17, or ADC1 input channel 11; 5V tolerant."
},
{
"number": "39",
"name": "PF0",
"type": "bidirectional",
"description": "Port F0 configurable as general purpose I/O, ADC1 input channel 24, or alternate USART3 transmit."
},
{
"number": "40",
"name": "PF1",
"type": "bidirectional",
"description": "Port F1 configurable as general purpose I/O, ADC1 input channel 25, or alternate USART3 receive."
},
{
"number": "41",
"name": "PF4",
"type": "bidirectional",
"description": "Port F4 configurable as general purpose I/O, LCD segment 36, or LCD common 4 with SEG/COM multiplexing available; 5V tolerant."
},
{
"number": "42",
"name": "PF5",
"type": "bidirectional",
"description": "Port F5 configurable as general purpose I/O, LCD segment 37, or LCD common 5 with SEG/COM multiplexing available; 5V tolerant."
},
{
"number": "43",
"name": "PF6",
"type": "bidirectional",
"description": "Port F6 configurable as general purpose I/O, LCD segment 38, or LCD common 6 with SEG/COM multiplexing available; 5V tolerant."
},
{
"number": "44",
"name": "PF7",
"type": "bidirectional",
"description": "Port F7 configurable as general purpose I/O, LCD segment 39, or LCD common 7 with SEG/COM multiplexing available; 5V tolerant."
},
{
"number": "45",
"name": "PD4",
"type": "bidirectional",
"description": "Port D4 configurable as general purpose I/O, Timer 1 channel 2, LCD segment 18, or ADC1 input channel 10; 5V tolerant."
},
{
"number": "46",
"name": "PD5",
"type": "bidirectional",
"description": "Port D5 configurable as general purpose I/O, Timer 1 channel 3, LCD segment 19, or ADC1 input channel 9; 5V tolerant."
},
{
"number": "47",
"name": "PD6",
"type": "bidirectional",
"description": "Port D6 configurable as general purpose I/O, Timer 1 break input, LCD segment 20, ADC1 input channel 8, RTC calibration input, or internal voltage reference output; 5V tolerant."
},
{
"number": "48",
"name": "PD7",
"type": "bidirectional",
"description": "Port D7 configurable as general purpose I/O, Timer 1 inverted channel 1, LCD segment 21, ADC1 input channel 7, RTC alarm output, or internal voltage reference output; 5V tolerant."
},
{
"number": "49",
"name": "PG4",
"type": "bidirectional",
"description": "Port G4 configurable as general purpose I/O or SPI2 master/slave select; 5V tolerant."
},
{
"number": "50",
"name": "PG5",
"type": "bidirectional",
"description": "Port G5 configurable as general purpose I/O or SPI2 clock; 5V tolerant."
},
{
"number": "51",
"name": "PG6",
"type": "bidirectional",
"description": "Port G6 configurable as general purpose I/O or SPI2 master out/slave in; 5V tolerant."
},
{
"number": "52",
"name": "PG7",
"type": "bidirectional",
"description": "Port G7 configurable as general purpose I/O or SPI2 master in/slave out; 5V tolerant."
},
{
"number": "53",
"name": "PC0",
"type": "bidirectional",
"description": "Port C0 configurable as general purpose I/O or I2C1 serial data with true open-drain output; 5V tolerant without protection diode to VDD."
},
{
"number": "54",
"name": "PC1",
"type": "bidirectional",
"description": "Port C1 configurable as general purpose I/O or I2C1 serial clock with true open-drain output; 5V tolerant without protection diode to VDD."
},
{
"number": "55",
"name": "VDD2",
"type": "power_in",
"description": "I/O supply voltage; must not be left unconnected; supply range 1.8 to 3.6 V."
},
{
"number": "56",
"name": "VSS2",
"type": "power_in",
"description": "I/O ground return; must not be left unconnected; supply range 1.8 to 3.6 V."
},
{
"number": "57",
"name": "PC2",
"type": "bidirectional",
"description": "Port C2 configurable as general purpose I/O, USART1 receive, LCD segment 22, ADC1 input channel 6, or internal voltage reference output; 5V tolerant."
},
{
"number": "58",
"name": "PC3",
"type": "bidirectional",
"description": "Port C3 configurable as general purpose I/O, USART1 transmit, LCD segment 23, or ADC1 input channel 5; 5V tolerant."
},
{
"number": "59",
"name": "PC4",
"type": "bidirectional",
"description": "Port C4 configurable as general purpose I/O, USART1 synchronous clock, I2C1 SMBus interface, configurable clock output, or ADC1 input channel 4; 5V tolerant."
},
{
"number": "60",
"name": "PC5",
"type": "bidirectional",
"description": "Port C5 configurable as general purpose I/O, LSE oscillator input, alternate SPI1 master/slave select, or alternate USART1 transmit; 5V tolerant."
},
{
"number": "61",
"name": "PC6",
"type": "bidirectional",
"description": "Port C6 configurable as general purpose I/O, LSE oscillator output, alternate SPI1 clock, or alternate USART1 receive; 5V tolerant."
},
{
"number": "62",
"name": "PC7",
"type": "bidirectional",
"description": "Port C7 configurable as general purpose I/O or ADC1 input channel 3; 5V tolerant."
},
{
"number": "63",
"name": "PE6",
"type": "bidirectional",
"description": "Port E6 configurable as general purpose I/O, programmable voltage detector input, or Timer 5 break input; 5V tolerant."
},
{
"number": "64",
"name": "PE7",
"type": "bidirectional",
"description": "Port E7 configurable as general purpose I/O or Timer 5 external trigger; 5V tolerant."
}
],
"provenance": {
"extractor": "extract_pins 0.2",
"factory_chain": {
"factory": "2.0.0",
"extractor": "extract_pins 0.2",
"primary_model": "claude-haiku-4-5-20251001",
"primary_mode": "text",
"consensus_model": "claude-sonnet-5",
"consensus": "agreed",
"guards": "pin_guards 0.1: passed",
"guard_notes": [
"extractor flagged: Some pins have protection diode characteristics that differ from typical GPIO: PC0 and PC1 are speci; PA0 pin has special LED driver capability notation and SWIM function which requires careful electric; NRST/PA1 has dual function (reset input and GPIO output only) which may require special handling in ",
"2/64 pins cited to the wrong page (name found elsewhere): ['55:VDD2@p23', '56:VSS2@p23']"
],
"pages_sent": 55,
"cost_usd": 0.6938,
"at": "2026-09-22T18:30:38"
},
"datasheet": {
"url": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8586175707394924544",
"pages": 55,
"sha256": "c6e456a46f9e5c98",
"source_tier": "lcsc"
},
"cad": "KiCad official (CC-BY-SA 4.0)",
"pins": {
"total": 64,
"described": 64,
"cites_pages": true,
"refuses_to_fabricate": true
}
},
"viewers": {
"symbol": "viewers/symbol.html",
"footprint": "viewers/footprint.html"
}
}
}