In this tutorial, we will explain the basic principle of SPI and how it works. We will also discuss SPI bus configuration and SPI modes. After that, we will talk about the hardware overview of SPI...
Category: STM32
In this tutorial, we will explain the basic principle of External Interrupt in a microcontroller-based system. To get you started, we will guide you on how to interface with External Interrupt in the...
In this tutorial, we will explain the basic principles of UART/USART and the Direct Memory Access (DMA) of the STM32 microcontroller. To get you started, we will show you how to interface STM32 UART...
How to interface STM32 with RS485 (Modbus) sensors with HAL example code
In this tutorial, we will discuss how we can interface STM32 (as master) to any RS485 (Modbus RTU) based sensor (as slave) using STM32Cube IDE. We will create an example project by interfacing a...
In this tutorial, we'll walk you through the basics of Pulse Width Modulation (PWM) and how to create a stm32 project for generating PWM signals using Timer peripheral. We will also create a LED...
Timers are crucial in microcontroller-based systems, providing precise timing and control over various operations. In the case of STM32 microcontrollers, the built-in timers offer a wide range of...