Using the STM32 HAL for AD conversion
In this article, I will talk about AD conversion. 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 an ADC? ADC stands for Analog to Digital Converter and it converts an analog voltageRead More →
Communicating with STM32 SPI Mbed Edition
In this article, I will try to communicate with SPI using Mbed. I wrote an article about SPI using HAL at here, but this time I will use Mbed. Here is the development environment at the time of submission. PC: Windows 10 OS IDE: STM32CubeIDE Version1.3.0 Board: STM32Nucleo-F401RE Overview ofRead More →
Trying to use interrupts with GPIOs on STM32 HAL
This time, I will use GPIO interrupts. The following is the development environment at the time of submission. PC: Windows 10 OS IDE: STM32CubeIDE Version1.3.0 Configurator: STM32CubeMX Version5.5.0 Board: STM32Nucleo-F401RE GPIO interrupt overview Interrupts have a bad image in human society, but they play an important role in microcontroller-based systems.Read More →
Communicating via SPI with STM32 HAL
I have written an article on I2C communication before, and this time I would like to write about SPI communication with a similar interface. The following is the development environment at the time of submission. PC: Windows 10 OS IDE: STM32CubeIDE Version1.3.0 Configurator: STM32CubeMX Version5.5.0 Board: STM32Nucleo-F401RE Overview of SPIRead More →
STM32 Can’t dance well?
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 →
Trying out the small but stylish STLINK-V3MINI
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 →
STM32 Another watchdog timer WWDG
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 →
Try to run the STM32 watchdog timer
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 →
What is the STM32 pin alternate function?
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 →
Communicating with STM32 I2C Mbed Edition
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 →


