Yahoo Groups archive

Lpc2000

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

Message

Re: [lpc2000] Sinewave Direct Digital Synthesis Example Posted

2005-02-12 by Leon Heller

----- Original Message ----- 
From: "tkreyche" <tkreyche@...>
To: <lpc2000@yahoogroups.com>
Sent: Saturday, February 12, 2005 11:42 PM
Subject: [lpc2000] Sinewave Direct Digital Synthesis Example Posted


>
>
> 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.

I did something similar some time ago with the LPC2106, with an AD557 DAC. 
That was when I found the limitation on the GPIO speed, I couldn't generate 
a higher frequency than I could with an AVR.

Leon 



-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 265.8.7 - Release Date: 10/02/2005

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.