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.
Below are recommended microcontrollers for use in implementing this design to a system.
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. |
Working Prototype
DAC Circuit SD Card InterfaceSchematics
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.
documentation.pdf | 418.54 KB | |
schematics.zip | 123.65 KB | |
example.code_.zip | 719.42 KB |