Tag: timer

  • STM32 PWM Output with Dead Time Using STM32Cube HAL Platform

      In this post I describe steps to create a STM32 project for creating complementary PWM outputs with dead time in between. I use STM32CubeMx tool to configure and create a project that is almost ready to compile. I use STM32F4Discovery development kit which has STM32F407 MCU on it. This MCU contains many Timers with […]

  • Using ARM Cortex-M SysTick Timer for Simple Delays

    ARM Cortex-M based microcontrollers has an included system tick timer as part of the core. It’s generally used as the tick timer of a RTOS. Hence the name “SysTick”. It’s also relatively simple and lacks advanced features. Only counts down 24 bit Auto-Reload register Dedicated interrupt Calibration value for interrupt period Can use system clock […]

  • Table for Selecting STM32 F4 Timers

    If you didn’t know already, STM32 F4 MCU’s can have a lot of timers. And not all of them are the same. Some are feature packed, some are 32 bits, some doesn’t support certain interrupt types. Even the most feature-full one may not have a specific function you need. In software you are free to […]