Uncover how to calculate and measure STM32 ADC conversion time. Includes sampling, resolution, ADC clock formula, CubeMX setup, and logic analyzer demo.
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 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 H7 series.
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 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.
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 & demos.
STM32 ADC | PART 10 Reference Voltage
Understand STM32 ADC reference voltage options: internal VrefINT or external VREFBUF via VDDA/VREF+. Includes CubeMX config, sampling, and calibration code.