Preliminary
Architecture
www.ti.com
•
AFSXCTL: Configure the bits according to the discussion in this section.
•
ACLKXCTL: ASYNC = 1. Program CLKXDIV bits to obtain the bit clock rate desired. Configure
CLKXP and CLKXM bits as desired, because CLKX is not actually used in the DIT protocol.
•
AHCLKXCTL: Program all fields according to high-frequency clock desired.
•
XTDM: Set to FFFF FFFFh for all active slots for DIT transfers.
•
XINTCTL: Program all fields according to interrupts desired.
•
XCLKCHK: Program all fields according to clock checking desired.
•
SRCTLn: Set SRMOD = 1 (transmitter) for the DIT pins. DISMOD field is don't care for DIT mode.
•
DITCSRA[n], DITCSRB[n]: Program the channel status bits as desired.
•
DITUDRA[n], DITUDRB[n]: Program the user data bits as desired.
10.2.6.3.3 DIT Channel Status and User Data Register Files
The channel status registers (DITCSRAn and DITCSRBn) and user data registers (DITUDRAn and
DITUDRBn) are not double buffered. Typically the programmer uses one of the synchronizing
interrupts, such as last slot, to create an event at a safe time so the register may be updated. In
addition, the CPU reads the transmit TDM slot counter to determine which word of the register is being
used.
It is a requirement that the software avoid writing to the word of user data and channel status that are
being used to encode the current time slot; otherwise, it will be indeterminate whether the old or new
data is used to encode the bitstream.
The DIT subframe format is defined in
. The channel status information (C) and User
Data (U) are defined in these DIT control registers:
•
DITCSRA0 to DITCSRA5: The 192 bits in these six registers contain the channel status information
for the LEFT channel within each frame.
•
DITCSRB0 to DITCSRB5: The 192 bits in these six registers contain the channel status information
for the RIGHT channel within each frame.
•
DITUDRA0 to DITUDRA5: The 192 bits in these six registers contain the user data information for
the LEFT channel within each frame.
•
DITUDRB0 to DITUDRB5: The 192 bits in these six registers contain the user data information for
the RIGHT channel within each frame.
The S/PDIF block format is shown in
. There are 192 frames within a block (frame 0 to
frame 191). Within each frame there are two subframes (subframe 1 and 2 for left and right channels,
respectively). The channel status and user data information sent on each subframe is summarized in
.
1034Multichannel Audio Serial Port (McASP)
SPRUGX9 – 15 April 2011
© 2011, Texas Instruments Incorporated
Содержание TMS320C6A816 Series
Страница 2: ...Preliminary 2 SPRUGX9 15 April 2011 Submit Documentation Feedback 2011 Texas Instruments Incorporated...
Страница 92: ...92 Read This First SPRUGX9 15 April 2011 Submit Documentation Feedback 2011 Texas Instruments Incorporated...
Страница 1122: ...1122 Multichannel Audio Serial Port McASP SPRUGX9 15 April 2011 Submit Documentation Feedback 2011 Texas Instruments Incorporated...
Страница 1562: ...1562 Real Time Clock RTC SPRUGX9 15 April 2011 Submit Documentation Feedback 2011 Texas Instruments Incorporated...
Страница 1658: ...1658 Timers SPRUGX9 15 April 2011 Submit Documentation Feedback 2011 Texas Instruments Incorporated...
Страница 1750: ...1750 UART IrDA CIR Module SPRUGX9 15 April 2011 Submit Documentation Feedback 2011 Texas Instruments Incorporated...
Страница 1984: ...1984 Universal Serial Bus USB SPRUGX9 15 April 2011 Submit Documentation Feedback 2011 Texas Instruments Incorporated...