With the continuous improvement of people’s living standards, the performance requirements of the electronic music player are increasing.What the major businesses concerned is not how to achieve the MP3, but how to achieve low-cost,low-power and high-performance platform MP3. This means that the optimization of the original MP3standard which is in the implementation process is currently a hot issue. Because ARM processor is cost-effective and has rich peripheral resources, more and more embedded R&D staff use it. Recent years, embedded systems and Linux systems have been widely used in network communications, industrial control, set-top boxes, PDA, and many other fields.This paper proposed a MP3player design based on embedded Linux platform, and the design is more flexible. This player uses buttons to control playback, with the basic functions of the MP3and the sound quality is higher.According to the features which player system needs to reach, this paper analysis of the project’s design requirements and puts forward the overall design of embedded MP3player.The entire player is divided into two parts:building development environment and designing application. The program detailed analysis of the entire implementation process.The hardware platform of the program uses MINI2440development board based on S3C2440core.Establishment of the development environment comprising:First,building development environment in the embedded MINI2440development board;then transplanting U-Boot;cropping the open sourceã€implementation of high efficiency and widely used Linux kernel; building a minimal root file system.The software design is divided into four major parts:the audio decoding module, MP3decoding module, the key driver module and playing processing module. Audio decoding module uses UDA1341audio decoder chip, then detailed analysising UDA1341’s characteristics and achieving its driver’s transplantation; In order to reduce the hardware cost of the player,MP3decoding module uses the open source efficient and free madplay of software decoding scheme, then detailed analysising the characteristics of the madplay, and achieving its transplantation; The UDA1341TS audio decoding organicly combine with madplay software decoding ensures the sound quality of MP3. Analysis of the principle of the MINI2440key equipment, then successfully designed and implemented a key driver module; Finally, analysis of the play process flow, then using interprocess communication to design playback processing module, successful implementation of the MP3player function with keys contro.This player has been tested and runs well. It has sound playback capabilities, excellent outputting audio signal and complies with the design standards. |