STM8S003
Every spec below is cited to the manufacturer datasheet. Pick your exact ordering code, compare the closest alternatives, then ask the assistant what it means for your design.
What the STM8S003 family does
The STM8S003F3 and STM8S003K3 are 8-bit microcontrollers featuring a 16 MHz core, 8 Kbyte Flash memory, and 128 bytes of data EEPROM. These devices operate on a 2.95 V to 5.5 V supply and integrate a 10-bit ADC, three timers, UART, SPI, and I2C interfaces. The STM8S003F3 offers up to 28 I/Os in a 32-pin package, while the STM8S003K3 provides 27 I/Os in a 32-pin LQFP32 package. Both variants support low-power modes including wait, active-halt, and halt states. Engineers typically use these microcontrollers for embedded control applications requiring robust I/O design, flexible clock control, and an embedded single-wire interface module for fast on-chip programming and non-intrusive debugging.
STM8S003F3 datasheet parameters
| Parameter | Min | Typ | Max | Conditions | Source |
|---|---|---|---|---|---|
| quiescent current | — | 150 µA | 200 µA | On; Power-down mode; LSI RC oscillator (128 kHz); idd(ah); Total current consumption in active halt mode at $ VDD = 5 \, V $ | ST datasheet, p. 55 — Table 25. Total current consumption in active halt mode at |
| output current (abs max) | — | — | 20 mA | iio; Current characteristics | ST datasheet, p. 48 — Table 17. Current characteristics |
| supply voltage range | 2.95 V | — | 5.5 V | fCPU≤ 16 MHz; vdd(all modes, execution/write/erase); Flash program memory and data EEPROM | ST datasheet, p. 65 — Table 37. Flash program memory and data EEPROM |
| operating temperature | -40 °C | — | 85 °C | Maximum power dissipation; ta; General operating conditions | ST datasheet, p. 49 — Table 19. General operating conditions |
| clock frequency | 1 MHz | — | 6 MHz | VDDA = 4.5 to 5.5 V; fadc; ADC characteristics | ST datasheet, p. 82 — Table 45. ADC characteristics |
| power dissipation | — | — | 238 mW | TSSOP20; pd; General operating conditions | ST datasheet, p. 49 — Table 19. General operating conditions |
| cpu speed | — | 16 MHz | — | ST datasheet, p. 1 | |
| program memory size | — | 7.81 KB | — | ST datasheet, p. 10 — Table 1. STM8S003F3/K3 value line features | |
| ram size | — | 1 kB | — | ST datasheet, p. 10 — Table 1. STM8S003F3/K3 value line features | |
| io count | — | 16 | — | ST datasheet, p. 10 — Table 1. STM8S003F3/K3 value line features | |
| adc resolution | — | 10 bit | — | ST datasheet, p. 82 — Table 45. ADC characteristics | |
| core size | — | 8 bit | — | ST datasheet, p. 1 | |
| rise time | — | — | 20 ns | Fast I/OsLoad = 50 pF; tr(10% - 90%); I/O static characteristics | ST datasheet, p. 66 — Table 38. I/O static characteristics |
| data retention | 20 year | — | — | TRET = 55 °C; tret(data memory); Flash program memory and data EEPROM | ST datasheet, p. 65 — Table 37. Flash program memory and data EEPROM |
| program erase cycles | 100 cycle | — | — | TA = 85 °C; (program memory); Flash program memory and data EEPROM | ST datasheet, p. 65 — Table 37. Flash program memory and data EEPROM |
STM8S003F3 frequently asked questions
What is the ADC resolution of the STM8S003F3?
The ADC resolution is 10 bit.
What is the maximum clock frequency when VDDA is between 4.5 V and 5.5 V?
The maximum clock frequency is 6 MHz.
What is the core size of the STM8S003F3?
The core size is 8 bit.
What is the maximum CPU speed of the STM8S003F3?
The maximum CPU speed is 16 MHz.
What is the data retention time for the Flash program memory and data EEPROM at TRET = 55 °C?
The data retention time is 20 year.
How many I/O pins does the STM8S003F3 have?
The STM8S003F3 has 16 I/O pins.
What is the maximum operating temperature under general operating conditions at maximum power dissipation?
The maximum operating temperature is 85 °C.
What is the output current (iio) specified in the Current characteristics for the STM8S003F3?
The output current (iio) is 20 mA.
What is the power dissipation for the STM8S003F3 in a TSSOP20 package under general operating conditions?
The power dissipation is 238 mW.
What is the program erase cycle endurance for the STM8S003F3 Flash program memory and data EEPROM at TA = 85 °C?
The program erase cycles are 100 cycle.
What is the program memory size of the STM8S003F3?
The program memory size is 7.81 KB.
What is the quiescent current in active halt mode with the LSI RC oscillator (128 kHz) at VDD = 5 V?
The quiescent current is 150 µA.
STM8S003K3 datasheet parameters
| Parameter | Min | Typ | Max | Conditions | Source |
|---|---|---|---|---|---|
| quiescent current | — | 200 µA | 260 µA | On; Operating mode; LSI RC oscillator (128 kHz); idd(ah); Total current consumption in active halt mode at $ VDD = 5 \, V $ | ST datasheet, p. 55 — Table 25. Total current consumption in active halt mode at |
| output current (abs max) | — | — | -20 mA | iio; Current characteristics | ST datasheet, p. 48 — Table 17. Current characteristics |
| supply voltage range | 2.95 V | — | 5.5 V | fCPU≤ 16 MHz; vdd(all modes, execution/write/erase); Flash program memory and data EEPROM | ST datasheet, p. 65 — Table 37. Flash program memory and data EEPROM |
| operating temperature | -40 °C | — | 85 °C | Maximum power dissipation; ta; General operating conditions | ST datasheet, p. 49 — Table 19. General operating conditions |
| clock frequency | 1 MHz | — | 4 MHz | VDDA = 3 to 5.5 V; fadc; ADC characteristics | ST datasheet, p. 82 — Table 45. ADC characteristics |
| power dissipation | — | — | 238 mW | TSSOP20; pd; General operating conditions | ST datasheet, p. 49 — Table 19. General operating conditions |
| cpu speed | — | 16 MHz | — | ST datasheet, p. 1 | |
| program memory size | — | 7.81 KB | — | ST datasheet, p. 10 — Table 1. STM8S003F3/K3 value line features | |
| ram size | — | 1 kB | — | ST datasheet, p. 10 — Table 1. STM8S003F3/K3 value line features | |
| io count | — | 28 | — | ST datasheet, p. 10 — Table 1. STM8S003F3/K3 value line features | |
| adc resolution | — | 10 bit | — | ST datasheet, p. 82 — Table 45. ADC characteristics | |
| core size | — | 8 bit | — | ST datasheet, p. 1 | |
| rise time | — | — | 20 ns | Fast I/OsLoad = 50 pF; tr(10% - 90%); I/O static characteristics | ST datasheet, p. 66 — Table 38. I/O static characteristics |
| fall time | — | — | 300 ns | tf(sda) | ST datasheet, p. 80 — Table 44. I C characteristics |
| data retention | 20 year | — | — | TRET = 55 °C; tret(data memory); Flash program memory and data EEPROM | ST datasheet, p. 65 — Table 37. Flash program memory and data EEPROM |
| program erase cycles | 100 kcycle | — | — | TA = 85 °C; (data memory); Flash program memory and data EEPROM | ST datasheet, p. 65 — Table 37. Flash program memory and data EEPROM |
| load capacitance | — | — | 20 pF | c; HSE oscillator characteristics | ST datasheet, p. 62 — Table 33. HSE oscillator characteristics |