STM32 Tutorial #3: PWM driven LED

Timers are a very important topic for embedded systems. For example, they are used for many things like recurring events, counting time and output signals. In this tutorial we will control the light intensity of the onboard led time dependent. To clarify, this means that we will use one timer to generate the PWM signal and another one for changing the PWM values.

Continue reading “STM32 Tutorial #3: PWM driven LED”

STM32 Tutorial #2: GPIO Blinking LED

STM32 Tutorial GPIO Peripheral

In this new tutorial we will examine the usage of the GPIO (General Purpose Input/Output) peripheral within the System Workbench software. After all these steps below we will see a LED blinking. First we will go through the standard procedure for creating a new project using the autonomous code generation tool STM32CubeMX. Thereafter we will add our user code and program it to the chip.

Continue reading “STM32 Tutorial #2: GPIO Blinking LED”

STM32 Tutorial #1: Software SW4STM32

This first post of the STM32 tutorial will help you to set up your programming environment for programming STM32 Microcontrollers. There are many different IDEs available for the purpose of programming and debugging of STM32 controllers. When I look back it was not easy to determine which IDE to use. You can find a comparison at this link. Most of the tools available are commercially but also offer limited free versions. Mostly there is a code size limit which is very annoying in my point of view. Of course they will be preferred from companies because of the support and so on. Im my opinion the work of people who publish open source projects should be honored and so I chose to use the SW4STM32 software or also called OpenSTM32 and SystemWorkbench. Continue reading “STM32 Tutorial #1: Software SW4STM32”

STM32 Nucleo Development Tools



First of all I have to say that I am a real fan of this microcontrollers. This happened mainly because the STM32 microcontroller family from ST Microelectronics is a very powerful series that offers good value for money. Furthermore, they are based on 32-bit ARM Cortex-M cores and additionally offer many peripherals. The range begins with the ultra low power STM32L0 series which incorporates an ARM Cortex-M0 core. It ends with the high performance STM32F7 controller, based on the ARM Cortex-M7 core. Below you can find a short overview about the range offered. Continue reading “STM32 Nucleo Development Tools”

REVIEW: MikroElektronika mini-32

Mini-32The Mini-32 board from MikroElektronika is a development board for PIC-32 microcontrollers. It has 40 pins and the footprint of a 40-pole DIL package. This characteristic is especially interesting for building prototypes on breadboards. Another advantage is, that MikroElektronika already integrated a bootloader which ensures flashing without the need for a programmer such as a PICKIT 3. Continue reading “REVIEW: MikroElektronika mini-32”

%d bloggers like this: