main
Ray
Publish 0.1.1
a43c697
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450
{
"slug": "stm8l152c4t3",
"version": "0.1.1",
"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",
"stm8l152c4t3",
"factory-2.0.0",
"extractor-text"
],
"dependencies": {},
"hero": {
"type": "image",
"path": "docs/hero.png"
},
"files": [
"page.json",
"README.md",
"stm8l152c4t3.kicad_sym",
"stm8l152c4t3.kicad_mod",
"stm8l152c4t3.glb",
"stm8l152c4t3.step",
"stm8l152c4t3.lbr",
"docs/hero.png",
"docs/stm8l152c4t3-datasheet.pdf",
"viewers/symbol.html",
"viewers/footprint.html",
"stm8l152c4t3-etched.step",
"stm8l152c4t3-hero.glb",
"stm8l152c4t3-hero.overlay.json"
],
"component": {
"mpn": "STM8L152C4T3",
"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/8588923718324670464",
"parts": {
"symbol": "stm8l152c4t3.kicad_sym",
"footprint": "stm8l152c4t3.kicad_mod",
"model_3d": "stm8l152c4t3-hero.glb",
"model_3d_plain": "stm8l152c4t3.glb",
"model_3d_step": "stm8l152c4t3-etched.step",
"model_3d_step_plain": "stm8l152c4t3.step",
"lbr": "stm8l152c4t3.lbr"
},
"distributor_links": {
"lcsc": "C1340801",
"digikey": "STM8L152C4T3-ND",
"mouser": "511-STM8L152C4T3"
},
"distributor_check": {
"checked_at": "2026-09-27T00:00:13Z",
"source": "Component Ocean /api/assign-pns",
"digikey": {
"pn": "STM8L152C4T3-ND",
"status": "found",
"lifecycle": "Active"
},
"mouser": {
"pn": "511-STM8L152C4T3",
"status": "found"
}
},
"pins": [
{
"number": "1",
"name": "PA0",
"type": "bidirectional",
"description": "Port A0 general purpose I/O with SWIM interface, beeper output, and infrared timer output functions; high sink LED driver capable."
},
{
"number": "2",
"name": "NRST/PA1",
"type": "bidirectional",
"description": "Reset input pin (NRST) with internal pull-up; configurable as general purpose output (PA1) in open-drain or push-pull mode."
},
{
"number": "3",
"name": "PA2",
"type": "bidirectional",
"description": "Port A2 general purpose I/O with HSE oscillator input function and optional USART1 transmit or SPI1 MISO alternate functions."
},
{
"number": "4",
"name": "PA3",
"type": "bidirectional",
"description": "Port A3 general purpose I/O with HSE oscillator output function and optional USART1 receive or SPI1 MOSI alternate functions."
},
{
"number": "5",
"name": "PA4",
"type": "bidirectional",
"description": "Port A4 general purpose I/O with Timer 2 break input, LCD COM0 segment, ADC1 input channel 2, and Comparator 1 positive input functions."
},
{
"number": "6",
"name": "PA5",
"type": "bidirectional",
"description": "Port A5 general purpose I/O with Timer 3 break input, LCD COM1 segment, ADC1 input channel 1, and Comparator 1 positive input functions."
},
{
"number": "7",
"name": "PA6",
"type": "bidirectional",
"description": "Port A6 general purpose I/O with optional ADC1 trigger, LCD COM2 segment, ADC1 input channel 0, and Comparator 1 positive input functions."
},
{
"number": "8",
"name": "PA7",
"type": "bidirectional",
"description": "Port A7 general purpose I/O five-volt tolerant with LCD segment 0 function."
},
{
"number": "9",
"name": "VSS1/VSSA/VREF-",
"type": "power_in",
"description": "Ground pins for I/O (VSS1), analog circuits (VSSA), and ADC1 negative voltage reference (VREF-); must be connected to external power supply."
},
{
"number": "10",
"name": "VDD1/VDDA/VREF+",
"type": "power_in",
"description": "Power supply pins for digital I/O (VDD1), analog circuits (VDDA), and ADC1/DAC positive reference (VREF+) from 1.65 V to 3.6 V."
},
{
"number": "11",
"name": "VDDA",
"type": "power_in",
"description": "Analog supply voltage from 1.65 V to 3.6 V (minimum 1.8 V when ADC1 or DAC is used); must be connected to VDD1."
},
{
"number": "12",
"name": "VREF+",
"type": "power_in",
"description": "External positive voltage reference for ADC1 and DAC from 1.8 V to VDDA; must be provided externally."
},
{
"number": "13",
"name": "VLCD",
"type": "power_in",
"description": "LCD booster external capacitor supply voltage from 2.5 V to 3.6 V for LCD controller (STM8L152 only)."
},
{
"number": "14",
"name": "PE0",
"type": "bidirectional",
"description": "Port E0 general purpose I/O five-volt tolerant with LCD segment 1 function."
},
{
"number": "15",
"name": "PE1",
"type": "bidirectional",
"description": "Port E1 general purpose I/O with Timer 1 inverted channel 2 output and LCD segment 2 functions."
},
{
"number": "16",
"name": "PE2",
"type": "bidirectional",
"description": "Port E2 general purpose I/O with Timer 1 inverted channel 3 output and LCD segment 3 functions."
},
{
"number": "17",
"name": "PE3",
"type": "bidirectional",
"description": "Port E3 general purpose I/O with LCD segment 4 function."
},
{
"number": "18",
"name": "PE4",
"type": "bidirectional",
"description": "Port E4 general purpose I/O with LCD segment 5 function."
},
{
"number": "19",
"name": "PE5",
"type": "bidirectional",
"description": "Port E5 general purpose I/O with LCD segment 6, ADC1 input channel 23, and Comparator 2 positive input functions."
},
{
"number": "20",
"name": "PD0",
"type": "bidirectional",
"description": "Port D0 general purpose I/O with Timer 3 channel 2 output, ADC1 trigger, LCD segment 7, ADC1 input 22, and Comparator 2/1 positive input functions."
},
{
"number": "21",
"name": "PD1",
"type": "bidirectional",
"description": "Port D1 general purpose I/O with Timer 3 external trigger, LCD COM3, ADC1 input 21, and Comparator 2/1 positive input functions."
},
{
"number": "22",
"name": "PD2",
"type": "bidirectional",
"description": "Port D2 general purpose I/O with Timer 1 channel 1 output, LCD segment 8, ADC1 input 20, and Comparator 1 positive input functions."
},
{
"number": "23",
"name": "PD3",
"type": "bidirectional",
"description": "Port D3 general purpose I/O with Timer 1 external trigger, LCD segment 9, ADC1 input 19, and Comparator 1 positive input functions."
},
{
"number": "24",
"name": "PB0",
"type": "bidirectional",
"description": "Port B0 general purpose I/O with internal pull-up during reset, Timer 2 channel 1, LCD segment 10, ADC1 input 18, and Comparator 1 positive input functions."
},
{
"number": "25",
"name": "PB1",
"type": "bidirectional",
"description": "Port B1 general purpose I/O with Timer 3 channel 1, LCD segment 11, ADC1 input 17, and Comparator 1 positive input functions."
},
{
"number": "26",
"name": "PB2",
"type": "bidirectional",
"description": "Port B2 general purpose I/O with Timer 2 channel 2, LCD segment 12, ADC1 input 16, and Comparator 1 positive input functions."
},
{
"number": "27",
"name": "PB3",
"type": "bidirectional",
"description": "Port B3 general purpose I/O with Timer 2 external trigger, LCD segment 13, ADC1 input 15, and Comparator 1 positive input functions."
},
{
"number": "28",
"name": "PB4",
"type": "bidirectional",
"description": "Port B4 general purpose I/O with internal pull-up during reset, optional SPI1 master/slave select, LCD segment 14, ADC1 input 14, and Comparator 1 positive input functions."
},
{
"number": "29",
"name": "PB5",
"type": "bidirectional",
"description": "Port B5 general purpose I/O with optional SPI1 clock, LCD segment 15, ADC1 input 13, and Comparator 1 positive input functions."
},
{
"number": "30",
"name": "PB6",
"type": "bidirectional",
"description": "Port B6 general purpose I/O with optional SPI1 master out/slave in, LCD segment 16, ADC1 input 12, and Comparator 1 positive input functions."
},
{
"number": "31",
"name": "PB7",
"type": "bidirectional",
"description": "Port B7 general purpose I/O with optional SPI1 master in slave out, LCD segment 17, ADC1 input 11, and Comparator 1 positive input functions."
},
{
"number": "32",
"name": "PF0",
"type": "bidirectional",
"description": "Port F0 general purpose I/O with ADC1 input channel 24 and DAC output functions."
},
{
"number": "33",
"name": "PD4",
"type": "bidirectional",
"description": "Port D4 general purpose I/O with Timer 1 channel 2 output, LCD segment 18, ADC1 input 10, and Comparator 1 positive input functions."
},
{
"number": "34",
"name": "PD5",
"type": "bidirectional",
"description": "Port D5 general purpose I/O with Timer 1 channel 3 output, LCD segment 19, ADC1 input 9, and Comparator 1 positive input functions."
},
{
"number": "35",
"name": "PD6",
"type": "bidirectional",
"description": "Port D6 general purpose I/O with Timer 1 break input, LCD segment 20, ADC1 input 8, RTC calibration output, internal voltage reference output, and Comparator 1 positive input functions."
},
{
"number": "36",
"name": "PD7",
"type": "bidirectional",
"description": "Port D7 general purpose I/O with Timer 1 inverted channel 1, LCD segment 21, ADC1 input 7, RTC alarm output, internal voltage reference output, and Comparator 1 positive input functions."
},
{
"number": "37",
"name": "PC0",
"type": "bidirectional",
"description": "Port C0 general purpose I/O five-volt tolerant with true open-drain output and I2C1 data (SDA) function."
},
{
"number": "38",
"name": "PC1",
"type": "bidirectional",
"description": "Port C1 general purpose I/O five-volt tolerant with true open-drain output and I2C1 clock (SCL) function."
},
{
"number": "39",
"name": "VDD2",
"type": "power_in",
"description": "I/O supply voltage from 1.65 V to 3.6 V; must be connected to VDD1 externally."
},
{
"number": "40",
"name": "VSS2",
"type": "power_in",
"description": "I/O ground voltage pin; must be connected to VSS1 externally."
},
{
"number": "41",
"name": "PC2",
"type": "bidirectional",
"description": "Port C2 general purpose I/O with USART1 receive, LCD segment 22, ADC1 input 6, Comparator 1 positive input, and internal voltage reference output functions."
},
{
"number": "42",
"name": "PC3",
"type": "bidirectional",
"description": "Port C3 general purpose I/O with USART1 transmit, LCD segment 23, ADC1 input 5, Comparator 1 positive input, and Comparator 2 negative input functions."
},
{
"number": "43",
"name": "PC4",
"type": "bidirectional",
"description": "Port C4 general purpose I/O with USART1 synchronous clock, I2C1 SMB, configurable clock output, LCD segment 24, ADC1 input 4, and Comparator 2/1 negative/positive input functions."
},
{
"number": "44",
"name": "PC5",
"type": "bidirectional",
"description": "Port C5 general purpose I/O with LSE oscillator input function and optional SPI1 master/slave select or USART1 transmit."
},
{
"number": "45",
"name": "PC6",
"type": "bidirectional",
"description": "Port C6 general purpose I/O with LSE oscillator output function and optional SPI1 clock or USART1 receive."
},
{
"number": "46",
"name": "PC7",
"type": "bidirectional",
"description": "Port C7 general purpose I/O with LCD segment 25, ADC1 input 3, Comparator 2 negative input, and Comparator 1 positive input functions."
},
{
"number": "47",
"name": "PE6",
"type": "bidirectional",
"description": "Port E6 general purpose I/O with LCD segment 26 and programmable voltage detector (PVD) input functions."
},
{
"number": "48",
"name": "PE7",
"type": "bidirectional",
"description": "Port E7 general purpose I/O with LCD segment 27 function."
}
],
"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-4-6",
"consensus": "agreed",
"guards": "pin_guards 0.1: passed",
"guard_notes": [
"extractor flagged: STM8L152C4T3 includes LCD controller features (VLCD pin, LCD segment outputs); all LCD-specific func; Pin 1 (PA0) has special high-sink LED driver capability rated at 80 mA per Table 41, different from "
],
"pages_sent": 141,
"cost_usd": 1.6412,
"at": "2026-09-26T23:59:49"
},
"datasheet": {
"url": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8588923718324670464",
"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"
},
"models_3d": [
{
"file": "stm8l152c4t3.step",
"role": "plain",
"up": "Z",
"units": "mm",
"origin": "footprint origin = pad-pattern centre",
"seat": "z = 0",
"extents_mm": [
9.0,
9.0,
1.5
],
"zmin_mm": -0.0,
"centre_offset_mm": 0.0,
"footprint_binding": "identity",
"sha256": "9dea352d93177c2904afd7d7b68ea8855ce1ab691f69f8b3e13655600514b6bf",
"checked": "2026-10-07",
"checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
},
{
"file": "stm8l152c4t3-etched.step",
"role": "eda",
"up": "Z",
"units": "mm",
"origin": "footprint origin = pad-pattern centre",
"seat": "z = 0",
"extents_mm": [
9.0,
9.0,
1.5
],
"zmin_mm": -0.0,
"centre_offset_mm": 0.0,
"footprint_binding": "identity",
"sha256": "73b05d89e0e550b0b7381033c04223217eb1139397d7e8b0e63ae15f638ae430",
"checked": "2026-11-18",
"checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
}
]
},
"title": "STM8L152C4T3",
"brief": "STMicroelectronics Microcontrollers (MCU/MPU/SOC), LQFP-48(7x7). Pinout cross-checked by two models against the datasheet, KiCad symbol/footprint/3D.",
"metadata": {
"specs": {
"Manufacturer": "STMicroelectronics",
"Package": "LQFP-48(7x7)",
"Category": "Embedded Processors & Controllers",
"Pins": "48"
}
},
"discovery_triggers": [
"stm8l152c4t3"
],
"discovery_pitch": "STM8L152C4T3 (STMicroelectronics) component page: datasheet pinout, KiCad symbol, footprint and 3D.",
"visibility": "public"
}