← Commit history
page.json+452−8@@ -1,13 +1,462 @@ {+ "schema_version": 1,+ "type": "component", "slug": "stm8l152r8t6",+ "title": "STM8L152R8T6",+ "brief": "STMicroelectronics Microcontrollers (MCU/MPU/SOC), LQFP-64(10x10). Datasheet-verified pinout, KiCad symbol/footprint/3D.", "version": "0.1.0",- "type": "component",- "description": "STMicroelectronics Microcontrollers (MCU/MPU/SOC), LQFP-64(10x10). Datasheet-verified pinout, KiCad symbol/footprint/3D.",+ "license": "CC-BY-SA-4.0", "tags": [ "component", "mcu", "stm8l152r8t6" ],+ "component": {+ "mpn": "STM8L152R8T6",+ "manufacturer": "STMicroelectronics",+ "package": "LQFP-64(10x10)",+ "pin_count": 64,+ "category": "MCU",+ "subcategory": "Microcontrollers (MCU/MPU/SOC)",+ "datasheet": "https://www.st.com/resource/en/datasheet/stm8l152r8t6.pdf",+ "parts": {+ "symbol": "stm8l152r8t6.kicad_sym",+ "footprint": "stm8l152r8t6.kicad_mod",+ "model_3d": "stm8l152r8t6.glb",+ "model_3d_step": "stm8l152r8t6.step",+ "lbr": "stm8l152r8t6.lbr"+ },+ "distributor_links": {},+ "pins": [+ {+ "number": "1",+ "name": "PA0/[USART1_CK]/SWIM/BEEP/IR_TIM",+ "type": "bidirectional",+ "description": "Port A bit 0. Default = SWIM debug I/O with weak pull-up at reset. Alternate: USART1 synchronous clock, beep output, or infrared timer output. 5 V tolerant, high-sink capable."+ },+ {+ "number": "2",+ "name": "NRST/PA1",+ "type": "bidirectional",+ "description": "Active-low device reset input with internal pull-up at power-up. Can be re-configured via option byte as GPIO PA1 (push-pull output only). High-sink capable."+ },+ {+ "number": "3",+ "name": "PA2/OSC_IN/[USART1_TX]/[SPI1_MISO]",+ "type": "bidirectional",+ "description": "Port A bit 2. Alternate functions: HSE crystal oscillator input, USART1 TX, SPI1 MISO. 5 V tolerant, high-sink capable."+ },+ {+ "number": "4",+ "name": "PA3/OSC_OUT/[USART1_RX]/[SPI1_MOSI]",+ "type": "bidirectional",+ "description": "Port A bit 3. Alternate functions: HSE crystal oscillator output, USART1 RX, SPI1 MOSI. 5 V tolerant, high-sink capable."+ },+ {+ "number": "5",+ "name": "PA4/TIM2_BKIN/[TIM2_ETR]/LCD_COM0/ADC1_IN2/[COMP1_INP]",+ "type": "bidirectional",+ "description": "Port A bit 4. Mux: TIM2 break input / trigger, LCD common 0, ADC1 channel 2, comparator 1 positive input. 5 V tolerant."+ },+ {+ "number": "6",+ "name": "PA5/TIM3_BKIN/[TIM3_ETR]/LCD_COM1/ADC1_IN1/[COMP1_INP]",+ "type": "bidirectional",+ "description": "Port A bit 5. Mux: TIM3 break input / trigger, LCD common 1, ADC1 channel 1, comparator 1 positive input."+ },+ {+ "number": "7",+ "name": "PA6/ADC1_TRIG/LCD_COM2/ADC1_IN0/[COMP1_INP]",+ "type": "bidirectional",+ "description": "Port A bit 6. Mux: ADC1 external trigger, LCD common 2, ADC1 channel 0, comparator 1 positive input."+ },+ {+ "number": "8",+ "name": "PA7/LCD_SEG0/TIM5_CH1",+ "type": "bidirectional",+ "description": "Port A bit 7. Mux: LCD segment 0, TIM5 channel 1."+ },+ {+ "number": "9",+ "name": "VSSA/VREF-",+ "type": "power_in",+ "description": "Analog ground and ADC1 negative reference. Tie to system ground with low-impedance connection."+ },+ {+ "number": "10",+ "name": "VSS1",+ "type": "power_in",+ "description": "Digital I/O ground. Tie to system ground."+ },+ {+ "number": "11",+ "name": "VDD1",+ "type": "power_in",+ "description": "Digital I/O supply, 1.65-3.6 V (1.8-3.6 V with BOR). Decouple with 100 nF close to pin."+ },+ {+ "number": "12",+ "name": "VDDA",+ "type": "power_in",+ "description": "Analog supply, 1.65-3.6 V. Should be equal to VDD; decouple with 100 nF + 1 uF."+ },+ {+ "number": "13",+ "name": "VREF+",+ "type": "power_in",+ "description": "ADC1 and DAC1/2 positive voltage reference input. Can be tied to VDDA or driven by external reference."+ },+ {+ "number": "14",+ "name": "PG0/LCD_SEG28/USART3_RX/[TIM2_BKIN]",+ "type": "bidirectional",+ "description": "Port G bit 0. Mux: LCD segment 28, USART3 RX, TIM2 break input."+ },+ {+ "number": "15",+ "name": "PG1/LCD_SEG29/USART3_TX/[TIM3_BKIN]",+ "type": "bidirectional",+ "description": "Port G bit 1. Mux: LCD segment 29, USART3 TX, TIM3 break input."+ },+ {+ "number": "16",+ "name": "PG2/LCD_SEG30/USART3_CK",+ "type": "bidirectional",+ "description": "Port G bit 2. Mux: LCD segment 30, USART3 synchronous clock."+ },+ {+ "number": "17",+ "name": "PG3/LCD_SEG31/[TIM3_ETR]",+ "type": "bidirectional",+ "description": "Port G bit 3. Mux: LCD segment 31, TIM3 external trigger."+ },+ {+ "number": "18",+ "name": "VLCD",+ "type": "power_in",+ "description": "LCD booster external capacitor pin (STM8L152 with LCD). Connect the LCD booster reservoir capacitor here."+ },+ {+ "number": "19",+ "name": "PE0/LCD_SEG1/TIM5_CH2",+ "type": "bidirectional",+ "description": "Port E bit 0. Mux: LCD segment 1, TIM5 channel 2."+ },+ {+ "number": "20",+ "name": "PE1/TIM1_CH2N/LCD_SEG2",+ "type": "bidirectional",+ "description": "Port E bit 1. Mux: TIM1 inverted channel 2, LCD segment 2."+ },+ {+ "number": "21",+ "name": "PE2/TIM1_CH3N/LCD_SEG3/[CCO]",+ "type": "bidirectional",+ "description": "Port E bit 2. Mux: TIM1 inverted channel 3, LCD segment 3, configurable clock output."+ },+ {+ "number": "22",+ "name": "PE3/LCD_SEG4/USART2_RX",+ "type": "bidirectional",+ "description": "Port E bit 3. Mux: LCD segment 4, USART2 RX."+ },+ {+ "number": "23",+ "name": "PE4/LCD_SEG5/DAC_TRIG2/USART2_TX",+ "type": "bidirectional",+ "description": "Port E bit 4. Mux: LCD segment 5, DAC channel 2 trigger, USART2 TX."+ },+ {+ "number": "24",+ "name": "PE5/LCD_SEG6/ADC1_IN23/[COMP1_INP]/[COMP2_INP]/USART2_CK",+ "type": "bidirectional",+ "description": "Port E bit 5. Mux: LCD segment 6, ADC1 channel 23, comparator 1/2 positive input, USART2 synchronous clock."+ },+ {+ "number": "25",+ "name": "PD0/TIM3_CH2/[ADC1_TRIG]/LCD_SEG7/ADC1_IN22/[COMP2_INP]",+ "type": "bidirectional",+ "description": "Port D bit 0. Mux: TIM3 channel 2, ADC1 external trigger, LCD segment 7, ADC1 channel 22, comparator 2 positive input."+ },+ {+ "number": "26",+ "name": "PD1/TIM3_ETR/LCD_COM3/ADC1_IN21/[COMP1_INP]/[COMP2_INP]",+ "type": "bidirectional",+ "description": "Port D bit 1. Mux: TIM3 trigger, LCD common 3, ADC1 channel 21, comparator 1/2 positive input."+ },+ {+ "number": "27",+ "name": "PD2/TIM1_CH1/LCD_SEG8/ADC1_IN20/[COMP1_INP]",+ "type": "bidirectional",+ "description": "Port D bit 2. Mux: TIM1 channel 1, LCD segment 8, ADC1 channel 20, comparator 1 positive input."+ },+ {+ "number": "28",+ "name": "PD3/TIM1_ETR/LCD_SEG9/ADC1_IN19/[COMP1_INP]",+ "type": "bidirectional",+ "description": "Port D bit 3. Mux: TIM1 trigger, LCD segment 9, ADC1 channel 19, comparator 1 positive input."+ },+ {+ "number": "29",+ "name": "VDD3",+ "type": "power_in",+ "description": "I/O supply voltage. Tie to VDD; decouple locally."+ },+ {+ "number": "30",+ "name": "VSS3",+ "type": "power_in",+ "description": "I/O ground. Tie to system ground."+ },+ {+ "number": "31",+ "name": "PB0/TIM2_CH1/LCD_SEG10/ADC1_IN18/[COMP1_INP]",+ "type": "bidirectional",+ "description": "Port B bit 0. Mux: TIM2 channel 1, LCD segment 10, ADC1 channel 18, comparator 1 positive input. Pull-up applied during reset phase."+ },+ {+ "number": "32",+ "name": "PB1/TIM3_CH1/LCD_SEG11/ADC1_IN17/[COMP1_INP]",+ "type": "bidirectional",+ "description": "Port B bit 1. Mux: TIM3 channel 1, LCD segment 11, ADC1 channel 17, comparator 1 positive input."+ },+ {+ "number": "33",+ "name": "PB2/TIM2_CH2/LCD_SEG12/ADC1_IN16/[COMP1_INP]",+ "type": "bidirectional",+ "description": "Port B bit 2. Mux: TIM2 channel 2, LCD segment 12, ADC1 channel 16, comparator 1 positive input."+ },+ {+ "number": "34",+ "name": "PB3/TIM2_ETR/LCD_SEG13/ADC1_IN15/[COMP1_INP]",+ "type": "bidirectional",+ "description": "Port B bit 3. Mux: TIM2 trigger, LCD segment 13, ADC1 channel 15, comparator 1 positive input."+ },+ {+ "number": "35",+ "name": "PB4/SPI1_NSS/LCD_SEG14/ADC1_IN14/[COMP1_INP]",+ "type": "bidirectional",+ "description": "Port B bit 4. Mux: SPI1 master/slave select (NSS), LCD segment 14, ADC1 channel 14, comparator 1 positive input. Pull-up applied during reset phase."+ },+ {+ "number": "36",+ "name": "PB5/SPI1_SCK/LCD_SEG15/ADC1_IN13/[COMP1_INP]",+ "type": "bidirectional",+ "description": "Port B bit 5. Mux: SPI1 clock, LCD segment 15, ADC1 channel 13, comparator 1 positive input."+ },+ {+ "number": "37",+ "name": "PB6/SPI1_MOSI/LCD_SEG16/ADC1_IN12/[COMP1_INP]",+ "type": "bidirectional",+ "description": "Port B bit 6. Mux: SPI1 MOSI, LCD segment 16, ADC1 channel 12, comparator 1 positive input."+ },+ {+ "number": "38",+ "name": "PB7/SPI1_MISO/LCD_SEG17/ADC1_IN11/[COMP1_INP]",+ "type": "bidirectional",+ "description": "Port B bit 7. Mux: SPI1 MISO, LCD segment 17, ADC1 channel 11, comparator 1 positive input."+ },+ {+ "number": "39",+ "name": "PF0/ADC1_IN24/DAC_OUT1/[USART3_TX]",+ "type": "bidirectional",+ "description": "Port F bit 0. Mux: ADC1 channel 24, DAC channel 1 output, USART3 TX."+ },+ {+ "number": "40",+ "name": "PF1/ADC1_IN25/DAC_OUT2/[USART3_RX]",+ "type": "bidirectional",+ "description": "Port F bit 1. Mux: ADC1 channel 25, DAC channel 2 output, USART3 RX."+ },+ {+ "number": "41",+ "name": "PF4/LCD_SEG36/[LCD_COM4]",+ "type": "bidirectional",+ "description": "Port F bit 4. Mux: LCD segment 36 or LCD common 4."+ },+ {+ "number": "42",+ "name": "PF5/LCD_SEG37/[LCD_COM5]",+ "type": "bidirectional",+ "description": "Port F bit 5. Mux: LCD segment 37 or LCD common 5."+ },+ {+ "number": "43",+ "name": "PF6/LCD_SEG38/[LCD_COM6]",+ "type": "bidirectional",+ "description": "Port F bit 6. Mux: LCD segment 38 or LCD common 6."+ },+ {+ "number": "44",+ "name": "PF7/LCD_SEG39/[LCD_COM7]",+ "type": "bidirectional",+ "description": "Port F bit 7. Mux: LCD segment 39 or LCD common 7."+ },+ {+ "number": "45",+ "name": "PD4/TIM1_CH2/LCD_SEG18/ADC1_IN10/[COMP1_INP]",+ "type": "bidirectional",+ "description": "Port D bit 4. Mux: TIM1 channel 2, LCD segment 18, ADC1 channel 10, comparator 1 positive input."+ },+ {+ "number": "46",+ "name": "PD5/TIM1_CH3/LCD_SEG19/ADC1_IN9/[COMP1_INP]",+ "type": "bidirectional",+ "description": "Port D bit 5. Mux: TIM1 channel 3, LCD segment 19, ADC1 channel 9, comparator 1 positive input."+ },+ {+ "number": "47",+ "name": "PD6/TIM1_BKIN/LCD_SEG20/ADC1_IN8/RTC_CALIB/[COMP1_INP]/VREFINT",+ "type": "bidirectional",+ "description": "Port D bit 6. Mux: TIM1 break input, LCD segment 20, ADC1 channel 8, RTC calibration output, comparator 1 positive input, internal reference voltage output."+ },+ {+ "number": "48",+ "name": "PD7/TIM1_CH1N/LCD_SEG21/ADC1_IN7/RTC_ALARM/[COMP1_INP]/VREFINT",+ "type": "bidirectional",+ "description": "Port D bit 7. Mux: TIM1 inverted channel 1, LCD segment 21, ADC1 channel 7, RTC alarm output, comparator 1 positive input, internal reference voltage output."+ },+ {+ "number": "49",+ "name": "PG4/LCD_SEG32/SPI2_NSS",+ "type": "bidirectional",+ "description": "Port G bit 4. Mux: LCD segment 32, SPI2 master/slave select."+ },+ {+ "number": "50",+ "name": "PG5/LCD_SEG33/SPI2_SCK",+ "type": "bidirectional",+ "description": "Port G bit 5. Mux: LCD segment 33, SPI2 clock."+ },+ {+ "number": "51",+ "name": "PG6/LCD_SEG34/SPI2_MOSI",+ "type": "bidirectional",+ "description": "Port G bit 6. Mux: LCD segment 34, SPI2 MOSI."+ },+ {+ "number": "52",+ "name": "PG7/LCD_SEG35/SPI2_MISO",+ "type": "bidirectional",+ "description": "Port G bit 7. Mux: LCD segment 35, SPI2 MISO."+ },+ {+ "number": "53",+ "name": "PC0/I2C1_SDA",+ "type": "bidirectional",+ "description": "Port C bit 0. Mux: I2C1 data (true open-drain, no pull-up or protection diode to VDD). Requires external pull-up. Fast-mode 400 kHz."+ },+ {+ "number": "54",+ "name": "PC1/I2C1_SCL",+ "type": "bidirectional",+ "description": "Port C bit 1. Mux: I2C1 clock (true open-drain, no pull-up or protection diode to VDD). Requires external pull-up."+ },+ {+ "number": "55",+ "name": "VDD2",+ "type": "power_in",+ "description": "I/O supply voltage. Tie to VDD; decouple locally."+ },+ {+ "number": "56",+ "name": "VSS2",+ "type": "power_in",+ "description": "I/O ground. Tie to system ground."+ },+ {+ "number": "57",+ "name": "PC2/USART1_RX/LCD_SEG22/ADC1_IN6/[COMP1_INP]/VREFINT",+ "type": "bidirectional",+ "description": "Port C bit 2. Mux: USART1 RX, LCD segment 22, ADC1 channel 6, comparator 1 positive input, internal reference voltage output."+ },+ {+ "number": "58",+ "name": "PC3/USART1_TX/LCD_SEG23/ADC1_IN5/[COMP2_INM]/[COMP1_INP]",+ "type": "bidirectional",+ "description": "Port C bit 3. Mux: USART1 TX, LCD segment 23, ADC1 channel 5, comparator 2 negative input, comparator 1 positive input."+ },+ {+ "number": "59",+ "name": "PC4/USART1_CK/I2C1_SMB/[CCO]/LCD_SEG24/ADC1_IN4/[COMP2_INM]/[COMP1_INP]",+ "type": "bidirectional",+ "description": "Port C bit 4. Mux: USART1 synchronous clock, I2C1 SMBus alert, configurable clock output, LCD segment 24, ADC1 channel 4, comparator 2 negative input, comparator 1 positive input."+ },+ {+ "number": "60",+ "name": "PC5/OSC32_IN/[SPI1_NSS]/[USART1_TX]",+ "type": "bidirectional",+ "description": "Port C bit 5. Mux: LSE 32 kHz oscillator input, SPI1 NSS, USART1 TX."+ },+ {+ "number": "61",+ "name": "PC6/OSC32_OUT/[SPI1_SCK]/[USART1_RX]",+ "type": "bidirectional",+ "description": "Port C bit 6. Mux: LSE 32 kHz oscillator output, SPI1 clock, USART1 RX."+ },+ {+ "number": "62",+ "name": "PC7/LCD_SEG25/ADC1_IN3/[COMP2_INM]/[COMP1_INP]",+ "type": "bidirectional",+ "description": "Port C bit 7. Mux: LCD segment 25, ADC1 channel 3, comparator 2 negative input, comparator 1 positive input."+ },+ {+ "number": "63",+ "name": "PE6/LCD_SEG26/PVD_IN/TIM5_BKIN",+ "type": "bidirectional",+ "description": "Port E bit 6. Mux: LCD segment 26, programmable voltage detector input, TIM5 break input."+ },+ {+ "number": "64",+ "name": "PE7/LED_SEG27/TIM5_ETR",+ "type": "bidirectional",+ "description": "Port E bit 7. Mux: LCD segment 27, TIM5 external trigger."+ }+ ],+ "provenance": {+ "extractor": "ds2sf",+ "datasheet": {+ "url": "https://www.st.com/resource/en/datasheet/stm8l152r8t6.pdf",+ "pages": 134,+ "sha256": "6ec62e0638c0bbbb",+ "source_tier": "mfr"+ },+ "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"+ }+ },+ "metadata": {+ "specs": {+ "Manufacturer": "STMicroelectronics",+ "Package": "LQFP-64(10x10)",+ "Category": "MCU",+ "Pins": "64"+ }+ },+ "sections": [+ "hero",+ "viewers",+ "readme",+ "breadcrumbs",+ "info"+ ],+ "discovery_triggers": [+ "stm8l152r8t6"+ ],+ "discovery_pitch": "STM8L152R8T6 (STMicroelectronics) component page with datasheet-verified CAD.",+ "author": {+ "name": "Ray",+ "email": "[email protected]"+ }, "dependencies": {}, "hero": { "type": "image",@@ -25,10 +474,5 @@ "docs/stm8l152r8t6-datasheet.pdf", "viewers/symbol.html", "viewers/footprint.html"- ],- "visibility": "public",- "author": {- "name": "Ray",- "email": "[email protected]"- }+ ] }