LTC6813-1
53
Rev. A
For more information www.analog.com
Table30. Write/Read PEC Format
NAME RD/WR BIT 7 BIT 6 BIT 5 BIT 4 BIT 3 BIT 2 BIT 1 BIT 0
PEC0 RD/WR PEC[14] PEC[13] PEC[12] PEC[11] PEC[10] PEC[9] PEC[8] PEC[7]
PEC1 RD/WR PEC[6] PEC[5] PEC[4] PEC[3] PEC[2] PEC[1] PEC[0] 0
OPERATION
While writing any command to LTC6813-1, the command
bytes CMD0 and CMD1 (see Table37 and Table38) and
the PEC bytes PEC0 and PEC1 are sent on Port A in the
following order:
CMD0, CMD1, PEC0, PEC1
After a write command to daisy-chained LTC6813-1
devices, data is sent to each device followed by the
PEC. For example, when writing Configuration Register
GroupA to two daisy-chained devices (primary device
P, stacked device S), the data will be sent to the primary
device on Port A in the following order:
CFGAR0(S), … , CFGAR5(S), PEC0(S), PEC1(S),
CFGAR0(P), … , CFGAR5(P), PEC0(P), PEC1(P)
After a read command for daisy-chained devices, each
device shifts out its data and the PEC that it computed for
its data on Port A followed by the data received on PortB.
For example, when reading Status Register Group B from
two daisy-chained devices (primary device P, stacked
device S), the primary device sends out data on port A in
the following order:
STBR0(P), … , STBR5(P), PEC0(P), PEC1(P),
STBR0(S), … , STBR5(S), PEC0(S), PEC1(S)
See Bus Protocols for command format.
All devices in a daisy-chained configuration receive the
command bytes simultaneously. For example, to initiate
ADC conversions in a stack of devices, a single ADCV
command is sent, and all devices will start conversions
at the same time. For read and write commands, a single
command is sent, and then the stacked devices effectively
turn into a cascaded shift register, in which data is shifted
through each device to the next higher (on a write) or the
next lower (on a read) device in the stack. See the Serial
Interface Overview section.
Polling Methods
The simplest method to determine ADC completion is for
the controller to start an ADC conversion and wait for the
specified conversion time to pass before reading the results.
If using a single LTC6813-1 that communicates in SPI
mode (ISOMD pin tied low), there are two methods of
polling. The first method is to hold CSB low after an ADC
conversion command is sent. After entering a conversion
command, the SDO line is driven low when the device is
busy performing conversions. SDO is pulled high when
the device completes conversions. However, SDO will also
go back high when CSB goes high even if the device has
not completed the conversion (Figure28). A problem with
this method is that the controller is not free to do other
serial communication while waiting for ADC conversions
to complete.
The next method overcomes this limitation. The controller
can send an ADC start command, perform other tasks,
and then send a poll ADC converter status (PLADC) com-
mand to determine the status of the ADC conversions
(Figure29). After entering the PLADC command, SDO will
go low if the device is busy performing conversions. SDO
is pulled high at the end of conversions. However, SDO
will also go high when CSB goes high even if the device
has not completed the conversion.
If using a single LTC6813-1 that communicates in iso-
SPI mode, the low side port transmits a data pulse only
in response to a master isoSPI pulse received by it. So,
after entering the command in either method of polling
described above, isoSPI data pulses are sent to the part
to update the conversion status. These pulses can be
sent using LTC6820 by simply clocking its SCK pin. In
response to this pulse, the LTC6813-1 sends back a low
isoSPI pulse if it is still busy performing conversions or
a high data pulse if it has completed the conversions. If
a CSB high isoSPI pulse is sent to the device, it exits the
polling command.
In a daisy-chained configuration of N stacked devices,
the same two polling methods can be used. If the bottom
device communicates in SPI mode, the SDO of the bot-
tom device indicates the conversion status of the entire
stack. i.e., SDO will remain low until all the devices in
the stack have completed the conversions. In the first
method of polling, after an ADC conversion command
is sent, clock pulses are sent on SCK while keeping CSB
low. The SDO status becomes valid only at the end of N
clock pulses on SCK. During the first N clock pulses, the
bottom LTC6813-1 in the daisy chain will output a 0 or a
low data pulse. After N clock pulses, the output data from
the bottom LTC6813-1 gets updated for every clock pulse