STM32 HAL programming simplifies peripheral access using predefined functions from ST’s hardware abstraction layer. This section includes tutorials for STM32 Development boards using STM32CubeIDE. Learn to configure GPIO, UART, timers, ADC, and more with HAL drivers. Ideal for developers looking for faster development without working directly on registers.
This tutorial for LVGL on STM32 covers how to run the LVGL application from the…
This tutorial covers how to connect the TM1637 seven segment display with STM32 and how…
This tutorial will cover how to display the clock on the TM1637 seven segment display…
This tutorial will cover how to interface the passive buzzer with STM32 and how to…
Learn to interface a continuous‑rotation servo with STM32 using PWM. Covers CubeMX timer setup, wiring,…
Learn to control continuous‑rotation servo RPM via potentiometer (and optional button) on STM32: ADC setup,…
Learn to interface a 1.3″ SH1106 OLED with STM32 via I2C. Includes wiring on STM32…
Learn to interface an 8×8 LED dot matrix with STM32 using SPI and MAX7219. Covers…
Learn how to cascade multiple MAX7219-based dot matrix displays with STM32 using SPI. Step-by-step wiring,…
Step‑by‑step guide to scroll text on a MAX7219 dot‑matrix display with STM32 via SPI. Includes…
Learn how to configure STM32 ADC in single channel polling mode, read analog input using…
Explore STM32 ADC Part 2. Read a single channel using Interrupt and DMA, configure CubeMX,…
In this tutorial, we’ll explore how to use STM32 ADC with multiple channels and DMA…
This tutorial explains how to configure STM32 ADC to read multiple channels continuously using circular…
Master STM32 ADC reading on multiple channels without DMA. Includes CubeMX setup and HAL C…
Uncover how to calculate and measure STM32 ADC conversion time. Includes sampling, resolution, ADC clock…
Learn to configure STM32 ADC external trigger using timers for precise sampling control. Includes CubeMX…
Master STM32 ADC injected conversions for high‑priority sampling. Covers triggered & auto‑injection modes, CubeMX setup,…
Boost STM32 ADC resolution with hardware oversampling. Step-by-step guide for STM32, including CubeMX config, VM…
Discover how to port the U8G2 monochrome graphics library to STM32 with hardware SPI, I2C,…
Learn how to configure Ethernet on STM32 using CubeMX & LWIP. Set static IP, manage…
This tutorial of the STM32 Register series will cover how to setup the DMA. We…
In this tutorial of the STM32 Register series, we will see how to configure the…
Step-by-step guide to STM32 Input Capture using CubeMX and HAL. Measure frequency, pulse width, and…
This tutorial will cover How to use Incremental Encoder with STM32. Also we will see…
In this tutorial, we will see how to use DMA in STM32. Here I will…
This tutorial explains how to implement CAN communication in Normal Mode on STM32 microcontrollers using…
Learn STM32 SPI register-level programming. Master SPI1 configuration, transmit & receive data, and interface with…
In this tutorial, we will interface the WS2812/B LED with STM32. I am going to…
This tutorial will cover how to use the Timer to generate the PWM(Pulse Width Modulation)…
This tutorial will cover how to configure the external interrupt using the Registers in STM32…
Configure I2C using STM32 registers. Step-by-step STM32 I2C example for transmission, reception & MPU6050 interface….
This tutorial will cover how to interface an I2C based AT24C EEPROM with STM32. The…
This tutorial will cover how to use the software timers in FreeRTOS. We will see…
This tutorial will cover how to make WavePlayer using STM32 Discovery board. It will be…
This tutorial explains how to use STM32 USB CDC class to communicate with a PC…
Configure STM32 GPIO pin as input using registers. Learn STM32 pin configuration, pull-up setup, and…
STM32 GPIO output example using registers. Learn MODER, GPIOA, BSRR, and other GPIO registers with…
This tutorial will cover Clock setup, Timer Setup for Delay, and GPIO configuration for STM32…
Learn STM32 clock configuration using registers. Step-by-step RCC setup: HSE, PLL, prescalers, flash latency. Run…