STM8 Tutorial 1 – How to read the datasheet

STM8 Series of microcontrollers, the 8-bit series of STMicroelectronics, are cheap but powerful micros which provide a good value and performance to your simple projects. The problem is, these series are not geared toward hobby market. While there are fantastic tools like STM32CubeMX software pack and the HAL library which allows anyone with a bit of coding experience takes advantage of STM32 microcontrollers, the STM8 series is left for professionals only. But this can be changed! In this series of tutorials you will learn how to start from zero, and start programming for these micros with only the datasheet and programming manuals. This should also help you to understand better how a microcontroller works.

So lets get started with setting up the development environment and setting up the registers for blinking a LED!

Saeid Yazdani working at an electronics workbench
Saeid Yazdani

Embedded Systems Engineer with 15+ years of professional experience developing firmware, electronics, measurement systems, and hardware-software solutions. I have been programming for more than two decades and write about Embedded C/C++, STM32, AURIX, PCB design, debugging, and practical engineering lessons from real-world projects.

Articles: 39

Leave a Reply

Your email address will not be published. Required fields are marked *