ST Life.augmented

STM8S105K4

Mainstream Access line 8-bit MCU with 16 Kbytes Flash, 16 MHz CPU, integrated EEPROM
  • active Active

The STM8S105xx access line 8-bit microcontrollers offer from 16 to 32 Kbytes Flash program memory, plus integrated true data EEPROM. They are referred to as medium-density devices in the STM8S microcontroller family reference manual (RM0016).

All devices of the STM8S105xx access line provide the following benefits: reduced system cost, performance and robustness, short development cylces, and product longevity.

The system cost is reduced thanks to an integrated true data EEPROM for up to 300 kwrite/erase cycles and a high system integration level with internal clock oscillators, watchdog and brown-out reset.

Device performance is ensured by a 16 MHz CPU clock frequency and enhanced characteristics which include robust I/O, independent watchdogs (with a separate clock source), and a clock security system.

Short development cycles are guaranteed due to application scalability across a common family product architecture with compatible pinout, memory map and and modular peripherals. Full documentation is offered with a wide choice of development tools

Product longevity is ensured in the STM8S family thanks to their advanced core which is made in a state-of-the art technology for applications with 2.95 V to 5.5 V operating supply.

pdf Download Datasheet

Key Features

  • Core 16 MHz advanced STM8 core with Harvard architecture and 3-stage pipeline Extended instruction set
  • Memories Medium-density Flash/EEPROM: Program memory up to 32 Kbytes Flash; data retention 20 years at 55 °C after 10 kcycles Data memory up to 1Kbytes true data EEPROM; endurance 300 kcycles RAM: Up to 2 Kbytes
  • Clock, reset and supply management 2.95 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 37 external interrupts on 6 vectors
  • Timers 2x16-bit general purpose timer, with 2+3 CAPCOM channels (IC, OC or PWM) Advanced control timer: 16-bit, 4 CAPCOM channels, 3 complementary outputs, dead-time insertion and flexible synchronization 8-bit basic timer with 8-bit prescaler Auto wakeup timer Window watchdog, independent watchdog timers
  • Communications 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 10 multiplexed channels, scan mode and analog watchdog
  • I/OsUp to 38 I/Os on a 48-pin package including 16 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
  • Unique ID 96-bit unique ID key for each device

Circuit Diagram

Design Resources

Top

Technical Documentation

Product Specifications

Description Version Size
pdf
DS5855: Access line, 16 MHz STM8S 8-bit MCU, up to 32 Kbytes Flash, integrated EEPROM,10-bit ADC, timers, UART, SPI, I²C
12.0 1,247 KB

Application Notes

Description Version Size
pdf
AN1015: Software techniques for improving microcontroller EMC performance
1.7 104 KB
pdf
AN1181: Electrostatic discharge sensitivity measurement
1.4 59 KB
pdf
AN1709: EMC design guide for ST microcontrollers
1.7 657 KB
pdf
AN2639: Soldering recommendations and package information for Lead-free ECOPACK® microcontrollers
2.4 209 KB
pdf
AN2645: Migration and compatibility guidelines for STM8S microcontroller applications
1.2 524 KB
pdf
AN2646: Smartcard interface with the STM8S microcontroller
2.2 441 KB
pdf
AN2658: Using the analog to digital converter of the STM8S microcontroller
2.3 183 KB
pdf
AN2659: STM8 in-application programming (IAP) using a customized user-bootloader
4.0 281 KB
pdf
AN2719: Precision improvement techniques for the A/D converter of the STM8 microcontroller
2.4 238 KB
pdf
AN2737: Basic in-application programming example using the STM8 I²C and SPI peripherals
3.3 186 KB
pdf
AN2752: Getting started with the STM8S and STM8A
5.0 2,223 KB
pdf
AN2780: Real-time keeping on STM8S and STM8A devices and usage of auto-wakeup unit (AWU) and beeper
2.0 387 KB
pdf
AN2781: UART emulation software in STM8S and STM8A microcontrollers
2.0 102 KB
pdf
AN2822: STM8S and STM8A high speed internal oscillator calibration
2.0 196 KB
pdf
AN2857: STM8S and STM8A family power management
3.0 270 KB
pdf
AN2860: EMC guidelines for STM8 microcontrollers
5.0 262 KB
pdf
AN2867: Oscillator design guide for STM8S, STM8A, and STM32F1 microcontrollers
6.0 279 KB
pdf
AN2869: Guidelines for designing touch sensing applications
6.0 980 KB
pdf
AN2927: RC acquisition principle for touch sensing applications
2.3 156 KB
pdf
AN2945: STM8S and STM32™ MCUs: a consistent 8/32-bit product line for painless migration
1.2 213 KB
pdf
AN3143: Audio software codec for the STM8S
1.1 251 KB
pdf
AN3181: Guidelines for obtaining IEC 60335 Class B certification in an STM8 application
2.0 428 KB
pdf
AN3208: Microstepping motor drive with STM8A and STM8S microcontrollers
1.1 285 KB
pdf
AN3236: Guidelines to increase the number of touchkeys with the STM8 Touch Sensing Library
1.4 201 KB
pdf
AN3255: Building an RFID short-range reader using the STM8S-DISCOVERY
1.0 429 KB
pdf
AN3258: STM8A/S HSI oscillator calibration using LIN automatic resynchronization
1.1 176 KB
pdf
AN3259: RS232 communications with a terminal using the STM8S-DISCOVERY
1.0 298 KB
pdf
AN3260: Building a thermometer using the STM8S-DISCOVERY
1.0 291 KB
pdf
AN3265: Handling hardware and software failures with the STM8S-DISCOVERY
1.0 191 KB
pdf
AN3266: Using the STM8S-DISCOVERY GPIOs and interrupt controller to drive LEDs
1.0 105 KB
pdf
AN3277: Adjustable buzzer frequency using STM8S-DISCOVERY touch sensing key
1.1 184 KB
pdf
AN3279: Adjustable LED blinking speed using STM8S-DISCOVERY touch sensing key
1.1 144 KB
pdf
AN3280: Displaying variable voltage on a bar of LEDs using STM8S-DISCOVERY
1.1 148 KB
pdf
AN3281: STM8 I²C optimized examples
2.0 201 KB
pdf
AN3298: STM8S DALI slave library
1.1 392 KB
pdf
AN3332: Generating PWM signals using STM8S-DISCOVERY
1.0 84 KB
pdf
AN4243: The L6230 DMOS driver for three-phase brushless DC motor
1.0 933 KB

