STM8S103F2:Mainstream Access line 8-bit MCU with 4 Kbytes Flash, 16 MHz CPU, integrated EEPROM

The STM8S103F2/x3 access line 8-bit microcontrollers offers 8 Kbyte Flash program memory, plus integrated true data EEPROM. The STM8S microcontroller family reference manual (RM0016) refers to devices in this family as low-density. They provide the following benefits: performance, robustness, and reduced system cost.

Device performance and robustness are ensured by advanced core and peripherals made in a state-of-the art technology, a 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 an integrated true data EEPROM for up to 300 k write/erase cycles and 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; data retention 20 years at 55 °C after 10 kcycle
    • Data memory: 640 byte true data EEPROM; endurance 300 kcycle
    • RAM: 1 Kbyte
  • Clock, reset and supply management
    • Low-power modes (wait, active-halt, halt)
    • Switch-off peripheral clocks individually
    • Clock security system with clock monitor
    • Power management:
      • Low-power modes (wait, active-halt, halt)
      • Switch-off peripheral clocks individually
      • Clock security system with clock monitor
      • Internal low-power 128 kHz RC
    • 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 wake-up timer
    • Window watchdog and independent watchdog timers
  • Communication interfaces
    • UART with clock output for synchronous operation, SmartCard, IrDA, LIN master mode
    • SPI interface up to 8 Mbit/s
    • I2C interface up to 400 kbit/s
  • Analog to digital converter (ADC)
    • 10-bit, ±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
  • Unique ID
    • 96-bit unique key for each device
