English
Language : 

TLC320AC02C Datasheet, PDF (78/84 Pages) Texas Instruments – Single-Supply Analog Interface Circuit
TMS320C5x
CLKOUT
DX
DR
FSX
FSR
CLKX
CLKR
TLC320AC02
14
MCLK
10
DIN
11
DOUT
12
FS
FSD
13
SCLK
Master Mode
TLC320AC02
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
AC02s run in is called master/slave mode. One AC02 is the master and all of the rest of the AC02s 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 AC02. The master has a 0 in the LSB and all of the slaves have a 1
in the LSB.
The AC02s 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 AC02 and then starting
the software associated with the first AC02. All other AC02s follow in order. It is possible to have different
software for each AC02.
A reference design was constructed using a TMS320C5X DSP starter kit (DSK). The AC02s 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