Generated by kicad-footprint-generator · KiCad file format 20260206
STM8AF5288TCX
STMicroelectronics · ST Microelectronics · LQFP-48(7x7)
STM8AF5288TCX from STMicroelectronics, in a LQFP-48(7x7). Pinout and pin descriptions extracted from the manufacturer datasheet (extract_pins, cross-checked by a second model); symbol, footprint, and 3D from KiCad-official CAD.
Pinout
| Pin | Name | Type | Function |
|---|---|---|---|
| 1 | NRST | bidirectional | Reset pin (I/O) with internal weak pull-up, used to reset the device. |
| 2 | PA1/OSCIN | bidirectional | Port A1 also serves as resonator/crystal input (OSCIN), standard I/O up to 2 MHz. |
| 3 | PA2/OSCOUT | bidirectional | Port A2 also serves as resonator/crystal output (OSCOUT), standard I/O up to 2 MHz. |
| 4 | VSSIO_1 | power_in | I/O ground. |
| 5 | VSS | power_in | Digital ground. |
| 6 | VCAP | passive | 1.8 V regulator capacitor connection. |
| 7 | VDD | power_in | Digital power supply. |
| 8 | VDDIO_1 | power_in | I/O power supply. |
| 9 | PA3/TIM2_CH3 | bidirectional | Port A3, default function Timer 2 channel 3; TIM3_CH1 available after AFR1 remap. |
| 10 | PA4/USART_RX | bidirectional | Port A4, USART receive. |
| 11 | PA5/USART_TX | bidirectional | Port A5, USART transmit. |
| 12 | PA6/USART_CK | bidirectional | Port A6, USART synchronous clock output. |
| 13 | VDDA | power_in | Analog power supply. |
| 14 | VSSA | power_in | Analog ground. |
| 15 | PB7/AIN7 | bidirectional | Port B7, analog input 7. |
| 16 | PB6/AIN6 | bidirectional | Port B6, analog input 6. |
| 17 | PB5/AIN5 | bidirectional | Port B5, analog input 5; I2C_SDA available after AFR6 remap. |
| 18 | PB4/AIN4 | bidirectional | Port B4, analog input 4; I2C_SCL available after AFR6 remap. |
| 19 | PB3/AIN3 | bidirectional | Port B3, analog input 3; TIM1_ETR available after AFR5 remap. |
| 20 | PB2/AIN2 | bidirectional | Port B2, analog input 2; TIM1_CH3N available after AFR5 remap. |
| 21 | PB1/AIN1 | bidirectional | Port B1, analog input 1; TIM1_CH2N available after AFR5 remap. |
| 22 | PB0/AIN0 | bidirectional | Port B0, analog input 0; TIM1_CH1N available after AFR5 remap. |
| 23 | PE7/AIN8 | bidirectional | Port E7, analog input 8. |
| 24 | PE6/AIN9 | bidirectional | Port E6, analog input 9. |
| 25 | PE5/SPI_NSS | bidirectional | Port E5, SPI master/slave select. |
| 26 | PC1/TIM1_CH1 | bidirectional | Port C1, Timer 1 channel 1, high sink (8 mA, 2 MHz). |
| 27 | PC2/TIM1_CH2 | bidirectional | Port C2, Timer 1 channel 2, high sink (8 mA, 2 MHz). |
| 28 | PC3/TIM1_CH3 | bidirectional | Port C3, Timer 1 channel 3, high sink (8 mA, 2 MHz). |
| 29 | PC4/TIM1_CH4 | bidirectional | Port C4, Timer 1 channel 4, high sink (8 mA, 2 MHz). |
| 30 | PC5/SPI_SCK | bidirectional | Port C5, SPI clock. |
| 31 | VSSIO_2 | power_in | I/O ground. |
| 32 | VDDIO_2 | power_in | I/O power supply. |
| 33 | PC6/SPI_MOSI | bidirectional | Port C6, SPI master out / slave in. |
| 34 | PC7/SPI_MISO | bidirectional | Port C7, SPI master in / slave out. |
| 35 | PG0/CAN_TX | bidirectional | Port G0, CAN transmit; CAN interface is only available on STM8AF52xx product lines. |
| 36 | PG1/CAN_RX | bidirectional | Port G1, CAN receive; CAN interface is only available on STM8AF52xx product lines. |
| 37 | PE3/TIM1_BKIN | bidirectional | Port E3, Timer 1 break input. |
| 38 | PE2/I2C_SDA | bidirectional | Port E2, I2C data as true open-drain I/O. |
| 39 | PE1/I2C_SCL | bidirectional | Port E1, I2C clock as true open-drain I/O. |
| 40 | PE0/CLK_CCO | bidirectional | Port E0, configurable clock output. |
| 41 | PD0/TIM3_CH2 | bidirectional | Port D0, Timer 3 channel 2, high sink (8 mA, 2 MHz); TIM1_BKIN and CLK_CCO available after AFR remap. |
| 42 | PD1/SWIM | bidirectional | Port D1, SWIM data interface, high sink; the pin is in input pull-up during the reset phase and after reset release. |
| 43 | PD2/TIM3_CH1 | bidirectional | Port D2, Timer 3 channel 1, high sink (8 mA, 2 MHz); TIM2_CH3 available after AFR1 remap. |
| 44 | PD3/TIM2_CH2 | bidirectional | Port D3, Timer 2 channel 2, high sink (8 mA, 2 MHz); ADC_ETR available after AFR0 remap. |
| 45 | PD4/TIM2_CH1/BEEP | bidirectional | Port D4, Timer 2 channel 1 and BEEP output (AFR7), high sink (8 mA, 2 MHz). |
| 46 | PD5/LINUART_TX | bidirectional | Port D5, LINUART data transmit. |
| 47 | PD6/LINUART_RX | bidirectional | Port D6, LINUART data receive. |
| 48 | PD7/TLI | bidirectional | Port D7, top level interrupt; if configured as interrupt pin it triggers the TLI. |
Key specifications
| Parameter | Value |
|---|---|
| Manufacturer | STMicroelectronics |
| Package | LQFP-48(7x7) |
| Category | Embedded Processors & Controllers |
| Pins | 48 |
Electrical characteristics
Limits as printed in the datasheet (page.json metadata.characteristics carries them as data).
| Parameter | Symbol | Min | Typ | Max | Unit | Conditions | Page |
|---|---|---|---|---|---|---|---|
| Standard operating voltage VDD/VDDIO | VDD/VDDIO | 3 | 5.5 | V | 62 | ||
| Internal CPU clock frequency, 1 wait state | fCPU | 16 | 24 | MHz | TA = -40 °C to 150 °C | 62 | |
| Internal CPU clock frequency, 0 wait state | fCPU | 0 | 16 | MHz | TA = -40 °C to 150 °C | 62 | |
| Ambient temperature, suffix C | TA | 125 | °C | Suffix C | 62 | ||
| Junction temperature range, suffix C | TJ | 130 | °C | Suffix C | 62 | ||
| Capacitance of external capacitor CEXT on VCAP | CEXT | 470 | 3300 | nF | 62 | ||
| ESR of external capacitor | ESR | 0.3 | Ω | at 1 MHz | 62 | ||
| ESL of external capacitor | ESL | 15 | nH | 62 | |||
| Supply voltage VDDx - VSS (including VDDA and VDDIO) | VDDx-VSS | -0.3 | 6.5 | V | 60 | ||
| Input voltage on true open drain pins PE1, PE2 | VIN | -0.3 | 6.5 | V | referred to VSS | 60 | |
| Input voltage on any other pin, maximum VDD + 0.3 V | VIN | -0.3 | V | 60 | |||
| Variations between different power pins | /VDDx - VDD/ | 50 | mV | 60 | |||
| Variations between all different ground pins | /VSSx - VSS/ | 50 | mV | 60 | |||
| Total current into VDDIO power lines (source) | IVDDIO | 100 | mA | 61 | |||
| Total current out of VSSIO ground lines (sink) | IVSSIO | 100 | mA | 61 | |||
| Output current sunk by any I/O and control pin | IIO | 20 | mA | 61 | |||
| Output current sourced by any I/O and control pin | IIO | -20 | mA | 61 | |||
| Injected current on any pin | IINJ(PIN) | -10 | 10 | mA | 61 | ||
| Sum of injected currents | IINJ(TOT) | 50 | mA | 61 | |||
| Storage temperature range | TSTG | -65 | 150 | °C | 61 | ||
| Maximum junction temperature | TJ | 160 | °C | 61 | |||
| Power-on reset threshold | VIT+ | 2.65 | 2.8 | 2.95 | V | 63 | |
| Brown-out reset threshold | VIT- | 2.58 | 2.73 | 2.88 | V | 63 | |
| Brown-out reset hysteresis | VHYS(BOR) | 70 | mV | 63 | |||
| Reset release delay | tTEMP | 1 | 1.7 | ms | VDD rising | 63 | |
| Operating voltage, execution/write/erase | VDD | 3 | 5.5 | V | fCPU 16 to 24 MHz with 1 ws; fCPU 0 to 16 MHz with 0 ws | 72 | |
| Operating voltage, code execution | VDD | 2.6 | 5.5 | V | fCPU 16 to 24 MHz with 1 ws; fCPU 0 to 16 MHz with 0 ws | 72 | |
| Standard programming time including erase, byte/word/block | tprog | 6.6 | ms | 1 byte/4 bytes/128 bytes | 72 | ||
| Erase time for 1 block | terase | 3.3 | ms | 128 bytes | 72 | ||
| Flash program memory endurance (erase/write cycles) | NWE | 1000 | cycles | TA = 25 °C | 72 | ||
| Flash data retention time | tRET | 40 | years | TA = 25 °C | 72 | ||
| Flash data retention time | tRET | 20 | years | TA = 55 °C | 72 | ||
| Data memory endurance (erase/write cycles) | NWE | 300 | kcycles | TA = 25 °C | 73 | ||
| Data memory endurance (erase/write cycles) | NWE | 100 | kcycles | TA = -40 °C to 125 °C | 73 | ||
| Supply current in Run mode, code from Flash | IDD(RUN) | 8.7 | 16.8 | mA | fCPU = 24 MHz, 1 ws, all peripherals clocked, HSE external clock | 64 | |
| Supply current in Run mode, code from Flash | IDD(RUN) | 7.4 | 14 | mA | fCPU = 16 MHz, all peripherals clocked, HSE external clock | 64 | |
| Supply current in Run mode, code from Flash | IDD(RUN) | 4 | 7.4 | mA | fCPU = 8 MHz, all peripherals clocked, HSE external clock | 64 | |
| Supply current in Run mode, code from Flash | IDD(RUN) | 2.4 | 4.1 | mA | fCPU = 4 MHz, all peripherals clocked, HSE external clock | 64 | |
| Supply current in Run mode, code from Flash | IDD(RUN) | 1.5 | 2.5 | mA | fCPU = 2 MHz, all peripherals clocked, HSE external clock | 64 | |
| Supply current in Run mode, code from RAM | IDD(RUN) | 4.4 | 6 | mA | fCPU = 24 MHz, all peripherals clocked, HSE external clock | 64 | |
| Supply current in Run mode, code from RAM | IDD(RUN) | 3.7 | 5 | mA | fCPU = 16 MHz, all peripherals clocked, HSE external clock | 64 | |
| Supply current in Run mode, code from RAM | IDD(RUN) | 2.2 | 3 | mA | fCPU = 8 MHz, all peripherals clocked, HSE external clock | 64 | |
| Supply current in Run mode, code from RAM | IDD(RUN) | 1.4 | 2 | mA | fCPU = 4 MHz, all peripherals clocked, HSE external clock | 64 | |
| Supply current in Run mode, code from RAM | IDD(RUN) | 1 | 1.5 | mA | fCPU = 2 MHz, all peripherals clocked, HSE external clock | 64 | |
| Supply current in Wait mode | IDD(WFI) | 2.4 | 3.1 | mA | fCPU = 24 MHz, CPU stopped, all peripherals off, HSE external clock | 64 | |
| Supply current in Wait mode | IDD(WFI) | 1.65 | 2.5 | mA | fCPU = 16 MHz, CPU stopped, all peripherals off, HSE external clock | 64 | |
| Supply current in Wait mode | IDD(WFI) | 1.15 | 1.9 | mA | fCPU = 8 MHz, CPU stopped, all peripherals off, HSE external clock | 64 | |
| Supply current in Wait mode | IDD(WFI) | 0.9 | 1.6 | mA | fCPU = 4 MHz, CPU stopped, all peripherals off, HSE external clock | 64 | |
| Supply current in Wait mode | IDD(WFI) | 0.8 | 1.5 | mA | fCPU = 2 MHz, CPU stopped, all peripherals off, HSE external clock | 64 | |
| Supply current in Slow mode | IDD(SLOW) | 1.5 | 1.95 | mA | fCPU = 125 kHz, external clock 16 MHz, code from RAM | 64 | |
| Supply current in Slow mode | IDD(SLOW) | 1.5 | 1.8 | mA | fCPU = 128 kHz, LSI internal RC, code from RAM | 64 | |
| Supply current in Halt mode | IDD(H) | 5 | 35 | µA | Regulator off, flash power-down, clocks stopped | 65 | |
| Supply current in Active-halt mode with regulator on | IDD(AH) | 770 | 900 | µA | External clock 16 MHz, fMASTER = 125 kHz | 65 | |
| HSE oscillator current consumption | IDD(OSC) | 1 | 2 | mA | Quartz or ceramic resonator, CL = 33 pF, VDD = 5 V, fOSC = 24 MHz | 65 | |
| Programming current consumption | IDD(PROG) | 1 | 1.7 | mA | VDD = 5 V, -40 °C to 150 °C, erasing and programming | 66 | |
| Pull-up resistor | Rpu | 35 | 50 | 65 | kΩ | VDD = 5 V, VIN = VSS | 74 |
| Low-level output voltage, high sink and true open drain I/O | VOL | 0.5 | V | VDD = 5 V, I = 8 mA | 74 | ||
| Low-level output voltage, standard I/O | VOL | 0.6 | V | VDD = 5 V, I = 3 mA | 74 | ||
| Thermal resistance junction-ambient, LQFP 48 - 7 x 7 mm | ΘJA | 57 | °C/W | JEDEC JESD51-2, 4-layer PCB, natural convection | 109 |
CAD (KiCad official)
- Symbol:
STM8AF5288TCX - Footprint:
Package_QFP:LQFP-48_7x7mm_P0.5mm - 3D model: LQFP-48(7x7) (KiCad packages3D, STEP)
- 3D model files:
stm8af5288tcx-etched.step/stm8af5288tcx-etched.glbcarry the MPN laser-etched on the die in a toggleableAdom.LaserEtchgroup (Fusion-ready);stm8af5288tcx.step/stm8af5288tcx.glbare the bare package body.
Provenance
Data extracted from the manufacturer datasheet, not a distributor listing:
- Datasheet: STMicroelectronics datasheet (125 pp, sha256
3f11cfe069d4bf98, retrieved 2026-10-30, tier: manufacturer) - Extractor: parts-factory
2.0.0/extract_pins 0.3, primaryclaude-haiku-5-5(text), consensusclaude-sonnet-5-5(agreed), guards: pin_guards 0.1: passed. Pins are checked against the footprint pad set and their cited datasheet pages before publish. - CAD: KiCad official libraries (CC-BY-SA 4.0).