STM8 Tutorials

Tutorial #1 Knowing Software & Hardware Tools for STM8

When it comes to 8 bit family of microcontrollers, Atmel AVR and Microchip PIC are the most commonly used variants with old school 8051 still in use in some relatively older designs. But as I explore more about new STM8 MCU’s by ST microelectronics, more I find a strong replacement for AVR and PIC controllers for my 8 bit controller based designs. Read more..

 

Tutorial #2 - Hello World Program

Without much talks, lets create our first “Hello World” application for STM8S Discovery Board. As practiced in embedded world, this time also, LED blinking is our way to say Hello to STM8S world.

STM8S Discovery has an on-board Green Colored user LED connected to PD0. We will blink this led on and off with some delay in between. Read more...

Tutorial #3 - Handling Inputs

This is 3rd tutorial in series of tutorials on STM8 microcontroller by ST Microelectronics. In this tutorial, we will learn, how to handle inputs on GPIO ports/pins of STM8S controller. We are considering only Polling method of reading inputs in this article, Interrupt method will be covered later.

Reading input on any of the STM8S GPIO pin is very straight forward. Lets take this step by step. Read more....