cancel
Showing results for 
Search instead for 
Did you mean: 

Documentation/Path for learning STM8S

Minh
Associate II

Hello community,
I'm looking for materials to learn STM8S programming.
I searched on the internet but I couldn't find anything. Can you recommend me any documents or links to learn, please?
Thank you all!

1 ACCEPTED SOLUTION

Accepted Solutions
SofLit
ST Employee

Hello,

Did you check this link?:

https://www.st.com/en/microcontrollers-microprocessors/stm8s-series.html

SofLit_0-1720019594337.png

 

To give better visibility on the answered topics, please click on "Accept as Solution" on the reply which solved your issue or answered your question.

View solution in original post

12 REPLIES 12
SofLit
ST Employee

Hello,

Did you check this link?:

https://www.st.com/en/microcontrollers-microprocessors/stm8s-series.html

SofLit_0-1720019594337.png

 

To give better visibility on the answered topics, please click on "Accept as Solution" on the reply which solved your issue or answered your question.

>>I searched on the internet but I couldn't find anything.

You might want to learn how to use search engines first, but it might also red flag this as a pointless exercise..

https://community.st.com/t5/stm8-mcus/learn-stm8-microcontroller-tutorial-with-st-visual-develop-and/td-p/236849

https://www.eevblog.com/forum/microcontrollers/getting-started-with-stm8s/

 

Also be aware this is a bit of a dead-end architecture, 8-bit MCU were a hot thing 40 years ago, we played with them as teenagers.

Get foundational texts on MCU architectures, and perhaps at least start with ARM and RISC-V, and data representation on computers.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
Minh
Associate II


Thank you for your helpful comments!
I just found it difficult to learn because I have never programmed on any microcontroller. I've watched videos and tutorials on YouTube but they don't teach in detail so it's hard to understand thoroughly.
I will study the materials you suggested.

I'm from the distant past, everything was printed material. Books by Leventhal and Zaks

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..

@Minh wrote:

 I have never programmed on any microcontroller.


Then, as @Tesla DeLorean said, probably best to start on a more well-known & widely-used model!

Have you looked at Arduino ?

 

PS

Do you have any experience with programming in general ?

Andrew Neil
Evangelist III

@Minh wrote:

learn STM8S programming.


What, exactly, do you mean by that?

Programming an STM8 is essentially the same as programming any other microcontroller

Do you have experience with any other microcontroller(s)?

Do you have experience with programming in general ?

I know C programming. So I want to learn about STM8 MCU, specifically the S series because I have the stm8s103f3p6 kit.

I found Embedded -lab's tutorial and I would appreciate it if you could refer me to another pdf document. 
Thanks!

Hello @Minh ,

Sorry I provided you a link to the official ST resources of STM8S: datasheet, reference manual, application notes .. Is that not sufficient? 

To give better visibility on the answered topics, please click on "Accept as Solution" on the reply which solved your issue or answered your question.

@Minh wrote:

I know C programming. 


That's a good start.

 


@Minh wrote:

 I want to learn about STM8 MCU


Again, it's not fundamentally different to any other microcontroller:

  • You have a CPU, which does the "work" - it's where your code runs;
  • You have memories - Flash for code storage; RAM for data.
    (maybe also EEPROM for non-volatile data?)
  • You have peripherals, which form/manage the interfaces to external hardware
    eg, GPIO, UART, SPI, I2C, Timers
  • The CPU communicates with the peripherals via Registers - which are like special memory locations.

As already noted, the STM8 is a rather "niche" line - so you are not going to find abundant resources for it.

So why did you choose the STM8 specifically?

Here are some Beginner's Getting Started tips:

https://www.avrfreaks.net/s/topic/a5C3l000000UYGFEA4/t145493?comment=P-1392529

 

#BeginnerGettingStarted