main
Ray
Publish 0.1.0
bc760d1
STM8AF6246TASSSX
STMicroelectronics · Microcontrollers (MCU/MPU/SOC) · LQFP-32(7x7)
STM8AF6246TASSSX from STMicroelectronics, in a LQFP-32(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 with an internal pull-up of 30 to 60 kΩ (Table 36), where pulses shorter than 85 ns are filtered and the external reset network must drive the level below VIL(NRST) max to be recognised. |
| 2 | PA1/OSCIN | bidirectional | Port A1 that serves as the resonator/crystal input (OSCIN) for the 1 to 16 MHz HSE oscillator or as the external clock input, with a frequency range of 0 to 16 MHz. |
| 3 | PA2/OSCOUT | bidirectional | Port A2 that serves as the resonator/crystal output (OSCOUT) of the HSE oscillator. |
| 4 | VSS | power_in | Digital ground; all VDD, VDDIO, VDDA and VSS pins must always be connected to the external supply. |
| 5 | VCAP | power_out | 1.8 V regulator capacitor pin that requires an external CEXT of 470 to 3300 nF with ESR of at most 0.3 Ω and ESL of at most 15 nH (Table 21). |
| 6 | VDD | power_in | Digital power supply with a standard operating voltage of 3.0 to 5.5 V (Table 21). |
| 7 | VDDIO_1 | power_in | I/O power supply that must be connected to the same external supply as VDD (3.0 to 5.5 V operating range). |
| 8 | PF4/AIN12 | bidirectional | Port F4 analog input 12 that is not selectable in ADC scan mode or with the analog watchdog and enables a pull-up during the reset phase. |
| 9 | VDDA | power_in | Analog power supply for the ADC, specified from 3 to 5.5 V (Table 40). |
| 10 | VSSA | power_in | Analog ground for the ADC reference and analog inputs. |
| 11 | PB5/AIN5 | bidirectional | Port B5 analog input 5 that becomes I2C_SDA when option bit AFR6 is set. |
| 12 | PB4/AIN4 | bidirectional | Port B4 analog input 4 that becomes I2C_SCL when option bit AFR6 is set. |
| 13 | PB3/AIN3 | bidirectional | Port B3 analog input 3 that becomes TIM1_ETR when option bit AFR5 is set. |
| 14 | PB2/AIN2 | bidirectional | Port B2 analog input 2 that becomes TIM1_CH3N when option bit AFR5 is set. |
| 15 | PB1/AIN1 | bidirectional | Port B1 analog input 1 that becomes TIM1_CH2N when option bit AFR5 is set. |
| 16 | PB0/AIN0 | bidirectional | Port B0 analog input 0 that becomes TIM1_CH1N when option bit AFR5 is set. |
| 17 | PE5/SPI_NSS | bidirectional | Port E5 that serves as the SPI master/slave select (NSS) with standard I/O speed of up to 2 MHz. |
| 18 | PC1/TIM1_CH1 | bidirectional | Port C1 with high-sink capability of 8 mA that serves as Timer 1 channel 1. |
| 19 | PC2/TIM1_CH2 | bidirectional | Port C2 with high-sink capability of 8 mA that serves as Timer 1 channel 2. |
| 20 | PC3/TIM1_CH3 | bidirectional | Port C3 with high-sink capability of 8 mA that serves as Timer 1 channel 3. |
| 21 | PC4/TIM1_CH4 | bidirectional | Port C4 with high-sink capability of 8 mA that serves as Timer 1 channel 4. |
| 22 | PC5/SPI_SCK | bidirectional | Port C5 that serves as the SPI clock. |
| 23 | PC6/SPI_MOSI | bidirectional | Port C6 that serves as the SPI master out / slave in data line. |
| 24 | PC7/SPI_MISO | bidirectional | Port C7 that serves as the SPI master in / slave out data line. |
| 25 | PD0/TIM3_CH2 | bidirectional | Port D0 with high-sink capability of 8 mA that serves as Timer 3 channel 2, with alternate functions TIM1_BKIN (AFR3) or CLK_CCO (AFR2) selectable by option bits. |
| 26 | PD1/SWIM | bidirectional | Port D1 with high-sink capability of 8 mA that serves as the SWIM data interface and is in input pull-up during reset and after reset release. |
| 27 | PD2/TIM3_CH1 | bidirectional | Port D2 with high-sink capability of 8 mA that serves as Timer 3 channel 1, remappable to TIM2_CH3 by option bit AFR1. |
| 28 | PD3/TIM2_CH2 | bidirectional | Port D3 with high-sink capability of 8 mA that serves as Timer 2 channel 2, remappable to ADC_ETR by option bit AFR0. |
| 29 | PD4/TIM2_CH1/BEEP | bidirectional | Port D4 with high-sink capability of 8 mA that serves as Timer 2 channel 1, remappable to the BEEP output by option bit AFR7. |
| 30 | PD5/LINUART_TX | bidirectional | Port D5 that serves as the LINUART data transmit output. |
| 31 | PD6/LINUART_RX | bidirectional | Port D6 that serves as the LINUART data receive input. |
| 32 | PD7/TLI | bidirectional | Port D7 that serves as the top level interrupt (TLI) input when configured as an interrupt pin. |
Key specifications
| Parameter | Value |
|---|---|
| Manufacturer | STMicroelectronics |
| Package | LQFP-32(7x7) |
| Category | Embedded Processors & Controllers |
| Pins | 32 |
Electrical characteristics
Limits as printed in the datasheet (page.json metadata.characteristics carries them as data).
| Parameter | Symbol | Min | Typ | Max | Unit | Conditions | Page |
|---|---|---|---|---|---|---|---|
| Supply voltage (VDDx - VSS, incl. VDDA and VDDIO) | VDDx - VSS | -0.3 | 6.5 | V | 50 | ||
| Input voltage on true open drain pins (PE1, PE2) | VIN | 6.5 | V | 50 | |||
| Total current into VDDIO power lines (source) | IVDDIO | 100 | mA | 51 | |||
| Output current sunk by any I/O and control pin | IIO | 20 | mA | 51 | |||
| Output current sourced by any I/O and control pin | IIO | -20 | mA | 51 | |||
| Injected current on any pin | IINJ(PIN) | -10 | 10 | mA | 51 | ||
| Storage temperature range | TSTG | -65 | 150 | °C | 51 | ||
| Maximum junction temperature | TJ | 160 | °C | 51 | |||
| Internal CPU clock frequency | fCPU | 0 | 16 | MHz | TA = -40 °C to 150 °C | 52 | |
| Standard operating voltage (VDD/VDDIO) | VDD/VDDIO | 3 | 5.5 | V | 52 | ||
| Ambient temperature, suffix A | TA | -40 | 85 | °C | Suffix A | 52 | |
| Junction temperature range, suffix A | TJ | 90 | °C | Suffix A | 52 | ||
| Power dissipation, LQFP32 | PD | 85 | mW | All temperature ranges | 52 | ||
| CEXT capacitance of external VCAP capacitor | CEXT | 470 | 3300 | nF | 52 | ||
| ESR of external VCAP capacitor | ESR | 0.3 | Ω | at 1 MHz | 52 | ||
| ESL of external VCAP capacitor | ESL | 15 | nH | 52 | |||
| VDD rise time rate | tVDD | 2 | µs/V | 53 | |||
| Reset release delay | tTEMP | 1 | 1.7 | ms | VDD rising | 53 | |
| Power-on reset threshold | VIT+ | 2.65 | 2.8 | 2.95 | V | 53 | |
| Brown-out reset threshold | VIT- | 2.58 | 2.73 | 2.88 | V | 53 | |
| Operating voltage (code execution) | VDD | 2.6 | 5.5 | V | fCPU is 0 to 16 MHz with 0 ws | 62 | |
| Supply current in Run mode, code from Flash | IDD(RUN) | 7.4 | 14 | mA | All peripherals clocked, code from Flash, HSE external clock (no resonator), fCPU = 16 MHz | 54 | |
| Supply current in Run mode, code from RAM and EEPROM | IDD(RUN) | 3.7 | 5 | mA | All peripherals clocked, code from RAM and EEPROM, HSE external clock (no resonator), fCPU = 16 MHz | 54 | |
| Supply current in Wait mode | IDD(WFI) | 1.65 | 2.5 | mA | CPU stopped, all peripherals off, HSE external clock, fCPU = 16 MHz | 54 | |
| Supply current in Slow mode | IDD(SLOW) | 1.5 | 1.95 | mA | fCPU = 125 kHz, all peripherals off, code from RAM, ext. clock 16 MHz | 54 | |
| Supply current in Halt mode | IDD(H) | 5 | 35 | µA | Main voltage regulator off, Flash power-down, clocks stopped | 55 | |
| Supply current in Active-halt mode, regulator on, ext. clock | IDD(AH) | 770 | 900 | µA | MVR on, Flash power-down, ext. clock 16 MHz, fMASTER = 125 kHz | 55 | |
| Supply current in Active-halt mode, regulator on, LSI | IDD(AH) | 150 | 230 | µA | MVR on, Flash power-down, LSI clock 128 kHz | 55 | |
| Supply current in Active-halt mode, regulator off, LSI | IDD(AH) | 25 | 42 | µA | MVR off, Flash power-down, LSI clock 128 kHz | 55 | |
| Wakeup time from Active-halt mode, regulator on | tWU(AH) | 10 | 30 | µs | Operating mode, TA = -40 to 150 °C | 55 | |
| Programming current | IDD(PROG) | 1 | 1.7 | mA | VDD = 5 V, -40 °C to 150 °C, erasing and programming data or Flash program memory | 56 | |
| User external clock source frequency | fHSE_ext | 0 | 16 | MHz | TA is -40 to 150 °C | 57 | |
| OSCIN input leakage current | ILEAK_HSE | -1 | 1 | µA | VSS < VIN < VDD | 57 | |
| Recommended load capacitance (CL1/CL2) | CL1/CL2 | 20 | pF | 58 | |||
| HSI oscillator accuracy (factory calibrated) | -5 | 5 | % | 3.0 V ≤ VDD ≤ 5.5 V, -40 °C ≤ TA ≤ 150 °C | 60 | ||
| LSI frequency | fLSI | 112 | 128 | 144 | kHz | 60 | |
| LSI oscillator wakeup time | tsu(LSI) | 7 | µs | 60 | |||
| Flash program memory endurance (erase/write cycles) | NWE | 1000 | cycles | TA = 25 °C | 62 | ||
| Data memory endurance (erase/write cycles) | NWE | 300 | k cycles | TA = 25 °C | 62 | ||
| Data memory endurance (erase/write cycles) | NWE | 100 | k cycles | TA = -40 °C to 125 °C | 62 | ||
| Flash program memory data retention time | tRET | 40 | years | TA = 25 °C | 62 | ||
| Output low level voltage, high sink and true open drain I/O | VOL | 0.5 | V | VDD = 5 V, I = 8 mA | 63 | ||
| Output low level voltage, standard I/O | VOL | 0.6 | V | VDD = 5 V, I = 3 mA | 63 | ||
| Output low level voltage, standard I/O | VOL | 0.4 | V | VDD = 3 V, I = 1.5 mA | 63 | ||
| Pull-up resistor | Rpu | 35 | 50 | 65 | kΩ | VDD = 5 V, VIN = VSS | 63 |
| Digital input pad leakage current | Ilkg | -1 | 1 | µA | VSS ≤ VIN ≤ VDD | 63 | |
| Analog input pad leakage current | Ilkg ana | -250 | 250 | nA | VSS ≤ VIN ≤ VDD, -40 °C < TA < 125 °C | 63 | |
| Total current on either VDDIO or VSSIO | IDDIO | 60 | mA | Including injection currents | 63 | ||
| NRST output low level voltage | VOL(NRST) | 0.6 | V | IOL = 3 mA | 67 | ||
| NRST pull-up resistor | RPU(NRST) | 30 | 40 | 60 | kΩ | 67 | |
| Analog supply voltage | VDDA | 3 | 5.5 | V | 73 | ||
| Positive reference voltage | VREF+ | 2.75 | V | 73 | |||
| Negative reference voltage | VREF- | 0.5 | V | 73 | |||
| Total unadjusted error /ET/ | /ET/ | 1.4 | 3 | LSB | VDDA = 5 V, fADC = 2 MHz | 74 | |
| Offset error /EO/ | /EO/ | 0.8 | 3 | LSB | VDDA = 5 V, fADC = 2 MHz | 74 | |
| Integral linearity error /EL/ | /EL/ | 0.7 | 1.5 | LSB | VDDA = 5 V, fADC = 2 MHz | 74 | |
| Electrostatic discharge voltage (human body model) | VESD(HBM) | 4000 | V | TA = 25 °C, conforming to JESD22-A114 | 76 | ||
| Electrostatic discharge voltage (charge device model) | VESD(CDM) | 500 | V | TA = 25 °C, conforming to JESD22-C101 | 76 | ||
| Electrostatic discharge voltage (machine model) | VESD(MM) | 200 | V | TA = 25 °C, conforming to JESD22-A115 | 76 | ||
| Thermal resistance junction-ambient, LQFP 32 - 7x7 mm | ΘJA | 59 | °C/W | JEDEC JESD51-2, 4-layer PCB, natural convection | 88 |
CAD (KiCad official)
- Symbol:
STM8AF6246TASSSX - Footprint:
Package_QFP:LQFP-32_7x7mm_P0.8mm - 3D model: LQFP-32(7x7) (KiCad packages3D, STEP)
- 3D model files:
stm8af6246tasssx-etched.step/stm8af6246tasssx-etched.glbcarry the MPN laser-etched on the die in a toggleableAdom.LaserEtchgroup (Fusion-ready);stm8af6246tasssx.step/stm8af6246tasssx.glbare the bare package body.
Provenance
Data extracted from the manufacturer datasheet, not a distributor listing:
- Datasheet: STMicroelectronics datasheet (99 pp, sha256
b2515811c84033b5, retrieved 2026-11-10, tier: lcsc) - 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).
# STM8AF6246TASSSX
**STMicroelectronics** · Microcontrollers (MCU/MPU/SOC) · LQFP-32(7x7)
STM8AF6246TASSSX from STMicroelectronics, in a LQFP-32(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 with an internal pull-up of 30 to 60 kΩ (Table 36), where pulses shorter than 85 ns are filtered and the external reset network must drive the level below VIL(NRST) max to be recognised. |
| 2 | PA1/OSCIN | bidirectional | Port A1 that serves as the resonator/crystal input (OSCIN) for the 1 to 16 MHz HSE oscillator or as the external clock input, with a frequency range of 0 to 16 MHz. |
| 3 | PA2/OSCOUT | bidirectional | Port A2 that serves as the resonator/crystal output (OSCOUT) of the HSE oscillator. |
| 4 | VSS | power_in | Digital ground; all VDD, VDDIO, VDDA and VSS pins must always be connected to the external supply. |
| 5 | VCAP | power_out | 1.8 V regulator capacitor pin that requires an external CEXT of 470 to 3300 nF with ESR of at most 0.3 Ω and ESL of at most 15 nH (Table 21). |
| 6 | VDD | power_in | Digital power supply with a standard operating voltage of 3.0 to 5.5 V (Table 21). |
| 7 | VDDIO_1 | power_in | I/O power supply that must be connected to the same external supply as VDD (3.0 to 5.5 V operating range). |
| 8 | PF4/AIN12 | bidirectional | Port F4 analog input 12 that is not selectable in ADC scan mode or with the analog watchdog and enables a pull-up during the reset phase. |
| 9 | VDDA | power_in | Analog power supply for the ADC, specified from 3 to 5.5 V (Table 40). |
| 10 | VSSA | power_in | Analog ground for the ADC reference and analog inputs. |
| 11 | PB5/AIN5 | bidirectional | Port B5 analog input 5 that becomes I2C_SDA when option bit AFR6 is set. |
| 12 | PB4/AIN4 | bidirectional | Port B4 analog input 4 that becomes I2C_SCL when option bit AFR6 is set. |
| 13 | PB3/AIN3 | bidirectional | Port B3 analog input 3 that becomes TIM1_ETR when option bit AFR5 is set. |
| 14 | PB2/AIN2 | bidirectional | Port B2 analog input 2 that becomes TIM1_CH3N when option bit AFR5 is set. |
| 15 | PB1/AIN1 | bidirectional | Port B1 analog input 1 that becomes TIM1_CH2N when option bit AFR5 is set. |
| 16 | PB0/AIN0 | bidirectional | Port B0 analog input 0 that becomes TIM1_CH1N when option bit AFR5 is set. |
| 17 | PE5/SPI_NSS | bidirectional | Port E5 that serves as the SPI master/slave select (NSS) with standard I/O speed of up to 2 MHz. |
| 18 | PC1/TIM1_CH1 | bidirectional | Port C1 with high-sink capability of 8 mA that serves as Timer 1 channel 1. |
| 19 | PC2/TIM1_CH2 | bidirectional | Port C2 with high-sink capability of 8 mA that serves as Timer 1 channel 2. |
| 20 | PC3/TIM1_CH3 | bidirectional | Port C3 with high-sink capability of 8 mA that serves as Timer 1 channel 3. |
| 21 | PC4/TIM1_CH4 | bidirectional | Port C4 with high-sink capability of 8 mA that serves as Timer 1 channel 4. |
| 22 | PC5/SPI_SCK | bidirectional | Port C5 that serves as the SPI clock. |
| 23 | PC6/SPI_MOSI | bidirectional | Port C6 that serves as the SPI master out / slave in data line. |
| 24 | PC7/SPI_MISO | bidirectional | Port C7 that serves as the SPI master in / slave out data line. |
| 25 | PD0/TIM3_CH2 | bidirectional | Port D0 with high-sink capability of 8 mA that serves as Timer 3 channel 2, with alternate functions TIM1_BKIN (AFR3) or CLK_CCO (AFR2) selectable by option bits. |
| 26 | PD1/SWIM | bidirectional | Port D1 with high-sink capability of 8 mA that serves as the SWIM data interface and is in input pull-up during reset and after reset release. |
| 27 | PD2/TIM3_CH1 | bidirectional | Port D2 with high-sink capability of 8 mA that serves as Timer 3 channel 1, remappable to TIM2_CH3 by option bit AFR1. |
| 28 | PD3/TIM2_CH2 | bidirectional | Port D3 with high-sink capability of 8 mA that serves as Timer 2 channel 2, remappable to ADC_ETR by option bit AFR0. |
| 29 | PD4/TIM2_CH1/BEEP | bidirectional | Port D4 with high-sink capability of 8 mA that serves as Timer 2 channel 1, remappable to the BEEP output by option bit AFR7. |
| 30 | PD5/LINUART_TX | bidirectional | Port D5 that serves as the LINUART data transmit output. |
| 31 | PD6/LINUART_RX | bidirectional | Port D6 that serves as the LINUART data receive input. |
| 32 | PD7/TLI | bidirectional | Port D7 that serves as the top level interrupt (TLI) input when configured as an interrupt pin. |
## Key specifications
| Parameter | Value |
|---|---|
| Manufacturer | STMicroelectronics |
| Package | LQFP-32(7x7) |
| Category | Embedded Processors & Controllers |
| Pins | 32 |
## Electrical characteristics
Limits as printed in the datasheet (page.json `metadata.characteristics` carries them as data).
| Parameter | Symbol | Min | Typ | Max | Unit | Conditions | Page |
|---|---|---|---|---|---|---|---|
| Supply voltage (VDDx - VSS, incl. VDDA and VDDIO) | VDDx - VSS | -0.3 | | 6.5 | V | | 50 |
| Input voltage on true open drain pins (PE1, PE2) | VIN | | | 6.5 | V | | 50 |
| Total current into VDDIO power lines (source) | IVDDIO | | | 100 | mA | | 51 |
| Output current sunk by any I/O and control pin | IIO | | | 20 | mA | | 51 |
| Output current sourced by any I/O and control pin | IIO | | | -20 | mA | | 51 |
| Injected current on any pin | IINJ(PIN) | -10 | | 10 | mA | | 51 |
| Storage temperature range | TSTG | -65 | | 150 | °C | | 51 |
| Maximum junction temperature | TJ | | | 160 | °C | | 51 |
| Internal CPU clock frequency | fCPU | 0 | | 16 | MHz | TA = -40 °C to 150 °C | 52 |
| Standard operating voltage (VDD/VDDIO) | VDD/VDDIO | 3 | | 5.5 | V | | 52 |
| Ambient temperature, suffix A | TA | -40 | | 85 | °C | Suffix A | 52 |
| Junction temperature range, suffix A | TJ | | | 90 | °C | Suffix A | 52 |
| Power dissipation, LQFP32 | PD | | | 85 | mW | All temperature ranges | 52 |
| CEXT capacitance of external VCAP capacitor | CEXT | 470 | | 3300 | nF | | 52 |
| ESR of external VCAP capacitor | ESR | | | 0.3 | Ω | at 1 MHz | 52 |
| ESL of external VCAP capacitor | ESL | | | 15 | nH | | 52 |
| VDD rise time rate | tVDD | 2 | | | µs/V | | 53 |
| Reset release delay | tTEMP | | 1 | 1.7 | ms | VDD rising | 53 |
| Power-on reset threshold | VIT+ | 2.65 | 2.8 | 2.95 | V | | 53 |
| Brown-out reset threshold | VIT- | 2.58 | 2.73 | 2.88 | V | | 53 |
| Operating voltage (code execution) | VDD | 2.6 | | 5.5 | V | fCPU is 0 to 16 MHz with 0 ws | 62 |
| Supply current in Run mode, code from Flash | IDD(RUN) | | 7.4 | 14 | mA | All peripherals clocked, code from Flash, HSE external clock (no resonator), fCPU = 16 MHz | 54 |
| Supply current in Run mode, code from RAM and EEPROM | IDD(RUN) | | 3.7 | 5 | mA | All peripherals clocked, code from RAM and EEPROM, HSE external clock (no resonator), fCPU = 16 MHz | 54 |
| Supply current in Wait mode | IDD(WFI) | | 1.65 | 2.5 | mA | CPU stopped, all peripherals off, HSE external clock, fCPU = 16 MHz | 54 |
| Supply current in Slow mode | IDD(SLOW) | | 1.5 | 1.95 | mA | fCPU = 125 kHz, all peripherals off, code from RAM, ext. clock 16 MHz | 54 |
| Supply current in Halt mode | IDD(H) | | 5 | 35 | µA | Main voltage regulator off, Flash power-down, clocks stopped | 55 |
| Supply current in Active-halt mode, regulator on, ext. clock | IDD(AH) | | 770 | 900 | µA | MVR on, Flash power-down, ext. clock 16 MHz, fMASTER = 125 kHz | 55 |
| Supply current in Active-halt mode, regulator on, LSI | IDD(AH) | | 150 | 230 | µA | MVR on, Flash power-down, LSI clock 128 kHz | 55 |
| Supply current in Active-halt mode, regulator off, LSI | IDD(AH) | | 25 | 42 | µA | MVR off, Flash power-down, LSI clock 128 kHz | 55 |
| Wakeup time from Active-halt mode, regulator on | tWU(AH) | | 10 | 30 | µs | Operating mode, TA = -40 to 150 °C | 55 |
| Programming current | IDD(PROG) | | 1 | 1.7 | mA | VDD = 5 V, -40 °C to 150 °C, erasing and programming data or Flash program memory | 56 |
| User external clock source frequency | fHSE_ext | 0 | | 16 | MHz | TA is -40 to 150 °C | 57 |
| OSCIN input leakage current | ILEAK_HSE | -1 | | 1 | µA | VSS < VIN < VDD | 57 |
| Recommended load capacitance (CL1/CL2) | CL1/CL2 | | | 20 | pF | | 58 |
| HSI oscillator accuracy (factory calibrated) | | -5 | | 5 | % | 3.0 V ≤ VDD ≤ 5.5 V, -40 °C ≤ TA ≤ 150 °C | 60 |
| LSI frequency | fLSI | 112 | 128 | 144 | kHz | | 60 |
| LSI oscillator wakeup time | tsu(LSI) | | | 7 | µs | | 60 |
| Flash program memory endurance (erase/write cycles) | NWE | 1000 | | | cycles | TA = 25 °C | 62 |
| Data memory endurance (erase/write cycles) | NWE | 300 | | | k cycles | TA = 25 °C | 62 |
| Data memory endurance (erase/write cycles) | NWE | 100 | | | k cycles | TA = -40 °C to 125 °C | 62 |
| Flash program memory data retention time | tRET | 40 | | | years | TA = 25 °C | 62 |
| Output low level voltage, high sink and true open drain I/O | VOL | | | 0.5 | V | VDD = 5 V, I = 8 mA | 63 |
| Output low level voltage, standard I/O | VOL | | | 0.6 | V | VDD = 5 V, I = 3 mA | 63 |
| Output low level voltage, standard I/O | VOL | | | 0.4 | V | VDD = 3 V, I = 1.5 mA | 63 |
| Pull-up resistor | Rpu | 35 | 50 | 65 | kΩ | VDD = 5 V, VIN = VSS | 63 |
| Digital input pad leakage current | Ilkg | -1 | | 1 | µA | VSS ≤ VIN ≤ VDD | 63 |
| Analog input pad leakage current | Ilkg ana | -250 | | 250 | nA | VSS ≤ VIN ≤ VDD, -40 °C < TA < 125 °C | 63 |
| Total current on either VDDIO or VSSIO | IDDIO | | | 60 | mA | Including injection currents | 63 |
| NRST output low level voltage | VOL(NRST) | | | 0.6 | V | IOL = 3 mA | 67 |
| NRST pull-up resistor | RPU(NRST) | 30 | 40 | 60 | kΩ | | 67 |
| Analog supply voltage | VDDA | 3 | | 5.5 | V | | 73 |
| Positive reference voltage | VREF+ | 2.75 | | | V | | 73 |
| Negative reference voltage | VREF- | | | 0.5 | V | | 73 |
| Total unadjusted error /ET/ | /ET/ | | 1.4 | 3 | LSB | VDDA = 5 V, fADC = 2 MHz | 74 |
| Offset error /EO/ | /EO/ | | 0.8 | 3 | LSB | VDDA = 5 V, fADC = 2 MHz | 74 |
| Integral linearity error /EL/ | /EL/ | | 0.7 | 1.5 | LSB | VDDA = 5 V, fADC = 2 MHz | 74 |
| Electrostatic discharge voltage (human body model) | VESD(HBM) | | | 4000 | V | TA = 25 °C, conforming to JESD22-A114 | 76 |
| Electrostatic discharge voltage (charge device model) | VESD(CDM) | | | 500 | V | TA = 25 °C, conforming to JESD22-C101 | 76 |
| Electrostatic discharge voltage (machine model) | VESD(MM) | | | 200 | V | TA = 25 °C, conforming to JESD22-A115 | 76 |
| Thermal resistance junction-ambient, LQFP 32 - 7x7 mm | ΘJA | | 59 | | °C/W | JEDEC JESD51-2, 4-layer PCB, natural convection | 88 |
## CAD (KiCad official)
- Symbol: `STM8AF6246TASSSX`
- Footprint: `Package_QFP:LQFP-32_7x7mm_P0.8mm`
- 3D model: LQFP-32(7x7) (KiCad packages3D, STEP)
- 3D model files: `stm8af6246tasssx-etched.step` / `stm8af6246tasssx-etched.glb` carry the MPN laser-etched on the die in a toggleable `Adom.LaserEtch` group (Fusion-ready); `stm8af6246tasssx.step` / `stm8af6246tasssx.glb` are the bare package body.
## Provenance
Data extracted from the manufacturer datasheet, not a distributor listing:
- **Datasheet:** [STMicroelectronics datasheet](https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8588941870579240960) (99 pp, sha256 `b2515811c84033b5`, retrieved 2026-11-10, tier: lcsc)
- **Extractor:** parts-factory `2.0.0` / `extract_pins 0.3`, primary `claude-haiku-5-5` (text), consensus `claude-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).
[Datasheet PDF](docs/stm8af6246tasssx-datasheet.pdf)