Product Specifications
DescriptionVersionSize
DS6120: Access line, 16 MHz STM8S 8-bit MCU, up to 8 Kbytes Flash, data EEPROM,10-bit ADC, 3 timers, UART, SPI, I²C13.01 MB
Application Notes
DescriptionVersionSize
AN3143: Audio software codec for the STM8S1.2250 KB
AN3280: Displaying variable voltage on a bar of LEDs using STM8S-DISCOVERY1.3148 KB
AN1709: EMC design guide for ST microcontrollers2.0843 KB
AN2860: EMC guidelines for STM8 microcontrollers5.1262 KB
AN1181: Electrostatic discharge sensitivity measurement1.649 KB
AN2752: Getting started with the STM8S and STM8A5.22 MB
AN3236: Guidelines to increase the number of touch sensing touchkeys4.0300 KB
AN3208: Microstepping motor drive with STM8A and STM8S microcontrollers1.3284 KB
AN2645: Migration and compatibility guidelines for STM8S microcontroller applications1.3523 KB
AN2867: Oscillator design guide for STM8S, STM8A and STM32 microcontrollers10.02 MB
AN2927: RC acquisition principle for touch sensing applications2.4156 KB
AN3259: RS232 communications with a terminal using the STM8S-DISCOVERY1.2299 KB
AN3258: STM8AF and STM8S series HSI oscillator calibration using LIN automatic resynchronization2.0247 KB
AN3298: STM8S DALI slave library1.2392 KB
AN2945: STM8S and STM32™ MCUs: a consistent 8/32-bit product line for painless migration1.3212 KB
AN2857: STM8S and STM8A family power management3.2268 KB
AN2822: STM8S and STM8A high speed internal oscillator calibration2.2195 KB
AN2646: Smartcard interface with the STM8S microcontroller2.3441 KB
AN2658: Using the analog to digital converter of the STM8S microcontroller2.5183 KB
Technical Notes & Articles
DescriptionVersionSize
TN1163: Description of WLCSP for microcontrollers and recommendations for its use4.01 MB
TN0189: STM8 bootloader frequently asked questions2.4320 KB
TN1205: Tape and reel shipping media for STM8 and STM32 microcontrollers in FPN packages3.0753 KB
TN1206: Tape and reel shipping media for STM8 and STM32 microcontrollers in QFP packages3.0830 KB
TN1207: Tape and reel shipping media for STM8 and STM32 microcontrollers in SO packages1.0755 KB
TN1208: Tape and reel shipping media for STM8 and STM32 microcontrollers in TSSOP and SSOP packages1.0743 KB
User Manuals
DescriptionVersionSize
UM1502: STEVAL-MKI111V1 - water level detection based on the LPS001WP MEMS pressure sensor1.2808 KB
Reference Manuals
DescriptionVersionSize
RM0016: STM8S series and STM8AF series 8-bit microcontrollers12.14 MB
Programming Manuals
DescriptionVersionSize
PM0051: How to program STM8S and STM8A Flash program memory and data EEPROM3.3192 KB
PM0044: STM8 CPU programming manual3.4899 KB
Errata Sheets
DescriptionVersionSize
ES0102: STM8S003xx, STM8S103xx and STM8S903xx device limitations4.0328 KB
Device Option Lists
DescriptionVersionSize
STM8S103x option list (4- to 8-Kbyte)2.01 KB
Design Notes & Tips
DescriptionVersionSize
DN0005: A three phase induction motor drive using a V/F control2.1528 KB
HW Model & CAD Libraries
DescriptionVersionSize
STM8S CAD Symbol and Footprint files1.01 MB
Presentations
DescriptionVersionSize
STM32 and STM8 Functional Safety Packages21 MB
STM32 and STM8 embedded software solutions2.02 MB
Flyers
DescriptionVersionSize
Get ready for the largest IoT development ecosystem16.08721 KB
Brochures
DescriptionVersionSize
STM8 8-bit MCU family15.101 MB
Product Certifications
DescriptionVersionSize
VDE certification for STM8S ClassB f/w1.01 MB
VDE certification for STM8S ClassB f/w1.01 MB
Hardware Development Tools
Part NumberManufacturerDescription
AD/Stice_ConnectSTConnection Adapter to use with STICE-SYS00x emulation systems
AS/Stice_ConnectSTAdapter Socket for application board - to use with STICE-SYS00x emulation systems
CF/Stice_ConnectSTConnexion flex to use with STICE-SYS00x emulation systems
ST-LINKSTIn-circuit debugger and programmer for STM8 and STM32 MCUs; with IAR EWARM and Keil RVMDK and ST toolset
ST-LINK/V2STST-LINK/V2 in-circuit debugger/programmer for STM8 and STM32
STICESTFull-featured emulator offers flexible, modular debugging and programming solution
STM8-D/RAISSTMicroelectronics;RaisonanceSTM8 MCU daughter board for use with Raisonance REva starter kits
STX-RLINKRaisonanceIn-circuit debugger/programmer for STM8, ST7, STM32, STR7 and STR9 microcontrollers
Software Development Tools
Part NumberManufacturerDescription
FLASHER-STM8STSTM8 Flash loader demonstrator (UM0462)
IAR-EWSTM8IARIAR Integrated development environment and optimizing C compiler for STM8
IDEACosmicCosmic's toolchain for the STM8 family is part of a complete and uniform product line incorporating over 20 years of innovative design and development. Cosmic tools for STM8, 32K Special Edition limited to 32K bytes of code, one year free license available at Cosmic.
RIDE-STM8RaisonanceRaisonance branded integrated development environment for STM8 MCUs
STM-STUDIO-STM8STSTM Studio run-time variables monitoring and visualization tool for STM8 microcontrollers
STVD-STM8STST Visual develop IDE for developing ST7 and STM8 applications
STVP-LIB-STM8STSTVP programming toolkit: C++ source files for creating PC programming interface
STVP-STM8STST Visual Programmer STM8
winIDEA-STM8iSYSTEMiSYSTEM's complete software development and test solution for the STM8 MCUs
MCUs Embedded Software
Part NumberManufacturerDescription
STM8-SafeCLASSBSTFunctional safety package to achieve IEC 60730 Class B certification with the STM8
STM8S-TOUCH-LIBSTM8S touch-sensing library
STSW-STM8004STSTM8 optimized I2C examples (AN3281)
STSW-STM8006STExample of implementation of user bootloader (AN2659)
STSW-STM8020STSTM8S and STM8A BLDC and ACIM motor control firmware library V1.0 (UM0708)
STSW-STM8025STSTM8S DALI library example (AN3298)
STSW-STM8026STSTM8S optimized examples package
STSW-STM8027STSTM8S Smartcard application note firmware (AN2646)
STSW-STM8045STAudio software codec for the STM8S
STSW-STM8048STPrecision improvement techniques for the A/D converter of the STM8 microcontroller (AN2719)
STSW-STM8049STBasic in-application programming example using the STM8 I2C and SPI peripherals (AN2737)
STSW-STM8050STReal-time keeping on STM8S devices and usage of auto-wakeup unit (AWU) and beeper (AN2780)
STSW-STM8051STUART emulation software in STM8S and STM8A microcontrollers (AN2781)
STSW-STM8052STSTM8S high speed internal oscillator calibration (AN2822)
STSW-STM8053STSTM8S family power management (AN2857)
STSW-STM8062STSTM8 in-application programming (IAP) using a customized bootloader (AN2659)
STSW-STM8064STSetup screensaver STM8 1024x768
STSW-STM8065STSetup screensaver STM8 1280x1024
STSW-STM8069STSTM8S/A Standard peripheral library
STSW-STM8075STGuidelines for obtaining IEC 60335 Class B certification in an STM8 application (AN3181)
STSW-STM8077STSTM8AF and STM8S HSI oscillator calibration using LIN automatic resynchronization (AN3258)
TAP-KNX-KAIStackTapkoKNX home automation for STM8 and STM32, from Tapko Technologies GMBH
Product Evaluation Tools
Part NumberManufacturerDescription
STM8-SK/RAISRaisonanceRaisonance REva starter kit for STM8S MCUs, includes RLink
STM8/128-EV/TSSTSTM8S evaluation board with Touch Sensing solution evaluation
STM8/128-EVALSTEvaluation board with STM8S208MB MCU
STM8/128-MCKITSTMotor control starter kit for STM8S (128KB flash) microcontrollers
STM8S-DISCOVERYSTDiscovery kit with STM8S105C6 MCU
Solution Evaluation Tools
Part NumberManufacturerDescription
STEVAL-IHM029V2STUniversal motor control evaluation board based on the STM8S103F2 MCU and T1235T Triac
STEVAL-IHM041V1Universal motor driver with speed control based on the STM8 and Triac (US version)
STEVAL-IHT001V2Cold thermostat kit based on AC switches and the STM8S
STEVAL-ILD004V1STDigital wall dimmer for halogen and low-consumption lamps
Sample & Buy
Part NumberPackagePacking TypeOperating Temperature (°C) (min)Operating Temperature (°C) (max)Unit Price (US$) *QuantityECCN (EU)ECCN (US)Country of Origin
STM8S103F2U6TRUFQFPN 20 3x3x0.6Tape And Reel-40850.42410000NECEAR99PHILIPPINES
STM8S103F2P3TRTSSOP 20Tape And Reel-401250.51910000NECEAR99PHILIPPINES
STM8S103F2P3TSSOP 20Tube-401250.51910000NECEAR99PHILIPPINES
STM8S103F2P6TRTSSOP 20Tape And Reel-40850.4510000NECEAR99PHILIPPINES
STM8S103F2M6TRSO-20Tape And Reel-40850.51110000NECEAR99MALAYSIA
STM8S103F2M6SO-20Tube-40850.51110000NECEAR99MALAYSIA
STM8S103F2P6TSSOP 20Tube-40850.4510000NECEAR99PHILIPPINES
Quality & Reliability
Part NumberPackageGradeRoHS Compliance GradeMaterial Declaration**
STM8S103F2U6TRUFQFPN 20 3x3x0.6IndustrialEcopack2
STM8S103F2P3TRTSSOP 20IndustrialEcopack2y3ya_767xxxy_signed.pdf
y3ya_767xxxy.xml
STM8S103F2P3TSSOP 20IndustrialEcopack2y3ya_767xxxy_signed.pdf
y3ya_767xxxy.xml
STM8S103F2P6TRTSSOP 20IndustrialEcopack2x1ya_767xxxy_signed.pdf
x1ya_767xxxy.xml
STM8S103F2M6TRSO-20IndustrialEcopack1
STM8S103F2M6SO-20IndustrialEcopack1
STM8S103F2P6TSSOP 20IndustrialEcopack2x1ya_767xxxy_signed.pdf
x1ya_767xxxy.xml
Access line, 16 MHz STM8S 8-bit MCU, up to 8 Kbytes Flash, data EEPROM,10-bit ADC, 3 timers, UART, SPI, I²C STM8S103K3
circuit_diagram_15441_thumbnail.png STM8S103K3
Audio software codec for the STM8S STM8S903K3
Displaying variable voltage on a bar of LEDs using STM8S-DISCOVERY STM8S-DISCOVERY
EMC design guide for ST microcontrollers STM8L101G3
EMC guidelines for STM8 microcontrollers STM8L101G3
Electrostatic discharge sensitivity measurement STM8L101G3
STM8S 和 STM8A 入门 STM8S903K3
Guidelines to increase the number of touch sensing touchkeys STM8L101G3
Microstepping motor drive with STM8A and STM8S microcontrollers STM8S903K3
Migration and compatibility guidelines for STM8S microcontroller applications STM8S903K3
Oscillator design guide for STM8S, STM8A and STM32 microcontrollers STM32L471ZE
RC acquisition principle for touch sensing applications STM8TL53C4
RS232 communications with a terminal using the STM8S-DISCOVERY STM8S-DISCOVERY
STM8AF and STM8S series HSI oscillator calibration using LIN automatic resynchronization STM8S903K3
STM8S DALI slave library STM8S903K3
STM8S 和 STM32™ MCU:一致的 8/32 位产品线实现轻松移植 STM8S903K3
STM8S and STM8A family power management STM8S903K3
STM8S and STM8A high speed internal oscillator calibration STM8S903K3
Smartcard interface with the STM8S microcontroller STM8S903K3
Using the analog to digital converter of the STM8S microcontroller STM8S903K3
Description of WLCSP for microcontrollers and recommendations for its use STM8L101G3
STM8 bootloader frequently asked questions STM8L101G3
Tape and reel shipping media for STM8 and STM32 microcontrollers in FPN packages STM8L101G3
Tape and reel shipping media for STM8 and STM32 microcontrollers in QFP packages STM8L101G3
Tape and reel shipping media for STM8 and STM32 microcontrollers in SO packages STM8L101G3
Tape and reel shipping media for STM8 and STM32 microcontrollers in TSSOP and SSOP packages STM8L101G3
STEVAL-MKI111V1 - water level detection based on the LPS001WP MEMS pressure sensor STM8S103F2
STM8S series and STM8AF series 8-bit microcontrollers STM8S903K3
How to program STM8S and STM8A Flash program memory and data EEPROM STM8S903K3
STM8 CPU programming manual STM8L101G3
STM8S003xx, STM8S103xx and STM8S903xx device limitations STM8S903K3
STM8S003xx, STM8S103xx and STM8S903xx device limitations STM8S103K3
A three phase induction motor drive using a V/F control STM8S903K3
A three phase induction motor drive using a V/F control STM8S903K3
STM8L101xx device limitations STM8L101G3
STM8L101xx device limitations STM8L101G3
STM32 LoRa® software expansion for STM32Cube I-CUBE-LRWAN
STM8L101xx device limitations STM8L101G3
A three phase induction motor drive using a V/F control STM8S903K3
A three phase induction motor drive using a V/F control STM8S903K3
y3ya_767xxxy_signed.pdf STM8S103F2
y3ya_767xxxy.xml STM8S103F2
x1ya_767xxxy_signed.pdf STM8S103F2
x1ya_767xxxy.xml STM8S103F2