STM32 Tutorials – Learn STM32 Programming with HAL, LL, and Bare Metal
This section provides step-by-step STM32 tutorials and tested code for learners ranging from beginners to experts. Programming is demonstrated in STM32CubeIDE using both HAL and LL drivers, making the examples easy to follow and adapt. The coverage spans GPIO, ADC, UART, timers, PWM, I2C, SPI, CAN, Ethernet, DMA, memories, displays, sensors, and many other peripherals—ideal for anyone looking to gain practical experience and develop reliable hardware projects.
STM32 Peripherals
Step-by-step STM32 guides using HAL covering essential peripherals like UART, SPI, I2C, ADC, DMA, CAN, and GPIO, with practical examples and code for beginners and advanced developers.
STM32 ADC Part 2 – Single Channel with Interrupt and DMA
SPI Communication with STM32 using HAL – Complete Tutorial with Code Examples
How to Setup DMA using Registers
How to Setup UART using Registers in STM32
STM32 UART PART 5 – Receive Data Using IDLE Line (Interrupt & DMA Methods)
STM32 UART PART 9 – Lin Protocol PART 2
Interface DS3231 RTC module with STM32
STM32 Programming using Registers
Learn STM32 register-level programming with clear explanations and examples, covering GPIO, timers, interrupts, communication interfaces, and more.
How to Setup UART using Registers in STM32
How to Setup DMA using Registers
STM32 Display Tutorials
Explore STM32 display guides with step-by-step guides on interfacing LCD, OLED, and TFT screens, including graphics, text rendering, and practical examples.
AVR #7. I2C Master PART 3 || Interface LCD1602 via I2C
How to interface MPU6050 (GY-521) with STM32
STM32 FMC || LCD PART2 || How to add touch interface to the LCD
STM32 FMC || LCD PART1 || How to configure for LCD
Interfacing ADXL345 Accelerometer with STM32 via I2C – Complete Tutorial with Code
How to Interface LCD1602 via I2C on ESP32 with ESP‑IDE
LVGL on STM32 || PART 1
LVGL on STM32 || PART 4
STM32 Timer Series
Master STM32 timers with practical tutorials on PWM, input capture, output compare, interrupts, and advanced timer features for real projects.
STM32 Timers #9. One Pulse Mode
STM32 Timers #10. Timer in Gated Mode
STM32 Ethernet Tutorials
Learn STM32 Ethernet programming with step-by-step guide on LAN configuration, TCP/IP, UDP, and real-world networking examples.
STM32 Ethernet PART 8 – UDP Client using LWIP NETCONN (RTOS)
STM32 W5500 Ethernet Tutorial (Part 2): Create a TCP Server to Receive and Process Data
STM32 Ethernet PART 2 – How to configure UDP Server
STM32 Ethernet PART 6.2 – Configure HTTP Webserver using CGI
How to use Ethernet with Riverdi STM32 Displays
STM32 Ethernet PART 9 – TCP Server and Client using LWIP NETCONN (RTOS)
STM32 Ethernet PART 10 – HTTP Server (Basic) using LWIP NETCONN (RTOS)
STM32 Ethernet with Mongoose | Part 1 Setup Guide
STM32 RTOS Series
Step-by-step STM32 RTOS tutorial series covering FreeRTOS setup, tasks, queues, semaphores, and real-time project examples.
No post found!
STM32 Memories
Understand STM32 memories with guides on Flash, SRAM, EEPROM, and external memory interfacing, explained with code examples.
