Introduction: STM32L100 Blink LED Using Atollic TrueSTUDIO and STM32CubeMX

About: Hi all, I'm Pawan Joshi who works on embedded system and IoT. I'm really passionate about embedded system and IoT. Here through this page you will come to know about embedded system from scratch to the latest …

In this project I'm going to tell you about how to blink an LED using 32L100discovery. So here I'm going to tell you about the working principle for this blink led tutorial also what type of software and hardware you required.

Step 1: Software Used:

These are the software we have used for this project:

1. Atollic TrueSTUDIO: Atollic® TrueSTUDIO® for STM32 is a flexible and extensible development and debugging IDE for STM32 MCU developers who want extremely powerful tools to aid in development of high-quality embedded software. TrueSTUDIO® is based on open standards (ECLIPSE and GNU) and extended with professional features for code management and advanced system analysis. This gives a unique insight into the structure and the dynamic behavior of the system.

You can download this software from this link

2. STM32CubeMX: STM32CubeMX is a graphical tool that allows a very easy configuration of STM32 microcontrollers and microprocessors, as well as the generation of the corresponding initialization C code for the Arm® Cortex®-M core or a partial Linux® Device Tree for Arm® Cortex®-A core), through a step-by-step process.

You can download this software from this link

Step 2: Components Used:

There is only one hardware we have used in this tutorial:


The 32L100CDISCOVERY helps you to discover the features of the STM32L100 Value Line 32-bit Cortex®-M3 microcontrollers and to develop your applications easily. It includes everything required for beginners and experienced users to get started quickly.

Based on the STM32L100RCT6 , it includes an ST-LINK/V2 embedded debug tool, LEDs, pushbuttons for easy connection of additional components and modules.

Step 3: Working Principle:

Here first you need to open up the STM32CubeMX then you need to chose the right board or mcu if you are using a customized board.

For whole process please watch my embed video which is there in the last step

Step 4: Code:

As we have created the code with the help of STM32CubeMX, so here I'm sharing you only main.c file.

you can get the main.c file from below link


Step 5: Video:

The whole Project Description is given in above video

If you have any doubt regarding this project feel free to comment us below.

And if you want to learn more about embedded system you can visit our youtube channel

Please visit and like our Facebook Page for frequent updates.

Thanks & Regards,

Embedotronics Technologies