Getting Started with STM32 Low Layer (LL): PWM DMA
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…
Examples explicitly targeting the STM32F4 family.
296 articles
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…
In this fifth part of our STM32 Low-Layer (LL) I2C series, we complete our non-blocking driver suite by leveraging Direct Memory Access (DMA) for…
With the timer and GPIO successfully configured, we will now shift our focus to actively transmitting data. By leveraging the TIM3 interrupt, the microcontroller…
In the fourth part of our STM32 Low-Layer (LL) I2C series, we offload transaction overhead from the CPU by implementing Direct Memory Access (DMA)…