LTC6811-1/LTC6811-2
55
Rev. C
For more information www.analog.com
OPERATION
LTC6811 calculates PEC for any command or data received
and compares it with the PEC following the command or
data. The command or data is regarded as valid only if
the PEC matches. LTC6811 also attaches the calculated
PEC at the end of the data it shifts out. Table29 shows the
format of PEC while writing to or reading from LTC6811.
While writing any command to LTC6811, the command
bytes CMD0 and CMD1 (see Table36 and Table37) and
the PEC bytes PEC0 and PEC1 are sent on Port A in the
following order:
CMD0, CMD1, PEC0, PEC1
After a broadcast write command to daisy-chained
LTC6811-1 devices, data is sent to each device followed
by the PEC. For example, when writing the Configuration
Register Group 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:
CFGR0(S), … , CFGR5(S), PEC0(S), PEC1(S), CFGR0(P),
…, CFGR5(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 Port
B. 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)
Address Commands (LTC6811-2 Only)
An address command is one in which only the addressed
device on the bus responds. Address commands are used
only with LTC6811-2 parts. All commands are compatible
with addressing. See Bus Protocols for Address command
format.
Broadcast Commands (LTC6811-1 or LTC6811-2)
A broadcast command is one to which all devices on the
bus will respond, regardless of device address. This com-
mand format can be used with LTC6811-1 and LTC6811-2
parts. See Bus Protocols for Broadcast command format.
With broadcast commands all devices can be sent com-
mands simultaneously.
In parallel (LTC6811-2) configurations, broadcast com-
mands are useful for initiating ADC conversions or for
sending write commands when all parts are being written
with the same data. The polling function (automatic at the
end of ADC commands, or manual using the PLADC com-
mand) can also be used with broadcast commands, but
not with parallel isoSPI devices. Likewise, broadcast read
commands should not be used in the parallel configuration
(either SPI or isoSPI).
Daisy-chained (LTC6811-1) configurations support broad-
cast commands only, because they have no addressing.
All devices in the chain receive the command bytes simul-
taneously. 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 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. Both LTC6811-1 and LTC6811-2 also allow polling
to determine ADC completion.
In parallel configurations that communicate in SPI mode
(ISOMD pin tied low), there are two methods of polling.
Table29. 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