STM8 Core

Arduino on the STM8 (8 bit processor)
User avatar
RogerClark
Posts: 7489
Joined: Mon Apr 27, 2015 10:36 am
Location: Melbourne, Australia
Contact:

STM8 Core

Post by RogerClark » Thu Jun 29, 2017 5:06 am

Guys

I see there is some interest in the STM8 processor, with Armduino porting their core to this (8 bit) architecture, so I thought it was worth making a section of this even though its not a STM32 device, and is quite a different type of device.

I just received a couple of these

"STM8S103F3P6 ARM STM8 Minimum System Development Board Module For Arduino" boards from eBay, for $1 each.

Image

PS. I love the way the eBay vendors add the word "Arduino" to the end of virtually everything, even if there is not an Arduino core for such a device ;-)

User avatar
zoomx
Posts: 541
Joined: Mon Apr 27, 2015 2:28 pm
Location: Mt.Etna, Italy

Re: Slighly off topic ;-)

Post by zoomx » Thu Jun 29, 2017 6:26 am

I bought 2 differents boards, the most common blue one with STM8S103F3P6 and another that is red, it is lesser common and use an STM8S003F3P6. As I wrote earlier, my metal STLINK dongle didn't work but the Baite model instead worked perfectly. Then I used SDCC but compiled only a blink example.
RogerClark wrote:
Thu Jun 29, 2017 5:06 am
PS. I love the way the eBay vendors add the word "Arduino" to the end of virtually everything, even if there is not an Arduino core for such a device ;-)
But it simplifies the search! Using the single word Arduino you find a lot of results that are interesting. Try to search using ARM, you will get a looot of results that are not useful.

User avatar
RogerClark
Posts: 7489
Joined: Mon Apr 27, 2015 10:36 am
Location: Melbourne, Australia
Contact:

Re: Slighly off topic ;-)

Post by RogerClark » Thu Jun 29, 2017 6:47 am

zoomx wrote:
Thu Jun 29, 2017 6:26 am

But it simplifies the search! Using the single word Arduino you find a lot of results that are interesting. Try to search using ARM, you will get a looot of results that are not useful.
True.


I got some other interesting stuff in the post, including some IR time of flight distance measuring modules, but I'll need to post that to my Postbag ;-)

vargham
Posts: 19
Joined: Thu Jan 26, 2017 3:49 pm

Re: Slighly off topic ;-)

Post by vargham » Thu Jun 29, 2017 7:25 am

But why? STM8 is obsolete, isn't it?
Almost the same (package and price), but 32 bit and more peripherals:

https://www.aliexpress.com/item/STM32F0 ... 17601.html

Ten ICs:
https://www.aliexpress.com/item/Free-sh ... 90554.html

It is dirt cheap.

User avatar
RogerClark
Posts: 7489
Joined: Mon Apr 27, 2015 10:36 am
Location: Melbourne, Australia
Contact:

Re: Slighly off topic ;-)

Post by RogerClark » Thu Jun 29, 2017 8:09 am

For some reason the STM8 still seems really popular with manufacturers

Possibly its he knock down price.

I think STM8 has sold 3 billion of them and still get massive sales figures

Lots of low end devices still use them.


Personally, I'll mainly be using the STM32 but some devices I want to reverse engineer and modify have STM8's in them

racemaniac
Posts: 625
Joined: Sat Nov 07, 2015 9:09 am

Re: Slighly off topic ;-)

Post by racemaniac » Thu Jun 29, 2017 9:22 am

i'm starting to be happy again i once ordered some cheap tiny stm8 boards. might end up doing something with them after all XD.
looking forward to this :)

dannyf
Posts: 167
Joined: Wed May 11, 2016 4:29 pm

Re: Slighly off topic ;-)

Post by dannyf » Thu Jun 29, 2017 10:02 am

STM8 is obsolete, isn't it?
it is indeed obsolete, in terms of specs.

it is anything but obsolete, in terms of its market share.

User avatar
RogerClark
Posts: 7489
Joined: Mon Apr 27, 2015 10:36 am
Location: Melbourne, Australia
Contact:

Re: Slighly off topic ;-)

Post by RogerClark » Thu Jun 29, 2017 10:30 am

racemaniac wrote:
Thu Jun 29, 2017 9:22 am
i'm starting to be happy again i once ordered some cheap tiny stm8 boards. might end up doing something with them after all XD.
looking forward to this :)
I think some people are working on the Armduino core to get it to work on the STM8, and have some success

I'm not sure whether the STM8 is arm or not, so perhaps the name of that core does not suit this use, but the name doesnt matter that much ;0)

zmemw16
Posts: 1491
Joined: Wed Jul 08, 2015 2:09 pm
Location: St Annes, Lancs,UK

Re: Slighly off topic ;-)

Post by zmemw16 » Thu Jun 29, 2017 10:49 am

from ds
Core: ARM® 32-bit Cortex®-M0 CPU, frequency up to 48 MHz
srp

oops, followed links above :oops:
Last edited by zmemw16 on Thu Jun 29, 2017 1:02 pm, edited 1 time in total.

User avatar
ahull
Posts: 1659
Joined: Mon Apr 27, 2015 11:04 pm
Location: Sunny Scotland
Contact:

Re: Slighly off topic ;-)

Post by ahull » Thu Jun 29, 2017 11:06 am

http://www.st.com/content/ccc/resource/ ... 226640.pdf

Looks like it only sips a few mA when it is running. There appears to be a low power version that sips even less.
- Andy Hull -

Post Reply