Skip to the content
PCBKitNew board
STM8AF6213PCX on a board, in 3D

STM8AF6213PCX

STMicroelectronics

-40℃~+125℃ 10bit 16 16MHz 1KB 3V~5.5V 4KB 640Byte 8 Bit Built-in FLASH STM8A TSSOP-20(4.4x6.4) Microcontrollers (MCU/MPU/SOC) ROHS

Extended
DatasheetJLCPCBLCSCst/STM8AF6213PCX
Category
Microcontroller Units (MCUs, MPUs, SOCs)
Package
TSSOP-20(4.4x6.4)
Pins
20

Overview

The STM8AF6213PCX is a microcontroller Unit made by STMicroelectronics in a TSSOP-20(4.4x6.4) package with 20 pins. -40℃~+125℃ 10bit 16 16MHz 1KB 3V~5.5V 4KB 640Byte 8 Bit Built-in FLASH STM8A TSSOP-20(4.4x6.4) Microcontrollers (MCU/MPU/SOC) ROHS.

PCBKit's library has its KiCad symbol (EasyEDA_Cloud:STM8AF6213PCU, from EasyEDA) and its footprint (Package_SO:TSSOP-20_4.4x6.5mm_P0.65mm, from KiCad's library), ready for a KiCad board. JLCPCB lists it (part C2054216).

Symbol

[LINUART_CK]TIM5_CH1/BEEP/(HS)PD41AIN5/LINUART_TX/(HS)PD52AIN6/LINUART_RX/(HS)PD63NRST4OSCIN/PA15OSCOUT/PA26VSS7VCAP8VDD9[SPI_NSS]TIM5_CH3/(HS)PA310PB5(T)/I2C_SDA[TIM1_BKIN]11PB4(T)/I2C_SCL[ADC_ETR]12PC3(HS)/TIM1_CH3[TLI][TIM1_CH1N]13PC4(HS)/TIM1_CH4/CLK_CCO/AIN2[TIM1_CH2N]14PC5(HS)/SPI_SCK[TIM5_CH1]15PC6(HS)/SPI_MOSI[TIM1_CH1]16PC7(HS)/SPI_MISO[TIM1_CH2]17PD1(HS)/SWIM18PD2(HS)/AIN3[TIM5_CH3]19PD3(HS)/AIN4/TIM5_CH2/ADC_ETR20
EasyEDA_Cloud:STM8AF6213PCUFrom EasyEDA

Footprint

1234567891011121314151617181920
Package_SO:TSSOP-20_4.4x6.5mm_P0.65mmFrom KiCad's library

Parameters

12
ADC (Bit)
10bit
CPU Core
STM8A
CPU Maximum Speed
16MHz
Core Size
8 Bit
EEPROM
640Byte
Number of I/O
16
Operating Temperature
-40℃~+125℃
Oscillator Type
Built-in
Program Memory Type
FLASH
Program Storage Size
4KB
RAM Size
1KB
Voltage - Supply
3V~5.5V

Order codes

1

Pinout

20
The pins of the STM8AF6213PCX
PinNameType
1[LINUART_CK]TIM5_CH1/BEEP/(HS)PD4Unspecified
2AIN5/LINUART_TX/(HS)PD5Unspecified
3AIN6/LINUART_RX/(HS)PD6Unspecified
4NRSTUnspecified
5OSCIN/PA1Unspecified
6OSCOUT/PA2Unspecified
7VSSUnspecified
8VCAPUnspecified
9VDDUnspecified
10[SPI_NSS]TIM5_CH3/(HS)PA3Unspecified
11PB5(T)/I2C_SDA[TIM1_BKIN]Unspecified
12PB4(T)/I2C_SCL[ADC_ETR]Unspecified
13PC3(HS)/TIM1_CH3[TLI][TIM1_CH1N]Unspecified
14PC4(HS)/TIM1_CH4/CLK_CCO/AIN2[TIM1_CH2N]Unspecified
15PC5(HS)/SPI_SCK[TIM5_CH1]Unspecified
16PC6(HS)/SPI_MOSI[TIM1_CH1]Unspecified
17PC7(HS)/SPI_MISO[TIM1_CH2]Unspecified
18PD1(HS)/SWIMUnspecified
19PD2(HS)/AIN3[TIM5_CH3]Unspecified
20PD3(HS)/AIN4/TIM5_CH2/ADC_ETRUnspecified

Show this part on your page

A live frame, for any web page
<iframe src="https://pcbkit.io/embed/parts/st/STM8AF6213PCX" title="STM8AF6213PCX in PCBKit" width="100%" height="480" style="border:0;border-radius:12px" allow="fullscreen" loading="lazy"></iframe>
A picture
<img src="https://pcbkit.io/embed/parts/st/STM8AF6213PCX.jpg" alt="STM8AF6213PCX" width="1200" height="900">
A picture that opens the part, for a README
[![STM8AF6213PCX](https://pcbkit.io/embed/parts/st/STM8AF6213PCX.jpg?size=s)](https://pcbkit.io/parts/st/STM8AF6213PCX)

Questions

Is there a KiCad symbol and footprint for the STM8AF6213PCX?

Yes. The symbol is EasyEDA_Cloud:STM8AF6213PCU and the footprint Package_SO:TSSOP-20_4.4x6.5mm_P0.65mm, both drawn on this page. PCBKit places them on a board for you when you design with it.

What package is the STM8AF6213PCX?

TSSOP-20(4.4x6.4), with 20 pins. Its footprint is drawn on this page.

Where is the STM8AF6213PCX datasheet?

STMicroelectronics publishes it: the Datasheet link on this page opens it.

Where can I order the STM8AF6213PCX?

JLCPCB lists it as part C2054216, with 0 in stock; the sellers' links on this page open their listings.

What can replace the STM8AF6213PCX?

Parts like it in the library: the HC89S003AF4P7M by Shanghai Holychip Elec, the HC89F0332-TSSO20-T-M by Shanghai Holychip Elec, the ES7P169CFGTF by Qingdao Eastsoft Communication Tech and the HR7P169BFGTF by Qingdao Eastsoft Communication Tech. Check their datasheets: a part that fits the footprint may still differ in its ratings.

Parts like it

8