Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Message

Sinewave Direct Digital Synthesis Example Posted

2005-02-12 by tkreyche

After getting a great deal of good advice from the group, here's my 
small contribution:

A simple example of how to use the LPC2138 to create a sine wave 
using direct digital synthesis (DDS).

It was developed for the Keil LPC2138 board and compiler and puts out 
an audio tone from the DAC using the amplifier on the board. It 
should work for other boards as well.

It's amazingly simple to create very nice looking sine waves using 
DDS on the LPC2138. The waves can easily be frequency modulated or 
amplitude modulated, and you can create musical chords by combining 
multiple sine waves.

I included a couple technical documents that explain the process in 
detail--as a result there are relatively few comments in the source 
code.

Tom Kreyche

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.