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 />

The third basic element of a synchronous serial interface is the frame synchronization signal, also referred<br />

to as frame sync in this document.<br />

Frame A frame contains one or multiple slots, as determined by the desired protocol. Figure <strong>22</strong>-16 shows an example frame<br />

of data and the frame definitions. Figure <strong>22</strong>-16 does not specify whether the frame sync (FS) is for transmit (AFSX)<br />

or receive (AFSR) because the definitions of terms apply to both receive and transmit interfaces. In operation, the<br />

transmitter uses AFSX and the receiver uses AFSR. Optionally, the receiver can use AFSX as the frame sync when<br />

the transmitter and receiver of the <strong>McASP</strong> are configured to operate synchronously.<br />

This section only shows the generic definition of the frame sync. See Section <strong>22</strong>.3.3 and Section <strong>22</strong>.3.8.1<br />

for details on the frame sync formats required for the different transfer modes and protocols (burst mode,<br />

TDM mode and I2S format, DIT mode and S/PDIF format).<br />

Figure <strong>22</strong>-16. Definition of Frame and Frame Sync Width<br />

FS<br />

AXRn<br />

Slot 0 Slot 1<br />

Slot<br />

Frame<br />

Frame sync width<br />

(1) In this example, there are two slots in a frame, and FS duration of slot length is shown.<br />

Other terms used throughout the document:<br />

TDM Time-division multiplexed. See Section <strong>22</strong>.3.3.1 for details on the TDM protocol.<br />

DIR Digital audio interface receive. The <strong>McASP</strong> does not natively support receiving in the S/PDIF format. The<br />

<strong>McASP</strong> supports I2S format output by an external DIR device.<br />

DIT Digital audio interface transmit. The <strong>McASP</strong> supports transmitting in S/PDIF format on up to all data pins<br />

configured as outputs.<br />

I2S Inter-Integrated Sound protocol, commonly used on audio interfaces. The <strong>McASP</strong> supports the I2S protocol as<br />

part of the TDM mode (when configured as a 2-slot frame).<br />

Slot or For TDM format, the term time slot is interchangeable with the term slot defined in this section. For DIT format, a<br />

Time Slot <strong>McASP</strong> time slot corresponds to a DIT subframe.<br />

<strong>22</strong>.3.5 Clock and Frame Sync Generators<br />

The <strong>McASP</strong> clock generators are able to produce two independent clock zones: transmit and receive<br />

clock zones. The serial clock generators may be programmed independently for the transmit section and<br />

the receive section, and may be completely asynchronous to each other. The serial clock (clock at the bit<br />

rate) may be sourced:<br />

• Internally - by passing through two clock dividers off the internal clock source (AUXCLK).<br />

• Externally - directly from ACLKR/X pin.<br />

• Mixed - an external high-frequency clock is input to the <strong>McASP</strong> on either the AHCLKX or AHCLKR<br />

pins, and divided down to produce the bit rate clock.<br />

In the internal/mixed cases, the bit rate clock is generated internally and should be driven out on the<br />

ACLKX (for transmit) or ACLKR (for receive) pins. In the internal case, an internally-generated highfrequency<br />

clock may be driven out onto the AHCLKX or AHCLKR pins to serve as a reference clock for<br />

other components in the system.<br />

The <strong>McASP</strong> requires a minimum of a bit clock and a frame sync to operate, and provides the capability to<br />

reference these clocks from an external high-frequency master clock. In DIT mode, it is possible to use<br />

only internally-generated clocks and frame syncs. Both the AUXCLK and System Clock are generated<br />

from SYSCLK2 (CLKDIV6 domain).<br />

3940 <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!