MCB2140 User's GuideIntroduction Setup Theory of Operation Writing Programs Example Programs BLINKY Building BLINKY Downloading BLINKY Debugging BLINKY Checking Serial Output SOUND Building SOUND Downloading SOUND Debugging SOUND VOICE Building VOICE Downloading VOICE Debugging VOICE Checking Serial Output USBHID - Human Interface Device Building USBHID Downloading USBHID Running USBHID Debugging USBHID (ULINK only) USBMEM - Mass Storage Device Building USBMEM Downloading USBMEM Running USBMEM USBAudio Building USBAudio Downloading USBAudio Running USBAudio More Information
The VOICE example project demonstrates how to use the on-chip D/A converter of the LPC214x to play WAVE formatted data on the MCB2140's speaker.
This program plays a series of 7 pre-recorded WAVE tracks in sequence. The on-board potentiometer controls the volume, and the serial port outputs information about each WAVE track. A different LED (P1.17-P1.23) displays as each of the 7 tracks play.
The VOICE example project demonstrates assembling, compiling, linking, downloading, and debugging using the µVision IDE on the MCB2140 board. The IDE also executes the CONVERT batch file that converts the WAVE files to HEX-386 (H86) files for download. The BIN2HEX program that creates the .H86 file may be downloaded from the Keil web site at:
To load this project, select Open Project from the Project menu and open VOICE.UV2 from the folder \KEIL\ARM\BOARDS\KEIL\MCB2130\VOICEPLAYER.
When the VOICE project opens, the µVision Project Workspace window displays the source files that make up the project.
The Abstract.txt file contains documentation about the project.
You may edit Main.c or review the source code. Double click on Main.c in the Files page of the Project Workspace window. µVision loads and displays the contents of Main.c in an editor window.
Perform the following four steps to run the VOICE Example on the MCB2140 Evaluation Board:
of your data.