ProductsMicrocontrollersSupportMicrocontrollers Design Examples

Audio player design example

Description
The Audio Player Design Example, based on an NXP LPC2138 ARM7-based microcontroller, delivers high-quality, uncompressed, 16-bit digital audio playback. This design allows engineers to add MP3 music or sound effects to a variety of consumer applications at a very low cost. Entertaining sounds could be added to children's items or music clips could be easily added to products targeted at teens. There is no limit to the number of existing applications that could be enhanced by inexpensively adding high-quality sound or music.

Block Diagram

Documentation

Products
Below are recommended microcontrollers for use in implementing this design to a system.

Comparison Table

Product Pins On-Chip
Flash
On-Chip
RAM
Comments
LPC2138 64 512KB 32KB Base microcontroller used in the design example.
LPC2136 64 256KB 32KB A lower-cost microcontroller with the same amount of on-chip RAM but with only half the on-chip flash memory.
LPC2146 64 256KB 32KB
+ 8KB
An upgraded microntroller with more on-chip RAM allowing for a real-time MP3 software decoder. The added USB interface allows file transfer with a personal computer.
LPC2148 64 512KB 32KB
+ 8KB
An upgrade to the LPC2138 microntroller, the LPC2148 substitutes Full-speed USB 2.0 device functionality for a slightly higher cost.

MCUs

Click for datasheet. Also, see datasheet disclaimer.
, , indicate product status. Click or for more or less detail.
 LPC2136 Microcontroller with 256KB ISP/IAP flash, 2x10-bit ADC, DAC
 LPC2138 Microcontroller with 512KB ISP/IAP flash, 2x10-bit ADC, DAC
LPC2138FBD64LQFP-64DiscontinuedSOT314-2Pb-FreeMSL=1
LPC2138FBD64/01LQFP-64ProductionSOT314-2Pb-Free        
LPC2138FHN64HVQFN-64DiscontinuedSOT804-2Pb-FreeMSL=3
LPC2138FHN64/01HVQFN-64ProductionSOT804-2Pb-Free        
Family Functions Literature Models Support Docs Tools Consultants Price Buy Online More...
 LPC2146 Microcontroller with USB 2.0 full-speed device, 256KB ISP/IAP flash, 2x10-bit ADC, DAC
 LPC2148 Microcontroller with USB 2.0 full-speed device, 512KB ISP/IAP flash, 2x10-bit ADC, DAC
More Information

Images


Working Prototype
DAC Circuit SD Card Interface

Schematics

Example Code

Disclaimer

This design example shows possible hardware and software techniques used to implement the design. It is imperative that the viewer use sound engineering judgment in determining the fitness of this design example for any particular application. This design example may include information from 3rd parties and/or information which may require further licensing or otherwise. Additional hardware or software design may be required. NXP Semiconductors does not support or warrant this information for any purpose other than an informational design example.
Standard ICs quick find
Microcontrollers sections
See also