component
STM8L051F3P6TR
Public Made by Adomby adom
STMicroelectronics Microcontrollers (MCU/MPU/SOC), TSSOP-20. Pinout extracted from the datasheet, KiCad symbol/footprint/3D.
main
Ray
stm8l051f3p6tr: component.models_3d pose record per STEP (Z-up, seated z=0, pad-centre origin, identity binding)
ca74e7d
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279
{
"schema_version": 1,
"type": "component",
"slug": "stm8l051f3p6tr",
"title": "STM8L051F3P6TR",
"brief": "STMicroelectronics Microcontrollers (MCU/MPU/SOC), TSSOP-20. Pinout extracted from the datasheet, KiCad symbol/footprint/3D.",
"version": "0.2.0",
"license": "CC-BY-SA-4.0",
"tags": [
"component",
"mcu",
"stm8l051f3p6tr"
],
"component": {
"mpn": "STM8L051F3P6TR",
"manufacturer": "STMicroelectronics",
"package": "TSSOP-20",
"pin_count": 20,
"category": "MCU",
"subcategory": "Microcontrollers (MCU/MPU/SOC)",
"datasheet": "https://www.st.com/resource/en/datasheet/stm8l051f3p6tr.pdf",
"parts": {
"symbol": "stm8l051f3p6tr.kicad_sym",
"footprint": "stm8l051f3p6tr.kicad_mod",
"model_3d": "stm8l051f3p6tr-etched.glb",
"model_3d_plain": "stm8l051f3p6tr.glb",
"model_3d_step": "stm8l051f3p6tr-etched.step",
"model_3d_step_plain": "stm8l051f3p6tr.step",
"lbr": "stm8l051f3p6tr.lbr"
},
"distributor_links": {
"lcsc": "C18088"
},
"pins": [
{
"number": "1",
"name": "PC5/OSC32_IN/[SPI1_NSS]/[USART_TX]/TIM2_CH1",
"type": "bidirectional",
"description": "Port C bit 5 general-purpose I/O (5 V tolerant not indicated; high-sink 20 mA output). Alternate functions: LSE oscillator input (OSC32_IN), remappable SPI1_NSS or USART_TX, and TIM2 channel 1 capture/compare."
},
{
"number": "2",
"name": "PC6/OSC32_OUT/[SPI_SCK]/[USART_RX]/TIM2_CH2",
"type": "bidirectional",
"description": "Port C bit 6 general-purpose I/O (high-sink 20 mA). Alternate functions: LSE oscillator output (OSC32_OUT), remappable SPI clock or USART_RX, and TIM2 channel 2 capture/compare."
},
{
"number": "3",
"name": "PA0/[USART_CK]/SWIM/BEEP/IR_TIM",
"type": "bidirectional",
"description": "Port A bit 0 general-purpose I/O with high-sink LED-driver capability. Serves as the SWIM single-wire debug/programming pin, and provides BEEP output, IR timer output, or optional USART synchronous clock."
},
{
"number": "4",
"name": "NRST/PA1",
"type": "bidirectional",
"description": "Active-low device reset input with internal pull-up (high-sink output when used as GPIO). Can be reconfigured via option byte as general-purpose PA1 output (open-drain or push-pull); do not use as a general-purpose input."
},
{
"number": "5",
"name": "PA2/OSC_IN/[USART_TX]/[SPI_MISO]",
"type": "bidirectional",
"description": "Port A bit 2 general-purpose I/O (high-sink 20 mA). Alternate functions: HSE crystal oscillator input (OSC_IN), remappable USART transmit or SPI master-in/slave-out."
},
{
"number": "6",
"name": "PA3/OSC_OUT/[USART_RX]/[SPI_MOSI]",
"type": "bidirectional",
"description": "Port A bit 3 general-purpose I/O (high-sink 20 mA). Alternate functions: HSE crystal oscillator output (OSC_OUT), remappable USART receive or SPI master-out/slave-in."
},
{
"number": "7",
"name": "VSS/VSSA/VREF-",
"type": "power_in",
"description": "Combined digital ground, analog ground and ADC1 negative reference. Tie to system ground (0 V)."
},
{
"number": "8",
"name": "VDD/VDDA/VREF+",
"type": "power_in",
"description": "Combined digital supply, analog supply and ADC1 positive voltage reference. 1.8 V to 3.6 V operating range; decouple locally."
},
{
"number": "9",
"name": "PD0/TIM3_CH2/[ADC1_TRIG]/ADC1_IN22",
"type": "bidirectional",
"description": "Port D bit 0 general-purpose I/O (high-sink 20 mA). Alternate functions: TIM3 channel 2 capture/compare, remappable ADC1 external trigger input, and ADC1 analog input channel 22."
},
{
"number": "10",
"name": "PB0/TIM2_CH1/ADC1_IN18",
"type": "bidirectional",
"description": "Port B bit 0 general-purpose I/O (high-sink 20 mA). Alternate functions: TIM2 channel 1 capture/compare and ADC1 analog input channel 18."
},
{
"number": "11",
"name": "PB1/TIM3_CH1/ADC1_IN17",
"type": "bidirectional",
"description": "Port B bit 1 general-purpose I/O (high-sink 20 mA). Alternate functions: TIM3 channel 1 capture/compare and ADC1 analog input channel 17."
},
{
"number": "12",
"name": "PB2/TIM2_CH2/ADC1_IN16",
"type": "bidirectional",
"description": "Port B bit 2 general-purpose I/O (high-sink 20 mA). Alternate functions: TIM2 channel 2 capture/compare and ADC1 analog input channel 16."
},
{
"number": "13",
"name": "PB3/TIM2_ETR/ADC1_IN15/RTC_ALARM",
"type": "bidirectional",
"description": "Port B bit 3 general-purpose I/O (high-sink 20 mA). Alternate functions: TIM2 external trigger, ADC1 analog input channel 15, and RTC alarm output."
},
{
"number": "14",
"name": "PB4/SPI1_NSS/ADC1_IN14",
"type": "bidirectional",
"description": "Port B bit 4 general-purpose I/O (high-sink 20 mA). Alternate functions: SPI1 master/slave select (NSS) and ADC1 analog input channel 14."
},
{
"number": "15",
"name": "PB5/SPI_SCK/ADC1_IN13",
"type": "bidirectional",
"description": "Port B bit 5 general-purpose I/O (high-sink 20 mA). Alternate functions: SPI1 clock and ADC1 analog input channel 13."
},
{
"number": "16",
"name": "PB6/SPI1_MOSI/ADC1_IN12",
"type": "bidirectional",
"description": "Port B bit 6 general-purpose I/O (high-sink 20 mA). Alternate functions: SPI1 master-out/slave-in (MOSI) and ADC1 analog input channel 12."
},
{
"number": "17",
"name": "PB7/SPI1_MISO/ADC1_IN11",
"type": "bidirectional",
"description": "Port B bit 7 general-purpose I/O (high-sink 20 mA). Alternate functions: SPI1 master-in/slave-out (MISO) and ADC1 analog input channel 11."
},
{
"number": "18",
"name": "PC0/I2C_SDA",
"type": "bidirectional",
"description": "Port C bit 0 general-purpose I/O, 5 V tolerant (FT), true open-drain output only. Alternate function: I2C1 data line (SDA)."
},
{
"number": "19",
"name": "PC1/I2C_SCL",
"type": "bidirectional",
"description": "Port C bit 1 general-purpose I/O, 5 V tolerant (FT), true open-drain output only. Alternate function: I2C1 clock line (SCL)."
},
{
"number": "20",
"name": "PC4/USART_CK/I2C_SMB/CCO/ADC1_IN4",
"type": "bidirectional",
"description": "Port C bit 4 general-purpose I/O (high-sink 20 mA). Alternate functions: USART synchronous clock, I2C SMBus alert, configurable clock output (CCO), and ADC1 analog input channel 4 (fast channel)."
}
],
"provenance": {
"extractor": "ds2sf",
"datasheet": {
"url": "https://www.st.com/resource/en/datasheet/stm8l051f3p6tr.pdf",
"pages": 93,
"sha256": "4db2aed5fb3f8c22",
"source_tier": "mfr"
},
"cad": "KiCad official (CC-BY-SA 4.0)",
"pins": {
"total": 20,
"described": 20,
"cites_pages": true,
"refuses_to_fabricate": true
}
},
"viewers": {
"symbol": "viewers/symbol.html",
"footprint": "viewers/footprint.html"
},
"pin1": {
"pad": "1",
"at": [
-2.8625,
-2.925
],
"corner": "top-left",
"source": "silk-marker",
"derived_from": "TSSOP-20_4.4x6.5mm_P0.65mm@sha256:b7ca3a31dd45c122",
"mark": "drawn"
},
"models_3d": [
{
"file": "stm8l051f3p6tr.step",
"role": "plain",
"up": "Z",
"units": "mm",
"origin": "footprint origin = pad-pattern centre",
"seat": "z = 0",
"extents_mm": [
6.4,
6.5,
1.2
],
"zmin_mm": 0,
"centre_offset_mm": 0,
"footprint_binding": "identity",
"sha256": "97339947f3a7196470ec2f1d9f9b92bb2fc2ab66ad53be0cf105192585ef3c9a",
"checked": "2026-10-07",
"checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
},
{
"file": "stm8l051f3p6tr-etched.step",
"role": "eda",
"up": "Z",
"units": "mm",
"origin": "footprint origin = pad-pattern centre",
"seat": "z = 0",
"extents_mm": [
6.4,
6.5,
1.2
],
"zmin_mm": 0,
"centre_offset_mm": 0,
"footprint_binding": "identity",
"sha256": "47a921ff9e31550e9dbde7d4a2312d63f8ae461bc3168a3d8fd48f47409ab50f",
"checked": "2026-10-07",
"checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
}
]
},
"metadata": {
"specs": {
"Manufacturer": "STMicroelectronics",
"Package": "TSSOP-20",
"Category": "MCU",
"Pins": "20"
}
},
"sections": [
"hero",
"viewers",
"readme",
"breadcrumbs",
"info"
],
"discovery_triggers": [
"stm8l051f3p6tr"
],
"discovery_pitch": "STM8L051F3P6TR (STMicroelectronics) component page with datasheet-verified CAD.",
"author": {
"name": "Ray"
},
"dependencies": {},
"hero": {
"type": "image",
"path": "docs/hero.png"
},
"files": [
"page.json",
"README.md",
"stm8l051f3p6tr.kicad_sym",
"stm8l051f3p6tr.kicad_mod",
"stm8l051f3p6tr.glb",
"stm8l051f3p6tr.step",
"stm8l051f3p6tr-etched.step",
"stm8l051f3p6tr.lbr",
"docs/hero.png",
"docs/stm8l051f3p6tr-datasheet.pdf",
"viewers/symbol.html",
"viewers/footprint.html"
],
"visibility": {
"public": true
},
"variants": [
{
"mpn": "STM8L051F3P6TR",
"kind": "packaging"
}
],
"updated_at": "2026-09-25T08:59:15.353Z"
}