Demonstration firmware for PWM resolution enhancement through dithering technique software expansion for STM32Cube (AN4507)

X-CUBE-PWM-DITHR is an STM32 Cube embedded software expansion package. It provides a demonstration firmware for implementing the PWM resolution enhancement technique for the STM32 general-purpose timers.

For more details, please refer to the application note PWM resolution enhancement through a dithering technique for STM32 advanced-configuration, general-purpose and lite timers (AN4507).

Key Features

  • Provides a reference implementation of the PWM resolution enhancement technique as described by the AN4507 application note document
  • Demonstrates the boosting of the STM32 general-purpose timer hardware capabilities through the generating of a 9-bit resolution instead of 6-bit resolution (hardware limit) PWM signal at 1.25 MHz PWM frequency
  • Demonstration example designed in a way that makes easy the perception of the added resolution bits using standard lab equipment(a low-pass filter and an oscilloscope)
  • Demonstration software readily runs on the NUCLEO-F302R8 Nucleo board populated with an STM32F302R8T6 microcontroller
  • Software easily migrated to any other microcontroller in the STM32 family
  • Software source-code template generated by the STM32CubeMx software tool
  • Easily tailorable for any other toolchain provided by the STM32 ecosystem
  • Software's source-code well commented and highly readable making most of its sub-routines easily integrable into source-code snippet libraries

Resources

Technical Documentation

Product Specifications
Description Version Size
DB3174 DB3174: PWM resolution enhancement through a dithering technique with software expansion for STM32Cube 1.0 123 KB
Application Notes
Description Version Size
AN4507 AN4507: PWM resolution enhancement through a dithering technique for STM32 advanced-configuration, general-purpose and lite timers 2.0 568 KB

Publications and Collaterals

Brochures
Description Version Size
STM32 Open Development Environment Brochure 15.10 4 MB

Legal

License Agreement
Description Version Size
SLA0048 SLA0048: Mix Ultimate Liberty+OSS+3rd-party V1 - SOFTWARE LICENSE AGREEMENT 3.0 104 KB

Get Software

Part Number Software Version Marketing Status Supplier Order from ST
X-CUBE-PWM-DITHR 1.0.0 Active ST

 

Support & Community


×