Technical Notes & Articles

Description Version Size
pdf
TN0075: Touch sensing software library (TSSL) frequently asked and anticipated questions (FAAQs)
1.6 61 KB
pdf
TN0189: STM8 bootloader frequently asked questions
2.3 321 KB

User Manual

Description Version Size
pdf
UM0462: STM32™ and STM8™ Flash loader demonstrator
7.0 1,673 KB
pdf
UM0470: STM8 SWIM communication protocol and debug module
3.3 532 KB
pdf
UM0560: STM8 bootloader
7.0 655 KB
pdf
UM0708: STM8Sxxx three-phase BLDC motor control software library V1.0
1.1 1,685 KB
pdf
UM0712: STM8S three-phase AC induction motor control software library V1.0
1.2 1,539 KB
pdf
UM1477: STEVAL-IFN004V1: BLDC six-step motor drive based on the L6230 and STM8
1.0 1,008 KB
pdf
UM1593: LIN 2.1 software package
1.0 1,018 KB

Reference Manual

Description Version Size
pdf
RM0016: STM8S and STM8AF microcontroller families
9.0 3,475 KB

Programming Manual

Description Version Size
pdf
PM0044: STM8 CPU programming manual
3.3 899 KB
pdf
PM0051: How to program STM8S and STM8A Flash program memory and data EEPROM
3.2 192 KB

Release Notes

Description Version Size
pdf
RN0027: STM8S motor control firmware libray package release 1.0
1.1 45 KB

Errata Sheet

Description Version Size
pdf
ES0110: STM8S005xx and STM8S105xx device limitations
5.0 239 KB

Device Option List

Description Version Size
zip
STM8S105x option list (16- to 32-Kbyte)
2 KB

Design Notes & Tips

Description Version Size
pdf
DN0005: A three phase induction motor drive using a V/F control
1.0 107 KB

Presentations & Training Material

Presentations

Description Version Size
pdf
STM32 and STM8 embedded software solutions
1,771 KB

Related Tools and Software

Related Tools and Software

