STM8





Home Page



STM8 Index





Link
         
In general, documentation, application notes, software etc., refer to the website dedicated to STM8 which you can access by clicking:
STM8S
STM8S Standard family, official page: http://www.st.com/internet/mcu/subclass/1244.jsp
STM8L
STM8L Ultra Low Power, official page: http://www.st.com/internet/mcu/subclass/1381.jsp
My STM8L page click
here

STM8A
STM8A Automotive, official page: http://www.st.com/web/en/catalog/mmc/FM141/SC1244/SS1583
STM8AL
STM8TL5x and STM8T14x
Ultra-low-power multi channels touch controller and proximity detection.
http://www.st.com/internet/mcu/subclass/1380.jsp


UP





Presentations





STM8S Features and Benefits


STM8L Features and Benefits


STM8A Features and Benefits


STM8T Features and Benefits




SW Tools

Touch sensing Library

Now there is another free C compiler (and not only) that you can find here.


A wide choice of solutions


Now there is another free C compiler (and not only) that you can find here.



Now there is another free C compiler (and not only) that you can find here.

UP






Portfolio



STM8S ----------------------------------------------------------------------------------------------------------------------------------




STM8L ----------------------------------------------------------------------------------------------------------------------------------





STM8A ----------------------------------------------------------------------------------------------------------------------------------





STM8T ----------------------------------------------------------------------------------------------------------------------------------


UP




Block Diagram

STM8 Generic block diagram


STM8 Value Line



UP




TUTORIAL and SW examples


  • New (06/2016) - Step By Step that explain how to start to develop a new program on STM8S is here
  • Tutorial that explains how to start developing on STM8S with two examples for SILICA STM8S-EvaBoard already developed plus schematics etc, click here
  • How to install the new driver for ST-Link-v2 and STM8 software for test the configuration is here
  • Tutorial that explain how to use TIM4 on STM8S Discovery and excel sheet to calculate parameters for TIM4, is here.
  • Tutorial that explain how to use TIM4 and TIM1 under interrupts, is here
  • Tutorial that explain how to implement an Input reading with debounce and test it on STM8S Discovery, is here.
  • STM8S208 EEPROM @near unsigned char EVal4000  @0x4000, Inter.Mode, Test-R/W, IntOsc16MHz, LCD, SystemTick blinking Led4-4ms (STM8S-ex1) is here.
    This SW works on STM8/128-EVAL and uses:
    + Internal 16MHz rc
    + EEPROM test at address 0x40A5 using declaration @near unsigned char EVal4000  @0x4000;
    + Read Byte
    + Complement Byte
    + Write Complement Byte
    + Test if Write is OK
    + LCD show the EEPROM test
    + SysTick TIM4 approximately 4mS on LED4
  • STM8S208 EEPROM InterMode, Test-R/W, IntOsc16MHz, LCD, SystemTick blinking Led4-4ms (STM8S-ex2) is here
    This SW works on STM8/128-EVAL and uses:
    + Internal 16MHz rc
    + EEPROM test at address 0x40A5
    + Read Byte
    + Complement Byte
    + Write Complement Byte
    + Test if Write is OK
    + LCD show the EEPROM test
    + SysTick TIM4 approximately 4mS on LED4
  • STM8S208 ADCinterupt, BoubleShort, IntOsc16Mhz, LCD, SysTick blinking Led4 1s (STM8S-ex3) is here
    This SW works on STM8/128-EVAL and uses:
    + Internal 16MHz rc
    + ADC read PE6 - AIN9 connected to Potentiometer
    + Include a Bubble Short using for stabilize the ADC result
    + LCD show the ADC value of the Potentiometer
    + SysTick TIM4 1mS
    + KEY button (uder Interupt) to On/Off LCD light
    + Auto OFF LCD light
  • STM8 LCD driver 4x20 ( HD44780 interface ) - By Giorgio R. (STM8S-ex4) is here
    Thanks to our friend Giorgio who sharing his library for driving LCD 4x20 using STM8.
    This SW is easy to traslate on another MCU.

    Features:
    + Tested everything with STM8S208 to 16MHz
    + DELAY are obviously related to the frequency of micro (16Mhz)
    + Hitachi HD44780 interface
    + 8 characters "built" in CGRAM
  • How to change Touch Button Sensitivity on STM8S Discovery - click here
  • Click Here to get: Touch Sensing Library 
  • Flow diagram for developing software in C on STM8
  • How to install Tools SW and HW - click here (pdf)
  • STM8S e la sua EEPROM
  • STM8S software examples click here

UP




Some third-party tools are:


Programming and developping Tools for STM8 click here
COSMIC C compiler, refer to the links showed below
Raisonance ,C compiler and the STX-RLink emulator refer to the links showed below
IAR C compiler refer to the links showed below
http://www.iar.com/website1/1.0.1.0/3/1/
SDCC - Small Device C Compiler - It is free
http://sdcc.sourceforge.net/
see also here
Some tutorials on how to use them for various evaluation boards can be found at:
http://www.colecovision.eu/stm8/

