下载

Application Report
SPRA595
Digital Signal Processing Solutions September 1999
TMS320C6000 McBSP: I
2
S Interface
Todd Hiers / Rebecca Ma Digital Signal Processing Solutions
Abstract
This document describes how to use the multichannel buffered serial port (McBSP) in the
Texas Instruments (TI) TMS320C6000 digital signal processors (DSP) to interface with
devices that conform to the Inter-IC Sound (I
2
S) specification. I
2
S is a protocol for
transmitting two channels of digital audio data over a single serial connection.
The flexible McBSP in the TMS320C6000 supports the I
2
S specification by simple setup
of the serial control registers. The McBSP is capable of generating all of the necessary
clocking signals to act as the I
2
S master. The McBSP is also capable of receiving the
clocking signals to be the I
2
S slave. The dual-phase transmit/receive mode of the McBSP
is easy to configure for transmitting the left and right audio channels.
To make processing the audio data easier, it can be deinterleaved after reception or
reinterleaved before transmission automatically by the DMA controller. Using
autoincrementing and indexing with the proper index increment values, the DMA will fill or
draw from separate left and right channel buffers for reception or transmission.