Learn how to cascade multiple MAX7219-based dot matrix displays with STM32 using SPI. Step-by-step wiring, cascading code, and column-to-row data conversion included.
Microcontroller Tutorials with Code from Scratch
Learn STM32, ESP32, and embedded systems by writing code from scratch using datasheets and reference manuals. All tutorials are tested on actual hardware to help you build reliable, real-world projects with full control and understanding.
What’s New in STM32
How to Scroll Text on MAX7219 Dot‑Matrix with STM32 (SPI)
Step‑by‑step guide to scroll text on a MAX7219 dot‑matrix display with STM32 via SPI. Includes font handling, bit‑endianness and shift functions.
STM32 ADC | PART 2 Single‑Channel Interrupt & DMA using HAL
Discover how to set up STM32 ADC1 for single‑channel analog-to-digital conversion using interrupt and DMA modes. Includes CubeMX config and tested HAL C code.
STM32 ADC | PART 3 Multi-Channel DMA (Normal Mode)
Learn to configure STM32 ADC for multi-channel readings using DMA in normal mode. Includes CubeMX setup, HAL code, and support for STM32F1/F4/H7 series.
STM32 ADC | PART 4 Multi‑Channel Circular DMA Mode using HAL
Explore STM32 ADC multi‑channel setup with DMA in circular mode. Step‑by‑step CubeMX configuration, HAL C code, and STM32F1/F4/H7 examples.
STM32 ADC | PART 5 Multi‑Channel without DMA using CubeIDE
Master STM32 ADC reading on multiple channels without DMA. Includes CubeMX setup and HAL C code for STM32F1, F4, and H7 to read channels individually.