01.08.2013 Views

Chapter 22 Multichannel Audio Serial Port (McASP).pdf

Chapter 22 Multichannel Audio Serial Port (McASP).pdf

Chapter 22 Multichannel Audio Serial Port (McASP).pdf

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Functional Description www.ti.com<br />

<strong>22</strong>.3.8.2.2 Special 384 Slot TDM Mode for Connection to External DIR<br />

The <strong>McASP</strong> receiver also supports a 384 time slot TDM mode (DIR mode), to support S/PDIF, AES-3,<br />

IEC-60958 receiver ICs whose natural block (block corresponds to <strong>McASP</strong> frame) size is 384 samples.<br />

The advantage to using the 384 time slot TDM mode is that interrupts may be generated synchronous to<br />

the S/PDIF, AES-3, IEC-60958, such as the last slot interrupt.<br />

The receive TDM time slot register (RTDM) should be programmed to all 1s during reception of a DIR<br />

block. Other TDM functionalities (for example, inactive slots) are not supported (only the slot counter<br />

counts the 384 subframes in a block).<br />

To receive data in the DIR mode, the following pins are typically needed:<br />

• ACLKR - receive bit clock.<br />

• AFSR - receive frame sync (or commonly called left/right clock). In this mode, AFSR should be<br />

connected to a DIR which outputs a start of block signal, instead of LRCLK.<br />

• One or more serial data pins, AXRn, whose serializers have been configured to receive.<br />

For this special DIR mode, the control registers can be configured just as for TDM mode, except set<br />

RMOD in AFSRCTL to 384 to receive 384 time slots.<br />

<strong>22</strong>.3.8.3 Digital <strong>Audio</strong> Interface Transmit (DIT) Transfer Mode<br />

In addition to the TDM and burst transfer modes, which are suitable for transmitting audio data between<br />

ICs inside the same system, the digital audio interface transmit (DIT) transfer mode of the <strong>McASP</strong> also<br />

supports transmission of audio data in the S/PDIF, AES-3, or IEC-60958 format. These formats are<br />

designed to carry audio data between different systems through an optical or coaxial cable. The DIT mode<br />

only applies to serializers configured as transmitters, not receivers. See Section <strong>22</strong>.3.3.2 for a description<br />

of the S/PDIF format.<br />

<strong>22</strong>.3.8.3.1 Transmit DIT Encoding<br />

The <strong>McASP</strong> operation in DIT mode is basically identical to the 2 time slot TDM mode, but the data<br />

transmitted is output as a biphase mark encoded bit stream, with preamble, channel status, user data,<br />

validity, and parity automatically stuffed into the bit stream by the <strong>McASP</strong>. The <strong>McASP</strong> includes separate<br />

validity bits for even/odd subframes and two 384-bit RAM modules to hold channel status and user data<br />

bits.<br />

The transmit TDM time slot register (XTDM) should be programmed to all 1s during DIT mode. TDM<br />

functionality is not supported in DIT mode, except that the TDM slot counter counts the DIT subframes.<br />

To transmit data in the DIT mode, the following pins are typically needed:<br />

• AHCLKX - transmit high-frequency master clock.<br />

• One or more serial data pins, AXRn, whose serializers have been configured to transmit.<br />

AHCLKX is optional (the internal clock source may be used instead), but if used as a reference, the<br />

processor provides a clock check circuit that continually monitors the AHCLKX input for stability.<br />

If the <strong>McASP</strong> is configured to transmit in the DIT mode on more than one serial data pin, the bit streams<br />

on all pins will be synchronized. In addition, although they will carry unique audio data, they will carry the<br />

same channel status, user data, and validity information.<br />

The actual 24-bit audio data must always be in bit positions 23-0 after passing through the first three<br />

stages of the transmit format unit.<br />

3948 <strong>Multichannel</strong> <strong>Audio</strong> <strong>Serial</strong> <strong>Port</strong> (<strong>McASP</strong>) SPRUH73E–October 2011–Revised May 2012<br />

Submit Documentation Feedback<br />

Copyright © 2011–2012, Texas Instruments Incorporated

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!