This time it is about the debugger. Here is the development environment at the time of posting. PC: Windows 10 OS IDE: STM32CubeIDE Version1.3.0 Board: STM32Nucleo-F401RE Dancing with STM32? I’m sure many of you are wondering what that is. Let’s take a look. The steps play an important role inRead More →

In this issue, we will look at debuggers. Nowadays, it is common to have a debugger on a microcontroller board. A while ago, I found out about a debugger called STLINK-V3MINI. I think it is similar to the debugger on the Nucleo board, but I tried to connect it toRead More →

In the previous article, we talked about standalone watchdog timers. In this article, we will look at the window watchdog timer. Please forgive me if there is a little overlap with the previous article. Here is the development environment at the time of posting. PC: Windows 10 OS IDE: STM32CubeIDERead More →

In this article, I will talk about the watchdog timer. Here is the development environment at the time of posting. PC: Windows 10 OS IDE: STM32CubeIDE Version1.3.0 Configurator: STM32CubeMX Version5.5.0 Board: STM32Nucleo-F401RE What is a watchdog timer? We can call it a watchdog timer, or WDT for short. It isRead More →

In this article, I will talk about the pin alternate function using HAL. The following is the development environment at the time of posting. PC: Windows 10 OS IDE: STM32CubeIDE Version1.3.0 Configurator: STM32CubeMX Version 5.5.0 Board: STM32Nucleo-F401RE What is the pin alternate function? In a typical microcontroller, the function ofRead More →

In this article, I will try to use I2C communication with Mbed. I wrote an article about I2C using HAL in here, but this time I wrote about the case using Mbed. Here is the development environment at the time of posting. PC: Windows 10 OS IDE: STM32CubeIDE Version1.3.0 Board:Read More →

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 →