Further readings

This section contains further readings about STM32 and ChibiOS. These articles are about non-official STM32 based development kit, advanced explanation of ChibiOS mechanisms and insights about notions already introduced in other articles.

Maybe you can live without it, but we suggest to take a look anyway!

Wide box Tiny box List
Ascent Descent

Debugging on STM32 with ChibiStudio: the ultimate guide

A debugger is a powerful tool that gives us the chance to interact with the microcontroller at run-time. It allows to dynamically change the content of CPU registers, to read\write the RAM memory and to flash\erase the NVM memory of the microcontroller. The main purpose of a debugger is to discover and fix anomalies in the functional behavior of our firmware.

Anyway, there is no silver bullet: it requires some time to master the debugger learning some tricks. As usual, the time spent learning how to debug could make your day: it will reduce the effort required to develop continue reading...

How to switch to the development version of ChibiOS

How to switch to the development version of ChibiOS

First time I started to deal with a software a little bit more complicated than the one used to print “Hello World”, I have encountered some words like “versioning”, “revision”, “diff”, “branch”, “trunk”, “checkout” and I heard about certain software like “svn”, “git”, “mercurial”.

Do you keep in mind when your friends knows something you don’t know and they continuously talk about that making you feel like a complete dumbass? Well that was my feeling! It is much simpler than how it seems: there are certain programs which purpose is to keep trace of every single character continue reading...

Getting started with mikroe BUZZ Click using ChibiOS/HAL

Getting started with mikroe BUZZ Click using ChibiOS/HAL

BUZZ Click is a click board with a mikroBus form factor. It is substantially composed of a piezoelectric speaker having a resonant frequency at 3.8 kHz: this means we should expect best performances at this frequency. Let’s take a look to the principle of operation of DC and AC buzzer.

A piezoelectric loudspeaker also known as buzzer uses the inverse piezoelectric effect for generating sound. The piezoelectricity is a phenomena where mechanical stress produces the accumulation of electrical charges and then a voltage across the material. The inverse principle is true continue reading...

Mikroe Clicker 2 for STM32 and STLink v2

Mikroe Clicker 2 for STM32 and STLink v2

In this tutorial we are going to see how to connect a STLink v2 debugger to a Clicker 2 for STM32 enabling users to do debugging which could be very useful in development phases. A debugger is a computer program which is used to test and debug another program usually named Target.

In embedded things are slightly different since the code is executed on an external MCU and it is required an interface Computer-MCU. In this case the Target is the MCU and a debugger is composed by the ensemble of a hardware and a software tool. Nonetheless, when the majority of people is continue reading...

Getting started with mikroe Clicker 2 for STM32 with ChibiOS

Getting started with mikroe Clicker 2 for STM32 with ChibiOS

The Clicker 2 for STM32 is a compact development kit by mikroe (also known as MikroElektronika). This board is equipped with 2 mikroBUS socket that allow to connect the Click Boards. These boards, designed by mikroe, are small add-ons that allow to easily connect most common devices to your MCU. Indeed, in the last years mikroe has produced a lot of Click Boards (more than one hundred) with an extended documentation and with code examples.

During the Maker Faire Rome 2015, we meet some mikroe employee and we have explained them the purposes of PLAY Embedded. Some weeks continue reading...