AN02036: Making an LED glow using Pulse Density Modulation

vendor:

XMOS

version:

1.1.0

scope:

Example

description:

Making a LED glow using various algorithms

category:

General purpose

keywords:

IO

hardware:

XK-EVK-XU316

Summary

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.

Features

  • Pulse Density Modulator

Known issues

  • None

Required tools

  • XMOS XTC Tools: 15.3.1

Required libraries (dependencies)

  • None