Documentation/Path for learning STM8S
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-07-03 8:09 AM
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!
Solved! Go to Solution.
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-07-03 8:13 AM
Hello,
Did you check this link?:
https://www.st.com/en/microcontrollers-microprocessors/stm8s-series.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-07-03 8:13 AM
Hello,
Did you check this link?:
https://www.st.com/en/microcontrollers-microprocessors/stm8s-series.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-07-03 8:21 AM
>>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://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.
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-07-03 9:06 AM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-07-03 10:22 AM
I'm from the distant past, everything was printed material. Books by Leventhal and Zaks
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-07-03 10:24 AM - edited ‎2024-07-03 10:26 AM
@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 ?
A complex system designed from scratch never works and cannot be patched up to make it work.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-07-03 10:26 AM
@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 ?
A complex system designed from scratch never works and cannot be patched up to make it work.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-07-04 11:16 PM
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!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-07-05 12:36 AM
Hello @Minh ,
Sorry I provided you a link to the official ST resources of STM8S: datasheet, reference manual, application notes .. Is that not sufficient?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-07-05 12:59 AM
@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
A complex system designed from scratch never works and cannot be patched up to make it work.
