• HOME
  • STM32
    • HAL Drivers
      • Peripherals
        • ADC Tutorials
        • CAN Bus Tutorials
        • I²C Slave Tutorials
        • Timer Tutorials
        • UART Tutorials
        • USB Tutorials
      • Ethernet
        • W5500 Tutorials
        • LWIP Tutorials
      • RTOS
        • FreeRTOS Tutorials
      • Modbus
        • RTU Tutorials
      • Display & GUI
        • TouchGFX Tutorials
        • LVGL Tutorials
      • Custom Bootloader Series
      • IoT (ESP8266) Series
      • Storage Tutorials
    • TCP/IP
      • Mongoose TCP/IP
    • LL Drivers
    • Register Programming
  • ESP32
    • FreeRTOS Series
  • Arduino
    • Arduino Displays
    • Arduino Modules
    • Arduino Sensors
    • Arduino FreeRTOS
  • TIVA C
  • AVR
  • Contact US
Home ▸ STM32 HAL ▸ Peripherals ▸ Timer Tutorials

STM32 Timer Tutorials – HAL, PWM, Input Capture & Timers

Explore detailed timer tutorials using HAL and register code. Topics include PWM output, input capture for measuring signals, output compare, encoder mode & Slave mode setup — all demonstrated with practical hardware projects.

How to Generate PWM in STM32 using Timers

STM32 Timers (Part 1): Generate PWM Signal with DMA using HAL

October 24, 2017
How to measure PWM signal in STM32

STM32 Timers (Part 2): How to Measure PWM Input Signal

May 24, 2019
How to Interface Incremental Encoders with STM32 Using Timer Encoder Mode

STM32 Timers (Part 3): How to use the Timer Encoder Mode

June 5, 2021
How to use Timer Input Capture Mode in STM32

STM32 Timers (Part 4): Input Capture Tutorial | Measure Frequency & Pulse Width

June 14, 2021
STM32 Timer Synchronization Using Slave Trigger Mode

STM32 Timers (Part 5): STM32 Timer Synchronization Using Slave Trigger Mode

December 26, 2022
How to Generate 3-Phase PWM Using Synchronized STM32 Timers

STM32 Timers (Part 6): Timer Synchronization for 3-Phase PWM Generation

January 2, 2023
Understanding STM32 Timer Synchronization in Slave Reset Mode

STM32 Timers (Part 7): Timer synchronization using Slave Reset mode

January 14, 2023
How to Create a 48-Bit Counter by Cascading STM32 Timers

STM32 Timers (Part 8): How to Create a 48-Bit Counter by Cascading Timers

February 4, 2023
STM32 One Pulse Mode (OPM) – How to Generate a Single Triggered Pulse

STM32 Timers (Part 9): One Pulse Mode (OPM) – Generate Precise Triggered Pulses with Delay and Width Control

March 2, 2023
How to Use STM32 Timers in Gated Mode for Conditional Counting and PWM Control

STM32 Timers (Part 10): Timer in Gated Mode ‒ Control PWM and Counter with External Signals

April 29, 2023

Subscribe to Our Newsletter

© 2026 ControllersTech® · All Rights Reserved · Built with ❤️ for Embedded Engineers

  • ABOUT US
  • Privacy Policy
  • Affiliate Links
  • SHOP
  • Contact US