Home STM32

STM32

189 Articles
Port U8G2 Graphics Library to STM32 – Step‑by‑Step

Port U8G2 Graphics Library to STM32 – Step‑by‑Step

Discover how to port the U8G2 monochrome graphics library to STM32 with hardware SPI, I2C, and software SPI methods. CubeMX setup, callbacks &...

STM32 ADC | PART 9 Oversampling Technique

STM32 ADC | PART 9 Oversampling Technique

Boost STM32 ADC resolution with hardware oversampling. Step-by-step guide for STM32, including CubeMX config, VM shifts, sampling, and HAL code demo.

STM32 ADC | PART 8 Injected Conversion Mode using CubeIDE

STM32 ADC | PART 8 Injected Conversion Mode using CubeIDE

Master STM32 ADC injected conversions for high‑priority sampling. Covers triggered & auto‑injection modes, CubeMX setup, HAL C code, and STM32F1/H7 examples.

STM32 ADC | PART 7 External Trigger Source Selection

STM32 ADC | PART 7 External Trigger Source Selection

Learn to configure STM32 ADC external trigger using timers for precise sampling control. Includes CubeMX setup and HAL code for F1, F4, and...

STM32 ADC | PART 6 Conversion Time Explained

STM32 ADC | PART 6 Conversion Time Explained

Uncover how to calculate and measure STM32 ADC conversion time. Includes sampling, resolution, ADC clock formula, CubeMX setup, and logic analyzer demo.

STM32 ADC | PART 5 Multi‑Channel without DMA using CubeIDE

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...

STM32 ADC | PART 4 Multi‑Channel Circular DMA Mode using HAL

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 3 Multi-Channel DMA (Normal Mode)

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 2 Single‑Channel Interrupt & DMA using HAL

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...