LTC6820
10
6820fb
For more information www.linear.com/LTC6820
OPERATION
Figure 1. Typical System Using Two LTC6820 Devices
R
M
IP MSTR
IM
IBIAS
ICMP
6820 F01
MOSI
MISO
SCK
CS
SDI
SDO
SCK
CS
LTC6820
SLAVE
R
M
R
B1
R
B2
R
B1
R
B2
IPMSTR
IM
IBIAS
ICMP
MOSI
MISO
SCK
CS
SDO
SDI
SCK
CS
LTC6820
TWISTED-PAIR CABLE
WITH CHARACTERISTIC IMPEDANCE R
M
ISOLATION BARRIER
MASTER
The transmitter drive current and comparator voltage
threshold are set by a resistor divider (R
BIAS
= R
B1
+ R
B2
)
between the IBIAS pin and GND, with the divided voltage
tied to the ICMP pin. When the LTC6820 is enabled (not
IDLE), I
BIAS
is held at 2V, causing a current, I
B
, to flow
out of the IBIAS pin. The IP and IM pin drive currents are
20 I
B
. The comparator threshold is half the voltage on
the ICMP pin (V
ICMP
).
As an example, if divider resistor R
B1
is 1.21k and resistor
R
B2
is 787Ω (so that R
BIAS
= 2k), then:
I
B
=
R
B1
+R
B2
= 1mA
I
DRV
= I
IP
= I
IM
= 20 • I
B
= 20mA
V
ICMP
= 2V
R
B2
R
B1
+R
B2
= I
B
R
B2
= 788mV
V
TCMP
= 0.5 • V
ICMP
= 394mV
In this example, the pulse drive current I
DRV
will be 20mA,
and the receiver comparators will detect pulses with IP-IM
amplitudes greater than ±394mV.
If the isolation barrier uses 1:1 transformers connected
by a twisted pair and terminated with 100Ω resistors on
each end, then the transmitted differential signal amplitude
(±) will be:
V
A
= I
DRV
R
M
2
= 1V
(This result ignores transformer and cable losses, which
will reduce the amplitude).
isoSPI Pulse Detail
The isoSPI transmitter can generate three voltage levels:
+V
A
, 0V, and –V
A
. To eliminate the DC signal component
and enhance reliability, isoSPI pulses are defined as
symmetric pulse pairs. A +1 pulse pair is defined as a
+V
A
pulse followed by a –V
A
pulse. A 1 pulse pair is –V
A
followed by +V
A
.
The duration of each pulse is defined as t
1/2PW
. (The total
isoSPI pulse duration is 2 • t
1/2PW
). The LTC6820 allows
for two different t
1/2PW
values so that four types of pulses
can be transmitted, as listed in Table 1.
Table 1. isoSPI Pulse Types
PULSE TYPE FIRST LEVEL SECOND LEVEL ENDING LEVEL
Long +1 +V
A
(150ns) –V
A
(150ns) 0V
Long –1 –V
A
(150ns) +V
A
(150ns) 0V
Short +1 +V
A
(50ns) –V
A
(50ns) 0V
Short –1 –V
A
(50ns) +V
A
(50ns) 0V
Long pulses are used to transmit CS changes. Short pulses
transmit data (MOSI or MISO). An LTC6820 detects four
types of communication events from the SPI master: CS
falling, CS rising, SCK latching MOSI = 0, and SCK latch
-
ing MOSI = 1. It converts each event into one of the four
pulse types, as shown in Table 2.
Table 2. Master Communication Events
SPI MASTER EVENT TRANSMITTED PULSE
CS Rising Long +1
CS Falling Long –1
SCK Latching Edge, MOSI = 1 Short +1
SCK Latching Edge, MOSI = 0 Short –1
LTC6820
11
6820fb
For more information www.linear.com/LTC6820
OPERATION
On the other side of the isolation barrier (i.e., the other end
of the cable) another LTC6820 is configured to interface
with a SPI slave. It receives the transmitted pulses and
reconstructs the SPI signals on its output port, as shown
in Table 3. In addition, the slave device may transmit a
return data pulse to the master to set the state of MISO.
See isoSPI Interaction and Timing for additional details.
Table 3. Slave SPI Port Output
RECEIVED PULSE SPI PORT ACTION RETURN PULSE
Long +1 Drive CS High None
Long –1 Drive CS Low
Short –1 Pulse
if MISO = 0
(No Return Pulse
if MISO = 1)
Short +1 1. Set MOSI = 1
2. Pulse SCK
Short
–1 1. Set MOSI = 0
2. Pulse SCK
A slave LTC6820 never transmits long (CS) pulses. Fur-
thermore, a slave will only transmit a short 1
pulse (when
MISO = 0), never a +1 pulse. This allows for multiple slave
devices on a single cable without risk of collisions (see
Multidrop section).
isoSPI Pulse Specifications
Figure 2 details the timing specifications for the +1 and
1 isoSPI pulses. The same timing specifications apply to
either version of these symmetric pulses. In the Electrical
V
A
+1 PULSE
–1 PULSE
–V
A
MOSI, MISO OR CS
V
TCMP
t
1/2PW
t
1/2PW
–V
TCMP
V
IP
– V
IM
V
A
–V
A
MOSI, MISO OR CS
V
TCMP
–V
TCMP
V
IP
– V
IM
t
1/2PW
t
1/2PW
t
INV
t
INV
t
DEL
t
DEL
6820 F02
Characteristics table, these specifications are further
separated into CS (long) and Data (short) parameters.
A valid pulse must meet the minimum spec for t
1/2PW
and
the maximum spec for t
INV
. In other words, the half-pulse
width must be long enough to pass through the appropriate
pulse timer, but short enough for the inversion to begin
within the valid window of time.
The response observed at MOSI, MISO or CS will occur
after delay t
DEL
from the pulse inversion.
Setting Clock Phase and Polarity (PHA and POL)
SPI devices often use one clock edge to latch data and
the other edge to shift data. This avoids timing problems
associated with clock skew. There is no standard to specify
whether the shift or latch occurs first. There is also no
requirement for data to be latched on a rising or falling
clock edge, although latching on the rising edge is most
common. The LTC6820 supports all four SPI operating
modes, as configured by the PHA and POL Pins.
Table 4. SPI Modes
MODE POL PHA DESCRIPTION
0 0 0 SCK Idles Low, Latches on Rising (1st) Edge
1 0 1 SCK Idles Low, Latches on Falling (2nd) Edge
2 1 0 SCK Idles High, Latches on Falling (1st) Edge
3 1 1 SCK Idles High, Latches on Rising (2nd) Edge
Figure 2. isoSPI Differential Pulse Detail
LTC6820
12
6820fb
For more information www.linear.com/LTC6820
OPERATION
If POL = 0, SCK idles low. Data is latched on the rising
(first) clock edge if PHA = 0 and on the falling (second)
clock edge if PHA = 1.
If POL =1, SCK idles high. Data is latched on the falling
(first) clock edge if PHA = 0 and on the rising (second)
clock edge if PHA = 1.
The two most common configurations are mode 0 (PHA= 0
and POL = 0) and mode 3 (PHA = 1 and POL = 1) because
these modes latch data on a rising clock edge.
isoSPI Interaction and Timing
The timing diagrams in Figures 3 and 4 show how an iso
-
SPI in master mode (connected to a SPI master) interacts
with an isoSPI in slave mode (connected to a SPI slave).
Figure3 details operation with PHA
= 0 (and shows SCK
signals for POL
= 0 or 1). Figure 4 provides the timing
diagram for PHA = 1. Although not shown, it is acceptable
to use different SPI modes (PHA and POL settings) on the
master and slave devices.
A master SPI device initiates communication by lowering
CS. The LTC6820 converts this transition into a Long –1
pulse on its IP/IM pins. The pulse traverses the isolation
barrier (with an associated cable delay) and arrives at the
IP/IM pins of the slave LTC6820. Once validated, the Long
1 pulse is converted back into a falling CS transition, this
time supplied to the slave SPI device. If slave PHA = 1,
SCK will also leave the idle state at this time.
Before the master SPI device supplies the first latching
clock edge (usually a rising edge, but see Table 4 for
exceptions), the slave LTC6820 must transmit the initial
slave data bit S
N
, which it determines by sampling the
state of MISO after a suitable delay.
If MISO = 0, the slave will transmit a Short 1 pulse to the
master. The master LTC6820 will receive and decode the
pulse and set the master MISO = 0 (matching the slave).
However, if the slave MISO=1, the slave does not transmit
a pulse. The master will interpret this null response as a1
and set the master MISO = 1. This makes it possible to
connect multiple slave LTC6820’s to a single cable with
no conflicting signals (see Multidrop section).
After the falling CS sequence, every latching clock edge
on the master converts the state of the MOSI pin into an
isoSPI data pulse (M
N
, M
N–1
, M
0
) while simultaneously
latching the slaves data bit. As the slave LTC6820 receives
each data bit it will set the slave MOSI pin to the proper
state and then generate an SCK pulse before returning the
slave’s MISO data (either as a Short 1 pulse, or as a null).
At the end of communication, the final data bit sent by
the slave (either as a pulse or null) will be ignored by
the master controller. (The slave LTC6820 must return a
data bit since it cannot predict when communications will
cease.) The master SPI device can then raise CS, which
is transmitted to the slave in the form of a Long +1 pulse.
The process ends with the slave LTC6820 transitioning
CS high, and returning SCK to the idle state if PHA = 1.
Rise Time
MOSI and MISO outputs have open-drain drivers. The rise
time t
RISE
for the data output is determined by the pull-up
resistance and load capacitance. R
PU
must be small enough
to provide adequate setup and hold times.
Slow Mode
When configured for slave operation, the LTC6820 provides
two operating modes to ensure compatibility with a wide
range of SPI timing scenarios. These modes are referred
to as fast and slow mode, and are set using the SLOW
pin. When configured for master operation, the SLOW
pin setting has no effect on the LTC6820 operation. In
this case, it is recommended to tie the SLOW pin to GND.
In fast mode (SLOW pin tied to GND), the LTC6820 can
operate at clock rates up to 1MHz (t
CLK
= 1µs). However,
some SPI slave devices cant respond quickly enough to
support this data rate. Fast mode requires a slave to operate
with setup and response times of 100ns, as well as 100ns
clock widths. In addition, allowances must be made for the
RC rise time of MOSI and MISOs open-drain outputs. In
slow mode (SLOW pin tied to V
+
), the timing requirement
are relaxed at the expense of maximum data rate. As indi-
cated in the Electrical Characteristics, the clock pulses and
required setup and response times are increased to
0.9µs
minimum. Accordingly
, the minimum t
CLK
(controlled by
the master) must be limited to 5µs. The SLOW pin setting
has no effect on the master LTC6820 (with MSTR = 1).

LTC6820HMS#PBF

Mfr. #:
Manufacturer:
Analog Devices Inc.
Description:
Interface - Specialized isoSPI Iso Communications Int
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union