AD73311
–30–
REV. B
APPENDIX C
Configuring a Cascade of Two AD73311s to Operate in
Data Mode
This section describes a typical sequence of control words that
would be sent to a cascade of two AD73311s to set them up for
operation. It is not intended to be a definitive initialization
sequence, but will show users the typical input/output events
that occur in the programming and operation phases
1
. This
description panel refers to Figure 35.
In Step 1, we have the first output sample event following device
reset. The SDOFS signal is raised on both devices simulta-
neously, which prepares the DSP Rx register to accept the ADC
word from Device 2, while SDOFS from Device 1 becomes an
SDIFS to Device 2. As the SDOFS of Device 2 is coupled to
the DSPs TFS and RFS, and to the SDIFS of Device 1, this
event also forces a new control word to be output from the DSP
Tx register to Device 1.
In Step 2, we observe the status of the devices following the
transmission of the first control word. The DSP has received the
ADC word from Device 2, while Device 2 has received the
ADC word from Device 1 and Device 1 has received the Con-
trol word destined for Device 2. At this stage, the SDOFS of
both devices are again raised because Device 2 has received
Device 1s ADC word, and as it is not a valid control word
addressed to Device 2, it is passed on to the DSP. Likewise,
Device 1 has received a control word destined for Device 2
address field is not zeroand it decrements the address field of
the control word and passes it on.
Step 3 shows completion of the first series of control word
writes. The DSP has now received both invalid ADC words and
each device has received a control word that addresses control
register B and sets the internal MCLK divider ratio to 1, SCLK
rate to DMCLK/8. Note that both devices are updated simulta-
neously as both receive the addressed control word at the same
time. This is an important factor in cascaded operation as any
latency between updating the SCLK or DMCLK of devices can
result in corrupted operation. This will not happen in the case
of a FSLB configuration as shown here, but must be taken into
account in a non-FSLB configuration. One other important
observation of this sequence is that the data words are received
and transmitted in reverse order, i.e., the ADC words are
received by the DSP, Device 2 first, then Device 1, and similarly
the transmit words from the DSP are sent Device 2 first, then
Device 1. This ensures that all devices are updated at the same
time.
In Step 4, the next ADC sample event that happens raises the
SDOFS lines of each of the devices. The DSP Tx register con-
tains the first of the two control words to be written to the cas-
cadethe word for Device 2.
In Step 5, following transmission of the first of the two control
words, the DSP Rx register contains Device 2s ADC word,
Device 2s serial register contains the Device 1 ADC word,
Device 1s serial register contains the control word addressed to
Device 2 and the DSP Tx register contains the next control
wordthat addressed to Device 1. Again, both devices raise
their SDOFS lines as both have received control words not
addressed to them.
Step 6 shows the completion of the second set of control word
writes. In this case, both devices have received a control word
addressed to control register A, which sets the device count field
equal to two devices in cascade and sets the PGM/DATA bit to
one to put the device in data mode.
In Step 7, the programming phase is complete and we now
begin actual device data read and write. The words loaded into
the serial registers of the two devices at the ADC sampling event
now contain valid ADC data and the words written to the de-
vices from the DSPs Tx register will now be interpreted as
DAC words. Note, therefore, that the DSP Tx register contains
the DAC word for Device 2.
In Step 8, the first DAC word has been transmitted into the
cascade and the ADC word from Device 2 has been read from
the cascade. The DSP Tx register now contains the DAC word
for Device 1. As the words being sent to the cascade are now
being interpreted as 16-bit DAC words, the addressing scheme
now changes from one where the address was embedded in the
transmitted word to one where the serial port now counts the
SDIFS pulses. When the number of SDIFS pulses received
equals the value in the device count field of control register A
the length of the cascadeeach device updates its DAC register
with the present word in its serial register. In Step 8 each device
has received only one SDIFS pulse; Device 2 received one
SDIFS from the SDOFS of Device 1 when it sent its ADC word
and Device 1 received one SDIFS pulse when it received the
DAC word for Device 2 from the DSPs Tx register. Therefore,
each device raises its SDOFS line to pass on the current word in
its serial register, and each device now receives another SDIFS
pulse.
Step 9 shows the completion of an ADC read and DAC write
cycle. Following Step 8, each device has received two SDIFS
pulses that equal the setting of the device count field in Control
Register A. The DAC register in each device is now updated
with the contents of the word that accompanied the SDIFS
pulse which satisfied the device count requirement. The internal
frame sync counter is now reset to zero and will begin counting
for the next DAC update cycle.
NOTE
1
This sequence assumes that the DSP SPORTs Rx and Tx interrupts are enabled.
It is important to ensure that there is no latency (separation) between control
words in a cascade configuration. This is especially the case when programming
Control Register B as it contains settings for SCLK and DMCLK rates.
AD73311
–31–
REV. B
DSP TX REG
DEVICE 1 DEVICE 2
CONTROL WORD 2
1 0 001 001 00000011
ADC WORD 1 *
0000 0000 0000 0000
DON'T CARE
XXXX XXXX XXXX XXXX
ADC WORD 2 *
0000 0000 0000 0000
DSP RX REG
STEP 1
DSP TX REG DEVICE 1
DEVICE 2
CONTROL WORD 1
1 0 000 001 00000011
CONTROL WORD 2
1 0 001 001 00000011
ADC WORD 2 *
0000 0000 0000 0000
ADC WORD 1 *
0000 0000 0000 0000
DSP RX REG
STEP 2
DSP TX REG
DEVICE 1
DEVICE 2
DAC WORD 2
0111 1111 1111 1111
ADC WORD 1
1010 1010 1010 1010
DON'T CARE
XXXX XXXX XXXX XXXX
ADC WORD 2
0101 0101 0101 0101
DSP RX REG
STEP 7
DSP TX REG DEVICE 1
DEVICE 2
CONTROL WORD 2
1 0 001 000 00010001
ADC WORD 1 *
1011 1001 0000 0011
DON'T CARE
XXXX XXXX XXXX XXXX
ADC WORD 2 *
1011 1001 0000 0011
DSP RX REG
STEP 4
DSP TX REG
DEVICE 1
DEVICE 2
CONTROL WORD 2
1 0 001 000 00010001
CONTROL WORD 1
1 0 000 001 00000011
ADC WORD 1 *
0000 0000 0000 0000
CONTROL WORD 2
1 0 000 001 00000011
DSP RX REG
STEP 3
DSP TX REG
DEVICE 1
DEVICE 2
CONTROL WORD 1
1 0 000 000 00010001
CONTROL WORD 2
1 0 001 000 00010001
ADC WORD 2 *
1011 1001 0000 0011
ADC WORD 1 *
1011 1001 0000 0011
DSP RX REG
STEP 5
DSP TX REG DEVICE 1
DEVICE 2
DAC WORD 2
0111 1111 1111 1111
CONTROL WORD 1
1 0 000 000 00010001
ADC WORD 1 *
1011 0001 0000 0011
CONTROL WORD 2
1 0 000 000 00010001
DSP RX REG
STEP 6
DSP TX REG DEVICE 1
DEVICE 2
DAC WORD 1
1000 0000 0000 0000
DAC WORD 2
0111 1111 1111 1111
ADC WORD 2
0101 0101 0101 0101
ADC WORD 1
1010 1010 1010 1010
DSP RX REG
STEP 8
DSP TX REG
DEVICE 1
DEVICE 2
DAC WORD 2
0111 1111 1111 1111
DAC WORD 1
1000 0000 0000 0000
ADC WORD 1
1010 1010 1010 1010
DAC WORD 2
0111 1111 1111 1111
DSP RX REG
STEP 9
*ADC SAMPLES DURING PROGRAM MODE ARE INVALID.
Figure 35. Programming Two AD73311s in Cascade for Normal Data Mode
AD73311
–32–
REV. B
APPENDIX D
Configuring a Cascade of Two AD73311s to Operate in Mixed
Mode
This section describes a typical sequence of control words that
would be sent to a cascade of two AD73311s to configure them
for operation in mixed mode. It is not intended to be a definitive
initialization sequence, but will show users the typical input/
output events that occur in the programming and operation
phases
1
. This description panel refers to Figure 36.
In Step 1, we have the first output sample event following device
reset. The SDOFS signal is raised on both devices simulta-
neously, which prepares the DSP Rx register to accept the ADC
word from Device 2 while SDOFS from Device 1 becomes an
SDIFS to Device 2. The cascade is configured as nonFSLB,
which means that the DSP has control over what is transmitted
to the cascade
2
.
In Step 2, we observe the status of the devices following the
transmission of the first control word. The DSP has received the
ADC word from Device 2, while Device 2 has received the ADC
word from Device 1 and Device 1 has received the Control word
destined for Device 2. At this stage, the SDOFS of both devices
are again raised because Device 2 has received Device 1s ADC
word and, as it is not addressed to Device 2, it is passed on to
the DSP. Likewise, Device 1 has received a control word des-
tined for Device 2address field is not zeroand it decrements
the address field of the control word and passes it on.
Step 3 shows completion of the first series of control word
writes. The DSP has now received both ADC words and each
device has received a control word that addresses Control Regis-
ter A and sets the device count field equal to two devices and
programs the devices into Mixed ModeMM and PGM/DATA
set to one.
In Step 4, the next ADC sample event that happens raises the
SDOFS lines of each of the devices. The devices are in mixed
mode, which means that the serial port interrogates the MSB of
the 16-bit word sent to determine whether it contains DAC data
or control information. Following the programming of the device,
the ADC word in each device may need to be reconstructed
into mixed mode in Steps 1 to 3. This phenomenon also occurs
during mixed mode operation when a control word is written to
a device. The DSP Tx register contains the first of the two control
words to be written to the cascadethe word for Device 2.
In Step 5, following transmission of the first of the two control
words, the DSP Rx register contains Device 2s ADC word,
Device 2s serial register contains the Device 1 ADC word,
Device 1s serial register contains the control word addressed to
Device 2, and the DSP Tx register contains the next control
wordthat addressed to Device 1. Again, both devices raise
their SDOFS lines as both have received control words not
addressed to them.
Step 6 shows the completion of the second set of control word
writes. In this case both devices have received a control word
addressed to Control Register C which powers up the analog
sections of the devices. A control word is sent from the DSPs
Tx register to read control register C of Device 2. This is done
to avoid corruption of the next ADC word
3
.
In Step 7, the control word written to Device 2 is in Device 1,
and the DSP Tx register contains a control word to read Regis-
ter C of Device 1.
In Step 8, the control words implementing a read have been
received by both Devices 1 and 2. When the read bit in the
control word is recognized, it generates SDOFS pulses in both
devices to output the register data.
In Step 9, the read word from Device 2 has been transferred to
the DSPs Rx register with its address field decremented. The
read word from Device 1 has been transferred to Device 2s
serial register with its address field decremented. As this control
word in Device 2 does not have its address field at zero, it is not
addressing Device 2; it is shifted out of Device 2 following the
pulsing of the SDOFS line.
In Step 10, the readback is complete with the Device 1 read
word being transferred to the DSPs Rx register. Note that its
address field has been further decremented.
Step 11 shows the next sample event. Note that the ADC values
are not corrupted due to the effects of the reads implemented in
steps 69.
The above example does not implement a DAC update but it is
possible to update the DACs and modify the control registers
within an ADC sampling interval providing the SCLK rate and
cascade length allows. DAC update uses the same frame sync
counting mechanism as detailed in the section on programming
a cascade for data mode operation
4
.
NOTES
1
This sequence assumes that the DSP SPORTs Rx and Tx interrupts are
enabled. It is important to ensure there is no latency (separation) between
control words in a cascade configuration. This is especially the case when
programming Control Register B, as it contains settings for SCLK and
DMCLK rates.
2
In mixed mode it is possible to transmit both DAC and control words to the
devices in a cascade. If FSLB is used, the number of words sent to the cascade
equals the number of devices in the cascade, which means that DAC updates
may need to be substituted with a register write. In nonFSLB, the DSP can
send extra control words if necessary and if there is sufficient time before the
next sample event.
3
In mixed mode, it may be necessary to terminate a control word write to a
device with a control word read to that device in order to ensure that the next
ADC sample is correct. Alternatively the ADC word can either be discarded or,
if this is not possible, be rebuilt by incrementing the address field within the
16-bit word.
4
In mixed mode, DAC update is done using the same SDIFS counting scheme
as in normal data mode with the exception that only DAC words (MSB set to
zero) are recognized as being able to increment the frame sync counters.

AD73311ARZ-REEL

Mfr. #:
Manufacturer:
Analog Devices Inc.
Description:
Analog Front End - AFE SGL-Ch 3-5V Front-End Processor
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union