| The design of embedded system is an important research direction in the field of electronic design. Embedded systems are widely used in national defense, transportation, communication and daily life for its high cost performance, low power consumption, intelligence, etc. With the development of audio standard and people's requirements to improve audio quality, the number of channels required handling increases quickly and audio algorithm becomes more and more complicated. Existed embedded audio encoder can not meet such needs. A lot of complex audio algorithm can not complete in real time but has to resort to general PC. This has greatly increased the difficulty of audio signal sampling and storage.In this thesis, an embedded audio encoder is developed based on Professional Audio Development Kit (PADK), which is designed by Lyrtech. The encoder is compatible with multiple audio standards and can extend to multiple channels. PADK is designed with the core DSP—TMS320C6727, which is the highest performance floating DSP produced by TI. Combined with Burr-Brown ADC and DAC, PADK is the ideal choice for professional audio developmentThis thesis focuses on the implementation of multiple standards audio encoder based on PADK. At the beginning, there is a brief introduction of three mainstream perceptual audio coding algorithms, and a summarization is made on the key modules which may affect the quality and the efficiency of encoder. After that, a brief introduction is made on the hardware feature of PADK and DSP/BIOS operating system, followed by a focus on the driver development methods under DSP/BIOS, in which the disign process of dMAX and McASP driver is mainly discussed. In the end, there is a depiction of configuration to make DSP reponse external interrupt, thus the multiple standards audio encoder switching function is realized.Through the transplanting of the audio algorithm on PADK and the task scheduling under DSP/BIOS operating system, an embedded audio encoder is implemented on this platform. Currently, this encoder can response to the external UART serial port interrupt to implement the encoding standard switching, and sample PCM in real time, accomplish AC-3 encoding algorithm without delay, transmit the encoded stream through S/PDIF interface. |