Getting Started with STM32 Low Layer (LL): SPI Transmit in DMA Mode
In the previous two parts, we used the STM32 LL drivers to transmit and receive data over SPI in polling mode, which kept the…
Examples explicitly targeting the STM32F4 family.
299 articles
In the previous two parts, we used the STM32 LL drivers to transmit and receive data over SPI in polling mode, which kept the…
In the previous parts, we set up the environment, established UART communication between the master and the DUT, and built a lightweight framed protocol…
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…
This guide walks through building a lightweight, framed UART protocol for emulating a sensor, covering the frame layout, parser design, and error handling needed…
The Serial Peripheral Interface (SPI) is one of the most common protocols for connecting microcontrollers to external devices such as sensors, memory chips, and…
Expanding upon our single-channel DMA foundation, this guide scales the STM32F4’s ADC to simultaneously sample multiple analog channels. By enabling the ADC’s scan mode…
Taking data acquisition to the ultimate level of efficiency, this guide explores using Direct Memory Access (DMA) to capture continuous single-channel ADC conversions on…
Building upon the basic single-conversion method, transitioning to continuous mode with interrupts unlocks a highly efficient, non-blocking approach to capturing analog data. This technique…
This guide demonstrates how to configure the STM32F4 Analog-to-Digital Converter (ADC) using the Low Layer (LL) drivers for a straightforward single-channel, single-conversion read. By…