In this article, I wrote about a boot loader that uses serial communication. I think its main use will be for firmware updates. Even if you don’t have a tool for writing, you can update the firmware using a serial port. However, you will still need a PC for writingRead More →

In this article, I will write about communication using I2C. The following is the development environment at the time of submission. PC: Windows 10 OS IDE: STM32CubeIDE Version1.3.0 Configurator: STM32CubeMX Version 5.5.0 Board: STM32Nucleo-F401RE Overview of I2C communication A communication method developed by Philips (now NXP) Semiconductors. Two communication lines,Read More →

I’ve written about FreeRTOS before, but this time I’ll look at how binary semaphores work. Here is the development environment at the time of posting. PC: Windows 10 OS IDE: STM32CubeIDE Version1.3.0 Configurator: STM32CubeMX Version5.4.0 Board: STM32Nucleo-F401RE In a multi-threaded program, you need to be careful when dealing with sharedRead More →

There are times when you want to save the set values even after the power is turned off. In this article, we will try to save the data in flash memory using HAL. Since I have been working with Mbed, I wrote the code using C++ with Mbed classes andRead More →

In this article, we will try to access the SD card using Mbed. Here is the development environment at the time of posting. PC: Windows 10 OS IDE: STM32CubeIDE Version1.3.0 Board: STM32Nucleo-F401RE Mbed OS2 project files You can download the Mbed OS2 project here. However, please note that the boardsRead More →

In this article, we will look at how to access memory while following the startup process in the IDE. Here is the development environment at the time of posting. PC: Windows 10 OS IDE: STM32CubeIDE Version1.3.0 Board: STM32Nucleo-F401RE Let’s start up a project in the IDE and see how theRead More →

Now that you have created an Mbed project in the IDE, you may want to make a duplicate of the project. In this article, I will explain how to do that. The title of this article is “Mbed with STM32CubeIDE: Duplicating a project”, but of course you can duplicate anyRead More →

Previously, we were able to run the DigitalOut and Serial classes of Mbed. This time, we will try to run the Ticker class. Here is the development environment at the time of submission. PC: Windows 10 OS IDE: STM32CubeIDE Version1.6.0 Configurator: STM32CubeMX Version6.2.1 Board: STM32Nucleo-F401RE What is the Ticker classRead More →

In the previous article, we tried to run the DigitalOut class (GPIO output port) of Mbed. This time, I will try to run the Serial class. Here is the development environment at the time of posting. PC: Windows 10 OS IDE: STM32CubeIDE Version1.6.0 Configurator: STM32CubeMX Version6.2.1 Board: STM32Nucleo-F401RE What isRead More →

Here is the development environment at the time of posting. PC: Windows 10 OS IDE: STM32CubeIDE Version1.6.0 Configurator: STM32CubeMX Version6.2.1 Board: STM32Nucleo-F401RE Download the project Download the project as a zip file from here and unzip it. Once unzipped, a folder called F401mbedBase will be created. Import the project StartRead More →