Mainstream Value line 8-bit MCU with 8 Kbytes Flash, 16 MHz CPU, integrated EEPROM

The STM8S003F3/K3 value line 8-bit microcontrollers offer 8 Kbytes of Flash program memory, plus integrated true data EEPROM. They are referred to as low-density devices in the STM8S microcontroller family reference manual (RM0016).

The STM8S003F3/K3 value line devices provide the following benefits: performance, robustness and reduced system cost.

Device performance and robustness are ensured by true data EEPROM supporting up to 100000 write/erase cycles, advanced core and peripherals made in a state-of-the-art technology at 16 MHz clock frequency, robust I/Os, independent watchdogs with separate clock source, and a clock security system.

The system cost is reduced thanks to a high system integration level with internal clock oscillators, watchdog, and brown-out reset.

Full documentation is offered as well as a wide choice of development tools.

Key Features

  • Core
    • 16 MHz advanced STM8 core with Harvard architecture and 3-stage pipeline
    • Extended instruction set
  • Memories
    • Program memory: 8 Kbyte Flash memory; data retention 20 years at 55 °C after 100 cycles
    • RAM: 1 Kbyte
    • Data memory: 128 bytes true data EEPROM; endurance up to 100 k write/erase cycles
  • Clock, reset and supply management
    • 2.95 V to 5.5 V operating voltage
    • Flexible clock control, 4 master clock sources
      • Low-power crystal resonator oscillator
      • External clock input
      • Internal, user-trimmable 16 MHz RC
      • Internal low-power 128 kHz RC
    • Clock security system with clock monitor
    • Power management
      • Low-power modes (wait, active-halt, halt)
      • Switch-off peripheral clocks individually
      • Permanently active, low-consumption power-on and power-down reset
  • Interrupt management
    • Nested interrupt controller with 32 interrupts
    • Up to 27 external interrupts on 6 vectors
  • Timers
    • Advanced control timer: 16-bit, 4 CAPCOM channels, 3 complementary outputs, dead-time insertion and flexible synchronization
    • 16-bit general purpose timer, with 3 CAPCOM channels (IC, OC or PWM)
    • 8-bit basic timer with 8-bit prescaler
    • Auto wakeup timer
    • Window and independent watchdog timers
  • Communications interfaces
    • UART with clock output for synchronous operation, SmartCard, IrDA, LIN master mode
    • SPI interface up to 8 Mbit/s
    • I2 C interface up to 400 Kbit/s
  • Analog to digital converter (ADC)
    • 10-bit ADC, ± 1 LSB ADC with up to 5 multiplexed channels, scan mode and analog watchdog
  • I/Os
    • Up to 28 I/Os on a 32-pin package including 21 high-sink outputs
    • Highly robust I/O design, immune against current injection
  • Development support
    • Embedded single-wire interface module (SWIM) for fast on-chip programming and non-intrusive debugging

Resources

Technical Documentation

