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 8 9 10 11 12 13 14 15 16
operaTion
LTC6804 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. LTC6804 also attaches the calculated
PEC at the end of the data it shifts out. Table 25 shows the
format of PEC while writing to or reading from LTC6804.
While writing any command to LTC6804, the command
bytes CMD0 and CMD1 (See Table 32 and Table 33) 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
LTC6804-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)