English
Language : 

TLC320AC01C_15 Datasheet, PDF (81/92 Pages) Texas Instruments – Single-Supply Analog Interface Circuit
TMS320C5x
CLKOUT
DX
DR
FSX
FSR
CLKX
CLKR
TLC320AC01
14
MCLK
10
DIN
11
DOUT
12
FS
FSD
13
SCLK
Master Mode
TLC320AC01
14
MCLK
10
DIN
11
DOUT
12
FS
FSD
13
SCLK
Slave Mode
NOTE A: Terminal numbers shown are for the FN package.
Figure D–1. Master With Slave (to DSP Interface)
HARDWARE AND SOFTWARE SOLUTION
Once the hardware connections are completed, the issue becomes distinguishing one channel from
another. Fortunately, this is very easy to do in software and adds very little overhead. The mode that the
AC01s run in is called master/slave mode. One AC01 is the master and all of the rest of the AC01s are
slaves. The master can be distinguished from all of the slaves by examining the least significant bit (LSB)
in the receive word coming from the AC01. The master has a 0 in the LSB and all of the slaves have a 1
in the LSB.
The AC01s in master/slave mode take turns communicating with the DSP serial port. They do this is a round
robin or circular fashion. Synchronizing the system involves looking for the master AC01 and then starting
the software associated with the first AC01. All other AC01s follow in order. It is possible to have different
software for each AC01.
A reference design was constructed using a TMS320C5X DSP starter kit (DSK). The AC01s were
connected to the TDM serial port which is available at the headers on the edge of the DSK.
A listing of the DSK assembly code for a simple stereo input/output program is included in the following
section.
D–2