Product Specifications
Description Version Size
DS7147 DS7147: Value line, 16 MHz STM8S 8-bit MCU, 8 Kbyte Flash, 128 byte data EEPROM, 10-bit ADC, 3 timers, UART, SPI, I²C 9.0 1 MB
Application Notes
Description Version Size
AN3143 AN3143: Audio software codec for the STM8S 1.3 250 KB
AN3280 AN3280: Displaying variable voltage on a bar of LEDs using STM8S-DISCOVERY 1.3 148 KB
AN1709 AN1709: EMC design guide for ST microcontrollers 2.0 843 KB
AN2860 AN2860: EMC guidelines for STM8 microcontrollers 5.1 262 KB
AN1181 AN1181: Electrostatic discharge sensitivity measurement 1.6 49 KB
AN2752 AN2752: Getting started with the STM8S and STM8A 5.2 2 MB
AN3236 AN3236: Guidelines to increase the number of touch sensing touchkeys 4.0 300 KB
AN3208 AN3208: Microstepping motor drive with STM8A and STM8S microcontrollers 1.3 284 KB
AN2645 AN2645: Migration and compatibility guidelines for STM8S microcontroller applications 1.4 525 KB
AN2867 AN2867: Oscillator design guide for STM8AF/AL/S and STM32 microcontrollers 11.0 2 MB
AN3259 AN3259: RS232 communications with a terminal using the STM8S-DISCOVERY 1.2 299 KB
AN3258 AN3258: STM8AF and STM8S series HSI oscillator calibration using LIN automatic resynchronization 2.0 247 KB
AN3298 AN3298: STM8S DALI slave library 1.2 392 KB
AN2945 AN2945: STM8S and STM32™ MCUs: a consistent 8/32-bit product line for painless migration 1.3 212 KB
AN2857 AN2857: STM8S and STM8A family power management 3.2 268 KB
AN2822 AN2822: STM8S and STM8A high speed internal oscillator calibration 2.2 195 KB
AN2646 AN2646: Smartcard interface with the STM8S microcontroller 2.4 442 KB
AN2658 AN2658: Using the analog to digital converter of the STM8S microcontroller 2.5 183 KB
Technical Notes & Articles
Description Version Size
TN1163 TN1163: Description of WLCSP for microcontrollers and recommendations for its use 4.0 1 MB
TN0189 TN0189: STM8 bootloader frequently asked questions 2.4 320 KB
TN1205 TN1205: Tape and reel shipping media for STM8 and STM32 microcontrollers in FPN packages 3.0 753 KB
TN1206 TN1206: Tape and reel shipping media for STM8 and STM32 microcontrollers in QFP packages 3.0 830 KB
TN1207 TN1207: Tape and reel shipping media for STM8 and STM32 microcontrollers in SO packages 1.0 755 KB
TN1208 TN1208: Tape and reel shipping media for STM8 and STM32 microcontrollers in TSSOP and SSOP packages 1.0 743 KB
User Manuals
Description Version Size
UM1542 UM1542: Cold thermostat kit based on AC switches and the STM8S003F3 1.0 2 MB
UM1546 UM1546: STEVAL-IHM037V1 remote fan speed controller 1.0 810 KB
UM1480 UM1480: STM8SVLDISCOVERY quick start guide 1.1 84 KB
Reference Manuals
Description Version Size
RM0016 RM0016: STM8S Series and STM8AF Series 8-bit microcontrollers 14.0 9 MB
Programming Manuals
Description Version Size
PM0051 PM0051: How to program STM8S and STM8A Flash program memory and data EEPROM 3.4 191 KB
PM0044 PM0044: STM8 CPU programming manual 3.4 899 KB
Errata Sheets
Description Version Size
ES0102 ES0102: STM8S001J3, STM8S003xx, STM8S103xx and STM8S903xx device limitations 5.0 262 KB
Design Notes & Tips
Description Version Size
DN0005 DN0005: A three phase induction motor drive using a V/F control 2.1 528 KB

HW Model, CAD Libraries & SVD

HW Model, CAD Libraries & SVD
Description Version Size
STM8S CAD Symbol and Footprint files 1.3 1 MB

Presentations & Training Material

Presentations
Description Version Size
STM32 and STM8 Functional Safety Packages 2 1 MB
STM32 and STM8 embedded software solutions 3.2 2 MB

Publications and Collaterals

Flyers
Description Version Size
Get ready for the largest IoT development ecosystem 17.02 741 KB
STM8CubeMX eases STM8 configuration 1.0 532 KB
Brochures
Description Version Size
STM8 8-bit MCU family 17.03 1 MB

Quality & Reliability

Product Certifications
Description Version Size
VDE certification for STM8S ClassB f/w 1.0 1 MB
VDE certification for STM8S ClassB f/w 1.0 1 MB

Tools and Software

Development Tools
Hardware Development Tools
Software Development Tools
Embedded Software
MCUs Embedded Software