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
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.

Strictly Necessary Cookies

Strictly Necessary Cookie should be enabled at all times so that we can save your preferences for cookie settings.

3rd Party Cookies

This website uses Google Analytics to collect anonymous information such as the number of visitors to the site, and the most popular pages.

Keeping this cookie enabled helps us to improve our website.