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 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 →

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 continue with serial communication using interrupts. The following is the development environment at the time of posting. PC: Windows 10 OS IDE: STM32CubeIDE Version1.1.0 Configurator: STM32CubeMX Version5.4.0 Board: STM32Nucleo-F401RE Let’s see how the interrupt handling works Now let’s follow how the interrupt handling works. TheRead More →

In the previous article, we discussed serial communication using polling. This time, we will use interrupts for serial communication. Using interrupts requires more time and effort, but it allows for more detailed processing. Also, using interrupts allows you to write the process during communication, whereas polling requires post-processing. The followingRead More →

In this article, we will try to perform serial communication by polling with STM32 microcontroller. The following is the development environment at the time of submission. PC: Windows 10 OS IDE: STM32CubeIDE Version 1.1.0 Configurator: STM32CubeMX Version5.4.0 Board: STM32Nucleo-F401RE Serial communication is a relatively easy way to communicate, so ifRead More →

This is another topic related to the STM32CubeIDE. There is a useful feature called the configurator, which I will introduce here. In this article, we will try to implement the timer interrupt function. Development environment at the time of posting PC: Windows 10 OS IDE: STM32CubeIDE Version 1.1.0 Configurator: STM32CubeMXRead More →