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 |
|
Re: Sinewave Direct Digital Synthesis Example Posted