Part Number Description
AD/Stice_Connect Connection Adapter to use with STICE-SYS00x emulation systems
AS/Stice_Connect Adapter Socket for application board - to use with STICE-SYS00x emulation systems
CF/Stice_Connect Connexion flex to use with STICE-SYS00x emulation systems
ST-LINK In-circuit debugger and programmer for STM8 and STM32 MCUs; with IAR EWARM and Keil RVMDK and ST toolset
ST-LINK/V2 ST-LINK/V2 in-circuit debugger/programmer for STM8 and STM32
STICE Full-featured emulator offers flexible, modular debugging and programming solution
STM-STUDIO STM Studio run-time variables monitoring and visualization tool
STM8-D/RAIS STM8 MCU daughter board for use with Raisonance REva starter kits
STM8-SK/RAIS Raisonance REva starter kit for STM8S MCUs, includes RLink
STM8-TOUCH-LIB STM8 touch sensing library
STM8/128-EV/TS STM8S evaluation board with Touch Sensing solution evaluation
STM8/128-EVAL Evaluation board for STM8S (128KB Flash) MCUs; with CAN, I2C, SPI and IrDA i/f
STM8/128-MCKIT Motor control starter kit for STM8S (128KB flash) microcontrollers
STM8S-DISCOVERY Discovery kit for the STM8S general-purpose 8-bit MCUs
STSW-MCU005 STM32 and STM8 Flash loader demonstrator
STSW-STM8004 STM8 optimized I2C examples (AN3281)
STSW-STM8006 Example of implementation of user bootloader (AN2659)
STSW-STM8025 STM8S DALI library example
STSW-STM8026 STM8S optimized examples package
STSW-STM8027 STM8S Smartcard application note firmware (AN2646)
STSW-STM8045 Audio software codec for the STM8S
STSW-STM8048 Precision improvement techniques for the A/D converter of the STM8 microcontroller
STSW-STM8049 Basic in-application programming example using the STM8 I2C and SPI peripherals
STSW-STM8050 Real-time keeping on STM8S devices and usage of auto-wakeup unit (AWU) and beeper
STSW-STM8051 UART emulation software in STM8S microcontrollers
STSW-STM8052 STM8S high speed internal oscillator calibration
STSW-STM8053 STM8S family power management
STSW-STM8060 Using the STM8S-DISCOVERY GPIOs and interrupt controller to drive LEDs (AN3266)
STSW-STM8062 STM8S in-application programming (IAP) using a customized bootloader
STSW-STM8063 Interfacing an HD44780 2-Line LCD display with the STM8SVLDISCOVERY
STSW-STM8064 Setup screensaver STM8 1024x768
STSW-STM8065 Setup screensaver STM8 1280x1024
STSW-STM8068 Erase/write routines for STM8 ROM bootloader (UM0560)
STSW-STM8069 STM8S/A Standard peripheral library
STSW-STM8075 STM8 Class B firmware package variations (AN3181)
STVD ST Visual develop IDE for developing ST7 and STM8 applications
STVP ST Visual Programmer for programming ST7, STM8, STM8T and STM32
STX-RLINK In-circuit debugger/programmer for STM8, ST7, STM32, STR7 and STR9 microcontrollers

Publications and Collaterals

Brochure

Description Version Size
pdf
STM8 8-bit MCU family
1,865 KB

Quality & Reliability

Product Certification

Description Version Size
pdf
VDE certification for STM8S ClassB f/w
1.0 1,850 KB
pdf
VDE certification for STM8S ClassB f/w
1.0 1,857 KB

Sample & Buy

Top
Part Number Marketing StatusPackagePacking TypeOperating Temperature (min) Operating Temperature (max) Automotive GradeOrder From STUnit Price (US$)*
@ 10000
Distributor AvailabilityRoHS Compliance GradeDownload
Material Declaration**
STM8S105K4B6ActivePDIP 32 .4STube-40125_-.865Distributor reported inventory date: 2013-05-24
Distributor NameRegionStockMin. order
ARROWOrder nowAMERICA960960
NUHORIZONSOrder nowAMERICA9601
RS COMPONENTSOrder nowEUROPE202
Ecopack2PDF
XML
STM8S105K4T3CActiveLQFP 32 7x7x1.4Tray-40125_-.769Distributor reported inventory date: 2013-05-24
Distributor NameRegionStockMin. order
ARROWOrder nowEUROPE7500
RS COMPONENTSOrder nowEUROPE8042
DIGIKEYOrder nowWORLDWIDE11151
Ecopack2PDF
XML
STM8S105K4T3CTRActiveLQFP 32 7x7x1.4Tape And Reel-40125_-.769Distributor reported inventory date: 2013-05-24
Distributor NameRegionStockMin. order
ARROWOrder nowEUROPE456000
Ecopack2PDF
XML
STM8S105K4T6CActiveLQFP 32 7x7x1.4Tray-40125_-.669Distributor reported inventory date: 2013-05-24
Distributor NameRegionStockMin. order
ARROWOrder nowAMERICA2361500
AVNETOrder nowAMERICA1450
P&SOrder nowASIA/PACIFIC1201
ARROWOrder nowEUROPE771550
FARNELLOrder nowEUROPE101
RS COMPONENTSOrder nowEUROPE1602
DIGIKEYOrder nowWORLDWIDE67351
Ecopack2PDF
XML
STM8S105K4T6CTRActiveLQFP 32 7x7x1.4Tape And Reel-40125_-.669Distributor reported inventory date: 2013-05-24
Distributor NameRegionStockMin. order
ARROWOrder nowAMERICA24002400
AVNETOrder nowAMERICA48000
ARROWOrder nowEUROPE168000
Ecopack2PDF
XML
STM8S105K4U6AActiveUFQFPN 32 5x5x0.55Tray-40125_-.661Distributor reported inventory date: 2013-05-24
Distributor NameRegionStockMin. order
ARROWOrder nowEUROPE6900
Ecopack2-

(*) Suggested Resale Price per unit (USD) for BUDGETARY USE ONLY. For quotes, prices in local currency, please contact your local ST Sales Office or our Distributors
(**) The Material Declaration forms available on st.com may be generic documents based on the most commonly used package within a package family. For this reason, they may not be 100% accurate for a specific device. Please contact our sales support for information on specific devices.
Feedback Form
Customer Feedback