component
STM8L151C4T6
Public Made by Adomby adom
STMicroelectronics Microcontrollers (MCU/MPU/SOC), LQFP-48(7x7). Pinout cross-checked by two models against the datasheet, KiCad symbol/footprint/3D.
main
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393
{
"slug": "stm8l151c4t6",
"version": "0.1.0",
"type": "component",
"description": "STMicroelectronics Microcontrollers (MCU/MPU/SOC), LQFP-48(7x7). Pinout cross-checked by two models against the datasheet, KiCad symbol/footprint/3D.",
"tags": [
"component",
"embedded processors & controllers",
"stm8l151c4t6",
"factory-2.0.0",
"extractor-text"
],
"dependencies": {},
"hero": {
"type": "image",
"path": "docs/hero.png"
},
"files": [
"page.json",
"README.md",
"stm8l151c4t6.kicad_sym",
"stm8l151c4t6.kicad_mod",
"stm8l151c4t6.glb",
"stm8l151c4t6.step",
"stm8l151c4t6.lbr",
"docs/hero.png",
"docs/stm8l151c4t6-datasheet.pdf",
"viewers/symbol.html",
"viewers/footprint.html"
],
"component": {
"mpn": "STM8L151C4T6",
"manufacturer": "STMicroelectronics",
"package": "LQFP-48(7x7)",
"pin_count": 48,
"category": "Embedded Processors & Controllers",
"subcategory": "Microcontrollers (MCU/MPU/SOC)",
"datasheet": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8588922897532932096",
"parts": {
"symbol": "stm8l151c4t6.kicad_sym",
"footprint": "stm8l151c4t6.kicad_mod",
"model_3d": "stm8l151c4t6-etched.glb",
"model_3d_plain": "stm8l151c4t6.glb",
"model_3d_step": "stm8l151c4t6-etched.step",
"model_3d_step_plain": "stm8l151c4t6.step",
"lbr": "stm8l151c4t6.lbr"
},
"distributor_links": {
"lcsc": "C1341613",
"digikey": "497-10517-ND",
"mouser": "511-STM8L151C4T6"
},
"distributor_check": {
"checked_at": "2026-10-01T07:40:18Z",
"source": "Component Ocean /api/assign-pns",
"digikey": {
"pn": "497-10517-ND",
"status": "found",
"lifecycle": "Active"
},
"mouser": {
"pn": "511-STM8L151C4T6",
"status": "found"
}
},
"pins": [
{
"number": "1",
"name": "PA0",
"type": "bidirectional",
"description": "Port A0 (input pull-up during and after reset) with alternate functions [USART1_CK], SWIM input/output, BEEP output and IR_TIM output, high sink LED driver capability."
},
{
"number": "2",
"name": "NRST/PA1",
"type": "bidirectional",
"description": "Reset input with pull-up at power-up, usable only as general-purpose output (open-drain or push-pull) PA1, high sink/source."
},
{
"number": "3",
"name": "PA2",
"type": "bidirectional",
"description": "Port A2 with HSE oscillator input, [USART1_TX] and [SPI1_MISO] alternate functions, high sink/source."
},
{
"number": "4",
"name": "PA3",
"type": "bidirectional",
"description": "Port A3 with HSE oscillator output, [USART1_RX] and [SPI1_MOSI] alternate functions, high sink/source."
},
{
"number": "5",
"name": "PA4",
"type": "bidirectional",
"description": "Port A4 (3.6 V tolerant) with TIM2_BKIN, ADC1_IN2 and COMP1_INP alternate functions, high sink/source."
},
{
"number": "6",
"name": "PA5",
"type": "bidirectional",
"description": "Port A5 (3.6 V tolerant) with TIM3_BKIN, ADC1_IN1 and COMP1_INP alternate functions, high sink/source."
},
{
"number": "7",
"name": "PA6",
"type": "bidirectional",
"description": "Port A6 (3.6 V tolerant) with [ADC1_TRIG], ADC1_IN0 and COMP1_INP alternate functions, high sink/source."
},
{
"number": "8",
"name": "PA7",
"type": "bidirectional",
"description": "Port A7 (5 V tolerant, no protection diode to VDD), high sink/source."
},
{
"number": "9",
"name": "VSS1/VSSA/VREF-",
"type": "power_in",
"description": "I/O ground, analog ground voltage and ADC1 negative voltage reference."
},
{
"number": "10",
"name": "VDD1",
"type": "power_in",
"description": "Digital power supply."
},
{
"number": "11",
"name": "VDDA",
"type": "power_in",
"description": "Analog supply voltage."
},
{
"number": "12",
"name": "VREF+",
"type": "power_in",
"description": "ADC1 and DAC positive voltage reference."
},
{
"number": "13",
"name": "Reserved",
"type": "passive",
"description": "Reserved pin on STM8L151xx devices; must be tied to VDD."
},
{
"number": "14",
"name": "PE0",
"type": "bidirectional",
"description": "Port E0 (5 V tolerant, no protection diode to VDD), high sink/source."
},
{
"number": "15",
"name": "PE1",
"type": "bidirectional",
"description": "Port E1 (3.6 V tolerant) with TIM1_CH2N alternate function, high sink/source."
},
{
"number": "16",
"name": "PE2",
"type": "bidirectional",
"description": "Port E2 (3.6 V tolerant) with TIM1_CH3N alternate function, high sink/source."
},
{
"number": "17",
"name": "PE3",
"type": "bidirectional",
"description": "Port E3 (3.6 V tolerant), high sink/source."
},
{
"number": "18",
"name": "PE4",
"type": "bidirectional",
"description": "Port E4 (3.6 V tolerant), high sink/source."
},
{
"number": "19",
"name": "PE5",
"type": "bidirectional",
"description": "Port E5 (3.6 V tolerant) with ADC1_IN23, COMP2_INP and COMP1_INP alternate functions, high sink/source."
},
{
"number": "20",
"name": "PD0",
"type": "bidirectional",
"description": "Port D0 (3.6 V tolerant) with TIM3_CH2, [ADC1_TRIG], ADC1_IN22, COMP2_INP and COMP1_INP alternate functions, high sink/source."
},
{
"number": "21",
"name": "PD1",
"type": "bidirectional",
"description": "Port D1 (3.6 V tolerant) with TIM3_ETR, ADC1_IN21, COMP2_INP and COMP1_INP alternate functions, high sink/source."
},
{
"number": "22",
"name": "PD2",
"type": "bidirectional",
"description": "Port D2 (3.6 V tolerant) with TIM1_CH1, ADC1_IN20 and COMP1_INP alternate functions, high sink/source."
},
{
"number": "23",
"name": "PD3",
"type": "bidirectional",
"description": "Port D3 (3.6 V tolerant) with TIM1_ETR, ADC1_IN19 and COMP1_INP alternate functions, high sink/source."
},
{
"number": "24",
"name": "PB0",
"type": "bidirectional",
"description": "Port B0 (3.6 V tolerant) with TIM2_CH1, ADC1_IN18 and COMP1_INP; pulled up during reset, input floating after reset release."
},
{
"number": "25",
"name": "PB1",
"type": "bidirectional",
"description": "Port B1 (3.6 V tolerant) with TIM3_CH1, ADC1_IN17 and COMP1_INP alternate functions, high sink/source."
},
{
"number": "26",
"name": "PB2",
"type": "bidirectional",
"description": "Port B2 (3.6 V tolerant) with TIM2_CH2, ADC1_IN16 and COMP1_INP alternate functions, high sink/source."
},
{
"number": "27",
"name": "PB3",
"type": "bidirectional",
"description": "Port B3 (3.6 V tolerant) with TIM2_ETR, ADC1_IN15 and COMP1_INP alternate functions, high sink/source."
},
{
"number": "28",
"name": "PB4",
"type": "bidirectional",
"description": "Port B4 (3.6 V tolerant) with [SPI1_NSS], ADC1_IN14 and COMP1_INP; pulled up during reset, input floating after reset release."
},
{
"number": "29",
"name": "PB5",
"type": "bidirectional",
"description": "Port B5 (3.6 V tolerant) with [SPI1_SCK], ADC1_IN13 and COMP1_INP alternate functions, high sink/source."
},
{
"number": "30",
"name": "PB6",
"type": "bidirectional",
"description": "Port B6 (3.6 V tolerant) with [SPI1_MOSI], ADC1_IN12 and COMP1_INP alternate functions, high sink/source."
},
{
"number": "31",
"name": "PB7",
"type": "bidirectional",
"description": "Port B7 (3.6 V tolerant) with [SPI1_MISO], ADC1_IN11 and COMP1_INP alternate functions, high sink/source."
},
{
"number": "32",
"name": "PF0",
"type": "bidirectional",
"description": "Port F0 (3.6 V tolerant) with ADC1_IN24 and DAC_OUT alternate functions, high sink/source."
},
{
"number": "33",
"name": "PD4",
"type": "bidirectional",
"description": "Port D4 (3.6 V tolerant) with TIM1_CH2, ADC1_IN10 and COMP1_INP alternate functions, high sink/source."
},
{
"number": "34",
"name": "PD5",
"type": "bidirectional",
"description": "Port D5 (3.6 V tolerant) with TIM1_CH3, ADC1_IN9 and COMP1_INP alternate functions, high sink/source."
},
{
"number": "35",
"name": "PD6",
"type": "bidirectional",
"description": "Port D6 (3.6 V tolerant) with TIM1_BKIN, ADC1_IN8, RTC_CALIB, VREFINT output and COMP1_INP alternate functions, high sink/source."
},
{
"number": "36",
"name": "PD7",
"type": "bidirectional",
"description": "Port D7 (3.6 V tolerant) with TIM1_CH1N, ADC1_IN7, RTC_ALARM, VREFINT output and COMP1_INP alternate functions, high sink/source."
},
{
"number": "37",
"name": "PC0",
"type": "bidirectional",
"description": "Port C0 (5 V tolerant) true open-drain pin with I2C1_SDA data alternate function."
},
{
"number": "38",
"name": "PC1",
"type": "bidirectional",
"description": "Port C1 (5 V tolerant) true open-drain pin with I2C1_SCL clock alternate function."
},
{
"number": "39",
"name": "VDD2",
"type": "power_in",
"description": "IOs supply voltage."
},
{
"number": "40",
"name": "VSS2",
"type": "power_in",
"description": "IOs ground voltage."
},
{
"number": "41",
"name": "PC2",
"type": "bidirectional",
"description": "Port C2 (3.6 V tolerant) with USART1_RX, ADC1_IN6, COMP1_INP and VREFINT output alternate functions, high sink/source."
},
{
"number": "42",
"name": "PC3",
"type": "bidirectional",
"description": "Port C3 (3.6 V tolerant) with USART1_TX, ADC1_IN5, COMP1_INP and COMP2_INM alternate functions, high sink/source."
},
{
"number": "43",
"name": "PC4",
"type": "bidirectional",
"description": "Port C4 (3.6 V tolerant) with USART1_CK, I2C1_SMB, CCO, ADC1_IN4, COMP2_INM and COMP1_INP alternate functions, high sink/source."
},
{
"number": "44",
"name": "PC5",
"type": "bidirectional",
"description": "Port C5 with LSE oscillator input, [SPI1_NSS] and [USART1_TX] alternate functions, high sink/source."
},
{
"number": "45",
"name": "PC6",
"type": "bidirectional",
"description": "Port C6 with LSE oscillator output, [SPI1_SCK] and [USART1_RX] alternate functions, high sink/source."
},
{
"number": "46",
"name": "PC7",
"type": "bidirectional",
"description": "Port C7 (3.6 V tolerant) with ADC1_IN3, COMP2_INM and COMP1_INP alternate functions, high sink/source."
},
{
"number": "47",
"name": "PE6",
"type": "bidirectional",
"description": "Port E6 (3.6 V tolerant) with PVD_IN alternate function, high sink/source."
},
{
"number": "48",
"name": "PE7",
"type": "bidirectional",
"description": "Port E7 (3.6 V tolerant), high sink/source."
}
],
"provenance": {
"extractor": "extract_pins 0.3",
"factory_chain": {
"factory": "2.0.0",
"extractor": "extract_pins 0.3",
"primary_model": "claude-haiku-4-5-20251001",
"primary_mode": "text",
"consensus_model": "claude-sonnet-5-5",
"consensus": "agreed",
"guards": "pin_guards 0.1: passed",
"guard_notes": [
"extractor flagged: Pin 13 is Reserved for STM8L151C4T6 (without LCD); VLCD pin is only present on STM8L152xx variants (; LCD-related pins (LCD_SEG*, LCD_COM*) are documented but not functional on STM8L151 devices which la",
"2/48 pins cited to the wrong page (name found elsewhere): ['19:PE5@p30', '32:PF0@p31']"
],
"pages_sent": 56,
"cost_usd": 0.4175,
"at": "2026-10-01T07:39:58"
},
"datasheet": {
"url": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8588922897532932096",
"pages": 141,
"sha256": "76f669f0972e887a",
"source_tier": "lcsc"
},
"cad": "KiCad official (CC-BY-SA 4.0)",
"pins": {
"total": 48,
"described": 48,
"cites_pages": true,
"refuses_to_fabricate": true
}
},
"viewers": {
"symbol": "viewers/symbol.html",
"footprint": "viewers/footprint.html"
}
}
}