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…
A working example uses STM32 low-layer driver APIs.
25 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…
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…
Until now, the timer has only known how to repeat — PWM painting the same waveform over and over, forever. Output Compare is the…
In Part 1, we used a timer to measure time; now we’ll put it to work generating signals instead. In this part, we configure…
Accurate timing is a fundamental requirement in most embedded applications, whether for blinking an LED, polling a sensor, or driving communication protocols. This guide…
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…