ST8
From emboxit
Contents
TRANSFERRED TO vst WIKI
Starting an ST7 replacement project
Which part to use?
- Use Part Number STM8S208MBT6B STM8S20x Performance Line 80-QFP, 128K Flash, 1xCAN, 2xUART, 6K SRAM, 2K EEPROM
- STM208S the 8 is always a device with CAN
- EBV selection guide
- STM selection guide
Tools and compilers
- ST-LINK tool is the same used for STM32
- 8K IAR Kickstart <--------CONNECT ST-LINK AND GO FOR A QUICK START
- 32K (???) Raisonance Free version
- free C Compiler For STM8S Series MCUs - ST8CC by Mengjin Su
- STM8S Discovery mouser product page
- Buy at Mouser 8.25 EU
- Buy at DIGIKEY $9.6
- STM8S-Discovery at www.emcu.it
More devices
- STM8S105C6T6 at DIGIKEY MCU 32KB FLASH MEM 16MHZ 48-LQFP $3.14@1pc, $1.5@2500pcs
- STM8S105xx Access line, 16 MHz STM8S 8-bit MCU, up to 32 Kbytes Flash, integrated EEPROM,10-bit ADC, timers, UART, SPI, I²C datasheet 127 pages
- STM8S208CBT6 MCU 8BIT 128K MEMORY 48-LQFP CAN digikey $4.45@1pc, @2.12@2500pcs
- STM8S103K3T6C MCU 8KB FLASH MEM 16MHZ 32-LQFP DIGIKEY $2.26@1pc, $0.985@2500pcs
Open source Operating System
- Atomthreads: Open Source RTOS STM8 / STM8S RTOS
Atomthreads RTOS supports the STM8 family of microcontrollers. It can be run on any STM8 hardware platform, including the low cost STM8S Discovery board, a very inexpensive platform for starting STM8 microcontroller development. The STM8 port supports all of the three available STM8 compiler toolchains: Cosmic CXSTM8 Raisonance RCSTM8 IAR Embedded Workbench EWSTM8 Atomthreads was the first free, open source RTOS available for the STM8, and is the only RTOS supporting the IAR compiler. The STM8 port supports all of the standard Atomthreads features found on the Features page. Released under the open and flexible BSD license, it is free for commercial or educational use without restriction.
Open hardware tools
- Versaloon Platform Full open-source(GPLv3) platform for multiple applications, including programmer, debugger, logic tester, logic analyzer, simple oscilloscope and so on
RLINK
insteadRLINK-STD (older), order new STX-RLINK
- Data Brief STX-RLINK Raisonance’s in-circuit debugger/programmer for STM8, ST7, μPSD, STM32, STR7 and STR9 STM
- Check included-adapter description in page 2
- STX-RLINK KIT TOOL FOR ST7/UPSD/STR7 MCU Digikey 497-5046-ND
- adapter included
- No need for: ADP-ST7/STM8
Raisonance IDE
- Tested 2011.11.21
- Could import STM8S Discovery example projects from ST
- But
- Build failed
IAR for STM8 Kickstart
- Tested 2011.11.21
- Works fine (as usual)
- STM8S discovery example projects tested
- project-STM8S105
- AN3332 Generating PWM signals using STM8S-DISCOVERY
- Use oscilloscope to check PD4 PD3 PA3 oscillating
- Discover
- AN3279: Adjustable LED blinking speed using STM8S-DISCOVERY touch sensing key
- ADC
- AN3280: Displaying variable voltage on a bar of LEDs using STM8S-DISCOVERY
- stm8dalislave
- STM8S DALI library example (AN3298)
- IAR does not build as the object code is beyond the 8K limit of Kickstart