Learn to configure STM32 ADC external trigger using timers for precise sampling control. Includes CubeMX setup and HAL code for F1, F4, and H7 series.
Microcontroller Tutorials with Code from Scratch
Learn STM32, ESP32, and embedded systems by writing code from scratch using datasheets and reference manuals. All tutorials are tested on actual hardware to help you build reliable, real-world projects with full control and understanding.
What’s New in STM32
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
Master STM32 ADC reading on multiple channels without DMA. Includes CubeMX setup and HAL C code for STM32F1, F4, and H7 to read channels individually.
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)
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
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 code.