Difference between revisions of "ST8"

From emboxit
Jump to: navigation, search
 
m (1 revision)
 
(No difference)

Latest revision as of 16:51, 11 September 2015

TRANSFERRED TO vst WIKI






Starting an ST7 replacement project




STM8S-PORTFOLIO.PNG


ST8 PINOUT.PNG



Which part to use?


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



STM8-DISCOVERY.jpg Stm8s.jpg



More devices


  • 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 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

VersaloonNano PCB.jpg VersaloonMini PCB.jpg



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

  • 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



300px


300px 300px


300px 300px