AD1847
Ser ial D ata Inter face
Note that in this “1-wire” system example, the Digital Signal
Processor (DSP) and ISA Bus Interface ASIC (ASIC) use the
same slots to communicate to the AD1847. T his reduces the
number of total time slots required and eliminates the need for
the AD1847 to distinguish between DSP data and ASIC data.
Also, in this example the ASIC and the DSP do not send data to
the AD1847 at the same time, so separate slots are unnecessary.
T he AD1847 serial data interface uses a T ime Division Multi-
plex (T DM) scheme that is compatible with DSP serial ports
configured in Multi-Channel Mode with either 32 or 16 16-bit
time slots. An AD1847 is always the serial bus master, transmit-
ting the serial clock (SCLK) and the serial data frame sync
(SDFS). T he AD1847 always receives control and playback
data in time slots 0, 1 and 2. T he AD1847 will transmit status
or index register readback and capture data in time slots 0, 1
and 2 if T SSEL = 1, and will transmit status or index register
readback and capture data in time slots 3, 4 and 5 if T SSEL =
0. T he following table in Figure 7 shows an example of how the
time slots might be assigned.
T he digital data in the serial interface is pipelined up to 2
samples deep. T his pipelining is required to properly resolve the
interface between the relatively fast fixed SCLK rate, and the
relatively slow sample rates (and therefore frame sync rates) at
which the AD1847 is capable of running. At low sample rates,
two samples of data can be serviced in a fraction of a sample pe-
riod. For example, at an 8 kHz sample rate, 32 time slots only
consume 32 × 16 × (1/12.288 MHz) = 41.67 µs out of a 125 µs
period. T he two-deep data pipeline thus allows sample overrun
(capture) and sample underrun (playback) to be avoided.
In this example design, which uses the ADSP-21xx DSP, each
frame is divided into 32 time slots of 16-bits each (FRS = 0).
T wo audio samples are contained in the 32 time slots, with a
single frame sync (SDFS) at the beginning of the frame. T he
ADSP-21xx serial port (SPORT 0) supports 32 time slots. T he
format of the first 16 time slots (sample N) is the same as the
format of the second 16 time slots (sample N+1). In this ex-
ample, 24 time slots are used, as indicated below. Note that
time slots 12 through 15 and 28 through 31 are unused in this
example, and that Figure 7 presumes that T SSEL = 0 (“1-wire”
system).
Figure 8 represents a logical view of the slot utilization between
devices.
AD1847
0, 1, 2, 16, 17, 18
SDI
ASIC
SDO
3, 4, 5, 19, 20, 21
0, 1, 2,
3, 4, 5,
19, 20, 21
Slot Num ber Sou r ce
D estin ation For m at
AD1847 Control Word
16, 17, 18
0, 16
6, 7, 8,
22, 23, 24
9, 10, 11,
25, 26, 27
ADSP-21XX
1, 17
2, 18
3, 19
ASIC
AD 1847
Left Playback Data
Right Playback Data
AD1847 Status Word/
Index Readback
Left Capture Data
Right Capture Data
AD1847 Control Word
Left Playback Data
Right Playback Data
AD1847 Status Word/
Index Readback
Left Capture Data
Right Capture Data
DSP Control
DR
DT
DT
DR
NOTE: DSP MUST HAVE TWO SERIAL PORTS
4, 20
5, 21
0, 16
1, 17
2, 18
3, 19
AD 1847 ASIC
Figure 8. Tim e Slot Allocation Exam ple
DSP
AD 1847
Note that this is a system specific 1-wire example. For non-DSP
operation, the DSP is either not present or disabled. If the DSP
is present, the ASIC configures the DSP through slot 6 (and slot
22) to three-state its outputs in time slots 0, 1 and 2 (and slots
16, 17 and 18). T he ASIC can then enable its drivers for time
slots 0, 1 and 2 (and slots 16, 17 and 18). For DSP operation,
the ASIC three-states its outputs for time slots 0, 1 and 2 (and
slots 16, 17 and 18) and enables the DSP drivers for slots 0, 1
and 2 (and slots 16, 17, and 18).
4, 20
5, 21
6, 22
7, 23
AD 1847 DSP
ASIC
DSP
DSP
Left Processed
Playback Data
8, 24
Right Processed
Playback Data
An application note is available from Analog Devices with addi-
tional information on interfacing to the AD1847 serial port.
T his application note can be obtained through your local Ana-
log Devices representative, or downloaded from the DSP Bulle-
tin Board Service at (617) 461-4258 (8 data bits, no parity, 1
stop bit, 300/1200/2400/4600 baud).
9, 25
DSP Status
10, 26
ASIC
Left Processed
Capture Data
11, 27
Right Processed
Capture Data
Figure 7. Tim e Slot Assignm ent Exam ple
–18–
REV. B