AN02036 : Making an LED glow with Pulse Density Modulation

VERSION RELEASED COMMENTS DOCUMENTATION SOFTWARE
1.0.0 2025-03-10 Examples of using port functions to control the brightness of an LED VIEW HTML VIEW PDF ZIP

Overview#

This application note describes how to build a Pulse Density Modulator, or PDM, to glow a led. It shows the principles of PDM, and three methods to implement PDM using just ports, timers and ports, and clocked ports.

Key features#

  • Pulse Density Modulator

Known issues#

  • None

Required tools#

  • XMOS XTC Tools: 15.3.0

Required libraries (dependencies)#

  • None

Support#

This package is supported by XMOS Ltd. Issues can be raised against the software at: http://www.xmos.com/support

Scroll to Top