Light Up the Chain: Driving a 4-in-1 MAX7219 LED Matrix with STM32 SPI
Running the same STM32 at the end of a long chain of 8×8 LED matrices sounds simple, but a single misplaced chip-select edge can leave all four MAX7219 modules dark.…
Firmware, hardware and the details that make them work. Tutorials from the EmbeddedExpertIO engineering community.
Running the same STM32 at the end of a long chain of 8×8 LED matrices sounds simple, but a single misplaced chip-select edge can leave all four MAX7219 modules dark.…

A book by our founder
Get the best-selling bare-metal embedded C programming book. Learn to read datasheets, work directly with registers and build your own peripheral drivers for Arm microcontrollers.
With your RP2350 toolchain verified in Part 1, it’s time to make the board actually do something — blink an LED. This guide walks…
This guide walks you through setting up a complete RP2350 development environment using the Raspberry Pi Pico extension for VS Code, from installing the…
In Part 2 we pushed bytes out onto the wire; in Part 3 we turn the same timer interrupt around and listen. We will…
This guide walks through configuring an STM32F4 timer in PWM mode with DMA-driven duty cycle updates, using the STM32CubeMX-generated initialization and STM32 LL drivers…
In Part 1 we configured the timer and the transmit pin; in Part 2 we put that time base to work and actually send…
To achieve precise, deterministic sampling rates essential for digital signal processing and control systems, this guide explores using a hardware timer to trigger the…
Unlike UART or I2C, an SPI master never simply listens: clocks only run while the master transmits, so every read is inherently a simultaneous…