Personally, as a development kit, I suggest
STM IDE
ST Visual Develop STVD (IDE) is here
ST Visual Programmer STVP is here

COSMIC C Compiler
free up to 32K of executable (http://www.cosmicsoftware.com/download.php)
Emulator ST-LINK (STM) or STM8 Discovery
ST-Link or ST-Link-v2 is here
STM8 Discovery is here
-
STVD (ST Visual Develop)
& STVP (ST Visual Programmer)
ST Visual Develop STVD (IDE) is here
ST Visual Programmer STVP is here


STVP is: ST Visual Programmer for programming ST7, STM8, STM8T and STM32.
For programming the STM32xxx there is also: STM32-STLink-Utility that is here.
If you need to customize the STVP is possible using DLL package (for Windows), for more info see here.





Evaluation Boards


STM8 Discovery  is an eva-board for STM8S105C6T6 + emulator (ST-Link inside)
STM8SVL DISCOVERY
is an eva-board for STM8S003K3T6 + emulator (ST-Link inside)
STM8 DALI evaluation board is here
STM8S-EVAL board for STM8S MCUs
Raisonance Reva starter kits for STM8S MCUs
SILICA STM8S EvaBoard
For more info concerning Evaluation Board click here



UP




General Purpose Starter Kits


STM8S Discovery is an eva-board for STM8S105C6T6 + emulator (ST-Link inside)
STM8SVL DISCOVERY is an eva-board for STM8S003K3T6 + emulator (ST-Link inside)
STM8 Motor Control Kit
Raisonance REva starter kits for STM8S MCUs


UP




Embedde RTOS


If you need a free rtos for STM8 go to: Atomthreads Open Source RTOS 

UP



-
Application Notes, Manuals, etc


Application Notes are here:
http://www.st.com/stonline/stappl/resourceSelector/app?page=resourceSelector&doctype=APPLICATION_NOTE&SubClassID=1244

Programming Manuals are here:
http://www.st.com/stonline/stappl/resourceSelector/app?page=resourceSelector&doctype=PROGRAMMING_MANUAL&SubClassID=1244

Technical Notes are here:
http://www.st.com/stonline/stappl/resourceSelector/app?page=resourceSelector&doctype=TECHNICAL_NOTE&SubClassID=1244

Errata Sheets are here:
http://www.st.com/stonline/stappl/resourceSelector/app?page=resourceSelector&doctype=ERRATA_SHEET&SubClassID=1244

UP




STM Firmware Libraries

ST Firmware libraries with sample code (C sources) implementing the full range of microcontroller peripherals are available for free download from STM.

STM32 and STM8 Flash Loader demonstrator Contains the Demo GUI, Command line and header source files.
UM0462 -STM32 and STM8 Flash Loader Manual is here


-
Guidelines for obtaining IEC60335 Class B certification is here.


UP





Debugger and Programming Tools


ST Visual Develop (STVD) and ST Visual Programmer (STVP) package is software package includes IDE with advanced editor, project builder (supports Cosmic, and Raisonance C toolchains, and included ST assembler/linker), debugger with simulator, plus programming interface.
Supports ST emulators, ST-LINK and ST-LINK-v2, in-circuit debugger, Raisonance RLink and ST MCU programming tools.

If you need to customize the STVP is possible using DLL package (for Windows), for more info click here.

Raisonance:
STM:
ST-Link and ST-Link-v2 click here
STice advanced in-circuit emulation system for ST microcontrollers
STM8 Discovery it is an eva-board + emulator

The Flasher for STM8 is now available from Segger GmbH.
This standalone, in-circuit Flash programmer supports the full range of STM8, either in standalone mode or connected to the host through USB, Ethernet or RS232 interfaces.
Its optical isolation reduces issues with different potentials in production environments and is particularly appreciated during development requiring insulation.

FlashRunner
SMH Technologies in-circuit programming system for production lines featuring standalone operation and easy integration in production and test equipment.
BeeProg2 , BeeHive204 , BeeHive208S tools from Elnec
are faster versions of, respectively, Beeprog+, BeeHive4+ and BeHive8S, and have compatible adaptors. All these production programming tools support STM8T141 devices, and are single, 4x and 8x fast programming systems, respectively. These tools are able to concurrently program up to 8 devices (BeeHive208S) in socket, as standalone (BeeHive8S), or connected to a PC through a USB line (BeeProg2, BeeHive204).




Technical Articles & C


New STM8 8-bit Microcontroller from STMicroelectronics
IAR Systems launches development tool suite for STMicroelectronics STM8 family
STM8 Firmware makes MCU design easy
Touch Sensing Library in STM8 - A proper tutorial on how to use the firmware supplied by the ST can ... buid a touch key


UP





STM8S-Discovery
tool for build and debug the application on STM8S105C6T6 from STM.

Please click here to enter in STM8S-Discovery pages. 



UP



SILICA STM8S EvaBoard, click here.
  
STM8S area
Tutorial that explains how to start developing on STM8S with two examples for SILICA STM8S-EvaBoard already developed plus schematics etc

UP






Home Page