Access uSD card using STM32 HAL
In this article, we will try to access the uSD card using HAL. The following is the development environment at the time of submission. PC: Windows 10 OS IDE: STM32CubeIDE Version1.3.0 Configurator: STM32CubeMX Version5.6.0 Board: STM32Nucleo-F401RE Accessing with Mbed In the previous article Mbed with STM32CubeIDE: SD Card Edition, weRead More →
Trying to use assert_param() in STM32 HAL
This time, I will use HAL’s assert_param(). The following is the development environment at the time of submission. PC: Windows 10 OS IDE: STM32CubeIDE Version1.3.0 Configurator: STM32CubeMX Version5.6.0 Board: STM32Nucleo-F401RE What is an assert? Assert is an English word that means to assert or assert. An assertion is a mechanismRead More →
Access memory with I2C using STM32 HAL
In this article, we will try to access the memory (EEPROM) using HAL’s I2C. I have previously written an article on barometric pressure sensors using I2C, but EEPROM may be more practical. The following is the development environment at the time of submission. PC: Windows 10 OS IDE: STM32CubeIDE Version1.3.0Read More →
Access to STM32 registers
In this article, I will talk about access to registers. The following is the development environment at the time of posting. PC: Windows 10 OS IDE: STM32CubeIDE Version1.3.0 Configurator: STM32CubeMX Version5.6.0 Board: STM32Nucleo-F401RE Accessing the registers So far, I have only used HAL and Mbed and not code that directlyRead More →
Try using RTC with STM32 HAL
This time I will talk about RTC. I will write down the development environment at the time of posting. PC: Windows 10 OS IDE: STM32CubeIDE Version 1.3.0 Configurator: STM32CubeMX Version 5.6.0 Board: STM32 Nucleo-F401RE What is RTC? RTC is an abbreviation for Real Time Clock and is a function ofRead More →
Check the operation of STM32 FreeRTOS mail queue
In this article, I will use the FreeRTOS mail queue. Here is the development environment at the time of submission. PC: Windows 10 OS IDE: STM32CubeIDE Version1.3.0 Configurator: STM32CubeMX Version5.6.0 Board: STM32Nucleo-F401RE Mail queues are one of the items used in multi-threaded programs for data communication between threads (also calledRead More →
Try PWM output using STM32 HAL
This time, let’s check the PWM output. I will write down the development environment at the time of posting. PC: Windows 10 OS IDE: STM32CubeIDE Version 1.3.0 Configurator: STM32CubeMX Version 5.6.0 Board: STM32 Nucleo-F401RE What is PWM? PWM is an abbreviation for Pulse Width Modulation. It is a function toRead More →
Check the operation of the STM32 FreeRTOS message queue
In this article, I will use the FreeRTOS message queue. Here is the development environment at the time of submission. PC: Windows 10 OS IDE: STM32CubeIDE Version1.3.0 Configurator: STM32CubeMX Version5.6.0 Board: STM32Nucleo-F401RE Message queues are one of the items used in multi-threaded programs to communicate data between threads (also calledRead More →
Using STM32 DMA for serial communication
In this article, we will try to process serial communication transmission using DMA. The following is a description of 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 DMA DMA stands for Direct Memory Access. Normally, dataRead More →
Debugging with STM32 printf
In this article, I will write about debugging using printf(). The following 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 Overview Sometimes you want to check the result of a process every time you do something. ThisRead More →


