component
stm8l151c6t6
Public Made by Adomby adom
STMicroelectronics Microcontrollers (MCU/MPU/SOC), LQFP-48(7x7). Datasheet-verified pinout, KiCad symbol/footprint/3D.
← Commit history
stm8l151c6t6: restore the component block (pinout + model declarations) from this page's own README and symbol
1 file changed
+315−1
page.json+315−1@@ -32,5 +32,319 @@ "author": { "name": "Ray", "email": "[email protected]"+ },+ "component": {+ "mpn": "STM8L151C6T6",+ "manufacturer": "STMicroelectronics",+ "package": "LQFP-48(7x7)",+ "pin_count": 48,+ "category": "Microcontrollers (MCU/MPU/SOC)",+ "datasheet": "https://www.st.com/resource/en/datasheet/stm8l151c6t6.pdf",+ "parts": {+ "symbol": "stm8l151c6t6.kicad_sym",+ "footprint": "stm8l151c6t6.kicad_mod",+ "model_3d": "stm8l151c6t6-etched.glb",+ "model_3d_plain": "stm8l151c6t6.glb",+ "model_3d_step": "stm8l151c6t6-etched.step",+ "model_3d_step_plain": "stm8l151c6t6.step",+ "lbr": "stm8l151c6t6.lbr"+ },+ "pins": [+ {+ "number": "1",+ "name": "PA0/USART1_CK/SWIM/BEEP/IR_TIM",+ "type": "bidirectional",+ "description": "Port A0 GPIO. Alternate functions: SWIM debug/program I/O (default at reset), [USART1 synchronous clock] (remap), BEEP output, and Infrared timer output. High-sink LED driver capability. Pull-up during reset and after reset release."+ },+ {+ "number": "2",+ "name": "NRST/PA1",+ "type": "bidirectional",+ "description": "Active-low reset input with internal pull-up at power-up. May be reconfigured as general-purpose PA1 (output push-pull or open-drain only; cannot be used as general-purpose input). See RM0031 for reconfiguration procedure."+ },+ {+ "number": "3",+ "name": "PA2/OSC_IN/[USART1_TX]/[SPI1_MISO]",+ "type": "bidirectional",+ "description": "Port A2 GPIO / HSE crystal oscillator input (1-16 MHz). Remappable alternates: USART1 TX or SPI1 MISO."+ },+ {+ "number": "4",+ "name": "PA3/OSC_OUT/[USART1_RX]/[SPI1_MOSI]",+ "type": "bidirectional",+ "description": "Port A3 GPIO / HSE crystal oscillator output. Remappable alternates: USART1 RX or SPI1 MOSI."+ },+ {+ "number": "5",+ "name": "PA4/TIM2_BKIN/ADC1_IN2/COMP1_INP",+ "type": "bidirectional",+ "description": "Port A4 GPIO. Alternates: TIM2 break input, ADC1 channel 2 analog input, comparator 1 positive input. 3.6 V tolerant (TT) I/O (protection diode to VDD not implemented)."+ },+ {+ "number": "6",+ "name": "PA5/TIM3_BKIN/ADC1_IN1/COMP1_INP",+ "type": "bidirectional",+ "description": "Port A5 GPIO. Alternates: TIM3 break input, ADC1 channel 1 analog input, comparator 1 positive input. 3.6 V tolerant (TT) I/O."+ },+ {+ "number": "7",+ "name": "PA6/[ADC1_TRIG]/ADC1_IN0/COMP1_INP",+ "type": "bidirectional",+ "description": "Port A6 GPIO. Alternates: remappable ADC1 external trigger, ADC1 channel 0 analog input, comparator 1 positive input. 3.6 V tolerant (TT) I/O."+ },+ {+ "number": "8",+ "name": "PA7",+ "type": "bidirectional",+ "description": "Port A7 GPIO. Five-volt tolerant (FT) I/O."+ },+ {+ "number": "9",+ "name": "VSS1/VSSA/VREF-",+ "type": "power_in",+ "description": "Combined digital I/O ground, analog ground, and ADC1 negative voltage reference. Connect to 0 V system ground."+ },+ {+ "number": "10",+ "name": "VDD",+ "type": "power_in",+ "description": "Digital power supply. Operating range 1.8 V to 3.6 V (down to 1.65 V at power down). Decouple with 100 nF at pin."+ },+ {+ "number": "11",+ "name": "VDDA",+ "type": "power_in",+ "description": "Analog supply voltage for ADC, DAC, comparators, and internal reference. Tie to VDD via a small ferrite or star-connect at the LDO for best analog performance."+ },+ {+ "number": "12",+ "name": "VREF+",+ "type": "power_in",+ "description": "ADC1 and DAC positive voltage reference input. Tie to VDDA when not using an external reference; must be <= VDDA."+ },+ {+ "number": "13",+ "name": "Reserved",+ "type": "unconnected",+ "description": "Reserved on STM8L151xx (without LCD). Must be tied to VDD. On STM8L152xx this pin is VLCD (LCD booster external capacitor)."+ },+ {+ "number": "14",+ "name": "PE0",+ "type": "bidirectional",+ "description": "Port E0 GPIO. Five-volt tolerant (FT) I/O."+ },+ {+ "number": "15",+ "name": "PE1/TIM1_CH2N",+ "type": "bidirectional",+ "description": "Port E1 GPIO. Alternate: TIM1 inverted channel 2 output (complementary PWM). 3.6 V tolerant (TT) I/O."+ },+ {+ "number": "16",+ "name": "PE2/TIM1_CH3N",+ "type": "bidirectional",+ "description": "Port E2 GPIO. Alternate: TIM1 inverted channel 3 output (complementary PWM). 3.6 V tolerant (TT) I/O."+ },+ {+ "number": "17",+ "name": "PE3",+ "type": "bidirectional",+ "description": "Port E3 GPIO. 3.6 V tolerant (TT) I/O."+ },+ {+ "number": "18",+ "name": "PE4",+ "type": "bidirectional",+ "description": "Port E4 GPIO. 3.6 V tolerant (TT) I/O."+ },+ {+ "number": "19",+ "name": "PE5/ADC1_IN23/COMP2_INP/COMP1_INP",+ "type": "bidirectional",+ "description": "Port E5 GPIO. Alternates: ADC1 channel 23 analog input, comparator 2 positive input, comparator 1 positive input. 3.6 V tolerant (TT) I/O."+ },+ {+ "number": "20",+ "name": "PD0/TIM3_CH2/[ADC1_TRIG]/ADC1_IN22/COMP2_INP/COMP1_INP",+ "type": "bidirectional",+ "description": "Port D0 GPIO. Alternates: TIM3 channel 2, remappable ADC1 external trigger, ADC1 channel 22, comparator 2/1 positive input. 3.6 V tolerant (TT) I/O."+ },+ {+ "number": "21",+ "name": "PD1/TIM3_ETR/ADC1_IN21/COMP2_INP/COMP1_INP",+ "type": "bidirectional",+ "description": "Port D1 GPIO. Alternates: TIM3 external trigger, ADC1 channel 21, comparator 2/1 positive input. 3.6 V tolerant (TT) I/O."+ },+ {+ "number": "22",+ "name": "PD2/TIM1_CH1/ADC1_IN20/COMP1_INP",+ "type": "bidirectional",+ "description": "Port D2 GPIO. Alternates: TIM1 channel 1, ADC1 channel 20, comparator 1 positive input. 3.6 V tolerant (TT) I/O."+ },+ {+ "number": "23",+ "name": "PD3/TIM1_ETR/ADC1_IN19/COMP1_INP",+ "type": "bidirectional",+ "description": "Port D3 GPIO. Alternates: TIM1 external trigger, ADC1 channel 19, comparator 1 positive input. 3.6 V tolerant (TT) I/O."+ },+ {+ "number": "24",+ "name": "PB0/TIM2_CH1/ADC1_IN18/COMP1_INP",+ "type": "bidirectional",+ "description": "Port B0 GPIO. Alternates: TIM2 channel 1, ADC1 channel 18, comparator 1 positive input. 3.6 V tolerant (TT) I/O. Pull-up applied during reset phase; floats after reset release."+ },+ {+ "number": "25",+ "name": "PB1/TIM3_CH1/ADC1_IN17/COMP1_INP",+ "type": "bidirectional",+ "description": "Port B1 GPIO. Alternates: TIM3 channel 1, ADC1 channel 17, comparator 1 positive input. 3.6 V tolerant (TT) I/O."+ },+ {+ "number": "26",+ "name": "PB2/TIM2_CH2/ADC1_IN16/COMP1_INP",+ "type": "bidirectional",+ "description": "Port B2 GPIO. Alternates: TIM2 channel 2, ADC1 channel 16, comparator 1 positive input. 3.6 V tolerant (TT) I/O."+ },+ {+ "number": "27",+ "name": "PB3/TIM2_ETR/ADC1_IN15/COMP1_INP",+ "type": "bidirectional",+ "description": "Port B3 GPIO. Alternates: TIM2 external trigger, ADC1 channel 15, comparator 1 positive input. 3.6 V tolerant (TT) I/O."+ },+ {+ "number": "28",+ "name": "PB4/[SPI1_NSS]/ADC1_IN14/COMP1_INP",+ "type": "bidirectional",+ "description": "Port B4 GPIO. Alternates: remappable SPI1 slave-select (NSS), ADC1 channel 14, comparator 1 positive input. 3.6 V tolerant (TT) I/O. Pull-up during reset; floats after reset release."+ },+ {+ "number": "29",+ "name": "PB5/[SPI1_SCK]/ADC1_IN13/COMP1_INP",+ "type": "bidirectional",+ "description": "Port B5 GPIO. Alternates: remappable SPI1 clock, ADC1 channel 13, comparator 1 positive input. 3.6 V tolerant (TT) I/O."+ },+ {+ "number": "30",+ "name": "PB6/[SPI1_MOSI]/ADC1_IN12/COMP1_INP",+ "type": "bidirectional",+ "description": "Port B6 GPIO. Alternates: remappable SPI1 MOSI, ADC1 channel 12, comparator 1 positive input. 3.6 V tolerant (TT) I/O."+ },+ {+ "number": "31",+ "name": "PB7/[SPI1_MISO]/ADC1_IN11/COMP1_INP",+ "type": "bidirectional",+ "description": "Port B7 GPIO. Alternates: remappable SPI1 MISO, ADC1 channel 11, comparator 1 positive input. 3.6 V tolerant (TT) I/O."+ },+ {+ "number": "32",+ "name": "PF0/ADC1_IN24/DAC_OUT",+ "type": "bidirectional",+ "description": "Port F0 GPIO. Alternates: ADC1 channel 24 analog input, 12-bit DAC output (buffered). 3.6 V tolerant (TT) I/O."+ },+ {+ "number": "33",+ "name": "PD4/TIM1_CH2/ADC1_IN10/COMP1_INP",+ "type": "bidirectional",+ "description": "Port D4 GPIO. Alternates: TIM1 channel 2, ADC1 channel 10, comparator 1 positive input. 3.6 V tolerant (TT) I/O."+ },+ {+ "number": "34",+ "name": "PD5/TIM1_CH3/ADC1_IN9/COMP1_INP",+ "type": "bidirectional",+ "description": "Port D5 GPIO. Alternates: TIM1 channel 3, ADC1 channel 9, comparator 1 positive input. 3.6 V tolerant (TT) I/O."+ },+ {+ "number": "35",+ "name": "PD6/TIM1_BKIN/ADC1_IN8/RTC_CALIB/VREFINT/COMP1_INP",+ "type": "bidirectional",+ "description": "Port D6 GPIO. Alternates: TIM1 break input, ADC1 channel 8, RTC calibration output, internal voltage reference output (VREFINT), comparator 1 positive input. 3.6 V tolerant (TT) I/O."+ },+ {+ "number": "36",+ "name": "PD7/TIM1_CH1N/ADC1_IN7/RTC_ALARM/VREFINT/COMP1_INP",+ "type": "bidirectional",+ "description": "Port D7 GPIO. Alternates: TIM1 inverted channel 1, ADC1 channel 7, RTC alarm output, internal voltage reference output (VREFINT), comparator 1 positive input. 3.6 V tolerant (TT) I/O."+ },+ {+ "number": "37",+ "name": "PC0/I2C1_SDA",+ "type": "bidirectional",+ "description": "Port C0 GPIO. Alternate: I2C1 data (SDA), true open-drain output. Five-volt tolerant (FT) I/O."+ },+ {+ "number": "38",+ "name": "PC1/I2C1_SCL",+ "type": "bidirectional",+ "description": "Port C1 GPIO. Alternate: I2C1 clock (SCL), true open-drain output. Five-volt tolerant (FT) I/O."+ },+ {+ "number": "39",+ "name": "VDD2",+ "type": "power_in",+ "description": "Second I/O supply pin. Tie to VDD (1.8 V to 3.6 V). Provides supply to a subset of I/O drivers on the LQFP48 package."+ },+ {+ "number": "40",+ "name": "VSS2",+ "type": "power_in",+ "description": "Second I/O ground pin. Tie to system 0 V."+ },+ {+ "number": "41",+ "name": "PC2/USART1_RX/ADC1_IN6/COMP1_INP/VREFINT",+ "type": "bidirectional",+ "description": "Port C2 GPIO. Alternates: USART1 receive, ADC1 channel 6 analog input, comparator 1 positive input, internal voltage reference output. 3.6 V tolerant (TT) I/O."+ },+ {+ "number": "42",+ "name": "PC3/USART1_TX/ADC1_IN5/COMP1_INP/COMP2_INM",+ "type": "bidirectional",+ "description": "Port C3 GPIO. Alternates: USART1 transmit, ADC1 channel 5 analog input, comparator 1 positive input, comparator 2 negative input. 3.6 V tolerant (TT) I/O."+ },+ {+ "number": "43",+ "name": "PC4/USART1_CK/I2C1_SMB/CCO/ADC1_IN4/COMP2_INM/COMP1_INP",+ "type": "bidirectional",+ "description": "Port C4 GPIO. Alternates: USART1 synchronous clock, I2C1 SMBus alert, configurable clock output (CCO), ADC1 channel 4 analog input, comparator 2 negative input, comparator 1 positive input. 3.6 V tolerant (TT) I/O."+ },+ {+ "number": "44",+ "name": "PC5/OSC32_IN/[SPI1_NSS]/[USART1_TX]",+ "type": "bidirectional",+ "description": "Port C5 GPIO. Alternates: LSE 32 kHz crystal oscillator input, remappable SPI1 slave-select, remappable USART1 transmit."+ },+ {+ "number": "45",+ "name": "PC6/OSC32_OUT/[SPI1_SCK]/[USART1_RX]",+ "type": "bidirectional",+ "description": "Port C6 GPIO. Alternates: LSE 32 kHz crystal oscillator output, remappable SPI1 clock, remappable USART1 receive."+ },+ {+ "number": "46",+ "name": "PC7/ADC1_IN3/COMP2_INM/COMP1_INP",+ "type": "bidirectional",+ "description": "Port C7 GPIO. Alternates: ADC1 channel 3 analog input, comparator 2 negative input, comparator 1 positive input. 3.6 V tolerant (TT) I/O."+ },+ {+ "number": "47",+ "name": "PE6/PVD_IN",+ "type": "bidirectional",+ "description": "Port E6 GPIO. Alternate: programmable voltage detector (PVD) external input. 3.6 V tolerant (TT) I/O."+ },+ {+ "number": "48",+ "name": "PE7",+ "type": "bidirectional",+ "description": "Port E7 GPIO. 3.6 V tolerant (TT) I/O."+ }+ ],+ "provenance": {+ "rebuilt": "component block rebuilt 2026-10-05 from this page's own README pinout table and .kicad_sym (pins cross-checked), no re-extraction"+ },+ "viewers": {+ "symbol": "viewers/symbol.html",+ "footprint": "viewers/footprint.html"+ } }-}+}