Built-In isoSPI™ Interface:
1Mbps Isolated Serial Communications
Uses a Single Twisted Pair, Up to 100 Meters
Low EMI Susceptibility and Emissions
n
1.2mV Maximum Total Measurement Error
n
290µs to Measure All Cells in a System
n
Synchronized Voltage and Current Measurement
n
16-Bit Delta-Sigma ADC with Frequency Programmable 3rd Order Noise Filter
n
Engineered for ISO26262 Compliant Systems
n
Passive Cell Balancing with Programmable Timer
n
5 General Purpose Digital I/O or Analog Inputs:
Temperature or other Sensor Inputs
Configurable as an I2C or SPI Master
n
4μA Sleep Mode Supply Current
n
48-Lead SSOP Package
applicaTions
n
Electric and Hybrid Electric Vehicles
n
Backup Battery Systems
n
Grid Energy Storage
n
High Power Portable Equipment
The LTC®6804 is a 3rd generation multicell battery stack
monitor that measures up to 12 series connected battery
cells with a total measurement error of less than 1.2mV. The
cell measurement range of 0V to 5V makes the LTC6804
suitable for most battery chemistries. All 12 cell voltages
can be captured in 290µs, and lower data acquisition rates
can be selected for high noise reduction.
Multiple LTC6804 devices can be connected in series,
permitting simultaneous cell monitoring of long, high volt
age battery strings. Each LTC6804 has an isoSPI interface
for high speed, RF-immune, local area communications.
Using the LTC6804-1, multiple devices are connected in
a daisy-chain with one host processor connection for all
devices. Using the LTC6804-2, multiple devices are con
nected in parallel to the host processor, with each device
individually addressed.
Additional features include passive balancing for each cell,
5V
an onboard
regulator, and 5 general purpose I/O lines.
In sleep mode, current consumption is reduced to 4µA.
The LTC6804 can be powered directly from the battery,
or from an isolated supply.
L, LT, LTC, LTM, Linear Technology and the Linear logo are registered and isoSPI is a
trademark of Linear Technology Corporation. All other trademarks are the property of their
respective owners. Protected by U.S. patents, including 8908799, 9182428, 9270133.
Typical applicaTion
+
+
+
+
+
+
LTC6804-1
IMB
IMA
LTC6804-1
IMB
IMA
LTC6804-1
IMB
IMA
IPB
ILP
IPA
•
IPB
IPA
IPB
IPA
•
•
•
•
•
For more information www.linear.com/LTC6804-1
•
MPU
SPI
IP
•
LTC6820
IM
Total Measurement Error
vs Temperature of 5 Typical Units
CELL VOLTAGE = 3.3V
5 TYPICAL UNITS
1.5
1.0
0.5
0
–0.5
–1.0
–1.5
–2.0
–25050
–50
TEMPERATURE (°C)
75 100
25
680412fc
1
Page 2
LTC6804-1/LTC6804-2
Table oF conTenTs
Features ..................................................... 1
LTC6804I ............................................. –40°C to 85°C
LTC6804H .......................................... –40°C to 125°C
Specified Temperature Range
LTC6804I ............................................. –40°C to 85°C
LTC6804H .......................................... –40°C to 125°C
Junction Temperature ........................................... 150°C
Storage Temperature.............................. –65°C to 150°C
Lead Temperature (Soldering, 10sec)....................300°C
+
1
V
2
3
4
5
6
7
8
C9
9
S9
10
C8
11
S8
12
C7
13
S7
14
C6
15
S6
16
C5
17
S5
18
C4
19
S4
20
C3
21
S3
22
C2
23
S2
24
C1
G PACKAGE
= 150°C, θJA = 55°C/W
T
*THE FUNCTION OF THESE PINS DEPENDS ON THE CONNECTION OF ISOMD
JMAX
–
ISOMD TIED TO V
ISOMD TIED TO V
**THIS PIN MUST BE CONNECTED TO V
: CSB, SCK, SDI, SDO
: IMA, IPA, ICMP, IBIAS
REG
A3
48
A2
47
A1
46
A0
45
44
SDI (ICMP)*
43
SCK (IPA)*
42
CSB (IMA)*
41
ISOMD
40
WDT
39
DRIVE
38
V
37
SWTEN
36
V
35
V
34
GPIO5
33
GPIO4
32
V
31
V
30
GPIO3
29
GPIO2
28
GPIO1
27
C0
26
S1
25
REG
REF1
REF2
–
–**
–
For more information www.linear.com/LTC6804-1
680412fc
3
Page 4
LTC6804-1/LTC6804-2
orDer inForMaTion
TUBETAPE AND REELPART MARKING*PACKAGE DESCRIPTIONSPECIFIED TEMPERATURE RANGE
LTC6804IG-1#PBFLTC6804IG-1#TRPBFLTC6804G-148-Lead Plastic SSOP–40°C to 85°C
LTC6804HG-1#PBFLTC6804HG-1#TRPBFLTC6804G-148-Lead Plastic SSOP–40°C to 125°C
LTC6804IG-2#PBFLTC6804IG-2#TRPBFLTC6804G-248-Lead Plastic SSOP–40°C to 85°C
LTC6804HG-2#PBFLTC6804HG-2#TRPBFLTC6804G-248-Lead Plastic SSOP–40°C to 125°C
Consult LTC Marketing for parts specified with wider operating temperature ranges. *The temperature grade is identified by a label on the shipping container.
Parts ending with PBF are RoHS and WEEE compliant.
For more information on lead free part marking, go to
For more information on tape and reel specifications, go to: http://www.linear.com/tapeandreel/. Some packages are available in 500 unit reels through
designated sales channels with #TRMPBF suffix.
elecTrical characTerisTics
The l denotes the specifications which apply over the full operating
temperature range, otherwise specifications are at TA = 25°C. The test conditions are V+ = 39.6V, V
SYMBOLPARAMETERCONDITIONSMINTYPMAXUNITS
ADC DC Specifications
Measurement Resolution
ADC Offset Voltage(Note 2)
ADC Gain Error(Note 2)
Total Measurement Error (TME) in
Normal Mode
http://www.linear.com/product/LTC6804-1#orderinfo
http://www.linear.com/leadfree/
:
= 5.0V unless otherwise noted.
REG
l
0.1mV/bit
l
l
–
C(n) to C(n – 1), GPIO(n) to V
C(n) to C(n – 1) = 2.0±0.1±0.8mV
C(n) to C(n – 1), GPIO(n) to V
C(n) to C(n – 1) = 3.3±0.2±1.2mV
C(n) to C(n – 1), GPIO(n) to V
C(n) to C(n – 1) = 4.2±0.3±1.6mV
C(n) to C(n – 1), GPIO(n) to V
C(n) to C(n – 1), GPIO(n) to V
Sum of Cells, V(CO) = V
Internal Temperature, T = Maximum
Specified Temperature
Pin
V
REG
Pin
V
REF2
Digital Supply Voltage V
= 0±0.2mV
–
= 2.0
–
= 3.3
–
= 4.2
–
= 5.0±1mV
–
REGD
l
l
l
l
l
l
l
0.1mV
0.01
0.02
±1.4mV
±2.2mV
±2.8mV
±0.2±0.75%
±5°C
±0.1±0.25%
±0.02±0.1%
±0.1±1%
%
%
4
680412fc
For more information www.linear.com/LTC6804-1
Page 5
LTC6804-1/LTC6804-2
elecTrical characTerisTics
The l denotes the specifications which apply over the full operating
temperature range, otherwise specifications are at TA = 25°C. The test conditions are V+ = 39.6V, V
SYMBOLPARAMETERCONDITIONSMINTYPMAXUNITS
–
Total Measurement Error (TME) in
Filtered Mode
C(n) to C(n – 1), GPIO(n) to V
C(n) to C(n – 1) = 2.0±0.1±0.8mV
C(n) to C(n – 1), GPIO(n) to V
C(n) to C(n – 1) = 3.3±0.2±1.2mV
C(n) to C(n – 1), GPIO(n) to V
C(n) to C(n – 1) = 4.2±0.3±1.6mV
C(n) to C(n – 1), GPIO(n) to V
C(n) to C(n – 1), GPIO(n) to V
Sum of Cells, V(CO) = V
Internal Temperature, T = Maximum
Specified Temperature
Pin
V
REG
Pin
V
REF2
Digital Supply Voltage V
Total Measurement Error (TME) in
Fast Mode
C(n) to C(n – 1), GPIO(n) to V
C(n) to C(n – 1), GPIO(n) to V
C(n) to C(n – 1), GPIO(n) to V
C(n) to C(n – 1), GPIO(n) to V
C(n) to C(n – 1), GPIO(n) to V
Sum of Cells, V(CO) = V
Internal Temperature, T = Maximum
Specified Temperature
Pin
V
REG
Pin
V
REF2
Digital Supply Voltage V
Input RangeC(n), n = 1 to 12
C0
GPIO(n), n = 1 to 5
I
L
Input Leakage Current When Inputs
C(n), n = 0 to 12
Are Not Being Measured
GPIO(n), n = 1 to 5
= 0±0.1mV
–
= 2.0
–
= 3.3
–
= 4.2
–
= 5.0±1mV
–
REGD
–
= 0±2mV
–
= 2.0
–
= 3.3
–
= 4.2
–
= 5.0±10mV
–
REGD
= 5.0V unless otherwise noted.
REG
l
l
l
l
±0.2±0.75%
±1.4mV
±2.2mV
±2.8mV
±5°C
l
l
l
l
l
l
l
±0.1±0.25%
±0.02±0.1%
±0.1±1%
±4mV
±4.7mV
±8.3mV
±0.3±1%
±5°C
l
l
l
l
C(n – 1)C(n – 1) + 5V
l
l
l
l
±0.3±1%
±0.1±0.25%
±0.2±2%
0
05V
10±250nA
10±250nA
Input Current When Inputs Are
Being Measured
Input Current During Open Wire
Detection
C(n), n = 0 to 12±2µA
GPIO(n), n = 1 to 5±2µA
l
70100130µA
680412fc
For more information www.linear.com/LTC6804-1
5
Page 6
LTC6804-1/LTC6804-2
elecTrical characTerisTics
The l denotes the specifications which apply over the full operating
temperature range, otherwise specifications are at TA = 25°C. The test conditions are V+ = 39.6V, V
SYMBOLPARAMETERCONDITIONSMINTYPMAXUNITS
Voltage Reference Specifications
V
REF1
1st Reference VoltageV
1st Reference Voltage TCV
1st Reference Voltage HysteresisV
1st Reference Long Term DriftV
V
REF2
2nd Reference VoltageV
2nd Reference Voltage TCV
2nd Reference Voltage HysteresisV
2nd Reference Long Term DriftV
General DC Specifications
I
VP
V+ Supply Current
(See Figure 1: LTC6804 Operation
State Diagram)
V
I
REG(CORE)
Supply Current
REG
(See Figure 1: LTC6804 Operation
State diagram)
I
REG(isoSPI)
Additional V
isoSPI in READY/ACTIVE States
Note: ACTIVE State Current
Assumes t
Supply Current if
REG
= 1µs, (Note3)
CLK
Pin, No Load
REF1
Pin, No Load3ppm/°C
REF1
Pin, No Load20ppm
REF1
Pin, No Load20ppm/√kHr
REF1
Pin, No Load
REF2
Pin, 5k Load to V
V
REF2
Pin, No Load10ppm/°C
REF2
Pin, No Load100ppm
REF2
Pin, No Load60ppm/√kHr
REF2
State: Core = SLEEP
–
, isoSPI = IDLEV
= 0V3.86µA
REG
= 0V
V
REG
= 5V1.63µA
V
REG
= 5V
V
REG
State: Core = STANDBY183250µA
State: Core = REFUP or MEASURE 0.40.550.7mA
State: Core = SLEEP, isoSPI = IDLEV
= 5V2.24µA
REG
= 5V
V
REG
State: Core = STANDBY103560µA
State: Core = REFUP0.20.450.7mA
State: Core = MEASURE10.811.512.2mA
LTC6804-2: ISOMD = 1,
R
+ RB2 = 2k
B1
LTC6804-1: ISOMD = 0,
+ RB2 = 2k
R
B1
LTC6804-1: ISOMD = 1,
+ RB2 = 2k
R
B1
LTC6804-2: ISOMD = 1,
+ RB2 = 20k
R
B1
LTC6804-1: ISOMD = 0,
+ RB2 = 20k
R
B1
LTC6804-1: ISOMD = 1,
+ RB2 = 20k
R
B1
READY
ACTIVE
READY
ACTIVE
READY
ACTIVE
READY
ACTIVE
READY
ACTIVE
READY
ACTIVE
= 5.0V unless otherwise noted.
REG
l
3.13.23.3V
l
2.99033.010V
l
2.98833.012V
l
l
l
l
0.3750.550.725mA
l
l
l
0.150.450.75mA
l
10.711.512.3mA
l
l
l
l
l
l
10.211.313.3mA
l
l
l
l
l
l
3.810µA
1.65µA
103260µA
2.26µA
63565µA
3.94.85.8mA
5.16.17.3mA
3.74.65.6mA
5.76.88.1mA
6.57.89.5mA
1.32.13mA
1.62.53.5mA
1.11.92.8mA
1.52.33.3mA
2.13.34.9mA
2.74.15.8mA
6
680412fc
For more information www.linear.com/LTC6804-1
Page 7
LTC6804-1/LTC6804-2
elecTrical characTerisTics
The l denotes the specifications which apply over the full operating
temperature range, otherwise specifications are at TA = 25°C. The test conditions are V+ = 39.6V, V
SYMBOLPARAMETERCONDITIONSMINTYPMAXUNITS
+
Supply VoltageTME Specifications Met (Note 6)
V
V
V
REG
V
REGD
V
OL(WDT)
V
OL(GPIO)
ADC Timing Specifications
t
CYCLE
(Figure3)
t
SKEW1
(Figure 6)
Supply VoltageTME Supply Rejection < 1mV/V
REG
DRIVE output voltageSourcing 1µA
Sourcing 500µA
Digital Supply Voltage
Discharge Switch ON ResistanceV
CELL
= 3.6V
Thermal Shutdown Temperature150°C
Watchdog Timer Pin LowWDT Pin Sinking 4mA
General Purpose I/O Pin LowGPIO Pin Sinking 4mA (Used as Digital Output)
Measurement + Calibration Cycle
Time When Starting from the
REFUP State in Normal Mode
Fast Mode
between C12 and GPIO2
Measurements, Command =
ADCVAX
Normal Mode
= 5.0V unless otherwise noted.
REG
l
114055V
l
4.555.5V
5.4
l
5.6
5.2
5.6
l
5.15.66.1V
l
2.73.03.6V
l
l
l
l
212023352480µs
l
365405430µs
l
284531333325µs
l
183201.3213.5ms
l
30.5433.635.64ms
l
244268.4284.7ms
l
101011131185µs
l
180201215µs
l
142015641660µs
l
189208221µs
l
493543576µs
1025Ω
5.8
6.0
0.4V
0.4V
V
V
t
SKEW2
(Figure 3)
Skew Time. The T
Difference between C12 and C0
Measurements, Command = ADCV
t
WAKE
t
SLEEP
Regulator Start-Up TimeV
Watchdog or Software Discharge
Timer
t
REFUP
Reference Wake-Up T
(Figure1,
Figures 3 to 7)
f
S
ADC Clock Frequency
SPI Interface DC Specifications
V
IH(SPI)
V
IL(SPI)
V
IH(CFG)
SPI Pin Digital Input Voltage HighPins CSB, SCK, SDI
SPI Pin Digital Input Voltage LowPins CSB, SCK, SDI
Configuration Pin Digital
Input Voltage High
V
IL(CFG)
Configuration Pin Digital
Input Voltage Low
ime
Fast Mode
Normal Mode
Generated from Drive Pin (Figure 28)
REG
SWTEN Pin = 0 or DCTO[3:0] = 0000
SWTEN Pin = 1 and DCTO[3:0] ≠ 00000.5120min
imeState: Core = STANDBY
State: Core = REFUP
Pins ISOMD, SWTEN, GPIO1 to GPIO5, A0 to A3
Pins ISOMD, SWTEN, GPIO1 to GPIO5, A0 to A3
For more information www.linear.com/LTC6804-1
l
211233248µs
l
609670711µs
l
l
l
l
l
l
l
l
l
100300µs
1.822.2sec
2.73.54.4ms
0ms
3.03.33.5MHz
2.3V
0.8V
2.7V
1.2V
680412fc
7
Page 8
LTC6804-1/LTC6804-2
elecTrical characTerisTics
The l denotes the specifications which apply over the full operating
temperature range, otherwise specifications are at TA = 25°C. The test conditions are V+ = 39.6V, V
SYMBOLPARAMETERCONDITIONSMINTYPMAXUNITS
I
LEAK(DIG)
V
OL(SDO)
isoSPI DC Specifications (See Figure 16)
V
BIAS
I
B
A
IB
V
A
V
ICMP
I
LEAK(ICMP)
I
LEAK(IP/IM)
A
TCMP
V
CM
R
IN
isoSPI Idle/Wakeup Specifications (See Figure 21)
V
WAKE
t
DWELL
t
READY
t
IDLE
isoSPI Pulse Timing Specifications (See Figure 19)
t
1/2PW(CS)
t
INV(CS)
t
1/2PW(D)
t
INV(D)
SPI Timing Requirements (See Figure 15 and Figure 20)
t
CLK
t
1
t
2
t
3
t
4
t
5
t
6
t
7
Digital Input CurrentPins CSB, SCK, SDI, ISOMD, SWTEN,
A0 to A3
Digital Output LowPin SDO Sinking 1mA
Voltage on IBIAS PinREADY/ACTIVE State
IDLE State
Isolated Interface Bias Current R
= 2k to 20k
BIAS
Isolated Interface Current GainVA ≤ 1.6V IB = 1mA
IB = 0.1mA
Transmitter Pulse AmplitudeVA = |VIP – VIM|
Threshold-Setting Voltage on ICMP
V
TCMP
= A
TCMP
• V
ICMP
Pin
Input Leakage Current on ICMP Pin V
Leakage Current on IP and IM Pins IDLE State, VIP or VIM = 0V to V
Receiver Comparator Threshold
= 0V to V
ICMP
VCM = V
REG
REG
/2 to V
– 0.2V, V
REG
REG
= 0.2V to 1.5V
ICMP
Voltage Gain
Receiver Common Mode BiasIP/IM Not Driving(V
Receiver Input ResistanceSingle-Ended to IPA, IMA, IPB, IMB
Differential Wake-Up Voltaget
Dwell Time at V
Before Wake
WAKE
DWELL
V
WAKE
= 240ns
= 200mV
Detection
Startup Time After Wake Detection
Idle Timeout Duration
Chip-Select Half-Pulse Width
Chip-Select Pulse Inversion Delay
Data Half-Pulse Width
Data Pulse Inversion Delay
SCK Period (Note 4)
SDI Setup Time before SCK Rising
Edge
SDI Hold Time after SCK Rising
Edge
SCK Lowt
SCK Hight
= t3 + t4 ≥ 1µs
CLK
= t3 + t4 ≥ 1µs
CLK
CSB Rising Edge to CSB Falling
Edge
SCK Rising Edge to CSB Rising
(Note 4)
Edge
CSB Falling Edge to SCK Rising
(Note 4)
Edge
= 5.0V unless otherwise noted.
REG
l
l
l
1.92.0 02.1V
l
0.11.0mA
l
18 1820
l
l
l
0.21.5V
l
l
l
0.40.50.6V/V
l
l
200mV
l
240ns
l
l
4.35.56.7ms
l
120150180ns
l
l
l
l
l
l
l
200ns
l
200ns
l
0.65µs
l
0.8µs
l
20
– V
REG
ICMP
273543kΩ
405060ns
1µs
25ns
25ns
1µs
±1µA
0.3V
22
24.5
1.6V
±1µA
±1µA
/3 – 167mV)V
10µs
200ns
70ns
mA/mA
mA/mA
V
8
680412fc
For more information www.linear.com/LTC6804-1
Page 9
LTC6804-1/LTC6804-2
elecTrical characTerisTics
The l denotes the specifications which apply over the full operating
temperature range, otherwise specifications are at TA = 25°C. The test conditions are V+ = 39.6V, V
SYMBOLPARAMETERCONDITIONSMINTYPMAXUNITS
isoSPI Timing Specifications (See Figure 19)
t
8
t
9
t
10
t
11
t
RTN
t
DSY(CS)
t
DSY(D)
t
LAG
t
6(GOV)
SCK Falling Edge to SDO Valid (Note 5)
SCK Rising Edge to Short ±1
Transmit
CSB Transition to Long ±1 Transmit
CSB Rising Edge to SDO Rising (Note 5)
Data Return Delay
Chip-Select Daisy-Chain Delay
Data Daisy-Chain Delay
Data Daisy-Chain Lag (vs Chip-
Select)
Data to Chip-Select Pulse Governor
= 5.0V unless otherwise noted.
REG
l
l
l
l
l
l
l
l
l
430525ns
150200ns
300360ns
03570ns
0.81.05µs
60ns
50ns
60ns
200ns
Note 1: Stresses beyond those listed under Absolute Maximum Ratings
may cause permanent damage to the device. Exposure to any Absolute
Maximum Rating condition for extended periods may affect device
reliability and lifetime.
Note 2: The ADC specifications are guaranteed by the Total Measurement
Error specification.
Note 3: The ACTIVE state current is calculated from DC measurements.
The ACTIVE state current is the additional average supply current into
V
when there is continuous 1MHz communications on the isoSPI ports
REG
with 50% data 1’s and 50% data 0’s. Slower clock rates reduce the supply
current. See Applications Information section for additional details.
Note 4: These timing specifications are dependent on the delay through
the cable, and include allowances for 50ns of delay each direction. 50ns
corresponds to 10m of CAT-5 cable (which has a velocity of propagation of
66% the speed of light). Use of longer cables would require derating these
specs by the amount of additional delay.
Note 5: These specifications do not include rise or fall time of SDO. While
fall time (typically 5ns due to the internal pull-down transistor) is not a
concern, rising-edge transition time t
resistance and load capacitance on the SDO pin. The time constant must
be chosen such that SDO meets the setup time requirements of the MCU.
Note 6: V
accurate measurements. See the graph Top Cell Measurement Error vs V
+
needs to be greater than or equal to the highest C(n) voltage for
is dependent on the pull-up
RISE
+
.
For more information www.linear.com/LTC6804-1
680412fc
9
Page 10
LTC6804-1/LTC6804-2
680412 G02
680412 G03
680412 G06
680412 G08
680412 G09
Typical perForMance characTerisTics
= 25°C, unless otherwise noted.
T
A
Measurement Error
vs Temperature
2.0
CELL VOLTAGE = 3.3V
5 TYPICAL UNITS
1.5
1.0
0.5
0
–0.5
–1.0
MEASUREMENT ERROR (mV)
–1.5
–2.0
–25050
–50
25
TEMPERATURE (°C)
Measurement Error vs Input,
Normal Mode
2.0
10 ADC MEASUREMENTS
AVERAGED AT EACH INPUT
1.5
1.0
0.5
0
–0.5
–1.0
MEASUREMENT ERROR (mV)
–1.5
–2.0
124
0
INPUT (V)
75 100 125
3
680412 G01
680412 G04
Measurement Error Due to IR
Reflow
35
260°C, 1 CYCLE
30
25
20
15
NUMBER OF PARTS
10
5
0
–125
Measurement Error vs Input,
Filtered Mode
2.0
1.5
1.0
0.5
0
–0.5
–1.0
MEASUREMENT ERROR (mV)
–1.5
5
–2.0
0
–100 –75
CHANGE IN GAIN ERROR (ppm)
124
3
INPUT (V)
Measurement Error LongTerm Drift
30
CELL VOLTAGE = 3.3V
8 TYPICAL PARTS
25
20
15
10
MEASUREMENT ERROR (ppm)
5
25 50 75–50 –25 0
0
0
TIME (HOURS)
300010002000 25005001500
Measurement Error vs Input,
Fast Mode
10
8
6
4
2
0
–2
–4
MEASUREMENT ERROR (mV)
–6
10 ADC MEASUREMENTS
AVERAGED AT EACH INPUT
1
2
INPUT (V)
3
4
5
680412 G05
–8
–10
5
0
Measurement Noise vs Input,
Normal Mode
1.0
0.9
0.8
0.7
0.6
0.5
0.4
PEAK NOISE (mV)
0.3
0.2
0.1
0
1
0
2
INPUT (V)
10
Measurement Noise vs Input,
Filtered Mode
1.0
0.9
0.8
0.7
0.6
0.5
0.4
PEAK NOISE (mV)
0.3
0.2
0.1
3
4
5
680412 G07
0
1
0
2
INPUT (V)
3
4
5
Measurement Noise vs Input,
Fast Mode
10
9
8
7
6
5
4
PEAK NOISE (mV)
3
2
1
0
1
0
2
INPUT (V)
3
4
680412fc
For more information www.linear.com/LTC6804-1
Page 11
Typical perForMance characTerisTics
680412 G16
680412 G17
680412 G18
LTC6804-1/LTC6804-2
= 25°C, unless otherwise noted.
T
A
Measurement Gain Error
Hysteresis, Hot
25
20
15
10
NUMBER OF PARTS
5
0
–50
–40 –30
CHANGE IN GAIN ERROR (ppm)
–10
–20030
Measurement Error vs V
2.0
1.5
1.0
0.5
0
–0.5
–1.0
MEASUREMENT ERROR (mV)
–1.5
–2.0
4.65.5
4.5
4.7
4.8
4.9
5.0
V
(V)
REG
= 85°C TO 25°C
T
A
10 20
REG
VIN = 2V
V
IN
V
IN
5.3 5.4
5.1
5.2
680412 G10
= 3.3V
= 4.2V
680412 G13
Measurement Gain Error
Hysteresis, ColdNoise Filter Response
30
TA = –45°C TO 25°C
25
20
15
10
NUMBER OF PARTS
5
0
–40
–200
–30–10
CHANGE IN GAIN ERROR (ppm)
Measurement Error V+ PSRR
vs Frequency
–40
+
V
= 39.6V
DC
+
–45
–50
–55
–60
–65
PSRR (dB)
–70
–75
–80
–85
–90
= 5V
V
AC
P-P
1 BIT CHANGE < –90dB
GENERATED FROM
V
REG
DRIVE PIN, FIGURE 28
1k
100
10k
FREQUENCY (Hz)
100k
20
10
1M
30
680412 G11
680412 G14
40
10M
0
–10
–20
–30
–40
–50
NOISE REJECTION (dB)
–60
–70
10
INPUT FREQUENCY (Hz)
FILTERED
2kHz
3kHz
Measurement Error V
vs Frequency
0
V
= 5V
REG(DC)
= 500mV
V
REG(AC)
–10
1 BIT CHANGE < –70dB
–20
–30
–40
PSRR (dB)
–50
–60
–70
1k10k100k10M
100
FREQUENCY (Hz)
ADC MODE:
P-P
NORMAL
15kHz
FAST
REG
1M1k100k10010k
680412 G12
PSRR
1M
68412 G15
Cell Measurement Error
vs Input RC Values
20
NORMAL MODE CONVERSIONS
DIFFERENTIAL RC FILTER ON EVERY C PIN.
15
EXPECT CELL-TO-CELL AND
PART-TO-PART VARIATIONS
10
IN ERROR IF R > 100Ω AND/OR C > 10nF
5
0
–5
–10
CELL MEASUREMENT ERROR (mV)
–15
–20
C = 0
C = 10nF
C = 100nF
C = 1µF
1
10
100
INPUT RESISTOR, R (Ω)
1000
10000
GPIO Measurement Error
vs Input RC ValuesTop Cell Measurement Error vs V
10
TIME BETWEEN MEASUREMENTS > 3RC
8
6
4
2
0
–2
–4
MEASUREMENT ERROR (mV)
–6
–8
–10
C = 0
C = 100nF
C = 1µF
C = 10µF
10
1
INPUT RESISTANCE, R (Ω)
100
1000
10000
100000
For more information www.linear.com/LTC6804-1
1.0
0.8
0.6
0.4
0.2
0
–0.2
–0.4
–0.6
CELL 12 MEASUREMENT ERROR (mV)
–0.8
–1.0
36
38
40
V+ (V)
C12-C11 = 3.3V
C12 = 39.6V
42
680412fc
11
+
44
Page 12
LTC6804-1/LTC6804-2
680412 G23
680412 G24
680412 G27
Typical perForMance characTerisTics
Cell Measurement Error
vs Common Mode Voltage
1.0
C12-C11 = 3.3V
+
0.8
= 39.6V
V
0.6
0.4
0.2
0
–0.2
–0.4
–0.6
CELL 12 MEASUREMENT ERROR (mV)
–0.8
–1.0
0
1020
C11 VOLTAGE (V)
Sleep Supply Current vs V
7
6
5
4
3
SLEEP SUPPLY CURRENT (µA)
2
515
125°C
85°C
25°C
–45°C
SLEEP SUPPLY CURRENT =
+
CURRENT + V
V
35
V+ (V)
45
25
REG
55
30
680412 G19
+
CURRENT
65
680412 G22
75
Cell Measurement CMRR
vs FrequencyMeasurement Error vs V
0
V
= 5V
CM(IN)
NORMAL MODE CONVERSIONS
–10
–20
–30
–40
–50
REJECTION (dB)
–60
–70
–80
–90
100
P-P
1k100k
10k
FREQUENCY (Hz)
Standby Supply Current vs V
80
70
60
50
STANDBY SUPPLY CURRENT (µA)
40
125°C
85°C
25°C
–45°C
STANDBY SUPPLY CURRENT =
+
CURRENT + V
V
35
25
155
V+ (V)
REG
45
55
TA = 25°C, unless otherwise noted.
2.0
1.5
1.0
0.5
0
–0.5
–1.0
MEASUREMENT ERROR (mV)
–1.5
–2.0
101525
1M
680412 G20
+
CURRENT
65
10M
75
5
REFUP Supply Current vs V
1000
950
900
REFUP SUPPLY CURRENT (µA)
850
25
155
+
MEASUREMENT ERROR OF
CELL 1 WITH 3.3V INPUT.
GENERATED FROM
V
REG
DRIVE PIN, FIGURE 28
20
V+ (V)
303540
680412 G21
+
125°C
85°C
25°C
REFUP SUPPLY CURRENT =
+
CURRENT + V
V
45
35
V+ (V)
CURRENT
REG
55
–45°C
65
75
Measure Mode Supply Current
+
vs V
12.50
12.25
12.00
11.75
11.50
11.25
MEASURE MODE SUPPLY CURRENT (mA)
11.00
MEASURE MODE SUPPLY CURRENT =
+
CURRENT + V
5
V
1525
REG
456575
3555
V+ (V)
12
CURRENT
125°C
85°C
25°C
–45°C
680412 G25
Measurement Time vs Temperature
2440
12 CELL NORMAL MODE TIME
SHOWN. ALL ADC MEASURE
2420
TIMES SCALE PROPORTIONALLY
2400
2380
2360
2340
2320
MEASUREMENT TIME (µs)
2300
2280
–25050
–50
25
TEMPERATURE (°C)
For more information www.linear.com/LTC6804-1
V
= 5V
REG
= 4.5V
V
REG
= 5.5V
V
REG
75 100 125
680412 G26
Internal Die Temperature
Measurement Error vs Temperature
10
5 TYPICAL UNITS
8
6
4
2
0
–2
–4
–6
–8
TEMPERATURE MEASUREMENT ERROR (DEG)
–10
–50
0
–25
TEMPERATURE (°C)
50
25
75 100
125
680412fc
Page 13
Typical perForMance characTerisTics
680412 G34
680412 G36
V
(V)
REF2
V
3.003
3.002
3.001
3.000
2.999
2.998
2.997
vs TemperatureV
REF2
V+ = 39.6V
5 TYPICAL PARTS
50100 125
–50
–250
2575
TEMPERATURE (°C)
680412 G28
–200
(ppm)
–400
REF2
–600
CHANGE IN V
–800
–1000
Load RegulationV
REF2
0
V+ = 39.6V
= 5V
V
REG
125°C
85°C
25°C
–45°C
0.01
0.1
I
OUT
1
(mA)
LTC6804-1/LTC6804-2
= 25°C, unless otherwise noted.
T
A
V+ Line Regulation
REF2
200
V
GENERATED FROM
REG
DRIVE PIN, FIGURE 28
150
100
(ppm)
50
REF2
0
–50
CHANGE IN V
680412 G29
–100
–150
10
–200
152545
5
35
V+ (V)
125°C
85°C
25°C
–45°C
556575
580412 G30
V
REF2 VREG
150
= 5k
R
L
100
50
(ppm)
REF2
0
–50
CHANGE IN V
–100
–150
4.5
25
20
15
10
NUMBER OF PARTS
5
0
–125
4.7555.255.5
V
Hysteresis, Hot
REF2
–75
Line Regulation
V
(V)
REG
T
= 85°C TO 25°C
A
25
–25
CHANGE IN REF2 (ppm)
75
125°C
85°C
25°C
–45°C
125
680412 G31
175
V
Power-Up
REF2
3.5
RL = 5k
3.0
= 1µF
C
L
2.5
(V)CSB
2.0
REF2
V
1.5
1.0
0.5
0
5
0
–5
V
Hysteresis, Cold
REF2
16
TA = –45°C TO 25°C
14
12
10
8
6
NUMBER OF PARTS
4
2
0
–250
–200 –150
V
REF2
CSB
1ms/DIV
–100 –50 050 100
CHANGE IN REF2 (ppm)
680412 G32
680412 G35
V
Long-Term Drift
REF2
100
8 TYPICAL PARTS
75
50
(ppm)
25
REF2
0
–25
CHANGE IN V
–50
–75
–100
NUMBER OF PARTS
0
V
REF2
30
260°C, 1 CYCLE
25
20
15
10
5
0
500
Change Due to IR Reflow
–500–300–100100
10002000
15002500
TIME (HOURS)
CHANGE IN REF2 (ppm)
3000
680412 G33
300–700
For more information www.linear.com/LTC6804-1
680412fc
13
Page 14
LTC6804-1/LTC6804-2
680412 G45
= 25°C, unless otherwise noted.
Typical perForMance characTerisTics
Discharge Switch On-Resistance
vs Cell VoltageDrive Pin Load RegulationDrive Pin Line Regulation
50
45
40
35
30
25
20
15
10
5
DISCHARGE SWITCH ON-RESISTANCE (Ω)
0
ON-RESISTANCE OF INTERNAL
DISCHARGE SWITCH MEASURED
WITH 100Ω. EXTERNAL DISCHARGE
RESISTOR BETWEEN S(n) and C(n)
125°C
85°C
25°C
–45°C
1
2
CELL VOLTAGE (V)
3
45
680412 G37
0
–20
–40
–60
–80
CHANGE IN DRIVE PIN VOLTAGE (mV)
–100
0.01
125°C
85°C
25°C
–45°C
I
LOAD
0.1
(mA)
T
A
V+ = 39.6V
680412 G38
10
5
0
–5
–10
CHANGE IN DRIVE PIN VOLTAGE (mV)
–15
1
515
25
35
V+ (V)
125°C
85°C
25°C
–45°C
45
55
65
680412 G39
75
Drive and V
6
5
4
(V)
REG
3
AND V
2
DRIVE
V
1
0
–1
V
DRIVEVREG
Pin Power-UpV
REG
V
: CL = 1µF
REG
GENERATED FROM
V
REG
DRIVE PIN, FIGURE 28
100µs/DIV
Internal Die Temperature
Increase vs Discharge Current
50
45
40
35
12 CELLS DISCHARGING
30
6 CELLS DISCHARGING
25
20
15
10
INCREASE IN DIE TEMPERATURE (°C)
5
0
0
INTERNAL DISCHARGE CURRENT (mA PER CELL)
20
40
1 CELL
DISCHARGING
60
680412 G40
680412 G43
80
Power-UpV
REF1
3.5
CL = 1µF
3.0
2.5
(V)CSB
REF1
V
2.0
1.5
1.0
0.5
5
0
–5
V
REF1
1ms/DIV
isoSPI Current (READY)
vs Temperature
9
IB = 1mA
LT6804-1
8
7
6
isoSPI CURRENT (mA)
5
4
–50 –25
ISOMD = V
LT6804-2
ISOMD = V
LT6804-1, ISOMD = 0
0
25
TEMPERATURE (°C)
CSB
vs Temperature
REF1
3.155
5 TYPICAL
3.154
3.153
3.152
3.151
(V)
3.150
REF1
V
3.149
3.148
3.147
3.146
680412 G41
3.145
–50
0
–25
TEMPERATURE (°C)
50
25
75 100
125
680412 G42
isoSPI Current (READY/ACTIVE)
vs isoSPI Clock Frequency
14
ISOMD = V
IB = 1mA
REG
REG
50
75
100
680412 G44
125
12
10
8
6
4
isoSPI CURRENT (mA)
2
0
0
REG
LTC6804-1
LTC6804-2
WRITE
READ
2004006001000
isoSPI CLOCK FREQUENCY (kHz)
800
14
680412fc
For more information www.linear.com/LTC6804-1
Page 15
Typical perForMance characTerisTics
680412 G53
Voltage vs TemperatureI
I
BIAS
2.02
IB = 1mA
3 PARTS
2.01
2.00
IBIAS PIN VOLTAGE (V)
1.99
1.98
–50
–2502550
TEMPERATURE (°C)
isoSPI Driver Current Gain
(Port A/PortB) vs Temperature
23
75 100 125
680412 G46
2.010
2.005
2.000
IBIAS PIN VOLTAGE (V)
1.995
1.990
5.5
Voltage Load Regulation
BIAS
200
0
BIAS CURRENT (µA)
400
600
isoSPI Driver Common Mode
Voltage (Port A/Port B) vs Pulse
Amplitude
LTC6804-1/LTC6804-2
= 25°C, unless otherwise noted.
T
A
isoSPI Driver Current Gain
(Port A/PortB) vs Bias Current
23
22
21
20
CURRENT GAIN (mA/mA)
19
800
408912 G47
1000
18
0.56
200
0
BIAS CURRENT (µA)
400
600
isoSPI Comparator Threshold
Gain (Port A/Port B) vs Common
Mode
VA = 0.5V
= 1.0V
V
A
= 1.6V
V
A
800
680412 G48
1000
22
21
20
CURRENT GAIN (mA/mA)
19
18
–50 –25
0
TEMPERATURE (°C)
0.56
0.54
0.52
0.50
0.48
IB = 100µA
IB = 1mA
DRIVER COMMON MODE (V)
50
25
75
100
680412 G49
125
isoSPI Comparator Threshold
Gain (Port A/Port B) vs ICMP
Voltage
3 PARTS
5.0
4.5
4.0
3.5
3.0
2.5
0.54
IB = 100µA
0.52
IB = 1mA
0
0.51.01.52.0
PULSE AMPLITUDE (V)
680412 G50
0.50
0.48
0.46
COMPARATOR THRESHOLD GAIN (V/V)
0.44
2.5
3.0
V
= 1V
ICMP
V
= 0.2V
ICMP
3.54.04.5
COMMON MODE VOLTAGE (V)
5.05.5
680412 G51
Typical Wake-Up Pulse Amplitude
(Port A) vs Dwell Time
300
(mV)
250
WAKE
200
150
GUARANTEED
WAKE-UP REGION
0.46
COMPARATOR THRESHOLD GAIN (V/V)
0.44
0.20.6
0
0.40.8
ICMP VOLTAGE (V)
1.0
100
WAKE-UP PULSE AMPLITUDE, V
1.2
1.4
680412 G52
1.6
50
For more information www.linear.com/LTC6804-1
150
0
WAKE-UP DWELL TIME, t
300
450
DWELL
600
(ns)
680412fc
15
Page 16
LTC6804-1/LTC6804-2
Typical perForMance characTerisTics
Write Command to a Daisy-Chained
Device (ISOMD = 0)
CSB
5V/DIV
SDI
PORT A
PORT A
5V/DIV
SCK
5V/DIV
SDO
5V/DIV
IPB-IMB
2V/DIV
(PORT B)
ISOMD = V
BEGINNING OF A COMMAND
–
1µs/DIV
Data Read-Back from a Daisy-Chained
Device (ISOMD = 0)
CSB
5V/DIV
SDI
5V/DIV
SCK
5V/DIV
SDO
5V/DIV
IPB-IMB
2V/DIV
(PORT B)
ISOMD = V
END OF A READ COMMAND
–
1µs/DIV
680412 G54
680412 G56
(PORT A)
(PORT B)
(PORT A)
(PORT B)
TA = 25°C, unless otherwise noted.
Write Command to a Daisy-Chained
Device (ISOMD = 1)
IPA-IMA
1V/DIV
IPB-IMB
1V/DIV
ISOMD = V
BEGINNING OF A COMMAND
REG
1µs/DIV
Data Read-Back from a Daisy-Chained
Device (ISOMD = 1)
IPA-IMA
1V/DIV
IPB-IMB
1V/DIV
ISOMD = V
END OF A READ COMMAND
REG
1µs/DIV
680412 G55
680412 G57
16
680412fc
For more information www.linear.com/LTC6804-1
Page 17
pin FuncTions
LTC6804-1/LTC6804-2
C0 to C12: Cell Inputs.
S1 to S12: Balance Inputs/Outputs. 12 N-MOSFETs are
connected between S(n) and C(n – 1) for discharging cells.
+
: Positive Supply Pin.
V
–
: Negative Supply Pins. The V– pins must be shorted
V
together, external to the IC.
: Buffered 2nd reference voltage for driving multiple
V
REF2
10k thermistors. Bypass with an external 1µF capacitor.
: ADC Reference Voltage. Bypass with an external
V
REF1
1µF capacitor. No DC loads allowed.
GPIO[1:5]: General Purpose I/O. Can be used as digital
REG
-
inputs or digital outputs, or as analog inputs with a mea
–
surement range from V
2
as an I
C or SPI port.
to 5V. GPIO [3:5] can be used
SWTEN: Software Timer Enable. Connect this pin to V
to enable the software timer.
DRIVE: Connect the base of an NPN to this pin. Connect
+
the collector to V
and the emitter to V
REG
.
Serial Port Pins
PORT B
(Pins 45
to 48)
PORT A
(Pins 41
to 44)
LTC6804-1
(DAISY-CHAINABLE)
ISOMD = V
IPBIPBA3A3
IMBIMBA2A2
ICMPICMPA1A1
IBIASIBIASA0A0
(NC)SDOIBIASSDO
(NC)SDIICMPSDI
I
PASCKI
IMACSBIMACSB
ISOMD = V–ISOMD = V
REG
LTC6804-2
(ADDRESSABLE)
ISOMD = V
REG
PASCK
–
CSB, SCK, SDI, SDO: 4-Wire Serial Peripheral Interface
(SPI). Active low chip select (CSB), serial clock (SCK),
and serial data in (SDI) are digital inputs. Serial data out
(SDO) is an open drain NMOS output pin. SDO requires
a 5k pull-up resistor.
A0 to A3: Address Pins. These digital inputs are connected
to V
or V– to set the chip address for addressable se-
REG
rial commands.
: 5V Regulator Input. Bypass with an external 1µF
V
REG
capacitor.
ISOMD: Serial Interface Mode. Connecting ISOMD to
configures Pins 41 to 44 of the LTC6804 for 2-wire
V
REG
isolated interface (isoSPI) mode. Connecting ISOMD to
–
configures the LTC6804 for 4-wire SPI mode.
V
WDT: Watchdog Timer Output Pin. This is an open drain
NMOS digital output. It can be left unconnected or con
nected with a 1M resistor to V
. If the LTC6804 does not
REG
-
receive a wake-up signal (see Figure 21) within 2 seconds,
the watchdog timer circuit will reset the LTC6804 and the
WDT pin will go high impedance.
IPA, IMA
: Isolated 2-Wire Serial Interface Port A. IPA
(plus) and IMA (minus) are a differential input/output pair.
IPB, IMB: Isolated 2-Wire Serial Interface Port B. IPB
(plus) and IMB (minus) are a differential input/output pair.
IBIAS: Isolated Interface Current Bias. Tie IBIAS to
–
through a resistor divider to set the interface output
V
current level. When the isoSPI interface is enabled, the
IBIAS pin voltage is 2V. The IPA/IMA or IPB/IMB output
current drive is set to 20 times the current, I
, sourced
B
from the IBIAS pin.
ICMP: Isolated Interface Comparator Voltage Threshold
Set. Tie this pin to the resistor divider between IBIAS
–
to set the voltage threshold of the isoSPI receiver
and V
comparators. The comparator thresholds are set to 1/2
the voltage on the ICMP pin.
For more information www.linear.com/LTC6804-1
680412fc
17
Page 18
LTC6804-1/LTC6804-2
680412 BD1
block DiagraM
LTC6804-1
+
V
1
C12
2
V
POR
S12
3
C11
4
S11
5
C10
6
S10
7
C9
8
S9
9
C8
10
S8
11
C7
12
S7
13
C6
14
S6
15
C5
16
S5
17
C4
18
S4
19
C3
20
S3
21
C2
22
S2
23
C1
24
C12
C11
C10
C9
C8
C7
C6
C5
C4
C3
C2
C1
C0
12 BALANCE FETs
S(n)
C(n – 1)
REGULATORS
LDO2
LDO1
6-CELL
MUX
6-CELL
MUX
P
M
P
M
+
V
DRIVE
+
V
V
REGD
POR
+
–
+
–
1ST
REFERENCE
ADC2
16
DIGITAL
FILTERS
ADC1
16
P
AUX
MUX
M
DIE
TEMPERATURE
2ND
REFERENCE
V
REGD
SOC
V
REG
REGD
LOGIC
AND
MEMORY
V
REG
SERIAL I/O
PORT B
SERIAL I/O
PORT A
SOFTWARE
TIMER
IPB
IMB
ICMP
IBIAS
SDO/(NC)
SDI/(NC)
SCK/(IPA)
CSB/(IMA)
ISOMD
WDT
DRIVE
V
REG
SWTEN
V
REF1
V
REF2
GPIO5
GPIO4
V–*
GPIO3
GPIO2
GPIO1
48
47
46
45
44
43
42
41
40
39
38
37
36
35
34
33
32
–
V
31
30
29
28
27
C0
26
S1
25
18
680412fc
For more information www.linear.com/LTC6804-1
Page 19
block DiagraM
680412 BD2
+
V
1
C12
2
S12
3
C11
4
S11
5
C10
6
S10
7
C9
8
S9
9
C8
10
S8
11
C7
12
S7
13
C6
14
S6
15
C5
16
S5
17
C4
18
S4
19
C3
20
S3
21
C2
22
S2
23
C1
24
C12
C11
C10
C9
C8
C7
C6
C5
C4
C3
C2
C1
C0
12 BALANCE FETs
S(n)
C(n – 1)
REGULATORS
LDO2
LDO1
6-CELL
MUX
6-CELL
MUX
P
M
P
M
+
V
DRIVE
+
V
V
REGD
POR
+
–
+
–
1ST
REFERENCE
ADC2
ADC1
LTC6804-2
16
16
P
AUX
MUX
M
DIE
TEMPERATURE
2ND
REFERENCE
LTC6804-1/LTC6804-2
A4
48
A3
47
DIGITAL
FILTERS
V
REGD
SOC
V
REG
V
REGD
LOGIC
MEMORY
AND
POR
V
REG
SERIAL I/O
ADDRESS
SERIAL I/O
PORT A
SOFTWARE
TIMER
SDO/(IBIAS)
SDI/(ICMP)
SCK/(IPA)
CSB/(IMA)
ISOMD
WDT
DRIVE
V
REG
SWTEN
V
REF1
V
REF2
GPIO5
GPIO4
V–*
GPIO3
GPIO2
GPIO1
A2
46
A1
45
44
43
42
41
40
39
38
37
36
35
34
33
32
–
V
31
30
29
28
27
C0
26
S1
25
For more information www.linear.com/LTC6804-1
680412fc
19
Page 20
LTC6804-1/LTC6804-2
680412 F01
isoSPI PORTCORE LTC6804
(REFON = 1)
(CORE = STANDBY)
NOTE: STATE TRANSITION
REFON = 0
operaTion
STATE DIAGRAM
The operation of the LTC6804 is divided into two separate
sections: the core circuit and the isoSPI circuit. Both sec
tions have an independent set of operating states, as well
as a shutdown timeout.
LTC6804 CORE STATE DESCRIPTIONS
SLEEP State
The reference and ADCs are powered down. The watchdog
timer (see Watchdog and Software Discharge Timer) has
timed out. The software discharge timer is either disabled
or timed out. The supply currents are reduced to minimum
levels. The isoSPI ports will be in the IDLE state.
If a WAKEUP signal is received (see Waking Up the Serial
Interface), the LTC6804 will enter the STANDBY state.
STANDBY State
The reference and the ADCs are off. The watchdog timer
and/or the software discharge timer is running. The DRIVE
pin powers the V
(Alternatively, V
pin to 5V through an external transistor.
REG
can be powered by an external supply).
REG
When a valid ADC command is received or the REFON bit is
set to 1 in the Configuration Register Group, the IC pauses
for t
to allow for the reference to power up and then
REFUP
enters either the REFUP or MEASURE state. If there is no
WAKEUP signal for a duration t
dog and software discharge timer have expired) the LT
(when both the watch-
SLEEP
C6804
returns to the SLEEP state. If the software discharge timer
is disabled, only the watchdog timer is relevant.
REFUP State
To reach this state the REFON bit in the Configuration Reg
-
ister Group must be set to 1 (using the WRCFG command,
able 36). The ADCs are off. The reference is powered
see T
up so that the LTC6804 can initiate ADC conversions more
quickly than from the STANDBY state.
When a valid ADC command is received, the IC goes to the
MEASURE state to begin the conversion. Otherwise, the
LTC6804 will return to the STANDBY state when the REFON
bit is set to 0, either manually (using WRCFG command)
or automatically when the watchdog timer expires. (The
LTC6804 will then move straight into the SLEEP state if
both timers are expired).
MEASURE State
The LTC6804 performs ADC conversions in this state. The
reference and ADCs are powered up.
After ADC conversions are complete the LTC6804 will
transition to either the REFUP or STANDBY states, de
pending on the REFON bit. Additional ADC conversions
can be initiated more quickly by setting REFON =
1 to take
advantage of the REFUP state.
Note: Non-ADC commands do not cause a Core state tran
sition. Only an ADC conversion or diagnostic commands
will place the Core in the MEASURE state.
20
WD TIMEOUT
OR SWT TIMEOUT
(t
SLEEP
REFON = 1
(t
REFUP
CONVERSION DONE
SLEEP
)
STANDBY
)
ADC
COMMAND
WAKEUP
SIGNAL
)
(t
WAKE
ADC COMMAND
)
(t
REFUP
MEASUREREFUP
CONVERSION
DONE (REFON = 0)
IDLE TIMEOUT
NO ACTIVITY ON
isoSPI PORT
Figure 1. LTC6804 Operation State Diagram
For more information www.linear.com/LTC6804-1
IDLE
WAKEUP SIGNAL
(t
IDLE
(CORE = SLEEP)
)
(t
WAKE
READY
TRANSMIT/RECEIVE
ACTIVE
)
DELAYS DENOTED BY (t
WAKEUP SIGNAL
)
(t
READY
)
X
680412fc
Page 21
operaTion
LTC6804-1/LTC6804-2
isoSPI STATE DESCRIPTIONS
Note: The LTC6804-1 has two isoSPI ports (A and B), for
daisy-chain communication. The LTC6804-2 has only one
isoSPI port (A), for parallel-addressable communication.
IDLE State
The isoSPI ports are powered down.
When isoSPI port A receives a WAKEUP signal (see Wak-
ing Up the Serial Interface), the isoSPI enters the READY
state. This transition happens quickly (within t
READY
) if
the Core is in the STANDBY state because the DRIVE and
V
pins are already biased up. If the Core is in the SLEEP
REG
state when the isoSPI receives a WAKEUP signal, then it
transitions to the READY state within t
WAKE
.
READY State
The isoSPI port(s) are ready for communication. Port
B is enabled only for LTC6804-1, and is not present on
the LTC6804-2. The serial interface current in this state
depends on if the part is LTC6804-1 or LTC6804-2, the
status of the ISOMD pin, and R
= RB1 + RB2 (the
BIAS
external resistors tied to the IBIAS pin).
DRIVE output pin. Alternatively, V
can be powered by
REG
an external supply.
The power consumption varies according to the opera-
tional states. Table 1 and Table 2 provide equations to
approximate the supply pin currents in each state. The V+
pin current depends only on the Core state and not on the
isoSPI state. However, the V
pin current depends on
REG
both the Core state and isoSPI state, and can therefore be
divided into two components. The isoSPI interface draws
current only from the V
I
Table 1. Core Supply Current
= I
REG
REG(CORE)
STATEI
V
SLEEP
REG
V
REG
STANDBY32µA35µA
REFUP550µA450µA
MEASURE550µA11.5mA
+ I
= 0V3.8µA0µA
= 5V1.6µA2.2µA
In the SLEEP state the V
2.2µA if powered by a external supply. Otherwise, the V
pin.
REG
REG(isoSPI)
+I
V
pin will draw approximately
REG
REG(CORE)
+
pin will supply the necessary current.
If there is no activity (i.e., no WAKEUP signal) on port A
for greater than t
= 5.5ms, the LTC6804 goes to the
IDLE
IDLE state. When the serial interface is transmitting or
receiving data the LTC6804 goes to the ACTIVE state.
ACTIVE State
The LTC6804 is transmitting/receiving data using one or
both of the isoSPI ports. The serial interface consumes
maximum power in this state. The supply current increases
with clock frequency as the density of isoSPI pulses
increases.
POWER CONSUMPTION
The LTC6804 is powered via two pins: V+ and V
REG
. The
V+ input requires voltage greater than or equal to the top
cell voltage, and it provides power to the high voltage
elements of the core circuitry. The V
input requires
REG
5V and provides power to the remaining core circuitry
and the isoSPI circuitry. The V
input can be powered
REG
through an external transistor, driven by the regulated
ADC OPERATION
There are two ADCs inside the LTC6804. The two ADCs
operate simultaneously when measuring twelve cells. Only
one ADC is used to measure the general purpose inputs.
The following discussion uses the term ADC to refer to
one or both ADCs, depending on the operation being
performed. The following discussion will refer to ADC1
and ADC2 when it is necessary to distinguish between the
two circuits, in timing diagrams, for example.
ADC Modes
The ADCOPT bit (CFGR0[0]) in the configuration register
group and the mode selection bits MD[1:0] in the conversion command together provide 6 modes of operation for
the ADC which correspond to different over sampling ratios
(OSR). The accuracy of these modes are summarized in
Table 3. In each mode, the ADC first measures the inputs,
and then performs a calibration of each channel. The
names of the modes are based on the –3dB bandwidth
of the ADC measurement.
For more information www.linear.com/LTC6804-1
680412fc
21
Page 22
LTC6804-1/LTC6804-2
()
1µs
()
CLK
()
1µs
()
1µs
()
CLK
operaTion
Table 2. isoSPI Supply Current Equations
isoSPI STATEDEVICE
IDLELTC6804-1/LTC6804-2N/A0mA
READYLTC6804-1V
LTC6804-2V
ACTIVELTC6804-1V
LTC6804-2V
ISOMD
CONNECTIONI
REG
V
REG
V
REG
V
REG
V
–
–
–
–
2.8mA + 5 • IB Note: IB=V
Write: 2.8mA + 5 • IB+ 2•IB+ 0.4mA
Read: 2.8mA+ 5 •IB+ 3•IB+ 0.5mA
1.6mA+3•IB+ 2•IB+ 0.2mA
Write: 1.8mA+ 3 • IB+ 0.3mA
Read: 1.8mA+3•IB+ IB+ 0.3mA
REG(isoSPI)
1.6mA + 3 • I
1.8mA + 3 • I
0mA
0mA
/(RB1+RB2)
BIAS
B
B
•
•
t
t
CLK
CLK
•
•
•
t
t
1µs
t
CLK
1µs
Table 3. ADC Filter Bandwidth and Accuracy
MODE–3dB FILTER BW–40dB FILTER BWTME SPEC AT 3.3V, 25°CTME SPEC AT 3.3V,–40°C, 125°C
In this mode, the ADC has high resolution and low TME
(total measurement error). This is considered the normal
operating mode because of the optimum combination of
speed and accuracy.
Mode 26Hz (Filtered):
In this mode, the ADC digital filter –3dB frequency is
lowered to 26Hz by increasing the OSR. This mode is
also referred to as the filtered mode due to its low –3dB
frequency. The accuracy is similar to the 7kHz (Normal)
mode with lower noise.
Mode 27kHz (Fast):
In this mode, the ADC has maximum throughput but has
some increase in TME (total measurement error). So this
mode is also referred to as the fast mode. The increase
in speed comes from a reduction in the oversampling
ratio. This results in an increase in noise and average
measurement error.
Modes 14kHz, 3kHz and 2kHz:
Modes 14kHz, 3kHz and 2kHz provide additional options to
set the ADC digital filter –3dB frequency at 13.5kHz, 3.4kHz
and 1.7kHz respectively. The accuracy of the 14kHz mode
is similar to the 27kHz (fast) mode. The accuracy of 3kHz
and 2kHz modes is similar to the 7kHz (normal) mode.
680412fc
22
For more information www.linear.com/LTC6804-1
Page 23
operaTion
PEAK NOISE (mV)
1.0
680412 F02
5.0
LTC6804-1/LTC6804-2
The conversion times for these modes are provided in
Table 5. If the core is in STANDBY state, an additional
time is required to power up the reference before
t
REFUP
beginning the ADC conversions. The reference can remain
powered up between ADC conversions if the REFON bit
in Configuration Register Group is set to 1 so the core is
in REFUP state after a delay t
ADC commands will not have the t
. Then, the subsequent
REFUP
delay before
REFUP
beginning ADC conversions.
ADC Range and Resolution
The C inputs and GPIO inputs have the same range and
resolution. The ADC inside the LTC6804 has an approximate
range from –0.82V to 5.73V. Negative readings are rounded
to 0V. The format of the data is a 16-bit unsigned integer
where the LSB represents 100µV. Therefore, a reading of
0x80E8 (33,000 decimal) indicates a measurement of 3.3V.
Delta-Sigma ADCs have quantization noise which depends
on the input voltage, especially at low over sampling ratios
(OSR), such as in FAST mode. In some of the ADC modes,
the quantization noise increases as the input voltage ap
proaches the upper and lower limits of the ADC range.
For example, the total measurement noise versus input
voltage in normal and filtered modes is shown in Figure 2.
The specified range of the ADC is 0V
to 5V. In Table 4, the
precision range of the ADC is arbitrarily defined as 0.5V
to 4.5V. This is the range where the quantization noise
is relatively constant even in the lower OSR modes (see
Figure 2). Table 4 summarizes the total noise in this range
for all six ADC operating modes. Also shown is the noise
0
0 0.5
NORMAL MODE
FILTERED MODE
4.03.53.02.52.01.0 1.54.5
ADC INPUT VOLTAGE (V)
0.9
0.8
0.7
0.6
0.5
0.4
0.3
0.2
0.1
Figure 2. Measurement Noise vs Input Voltage
free resolution. For example, 14-bit noise free resolution
in normal mode implies that the top 14 bits will be noise
free with a DC input, but that the 15th and 16th least
significant bits (LSB) will flicker.
ADC Range vs Voltage Reference Value:
Typical Delta-Sigma ADC’s have a range which is exactly
twice the value of the voltage reference, and the ADC
measurement error is directly proportional to the error
in the voltage reference. The LTC6804 ADC is not typi
cal. The absolute value of V
is trimmed up or down
REF1
-
to compensate for gain errors in the ADC. Therefore, the
ADC total measurement error (TME) specifications are
superior to the V
specifications. For example, the
REF1
25°C specification of the total measurement error when
measuring 3.300V in 7kHz (normal) mode is ±1.2mV and
the 25°C specification for V
is 3.200V ±100mV.
REF1
Table 4. ADC Range and Resolution
1. Negative readings are rounded to 0V.
2. PRECISION RANGE is the range over which the noise is less than MAX NOISE.
3. NOISE FREE RESOLUTION is a measure of the noise level within the PRECISION RANGE.
SPECIFIED
MODEFULL RANGE
27kHz (Fast)
14kHz±1mV
7kHz (Normal)±250µV
3kHz±150µV
2kHz±100µV
26Hz (Filtered)±50µV
–0.8192V to
5.7344V
1
RANGE
0V to 5V0.5V to 4.5V100µVUnsigned 16 Bits
PRECISION
2
RANGE
For more information www.linear.com/LTC6804-1
LSBFORMATMAX NOISE
±4mV
P-P
P-P
P-P
P-P
P-P
P-P
NOISE FREE
RESOLUTION
10 Bits
12 Bits
14 Bits
14 Bits
15 Bits
16 Bits
680412fc
23
3
Page 24
LTC6804-1/LTC6804-2
680412 F03
INTERFACE
680412 F04
t
operaTion
Measuring Cell Voltages (ADCV Command)
The ADCV command initiates the measurement of the
battery cell inputs, pins C0 through C12. This command
has options to select the number of channels to measure
and the ADC mode. See the section on Commands for the
ADCV command format.
Figure 3 illustrates the timing of ADCV command which
measures all twelve cells. After the receipt of the ADCV
command to measure all 12 cells, ADC1 sequentially
measures the bottom 6 cells. ADC2 sequentially measures
the top 6 cells. After the cell measurements are complete,
each channel is calibrated to remove any offset errors.
Table 5 shows the conversion times for the ADCV com
mand measuring all 12 cells. The total conversion time is
given by t
which indicates the end of the calibration step.
6C
Figure 4 illustrates the timing of the ADCV command that
measures only two cells.
Table 6 shows the conversion time for ADCV command
measuring only 2 cells. t
indicates the total conversion
1C
time for this command.
REFUP
SERIAL
ADC2
ADC1
ADCV + PEC
t
0
MEASURE
C10 TO C9
MEASURE
C4 TO C3
t
1M
CALIBRATE
C10 TO C9
CALIBRATE
C4 TO C3
t
1C
Figure 4. Timing for ADCV Command Measuring 2 Cells
Table 6. Conversion Times for ADCV Command Measuring Only 2
Cells in Different Modes
Whenever the C inputs are measured, the results are compared to undervoltage and overvoltage thresholds stored
memor
in
limit, a bit in memory is set as a flag. Similarly, measure
y. If the reading of a cell is above the overvoltage
ment results below the undervoltage limit cause a flag to
be set. The overvoltage and undervoltage thresholds are
stored in the configuration register group. The flags are
stored in the status register group B.
Auxiliary (GPIO) Measurements (ADAX Command)
The ADAX command initiates the measurement of the
GPIO inputs. This command has options to select which
GPIO input to measure (GPIO1-5) and which ADC mode.
The ADAX command also measures the 2nd reference.
There are options in the ADAX command to measure each
GPIO and the 2nd reference separately or to measure all 5
GPIOs and the 2nd reference in a single command. See the
section on commands for the ADAX command format. All
–
auxiliary measurements are relative to the V
pin voltage.
This command can be used to read external temperature
by connecting the temperature sensors to the GPIOs.
These sensors can be powered from the 2nd reference
which is also measured by the ADAX command, resulting
in precise ratiometric measurements.
Figure 5 illustrates the timing of the ADAX command
measuring all GPIOs and the 2nd reference. Since all
the 6 measurements are carried out on ADC1 alone, the
conversion time for the ADAX command is similar to the
ADCV command.
Measuring Cell Voltages and GPIOs (ADCVAX
Command)
The ADCVAX command combines twelve cell measure
ments with two GPIO measurements (GPIO1 and GPIO2).
This command simplifies the synchronization of battery
cell voltage and current measurements when current sen
are connected to GPIO1 or GPIO2 inputs. Figure6
sors
-
illustrates the timing of the ADCVAX command. See the
section on commands for the ADCVAX command format.
The synchronization of the current and voltage measure
ments, t
, in FAST MODE is within 208µs.
SKEW1
-
t
CYCLE
t
6M
CALIBRATE
GPIO1
MEASURE
2ND REF
t
t
2M
5M
t
1C
CALIBRATE
GPIO2
t2Ct
CALIBRATE
2ND REF
5C
t
6C
SERIAL
ADC2
ADC1
ADAX + PEC
t
REFUP
t
0
MEASURE
GPIO1
t
1M
t
SKEW
MEASURE
GPIO2
Figure 5. Timing for ADAX Command Measuring All GPIOs and 2nd Reference
Table 7. Conversion Times for ADAX Command Measuring All GPIOs and 2nd Reference in Different Modes
Table 8 shows the conversion and synchronization time
for the ADCVAX command in different modes. The total
conversion time for the command is given by t
measures the following internal device parameters: sum
DATA ACQUISITION SYSTEM DIAGNOSTICS
The battery monitoring data acquisition system is com
prised of the multiplexers, ADCs, 1st reference, digital
filters, and memory. To ensure long term reliable performance there are several diagnostic commands which can
be used to verify the proper operation of these cir
cuits.
of all cells (SOC), internal die temperature (ITMP), analog
power supply (VA) and the digital power supply (VD).
These parameters are described in the section below. All
6 ADC modes are available for these conversions. See the
section on commands for the ADSTAT command format.
Figure 7 illustrates the timing of the ADSTAT command
measuring all 4 internal device parameters.
CALIBRATE
CALIBRATE
8M
TIME (µs)
t
SKEW1
AT
t
8C
26
SERIAL
ADC2
ADC1
t
t
3M
CYCLE
MEASURE
VD
t
4M
CALIBRATE
SOC
ADSTAT + PEC
t
REFUP
t
0
MEASURE
SOC
t
1M
t
SKEW
MEASURE
ITMP
t
2M
Figure 7. Timing for ADSTAT Command Measuring SOC, ITMP, VA, VD
For more information www.linear.com/LTC6804-1
t
1C
CALIBRATE
ITMP
t2Ct
CALIBRATE
3C
VD
t
4C
680412fc
Page 27
operaTion
LTC6804-1/LTC6804-2
Table 9 shows the conversion time of the ADSTAT command measuring all 4 internal parameters. t
indicates
4C
the total conversion time for the ADSTAT command.
Sum of Cells Measurement: The sum of all cells measurement
is the voltage between C12 and C0 with a 20:1 attenuation.
The 16-bit ADC value of sum of cells measurement (SOC)
is stored in status register group A. Any potential differ
-
ence between the CO and V– pins results in an error in the
SOC measurement equal to this difference. From the SOC
value, the sum of all cell voltage measurements is given by:
Sum of all Cells = SOC • 20 • 100µV
Internal Die Temperature: The ADSTAT command can
measure the internal die temperature. The 16-bit ADC
value of the die temperature measurement (ITMP) is
stored in status register group A. From ITMP the actual
die temperature is calculated using the expression:
Internal Die Temperature (°C) = (ITMP) • 100µV/
(7.5mV)°C – 273°C
Power Supply Measurements: The ADSTAT command is
also used to measure the analog power supply (V
digital power supply (V
REGD
).
REG
) and
The 16-bit ADC value of the analog power supply measurement (VA) is stored in Status Register Group A. The 16-
bit
ADC value of the digital power supply measurement (VD)
is
stored in status register group B. From VA and VD, the
power supply measurements are given by:
Analog power supply measurement (V
Digital power supply measurement (V
The nominal range of V
range of V
is 2.7V to 3.6V.
REGD
is 4.5V to 5.5V. The nominal
REG
) = VA • 100µV
REG
) = VD • 100µV
REGD
Issuing an ADSTAT command with CHST=100 runs an
ADC measurement of just the digital supply (V
REGD
). This
is not recommended following an ADCV command. With
large cell voltages, running the ADSTAT command with
CST=100 following an ADCV command with CH=000
(all cells) can cause the LTC6804 to perform a power on
reset. If using the ADSTAT command with CHST=100,
it is necessary to run an ADCV command with CH=001
prior to running the ADSTAT command with CHST=100.
This charges the high voltage multiplexer to a low poten
tial before the V
measurement is executed. To save
REGD
-
time, this sacrificial ADCV command run prior to running
the V
measurement can be executed in FAST mode
REGD
(MD=01).
Accuracy Check
Measuring an independent voltage reference is the best
means to verify the accuracy of a data acquisition system.
The LTC6804 contains a 2nd reference for this purpose.
The ADAX command will initiate the measurement of the
2nd reference. The results are placed in auxiliary register
group B. The range of the result depends on the ADC
measurement accuracy and the accuracy of the 2nd ref
erence, including thermal hysteresis and long term drift.
Readings outside the range 2.985 to 3.015 indicate the
system is out of its specified tolerance.
MUX Decoder Check
The diagnostic command DIAGN ensures the proper op
eration of each multiplexer channel. The command cycles
through all channels and sets the MUXF
AIL bit to 1 in
status register group B if any channel decoder fails. The
MUXFAIL bit is set to 0 if the channel decoder passes the
Table 9. Conversion Times for ADSTAT Command Measuring SOC, ITMP, VA, VD
test. The MUXFAIL bit is also set to 1 on power-up (POR)
or after a CLRSTAT command.
The DIAGN command takes about 400µs to complete if the
core is in REFUP state and about 4.5ms to complete if the
core is in STANDBY state. The polling methods described
in the section Polling Methods can be used to determine
the completion of the DIAGN command.
Digital Filter Check
The delta-sigma ADC is composed of a 1-bit pulse den
sity modulator followed by a digital filter. A pulse density
modulated bit stream has a higher percentage of 1s for
higher analog input voltages. The digital filter converts
this high frequency 1-bit stream into a single 16-bit word.
This is why a delta-sigma ADC is often referred to as an
oversampling converter.
The self test commands verify the operation of the digital
filters and memory. Figure 8 illustrates the operation of
the ADC during self test. The output of the 1-bit pulse
density modulator is replaced by a 1-bit test signal. The
test signal passes through the digital filter and is converted to a 16-bit value. The 1-bit test signal undergoes
the same digital conversion as the regular 1-
bit pulse
from the modulator, so the conversion time for any self
test command is exactly the same as the corresponding
regular ADC conversion command. The 16-bit ADC value
is stored in the same register groups as the regular ADC
conversion command. The test signals are designed to
place alternating one-zero patterns in the registers. Table
10 provides a list of the self test commands. If the digital
filters and memory are working properly, then the registers
will contain the values shown in Table 10. For more details
see the section Commands.
ADC Clear Commands
LTC6804 has 3 clear commands – CLRCELL, CLRAUX
and CLRSTAT. These commands clear the registers that
store all ADC conversion results.
The CLRCELL command clears cell voltage register group
A, B, C and D. All bytes in these registers are set to 0xFF
by CLRCELL command.
MODULATED
BIT STREAM
MUX
Table 10. Self Test Command Summary
COMMAND
CVSTST[1:0]=010x95650x95530x95550x95550x95550x9555C1V to C12V
AXSTST[1:0]=010x95650x95530x95550x95550x95550x9555G1V to G5V, REF
STATSTST[1:0]=010x95650x95530x95550x95550x95550x9555SOC, ITMP, VA, VD
SELF TEST
OPTIONOUTPUT PATTERN IN DIFFERENT ADC MODES
ST[1:0]=10
ST[1:0]=10
ST[1:0]=10
ANALOG
INPUT
27kHz14kHz7kHz3kHz2kHz26Hz
0x6A9A0x6AAC0x6AAA0x6AAA0x6AAA0x6AAA
0x6A9A0x6AAC0x6AAA0x6AAA0x6AAA0x6AAA
0x6A9A0x6AAC0x6AAA0x6AAA0x6AAA0x6AAA
1-BIT
MODULATOR
Figure 8. Operation of LTC6804 ADC Self Test
1
SELF TEST
PATTERN
GENERATOR
TEST SIGNAL
DIGITAL
FILTER
RESULTS
REGISTER
16
680412 F08
RESULTS REGISTER
GROUPS
(CVA, CVB, CVC, CVD)
(AUXA, AUXB)
(STATA, STATB)
680412fc
28
For more information www.linear.com/LTC6804-1
Page 29
operaTion
LTC6804-1/LTC6804-2
The CLRAUX command clears auxiliary register group
A and B. All bytes in these registers are set to 0xFF by
CLRAUX command.
The CLRSTAT command clears status register group A and
B except the REVCODE and RSVD bits in status register
group B. A read back of REVCODE will return the revision
code of the part. All OV flags, UV flags, MUXFAIL bit, and
THSD bit in status register group B are set to 1 by CLR
-
STAT command. The THSD bit is set to 0 after RDSTATB
, V
command. The registers storing SOC, ITMP
A and VD
are all set to 0xFF by CLRSTAT command.
Open-Wire Check (ADOW Command)
The ADOW command is used to check for any open wires
between the ADCs in the LTC6804 and the external cells.
This command performs ADC conversions on the C pin
inputs identically to the ADCV command, except two
internal current sources sink or source current into the
two C pins while they are being measured. The pull-up
(PUP) bit of the ADOW command determines whether the
current sources are sinking or sourcing 100µA.
The following simple algorithm can be used to check for
an open wire on any of the 13 C pins (see Figure 9):
1) Run the 12-cell command ADOW with PUP = 1 at least
twice. Read the cell voltages for cells 1 through 12 once
at the end and store them in array CELL
PU(n)
.
2) Run the 12-cell command ADOW with PUP = 0 at least
twice. Read the cell voltages for cells 1 through 12 once
at the end and store them in array CELL
PD(n)
.
3) Take the difference between the pull-up and pull-down
measurements made in above steps for cells 2-12:
∆(n)
= CELL
CELL
4) For all values of n from 1 to 11: If CELL
then C(n) is open. If the CELL
is open. If the CELL
PU(n)
PD(12)
– CELL
.
PD(n)
< –400mV,
∆(n+1)
= 0.0000, then C(0)
PU(1)
= 0.0000, then C(12) is open.
The above algorithm detects open wires using normal mode
conversions with as much as 10nF of capacitance remaining
on the LTC6804 side of the open wire. However, if more
external capacitance is on the open C pin, then the length
of time that the open wire conversions are ran in steps 1
and 2 must be increased to give the 100µA current sources
time to create a large enough difference for the algorithm
to detect an open connection. This can be accomplished
by running more than two ADOW commands in steps 1
and 2, or by using filtered mode conversions instead of
normal mode conversions. Use Table 11 to determine how
many conversions are necessary:
Table 11
Number of ADOW Commands Required in
EXTERNAL C PIN
CAPACIT
ANCENORMAL MODEFILTERED MODE
≤10nF22
100nF102
1µF1002
C1+ROUNDUP(C/10nF)2
+
V
1
C12
+
+
+
+
+
+
+
+
+
+
+
+
2
C11
4
C10
6
C9
8
C8
10
C7
12
14
C5
16
C4
18
C3
20
C2
22
C1
24
C0
26
30
31
6-CELL
MUX
C6
C6
6-CELL
MUX
–
V
Figure 9. Open-Wire Detection Circuitry
Steps 1 and 2
+
+
V
V
100µA
PUP = 1
PUP = 0
100µA
–
–
V
V
+
+
V
V
100µA
PUP = 1
PUP = 0
100µA
–
–
V
V
LTC6804
ADC2
ADC1
680412 F09
For more information www.linear.com/LTC6804-1
680412fc
29
Page 30
LTC6804-1/LTC6804-2
680412 F10
V
2
1
operaTion
Thermal Shutdown
To protect the LTC6804 from overheating, there is a thermal
shutdown circuit included inside the IC. If the temperature
detected on the die goes above approximately 150°C, the
thermal shutdown circuit trips and resets the configura
tion register group to its default state. This turns off all
discharge
switches.
When a thermal shutdown event has
occurred, the THSD bit in status register group B will go
high. This bit is cleared after a read operation has been
performed on the status register group B (RDSTATB
command). The CLRSTAT command sets the THSD bit
high for diagnostic purposes, but does not reset the
configuration register group.
Revision Code and Reserved Bits
The status register group B contains a 4-bit revision code
and 2 reserved bits. If software detection of device revision
is necessary, then contact the factory for details. Otherwise,
the code can be ignored. In all cases, however, the values
of all bits must be used when calculating the packet error
code (PEC) on data reads.
WATCHDOG AND SOFTWARE DISCHARGE TIMER
When there is no wake-up signal (see Figure 21) for more
than 2 seconds, the watchdog timer expires. This resets
configuration register bytes CFGR0-CFGR3 in all cases.
CFGR4 and CFGR5 are reset by the watchdog timer when
the software timer is disabled. The WDT pin is pulled high
by the external pull-up when the watchdog time elapses.
The watchdog timer is always enabled and is reset by a
qualified wake-up signal.
The software discharge timer is used to keep the discharge
switches turned ON for programmable time duration. If
the software timer is being used, the discharge switches
are not turned OFF when the watchdog timer is activated.
To enable the software timer, SWTEN pin needs to be tied
high to V
(Figure 10). The discharge switches can
REG
now be kept ON for the programmed time duration that is
determined by the DCTO value written to the configuration
register. Table 12 shows the various time settings and the
corresponding DCTO value. Table 13 summarizes the status
of the configuration register group after a watchdog timer
or software timer event.
REG
DCTO > 0
LTC6804
SWTEN
WDT
DCTEN
EN
SW TIMER
OSC 16Hz
RST1
(RESETS DCTO, DCC)
RST2
(RESETS REFUP, VUV, VOV)
OSC 16Hz
Figure 10. Watchdog and Software Discharge Timer
Table 12. DCTO Settings
DCTO0123456789ABCDEF
Time Min Disabled0.5123451015203040607590120
CLK
(POR OR WRCFG DONE OR TIMEOUT)
WATCHDOG
TIMER
CLK
(POR OR VALID COMMAND)
TIMEOUT
RST
WDTRST && ~DCTEN
RST
WDTPD
WDTRST
30
680412fc
For more information www.linear.com/LTC6804-1
Page 31
operaTion
LTC6804-1/LTC6804-2
Table 13
WATCHDOG TIMERSOFTWARE TIMER
SWTEN = 0, DCTO = XXXXResets CFGR0-5
When It Activates
SWTEN = 1, DCTO = 0000Resets CFGR0-5
When It Activates
SWTEN = 1, DCTO ! = 0000Resets CFGR0-3
When It Activates
Disabled
Disabled
Resets CFGR4-5
When It Fires
Unlike the watchdog timer, the software timer does not
reset when there is a valid command. The software timer
can only be reset after a valid WRCFG (write configuration
register) command. There is a possibility that the software
timer will expire in the middle of some commands.
If software timer activates in the middle of WRCFG com
mand, the configuration register resets as per Table 14.
However, at the end of the valid WRCFG command, the
new data is copied to the configuration register. The new
data is not lost when the software timer is activated.
If software timer activates in the middle of RDCFG com
mand, the configuration register group resets as per
able
14. As a result, the read back data from bytes CRFG4
The GPIOs are open drain outputs, so an external pull-up
is required on these ports to operate as an I2C or SPI
master. It is also important to write the GPIO bits to 1 in
the CFG register group so these ports are not pulled low
internally by the device.
The I/O ports GPIO3, GPIO4 and GPIO5 on LTC6804-1 and
COMM Register
LTC6804-2 can be used as an I2C or SPI master port to
communicate to an I2C or SPI slave. In the case of an I2C
master, GPIO4 and GPIO5 form the SDA and SCL ports of
the I2C interface respectively. In the case of a SPI master,
GPIO3, GPIO5 and GPIO4 become the chip select (CSBM),
clock (SCKM) and data (SDIOM) ports of the SPI interface
respectively. The SPI master on LTC6804 supports only
SPI mode 3 (CHPA = 1, CPOL = 1).
LTC6804 has a 6-byte COMM register as shown in Table15.
This register stores all data and control bits required for
I2C or SPI communication to a slave. The COMM register
contains 3 bytes of data Dn[7:0] to be transmitted to or
received from the slave device. ICOMn [3:0] specify control actions before transmitting/receiving the data byte.
FCOMn [3:0] specify control actions after transmitting/
receiving the data byte.
Table 16. Write Codes for ICOMn[3:0] and FCOMn[3:0] on I2C Master
CONTROL BITSCODEACTIONDESCRIPTION
0110STARTGenerate a START Signal on I
ICOMn[3:0]
FCOMn[3:0]
Table 17. Write Codes for ICOMn[3:0] and FCOMn[3:0] on SPI Master
CONTROL BITSCODEACTIONDESCRIPTION
ICOMn[3:0]
FCOMn[3:0]
0001STOPGenerate a STOP Signal on I
0000BLANKProceed Directly to Data Transmission on I
0111No TransmitRelease SDA and SCL and Ignore the Rest of the Data
0000Master ACKMaster Generates an ACK Signal on Ninth Clock Cycle
1000Master NACKMaster Generates a NACK Signal on Ninth Clock Cycle
1001Master NACK + STOPMaster Generates a NACK Signal Followed by STOP Signal
1000CSBM lowGenerates a CSBM Low Signal on SPI Port (GPIO3)
1001CSBM highGenerates a CSBM High Signal on SPI Port (GPIO3)
1111No TransmitReleases the SPI Port and Ignores the Rest of the Data
X000CSBM lowHolds CSBM Low at the End of Byte Transmission
1001CSBM highTransitions CSBM High at the End of Byte Transmission
2
C Port Followed By Data Transmission
2
C port
2
C Port
If the bit ICOMn[3] in the COMM register is set to 1 the
part becomes an I2C master and if the bit is set to 0 the
part becomes a SPI master.
Table 16 describes the valid write codes for ICOMn[3:0]
and FCOMn[3:0] and their behavior when using the part
as an I2C master.
Table 17 describes the valid codes for ICOMn[3:0] and
FCOMn[3:0] and their behavior when using the part as
a SPI master.
Note that only the codes listed in Tables 16 and 17 are
valid for ICOMn[3:0] and FCOMn[3:0]. Writing any other
code that is not listed in Tables 16 and 17 to ICOMn[3:0]
and FCOMn[3:0] may result in unexpected behavior on
2
C and SPI ports.
the I
COMM Commands
2
Three commands help accomplish I
C or SPI communica-
tion to the slave device: WRCOMM, STCOMM, RDCOMM
WRCOMM Command:
This command is used to write data
to the COMM register. This command writes 6 bytes of
data to the COMM register. The PEC needs to be written
at the end of the data. If the PEC does not match, all data
in the COMM register is cleared to 1’s when CSB goes
high. See the section Bus Protocols for more details on a
write command format.
2
STCOMM Command: This command initiates I
C/SPI communication on the GPIO ports. The COMM register contains
3 bytes of data to be transmitted to the slave. During this
command, the data bytes stored in the COMM register are
2
transmitted to the slave I
2
received from the I
C or SPI device is stored in the COMM
C or SPI device and the data
register. This command uses GPIO4 (SDA) and GPIO5
2
(SCL) for I
C communication or GPIO3 (CSBM), GPIO4
(SDIOM) and GPIO5 (SCKM) for SPI communication.
The STCOMM command is to be followed by 24 clock
cycles for each byte of data to be transmitted to the slave
device while holding CSB low. For example, to transmit 3
bytes of data to the slave, send STCOMM command and
its PEC followed by 72 clock cycles. Pull CSB high at the
end of the 72 clock cycles of STCOMM command.
2
During I
C or SPI communication, the data received from
the slave device is updated in the COMM register.
32
680412fc
For more information www.linear.com/LTC6804-1
Page 33
680412 F11
operaTion
LTC6804-1/LTC6804-2
RDCOMM Command: The data received from the slave
device can be read back from the COMM register using the
RDCOMM command. The command reads back 6 bytes of
data followed by the PEC. See the section Bus Protocols
for more details on a read command format.
Table 18 describes the possible read back codes for
2
ICOMn[3:0] and FCOMn[3:0] when using the part as an I
C
master. Dn[7:0] contains the data byte either transmitted
2
by the I
C master or received from the I2C slave.
In case of the SPI master, the read back codes for
ICOMn[3:0] and FCOMn[3:0] are always 0111 and 1111
respectively. Dn[7:0] contains the data byte either trans
-
mitted by the SPI master or received from the SPI slave.
Table 18. Read Codes for ICOMn[3:0] and FCOMn[3:0] on I2C
Master
CONTROL
BITS
ICOMn[3:0]
FCOMn[3:0]
CODEDESCRIPTION
0110Master Generated a START Signal
0001Master Generated a STOP Signal
0000Blank, SDA Was Held Low Between Bytes
0111Blank, SDA Was Held High Between Bytes
0000Master Generated an ACK Signal
0111Slave Generated an ACK Signal
1111Slave Generated a NACK Signal
0001Slave Generated an ACK Signal, Master
Generated a STOP Signal
1001Slave Generated a NACK Signal, Master
Generated a STOP Signal
Figure 11 illustrates the operation of LTC6804 as an I2C
or SPI master using the GPIOs.
I2C/SPI
SLAVE
LTC6804-1/LTC6804-2
GPIO
PORT
COMM
REGISTER
STCOMM
RDCOMM
WRCOMM
PORT A
Any number of bytes can be transmitted to the slave in
groups of 3 bytes using these commands. The GPIO ports
will not get reset between different STCOMM commands.
However, if the wait time between the commands is greater
than 2 seconds, the watchdog will timeout and reset the
ports to their default values.
2
To transmit several bytes of data using an I
C master, a
START signal is only required at the beginning of the entire
data stream. A STOP signal is only required at the end of
the data stream. All intermediate data groups can use a
BLANK code before the data byte and an ACK/NACK signal
as appropriate after the data byte. SDA and SCL will not
get reset between different STCOMM commands.
To transmit several bytes of data using SPI master, a
CSBM low signal is sent at the beginning of the 1st data
byte. CSBM can be held low or taken high for intermediate
data groups using the appropriate code on FCOMn[3:0].
A CSBM high signal is sent at the end of the last byte of
data. CSBM, SDIOM and SCKM will not get reset between
different STCOMM commands.
Figure 12 shows the 24 clock cycles following STCOMM
2
command for an I
C master in different cases. Note that
if ICOMn[3:0] specified a STOP condition, after the STOP
signal is sent, the SDA and SCL lines are held high and
all data in the rest of the word is ignored. If ICOMn[3:0]
is a NO TRANSMIT, both SDA and SCL lines are released,
and rest of the data in the word is ignored. This is used
when a particular device in the stack does not have to
communicate to a slave.
Figure 13 shows the 24 clock cycles following STCOMM
2
command for a SPI master. Similar to the I
C master, if
ICOMn[3:0] specified a CSBM HIGH or a NO TRANSMIT
condition, the CSBM, SCKM and SDIOM lines of the SPI
master are released and the rest of the data in the word
is ignored.
Figure 11. LTC6804 I2C/SPI Master Using GPIOs
For more information www.linear.com/LTC6804-1
680412fc
33
Page 34
LTC6804-1/LTC6804-2
SDIOM (GPIO4)
680412 F13
SDIOM
LOW ≥ HIGH
SDIOM
LOW
t
t
t
SDA (GPIO4)
680412 F12
SCL (GPIO5)
SDA (GPIO4)
SCL (GPIO5)
SDA (GPIO4)
SCL (GPIO5)
SDA (GPIO4)
SCL (GPIO5)
SDA (GPIO4)
SCL (GPIO5)
t
t
t
operaTion
(SCK)
CLK
STARTNACK + STOP
BLANKNACK
STARTACK
STOP
NO TRANSMIT
4
3
Figure 12. STCOMM Timing Diagram for an I2C Master
(SCK)
CSBM (GPIO3)
SCKM (GPIO5)
(GPIO4)
CSBM (GPIO3)
SCKM (GPIO5)
(GPIO4)
CSBM (GPIO3)
SCKM (GPIO5)
CLK
CSBM HIGH ≥ LOWCSBM
CSBM LOWCSBM
CSBM HIGH/NO TRANSMIT
4
3
Figure 13. STCOMM Timing Diagram for a SPI Master
34
For more information www.linear.com/LTC6804-1
680412fc
Page 35
operaTion
LTC6804-1/LTC6804-2
Timing Specifications of I2C and SPI master
2
The timing of the LTC6804 I
C or SPI master will be
controlled by the timing of the communication at the
LTC6804’s primary SPI interface. Table 19 shows the
2
C master timing relationship to the primary SPI clock.
I
Table20 shows the SPI master timing specifications.
Table 19. I2C Master Timing
I2C MASTER
PARAMETER
SCL Clock Frequency1/(2 • t
; STAt
t
HD
t
LOW
t
HIGH
; STAt
t
SU
; DATt4*Min 30ns
t
HD
; DATt
t
SU
; STOt
t
SU
t
BUF
*Note: When using isoSPI, t
30ns. Also, t
times of the SCK input, each with a specified minimum of 200ns.
3
= t
TIMING RELATIONSHIP
TO PRIMARY SPI
INTERFACE
)Max 500kHz
CLK
3
t
CLK
t
CLK
+ t4*Min 1.03µs
CLK
3
+ t4*Min 1.03µs
CLK
3 • t
CLK
is generated internally and is a minimum of
4
– t4. When using SPI, t3 and t4 are the low and high
CLK
TIMING
SPECIFICATIONS AT
t
= 1µs
CLK
Min 200ns
Min 1µs
Min 1µs
Min 1µs
Min 3µs
SERIAL INTERFACE OVERVIEW
There are two types of serial ports on the LTC6804, a
standard 4-wire serial peripheral interface (SPI) and a
2-wire isolated interface (isoSPI). Pins 41 through 44 are
configurable as 2-wire or 4-wire serial port, based on the
state of the ISOMD pin.
There are two versions of the LTC6804: the LTC6804-1
and the LTC6804-2. The LTC6804-1 is used in a daisy
chain configuration, and the LTC6804-2 is used in an
addressable bus configuration. The LTC6804-1 provides
a second isoSPI interface using pins 45 through 48. The
LTC6804-2 uses pins 45 through 48 to set the address of
–
the device, by tying these pins to V
or V
Table 20. SPI Master Timing
TIMING RELATIONSHIP
SPI MASTER PARAMETER
SDIOM Valid to SCKM
Rising Setup
SDIOM Valid from SCKM
Rising Hold
SCKM Lowt
SCKM Hight
SCKM Period (SCKM_Low
+ SCKM_High)
CSBM Pulse Width3 • t
SCKM Rising to CSBM
Rising
CSBM Falling to SCKM
Falling
CSBM Falling to SCKM
Rising
SCKM Falling to SDIOM
Valid
*Note: When using isoSPI, t4 is generated internally and is a minimum of
30ns. Also, t
times of the SCK input, each with a specified minimum of 200ns.
= t
– t4. When using SPI, t3 and t4 are the low and high
3
CLK
TO PRIMARY SPI
INTERFACE
t
3
+ t4*Min 1.03µs
t
CLK
Min 1µs
CLK
CLK
2 • t
CLK
CLK
+ t4*Min 5.03µs
5 • t
CLK
t
3
+ t
t
CLK
3
Master requires < t
.
REG
TIMING
SPECIFICATIONS
AT t
= 1µs
CLK
Min 200ns
Min 1µs
Min 2µs
Min 3µs
Min 200ns
Min 1.2µs
CLK
For more information www.linear.com/LTC6804-1
680412fc
35
Page 36
LTC6804-1/LTC6804-2
680412 F14
operaTion
4-WIRE SERIAL PERIPHERAL INTERFACE (SPI)
PHYSICAL LAYER
External Connections
–
Connecting ISOMD to V
configures serial Port A for
4-wire SPI. The SDO pin is an open drain output which
requires a pull-up resistor tied to the appropriate supply
voltage (Figure14).
Timing
The 4-wire serial port is configured to operate in a SPI
system using CPHA = 1 and CPOL = 1. Consequently, data
on SDI must be stable during the rising edge of SCK. The
timing is depicted in Figure 15. The maximum data rate
is 1Mbps.
V
C12
S12
C11
S11
C10
S10
C9
S9
C8
S8
C7
S7
C6
S6
C5
S5
C4
S4
C3
S3
C2
S2
C1
+
LTC6804-1
IPB
IMB
ICMP
IBIAS
SDO (NC)
SDI (NC)
SCK (IPA)
CSB (IMA)
ISOMD
WDT
DRIVE
V
REG
SWTEN
V
REF1
V
REF2
GPIO5
GPIO4
GPIO3
GPIO2
GPIO1
DAISY-CHAIN SUPPORT
5k5k
V
DD
MISO
MOSI
CLK
CS
MPU
–
V
–
V
C0
S1
2-WIRE ISOLATED INTERFACE (isoSPI) PHYSICAL
LAYER
The 2-wire interface provides a means to interconnect
LTC6804 devices using simple twisted pair cabling. The
interface is designed for low packet error rates when the
cabling is subjected to high RF fields. Isolation is achieved
through an external transformer.
Standard SPI signals are encoded into differential pulses.
The strength of the transmission pulse and the threshold
level of the receiver are set by two external resistors, R
and R
. The values of the resistors allow the user to trade
B2
B1
off power dissipation for noise immunity.
V
C12
S12
C11
S11
C10
S10
C9
S9
C8
S8
C7
S7
C6
S6
C5
S5
C4
S4
C3
S3
C2
S2
C1
+
LTC6804-2
SDO (IBIAS)
SDI (ICMP)
SCK (IPA)
CSB (IMA)
ISOMD
WDT
DRIVE
V
REG
SWTEN
V
REF1
V
REF2
GPIO5
GPIO4
GPIO3
GPIO2
GPIO1
A3
A2
A1
A0
V
V
C0
S1
–
–
ADDRESS PINS
MISO
MOSI
CLK
CS
V
MPU
DD
36
Figure 14. 4-Wire SPI Configuration
680412fc
For more information www.linear.com/LTC6804-1
Page 37
operaTion
LTC6804-1/LTC6804-2
SCK
SDI
CSB
SDO
LTC6804
LOGIC
AND
MEMORY
t
1
t
2
D3D2D1D0D7…D4D3
t
8
D3D4D2D1D0D7…D4D3
Figure 15. Timing Diagram of 4-Wire Serial Peripheral Interface
WAKEUP
CIRCUIT
(ON PORT A)
Tx = +1
SDO
SDI
SCK
CSB
COMPARATOR THRESHOLD = • V
PULSE
ENCODER/
DECODER
Tx = 0
Tx = –1
Rx = +1
Rx = 0
Rx = –1
1
2
ICMP
t
4
t
3
Tx • 20 • I
B
+
–
0.5x
Figure 16. isoSPI Interface
35k
35k
IDLE
IDLE
t
5
CURRENT COMMANDPREVIOUS COMMAND
/3 + 167mV
IPA OR IPB
IMA OR IMB
IBIAS
ICMP
t
7
680412 F15
•
R
M
•
R
B1
R
B2
680412 F16
t
6
V
REG
+
V
ICMP
–
I
B
+
2V
–
Figure 16 illustrates how the isoSPI circuit operates. A
2V reference drives the IBIAS pin. External resistors R
and R
the drive strength of the transmitter. R
create the reference current IB. This current sets
B2
and RB2 also
B1
B1
form a voltage divider of the 2V reference at the ICMP
pin. This sets the threshold voltage of the receiver circuit.
Transmitted current pulses are converted into voltage by
termination resistor R
(in parallel with the characteristic
M
impedance of the cable).
For more information www.linear.com/LTC6804-1
External Connections
The LTC6804-1 has 2 serial ports which are called Port B
and Port A. Port B is always configured as a 2-wire interface
(master). The final device in the daisy chain does not use
this port, and it should be terminated into R
. Port A is
M
either a 2-wire or 4-wire interface (slave), depending on
the connection of the ISOMD pin.
680412fc
37
Page 38
LTC6804-1/LTC6804-2
2V
TCMP
ICMP
R
2
operaTion
Figure 17a is an example of a robust interconnection of
multiple identical PCBs, each containing one LTC6804-1.
Note the termination in the final device in the daisy chain.
The microprocessor is located on a separate PCB. To
achieve 2-wire isolation between the microprocessor PCB
and the 1st LTC6804-1 PCB, use the LTC6820 support IC.
The LTC6820 is functionally equivalent to the diagram in
Figure 16.
The LTC6804-2 has a single serial port (Port A) which can
be 2-wire or 4-wire, depending on the state of the ISOMD
pin. When configured for 2-wire communications, several
devices can be connected in a multi-drop configuration, as
shown in Figure 17b. The LTC6820 IC is used to interface
the MPU (master) to the LTC6804-2’s (slaves).
Using a Single LTC6804
When only one LTC6804 is needed, the LTC6804-2 is rec
ommended. It does not have isoSPI Port B, so it requires
fewer external components and consumes less power,
especially when Port A is configured as a
4-wire interface.
As an example, if divider resistor RB1 is 2.8k and resistor
is 1.21k (so that R
R
B2
IB=
RB1+R
I
DRV=IIP=IIM
V
ICMP
V
= 2V •
= 0.5• V
= 0.5mA
B2
= 20 • IB= 10mA
R
RB1+R
In this example, the pulse drive current I
= 4k), then:
BIAS
B2
=IB•RB2= 603mV
B2
= 302mV
will be 10mA,
DRV
and the receiver comparators will detect pulses with IP-IM
amplitudes greater than ±302mV.
If the isolation barrier uses 1:1 transformers connected
by a twisted pair and terminated with 120Ω resistors on
each end, then the transmitted differential signal amplitude
(±) will be:
VA=I
DRV
M
•
= 0.6V
However, the LTC6804-1 can be used as a single (non
daisy-chained) device if the second isoSPI port (Port B) is
properly biased and terminated, as shown in Figure 18c.
ICMP should not be tied to GND, but can be tied directly
to IBIAS. A bias resistance (2k to 20k) is required for
IBIAS. Do not tie IBIAS directly to V
or V–. Finally, IPB
REG
and IMB should be terminated into a 100Ω resistor (not
tied to V
REG
or V–).
Selecting Bias Resistors
The adjustable signal amplitude allows the system to trade
power consumption for communication robustness, and
the adjustable comparator threshold allows the system to
account for signal losses.
The isoSPI transmitter drive current and comparator volt
age threshold are set by a resistor divider (R
) between the IBIAS and V–. The divided voltage is
+ R
B2
BIAS
= RB1
connected to the ICMP pin which sets the comparator
threshold to 1/2 of this voltage (V
isoSPI interface is enabled (not IDLE) IBIAS is held at 2V,
causing a current I
to flow out of the IBIAS pin. The IP
B
and IM pin drive currents are 20 • I
). When either
ICMP
.
B
(This result ignores transformer and cable losses, which
may reduce the amplitude).
isoSPI Pulse Detail
Two LTC6804 devices can communicate by transmitting
and receiving differential pulses back and forth through an
isolation barrier. The transmitter can output three voltage
levels: +V
, 0V, and –VA. A positive output results from
A
IP sourcing current and IM sinking current across load
resistor R
. A negative voltage is developed by IP sink-
M
ing and IM sourcing. When both outputs are off, the load
resistance forces the differential output to 0V.
o eliminate the DC signal component and enhance reli
T
ability, the isoSPI uses two different pulse lengths. This
-
allows for four types of pulses to be transmitted, as shown
in Table 21. A +1 pulse will be transmitted as a positive
pulse followed by a negative pulse. A –1 pulse will be
transmitted as a negative pulse followed by a positive
pulse. The duration of each pulse is defined as t
since each is half of the required symmetric pair. (The
total isoSPI pulse duration is 2 • t
1/2PW
).
1/2PW
-
,
38
680412fc
For more information www.linear.com/LTC6804-1
Page 39
operaTion
680412 F18
680412 F17
LTC6804-1/LTC6804-2
•
•
IP
DD
V
MISO
MOSI
CLK
MPU
CS
POL
PHA
VDD
MSTR
LTC6820
VDDSENMISO
ICMP
MOSI
• •
•
•
–V–
IPB
LTC6804-1
V+C12
IMB
ICMP
IBIAS
SDI (NC)
SDO (NC)
SCK (IPA)
CSB (IMA)
S12
C11
S11
C10
S10C9S9C8S8C7S7C6S6C5S5C4S4C3S3C2S2
ISOMD
REG
WDT
V
DRIVE
SWTEN
REF1VREF2
V
GPIO5
GPIO4
V
• •
•
•
–V–
IPB
LTC6804-1
V+C12
IMB
ICMP
IBIAS
SDI (NC)
SDO (NC)
SCK (IPA)
CSB (IMA)
S12
C11
S11
C10
S10C9S9C8S8C7S7C6S6C5S5C4S4C3S3C2S2
ISOMD
REG
WDT
V
DRIVE
SWTEN
REF1VREF2
V
GPIO5
GPIO4
V
IBIAS
SCK
GND
CS
GPIO3
GPIO3
SLOW
GPIO2
GPIO2
GPIO1
GPIO1
IM
DD
V
MISO
MOSI
CLK
MPU
CS
POL
PHA
VDD
MSTR
LTC6820
VDDSENMISO
ICMP
IBIAS
MOSI
• •
ADDRESS = 0x0
A3A2A1
LTC6804-2
V+C12
A0
SCK (IPA)
CSB (IMA)
SDI (ICMP)
SDO (IBIAS)
S12
C11
S11
C10
S10C9S9C8S8C7S7C6S6C5S5C4S4C3S3C2S2
ISOMD
REG
WDT
V
DRIVE
SWTEN
C0
S1
C1
REF1VREF2
V
GPIO5
GPIO4
–V–
V
• •
C0
S1
C1
ADDRESS = 0x1
A3A2A1
LTC6804-2
V+C12
A0
SCK (IPA)
CSB (IMA)
SDI (ICMP)
SDO (IBIAS)
S12
C11
S11
C10
S10C9S9C8S8C7S7C6S6C5S5C4S4C3S3C2S2
ISOMD
REG
WDT
V
DRIVE
SWTEN
REF1VREF2
V
GPIO5
GPIO4
–V–
V
•
•
IP
IM
GND
SLOW
SCK
CS
C0
S1
GPIO3
GPIO2
GPIO1
C1
C0
S1
GPIO3
GPIO2
GPIO1
C1
• •
•
•
–V–
IPB
LTC6804-1
V+C12
IMB
ICMP
IBIAS
SDI (NC)
SDO (NC)
SCK (IPA)
CSB (IMA)
S12
C11
S11
C10
S10C9S9C8S8C7S7C6S6C5S5C4S4C3S3C2S2
ISOMD
REG
WDT
V
DRIVE
SWTEN
REF1VREF2
V
GPIO5
GPIO4
V
GPIO3
GPIO2
GPIO1
C0
S1
Figure 17a. Transformer-Isolated Daisy-Chain Configuration Using LTC6804-1
C1
• •
–V–
IPB
LTC6804-1
V+C12
IMB
ICMP
IBIAS
SDI (NC)
SDO (NC)
SCK (IPA)
CSB (IMA)
S12
C11
S11
C10
S10C9S9C8S8C7S7C6S6C5S5C4S4C3S3C2S2
ISOMD
REG
WDT
V
DRIVE
SWTEN
REF1VREF2
V
GPIO5
GPIO4
V
GPIO3
GPIO2
GPIO1
C0
S1
C1
• •
ADDRESS = 0x2
• •
ADDRESS = 0x3
A3A2A1
LTC6804-2
V+C12
A3A2A1
LTC6804-2
V+C12
A0
SCK (IPA)
CSB (IMA)
SDI (ICMP)
SDO (IBIAS)
S12
C11
S11
C10
S10C9S9C8S8C7S7C6S6C5S5C4S4C3S3C2S2
A0
SCK (IPA)
CSB (IMA)
SDI (ICMP)
SDO (IBIAS)
S12
C11
S11
C10
S10C9S9C8S8C7S7C6S6C5S5C4S4C3S3C2S2
ISOMD
ISOMD
REG
REF1VREF2
WDT
V
V
DRIVE
SWTEN
REG
REF1VREF2
WDT
V
V
DRIVE
SWTEN
GPIO5
GPIO5
GPIO4
GPIO4
–V–
–V–
Figure 17b. Multi-Drop Configuration Using LTC6804-2
Figure 18d. Single-Device LTC6804-2 Using 4-Wire Port A
40
For more information www.linear.com/LTC6804-1
680412fc
Page 41
operaTion
LTC6804-1/LTC6804-2
Table 21. isoSPI Pulse Types
PULSE TYPE
Long +1+V
Long –1–V
Short +1+V
Short –1–V
FIRST LEVEL
(t
1/2PW
(150ns)–VA (150ns)0V
A
(150ns)+VA (150ns)0V
A
(50ns)–VA (50ns)0V
A
(50ns)+VA (50ns)0V
A
)
SECOND LEVEL
(t
)ENDING LEVEL
1/2PW
A host microcontroller does not have to generate isoSPI
pulses to use this 2-wire interface. The first LTC6804 in
the system can communicate to the microcontroller using
the 4-wire SPI interface on its Port A, then daisy-chain to
other LTC6804s using the 2-wire isoSPI interface on its
Port B. Alternatively, an LTC6820 can be used to translate
the SPI signals into isoSPI pulses.
LTC6804-1 Operation with Port A Configured for SPI
When the LTC6804-1 is operating with port A as an SPI
–
(ISOMD = V
), the SPI detects one of four communication
events: CSB falling, CSB rising, SCK rising with SDI = 0,
and SCK rising with SDI = 1. Each event is converted into
one of the four pulse types for transmission through the
LTC6804-1 daisy chain. Long pulses are used to transmit
CSB changes and short pulses are used to transmit data,
as explained in Table 22.
Table 22. LTC6804-1 Port B (Master) isoSPI Port Function
On the other side of the isolation barrier (i.e. at the other
end of the cable), the 2nd LTC6804 will have ISOMD =
. Its Port A operates as a slave isoSPI interface. It
V
REG
receives each transmitted pulse and reconstructs the
SPI signals internally, as shown in Table 23. In addition,
during a READ command this port may transmit return
data pulses.
Table 23. LTC6804-1 Port A (Slave) isoSPI Port Function
RECEIVED PULSE
(PORT A isoSPI)
Long +1Drive CSB HighNone
Long –1Drive CSB Low
Short +11. Set SDI = 1
Short –1
INTERNAL SPI
PORT ACTIONRETURN PULSE
2. Pulse SCK
1. Set SDI = 0
2. Pulse SCK
Short –1 Pulse if Reading a 0 bit
(No Return Pulse if Not in READ
Mode or if Reading a 1 bit)
+V
VIP – V
–V
+V
VIP – V
–V
+V
TCMP
TCMP
–V
+V
TCMP
TCMP
–V
+1 PULSE
A
t
1/2PW
IM
t
1/2PW
t
INV
A
–1 PULSE
A
t
INV
IM
t
1/2PW
A
t
1/2PW
680412 F19
Figure 19. isoSPI Pulse Detail
680412fc
For more information www.linear.com/LTC6804-1
41
Page 42
LTC6804-1/LTC6804-2
680412 F20
ISO A2
ISO B2
ISO A3
ISO B1
READ DATACOMMAND
6000500040003000200010000
operaTion
The lower isoSPI port (Port A) never transmits long
(CSB) pulses. Furthermore, a slave isoSPI port will only
transmit short –1 pulses, never a +1 pulse. The master
port recognizes a null response as a logic 1. This allows
for multiple slave devices on a single cable without risk
of collisions (Multidrop).
Figure 20 shows the isoSPI timing diagram for a READ
command to daisy-chained LTC6804-1 parts. The ISOMD
–
pin is tied to V
on the bottom part so its Port A is configured as a SPI port (CSB, SCK, SDI and SDO). The isoSPI
signals of three stacked devices are shown, labeled with
the port (A or B) and part number. Note that ISO
B1 and
ISO A2 is actually the same signal, but shown on each
end of the transmission cable that connects parts 1 and 2.
Likewise, ISO B2 and ISO A3 is the same signal, but with
the cable delay shown between parts 2 and 3.
CSB
t
7
Bits W
16-bit PEC of a READ command. At the end of bit W
refers to the 16-bit command code and the
n-W0
the
0
3 parts decode the READ command and begin shifting out
data which is valid on the next rising edge of clock SCK.
Bits X
refer to the data shifted out by Part 2 and bits Z
refer to the data shifted out by Part 1. Bits Yn-Y0
n-X0
n-Z0
refer
to the data shifted out by Part 3. All this data is read back
from the SDO port on Part 1 in a daisy-chained fashion.
Waking Up the Serial Interface
The serial ports (SPI or isoSPI) will enter the low power
IDLE state if there is no activity on Port A for a time of t
IDLE
.
The WAKEUP circuit monitors activity on pins 41 and 42.
–
If ISOMD = V
or SCK pin will wake up the SPI interface. If ISOMD = V
, Port A is in SPI mode. Activity on the CSB
,
REG
t
6
t
5
SDI
SCK
SDO
t
1
t
2
t
CLK
t
4
t
DSY(CS)
t
9
t
RTN
W
Y
n
Y
n
0
W
0
t
DSY(D)
W
0
W
0
W
n
W
n
W
n
W
n
t
10
t
3
t
8
t
RISE
X
n
Z
n
Z
n
X
n-1
Y
n-1
Y
n-1
Z
n-1
Z
n-1
Z
t
11
0
t
10
t
DSY(CS)
42
Figure 20. isoSPI Timing Diagram
For more information www.linear.com/LTC6804-1
680412fc
Page 43
operaTion
|SCK(IPA) - CSB(IMA)|
REJECTS COMMON
LTC6804-1/LTC6804-2
Port A is in isoSPI mode. Differential activity on IPA-IMB
wakes up the isoSPI interface. The LTC6804 will be ready
to communicate when the isoSPI state changes to READY
within t
WAKE
or t
, depending on the Core state (see
READY
Figure 1 and state descriptions for details.)
Figure 21 illustrates the timing and the functionally
equivalent circuit. Common mode signals will not wake
up the serial interface. The interface is designed to wake
up after receiving a large signal single-ended pulse, or a
low-amplitude symmetric pulse. The differential signal
|SCK(IPA) – CSB(IMA)|, must be at least V
for a minimum duration of t
= 240ns to qualify as a
DWELL
WAKE
= 200mV
wake up signal that powers up the serial interface.
Waking a Daisy Chain — Method 1
The LTC6804-1 sends a Long +1 pulse on Port B after it is
ready to communicate. In a daisy-chained configuration,
this pulse wakes up the next device in the stack which will,
in turn, wake up the next device. If there are ‘N’ devices in
the stack, all the devices are powered up within the time
WAKE
or N • t
N • t
large stacks, the time N • t
than t
of N • t
. In this case, after waiting longer than the time
IDLE
, the host may send another dummy byte and
WAKE
wait for the time N • t
, depending on the Core State. For
READY
may be equal to or larger
WAKE
, in order to ensure that all
READY
devices are in the READY state.
Method 1 can be used when all devices on the daisy chain
are in the IDLE state. This guarantees that they propagate
the wake-up signal up the daisy chain. However, this
method will fail to wake up all devices when a device in
the middle of the chain is in the READY state instead of
IDLE. When this happens, the device in READY state will
not propagate the wake-up pulse, so the devices above it
will remain IDLE. This situation can occur when attempt
ing to wake up the daisy chain after only t
of idle time
IDLE
-
(some devices may be IDLE, some may not).
Waking a Daisy Chain — Method 2
A more robust wake-up method does not rely on the built-in
wake-up pulse, but manually sends isoSPI traffic for enough
time to wake the entire daisy chain. At minimum, a pair of
long isoSPI pulses (–1 and +1) is needed for each device,
separated by more than t
READY
or t
STANDBY or SLEEP, respectively), but less than t
(if the core state is
WAKE
IDLE
. This
allows each device to wake up and propagate the next pulse
to the following device. This method works even if some
devices in the chain are not in the IDLE state. In practice,
implementing method 2 requires toggling the CSB pin
(of the LTC6820, or bottom LTC6804-1 with ISOMD=0)
to generate the long isoSPI pulses. Alternatively, dummy
commands (such as RDCFG) can be executed to generate
the long isoSPI pulses.
CSB OR IMA
SCK OR IPA
WAKE-UP
STATE
MODE NOISE
t
= 240ns
DWELL
LOW POWER MODEOK TO COMMUNICATE
t
< 10µs
READY
CSB OR IMA
SCK OR IPA
Figure 21. Wake-Up Detection and IDLE Timer
For more information www.linear.com/LTC6804-1
t
DWELL
= 240ns
DELAY
= 200mV
V
WAKE
RETRIGGERABLE
t
t
> 4.5ms
IDLE
5.5ms
IDLE =
ONE-SHOT
LOW POWER MODE
WAKE-UP
680412 F21
680412fc
43
Page 44
LTC6804-1/LTC6804-2
PEC REGISTER BIT X
operaTion
DATA LINK LAYER
All Data transfers on LTC6804 occur in byte groups.
Every byte consists of 8 bits. Bytes are transferred with
the most significant bit (MSB) first. CSB must remain low
for the entire duration of a command sequence, including
between a command byte and subsequent data. On a write
command, data is latched in on the rising edge of CSB.
NETWORK LAYER
Packet Error Code
The packet error code (PEC) is a 15-bit cyclic redundancy
check (CRC) value calculated for all of the bits in a reg
ister group in the order they are passed, using the initial
PEC seed value of 000000000010000 and the following
:
characteristic polynomial
x15 + x14 + x10 + x8 + x7 +
x4 + x3 + 1. To calculate the 15-bit PEC value, a simple
procedure can be established:
1. Initialize the PEC to 000000000010000 (PEC is a 15-bit
register group)
2. For each bit DIN coming into the PEC register group,
4. Go back to step 2 until all the data is shifted. The final
PEC (16 bits) is the 15-bit value in the PEC register with
a 0 bit appended to its LSB
Figure 22 illustrates the algorithm described above. An
example to calculate the PEC for a 16-bit word (0x0001)
is listed in Table 24. The PEC for 0x0001 is computed as
0x3D6E after stuffing a 0 bit at the LSB. For longer data
streams, the PEC is valid at the end of the last bit of data
sent to the PEC register.
IN14 = IN0 XOR PEC [13]
DIN
44
Figure 22. 15-Bit PEC Computation Circuit
For more information www.linear.com/LTC6804-1
O/PI/P
I/P
X
XOR GATE
01234567891410111213
680412fc
Page 45
operaTion
LTC6804-1/LTC6804-2
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
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:
format of PEC while writing to or reading from LTC6804.
After a read command for daisy-chained devices, each
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
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:
The LTC6804-2 will not return data pulses when using broadcast
commands in isoSPI mode. Therefore, ADC commands will execute, but
polling will not work.
SPIAddress-
isoSPIAddress-
SPI or
isoSPI
Only
Broadcast-OnlyN/A
Address
or
Broadcast
Address
or
Broadcast
†
Only
Address Commands (LTC6804-2 Only)
An address command is one in which only the addressed
device on the bus responds. Address commands are used
only with LTC6804-2 parts. All commands are compatible
with addressing. See Bus Protocols for Address command
format.
Broadcast Commands (LTC6804-1 or LTC6804-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 LTC6804-1 and LTC6804-2
parts. See Bus Protocols for Broadcast command format.
With broadcast commands all devices can be sent com
mands simultaneously.
In parallel (LTC6804-2) configurations, broadcast commands 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
only with parallel SPI interfaces. Polling is not compatible
with parallel isoSPI. Likewise, broadcast read commands
should not be used in a parallel configuration (either SPI
or isoSPI).
Daisy-chained (LTC6804-1) configurations support broadcast commands only, because they have no addressing.
All devices in the chain 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 device in the stack. See the Serial Programming
Examples 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. Polling is not supported with daisy-chain com
-
munication (LTC6804-1).
In parallel configurations that communicate in SPI mode
(ISOMD pin tied low), there are two methods of poll
ing. 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 per
high when the device completes conversions. However
forming conversions (Figure 23). SDO is pulled
, the
SDO will also go back high when CSB goes high even if the
device has not completed the conversion. An addressed
device drives the SDO line based on its status alone. 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) command
to determine the status of the ADC conversions (Figure24).
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, the SDO will also
680412fc
46
For more information www.linear.com/LTC6804-1
Page 47
operaTion
680412 F23
SDO
680412 F24
SDO
CONVERSION DONE
LTC6804-1/LTC6804-2
go high when CSB goes high even if the device has not
completed the conversion. See Programming Examples on
how to use the PLADC command with devices in parallel
configuration.
In parallel configurations that communicate in isoSPI
mode, the low side port transmits a data pulse only in
response to a master isoSPI pulse received by it. So,
after entering an address 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 LTC6804-2 returns an
isoSPI pulse if it is still busy performing conversions and
does not return a pulse if it has completed conversions. If
a CSB high isoSPI pulse is sent to the LTC6804-2, it exits
the polling command. Note that broadcast poll commands
are not compatible with parallel isoSPI.
CSB
Bus Protocols
Protocol Format: The protocol formats for both broadcast
and address commands are depicted in Table 27 through
Table 31. Table 26 is the key for reading the protocol
diagrams.
Table 26. Protocol Key
CMD0First Command Byte (See Tables 32 and 33)
CMD1Second Command Byte (See Tables 32 and 33)
PEC0First PEC Byte (See Table 25)
PEC1Second PEC Byte (See Table 25)
nNumber of Bytes
…Continuation of Protocol
Master to Slave
Slave to Master
t
CYCLE
SCK
SDI
CSB
SCK
SDI
MSB(CMD)LSB(PEC)BIT 14(CMD)
Figure 23. SDO Polling After an ADC Conversion Command
MSB(CMD)LSB(PEC)
BIT 14(CMD)
Figure 24. SDO Polling Using PLADC Command
For more information www.linear.com/LTC6804-1
680412fc
47
Page 48
LTC6804-1/LTC6804-2
operaTion
Command Format: The formats for the broadcast and
address commands are shown in Table 32 and Table 33
respectively. The 11-bit command code CC[10:0] is the
same for a broadcast or an address command. A list of
all the command codes is shown in Table 34. A broadcast
command only if the physical address of the device on
pins A3 to A0 match the address specified in the address
command. The PEC for broadcast and address commands
must be computed on the entire 16-bit command (CMD0
and CMD1).
command has a value 0 for CMD0[7] through CMD0[3].
An address command has a value 1 for CMD0[7] followed
by the 4-bit address of the device (a3, a2, a1, a0) in bits
CMD0[6:3]. An addressed device will respond to an address
Table 27. Broadcast/Address Poll Command
8888
CMD0CMD1PEC0PEC1Poll Data
Table 28. Broadcast Write Command (LTC6804-1)
8888888888
CMD0CMD1PEC0PEC1Data Byte Low…Data Byte HighPEC0PEC1Shift Byte 1… Shift Byte n
Total Conversion Time in the 6 ADC Modes
CH27kHz14kHz7kHz3kHz2kHz26Hz
000All Cells1.1ms1.3ms2.3ms3.0ms4.4ms201ms
001Cell 1 and Cell 7
010Cell 2 and Cell 8
011Cell 3 and Cell 9
100Cell 4 and Cell 10
101Cell 5 and Cell 11
110Cell 6 and Cell 12
PUP
0Pull-Down Current
1Pull-Up Current
ST27kHz14kHz7kHz3kHz2kHz26Hz
01Self Test 1 0x95650x95530x95550x95550x95550x9555
10Self test 20x6A9A0x6AAC0x6AAA0x6AAA0x6AAA0x6AAA
AVBR0RDG4V[7]G4V[6]G4V[5]G4V[4]G4V[3]G4V[2]G4V[1]G4V[0]
AVBR1RDG4V[15]G4V[14]G4V[13]G4V[12]G4V[11]G4V[10]G4V[9]G4V[8]
AVBR2RDG5V[7]G5V[6]G5V[5]G5V[4]G5V[3]G5V[2]G5
AV
GPIOxGPIOx Pin Control Write: 0 -> GPIOx Pin Pull-Down ON; 1-> GPIOx Pin Pull-Down OFF (Default)
REFONReference
SWTRD
ADCOPT
VUVUndervoltage
VOVOvervoltage
DCC[x]
DCTODischarge Time
CxVCell x V
GxVGPIO x Voltage*x = 1 to 5 16-Bit ADC Measurement Value for GPIOx
REF2nd Reference
SOCSum of Cells
ITMPInternal Die
VAAnalog Power
VDDigital Power
CxOVCell x Overvoltage
CxUVCell x
REVRevision CodeDevice Revision Code. See Revision Code and Reserved Bits in Operation Section.
RSVDReserved BitsSee Revision Code and Reserved Bits in Operation Section.
Powered Up
SWTEN Pin Status
(Read Only)
ADC Mode Option
Bit
Comparison
Voltage*
Comparison
oltage*
V
Discharge Cell xx = 1 to 12 1 -> Turn ON Shorting Switch for Cell x
Out Value
oltage*
Voltage*
Measurement*
Temperature*
Supply Voltage*
Supply Voltage*
Flag
Undervoltage Flag
Read: 0 -> GPIOx Pin at Logic 0; 1 -> GPIOx Pin at Logic 1
1
to
3
atchdog Timeout
2
3
to
4
4
to
5
5
to
10
10
to
15
15
to
20
1 -> Reference Remains Powered Up Until W
0 -> Reference Shuts Down after Conversions (Default)
1 -> SWTEN Pin at Logic 1
0 -> SWTEN Pin at Logic 0
ADCOPT: 0 -> Selects Modes 27kHz, 7kHz or 26Hz with MD[1:0] Bits in ADC Conversion Commands (Default).
1 -> Selects Modes 14kHz, 3kHz or 2kHz with MD[1:0] Bits in ADC Conversion Commands.
0 -> Turn OFF Shorting Switch for Cell x (Default)
DCTO
(Write)
Time
(Min)
DCTO
(Read)
Time
Left
(Min)
x = 1 to 12 16-Bit ADC Measurement Value for Cell x
Cell Voltage for Cell x = CxV • 100µV
CxV Is Reset to 0xFFFF on Power-Up and After Clear Command
Voltage for GPIOx = GxV • 100µV
GxV Is Reset to 0xFFFF on Power-Up and After Clear Command
16-Bit ADC Measurement Value for 2nd Reference
Voltage for 2nd Reference = REF • 100µV
Normal Range Is within 2.985V to 3.015V
16-Bit ADC Measurement Value of the Sum of All Cell Voltages
Sum of All Cells Voltage = SOC • 100µV • 20
16-Bit ADC Measurement Value of Internal Die Temperature
Temperature Measurement (°C) = ITMP • 100µV/7.5mV/°C – 273°C
16-Bit ADC Measurement Value of Analog Power Supply Voltage
Analog Power Supply Voltage = VA • 100µV
Normal Range Is within 4.5V to 5.5V
16-Bit ADC Measurement Value of Digital Power Supply Voltage
Digital Power Supply Voltage = VA • 100µV
Normal Range Is within 2.7V to 3.6V
x = 1 to 12 Cell Voltage Compared to VOV Comparison Voltage
0 -> Cell x Not Flagged for Overvoltage Condition. 1 -> Cell x Flagged
x = 1 to 12 Cell Voltage Compared to VUV Comparison Voltage
0 -> Cell x Not Flagged for Undervoltage Condition. 1 -> Cell x Flagged
0123456789ABCDEF
Disabled0.5123451015203040607590120
0123456789ABCDEF
Disabled
or
Timeout
0
to
0.5
0.5
to
1
to
2
20
to
30
30
to
40
40
to
60
60
to
75
75
to
90
90
to
120
For more information www.linear.com/LTC6804-1
680412fc
53
Page 54
LTC6804-1/LTC6804-2
operaTion
Table 46. Memory Bit Descriptions
NAMEDESCRIPTIONVALUES
MUXFAIL Multiplexer Self-
THSDThermal
ICOMnInitial
DnI
FCOMnFinal
*Voltage equations use the decimal value of registers, 0 to 4095 for 12 bits and 0 to 65535 for 16 bits.
Test Result
Shutdown Status
Communication
Control Bits
2
C/SPI
Communication
Data Byte
Communication
Control Bits
Read: 0 -> Multiplexer Passed Self Test 1 -> Multiplexer Failed Self Test
Read: 0 -> Thermal Shutdown Has Not Occurred 1 -> Thermal Shutdown Has Occurred
THSD Bit Cleared to 0 on Read of Status RegIster Group B
WriteI2C0110000100000111
TSTOPBLANKNO TRANSMIT
STAR
SPI100010011111
CSB LowCSB HighNO TRANSMIT
ReadI2C0110000100000111
START from MasterSTOP from MasterSDA Low Between BytesSDA High Between
SPI0111
Data Transmitted (Received) to (From) I2C/SPI Slave Device
WriteI2C000010001001
Master ACKMaster NACKMaster NACK + STOP
SPIX0001001
CSB LowCSB High
ReadI2C00000111111100011001
ACK from MasterACK from SlaveNACK from SlaveACK from Slave +
SPI1111
STOP from Master
Bytes
NACK from Slave
+ STOP from
Master
PROGRAMMING EXAMPLES
The following examples use a configuration of 3 stacked
LTC6804-1 devices: S1, S2, S3. Port A on device S1 is
configured in SPI mode (ISOMD pin low). Port A on de
vices S2 and S3
is configured in isoSPI mode (ISOMD pin
-
high). Port B on S1 is connected to Port A on S2. Port B
on S2 is connected to Port A on S3. The microcontroller
communicates to the stack through Port A on S1.
Waking Up Serial Interface
1. Send a dummy byte. The activity on CSB and SCK will
wake up the serial interface on device S1.
2. Wait for the amount of time 3 • t
in order to power
WAKE
up all devices S1, S2 and S3.
For large stacks where some devices may go to the IDLE
state after waking, apply steps 3 and 4:
3. Send a second dummy byte.
4. Wait for the amount of time 3 • t
READY
5. Send commands
Write Configuration Registers
1. Pull CSB low
2. Send WRCFG command (0x00 0x01) and its PEC (0x3D
0x6E)
3. Send CFGR0 byte of device S3, then CFGR1(S3), …
CFGR5(S3), PEC of CFGR0(S3) to CFGR5(S3)
4. Send CFGR0 byte of device S2, then CFGR1(S2), …
CFGR5(S2), PEC of CFGR0(S2) to CFGR5(S2)
5. Send CFGR0 byte of device S1, then CFGR1(S1), …
CFGR5(S1), PEC of CFGR0(S1) to CFGR5(S1)
6. Pull CSB high, data latched into all devices on rising
edge of CSB
680412fc
54
For more information www.linear.com/LTC6804-1
Page 55
operaTion
680412 F25
LTC6804-1/LTC6804-2
Calculation of serial interface time for sequence above:
Number of LTC6804-1s in daisy chain stack = n
Number of bytes in sequence (B):
Command: 2 (command byte) + 2 (command PEC) = 4
Data: 6 (Data bytes) + 2 (Data PEC) per LTC6804 = 8
bytes per device
B = 4 + 8 •n
Serial port frequency per bit = F
Time = (1/F) • B • 8 bits/byte = (1/F) • [4 + 8 •n] • 8
Time for 3 LTC6804 example above, with 1MHz serial
port = (1/1e6) • (4 + 8 • 3) • 8 = 224µs
Note: This time will remain the same for all write and read
commands.
Read Cell Voltage Register Group A
1. Pull CSB low
2. Send RDCVA command (0x00 0x04) and its PEC (0x07
0xC2)
3. Read CVAR0 byte of device S1, then CVAR1(S1), …
CVAR5(S1), PEC of CVAR0(S1) to CVAR5(S1)
4. Read CVAR0 byte of device S2, then CVAR1(S2), …
CVAR5(S2), PEC of CVAR0(S2) to CVAR0(S2)
5. Read CVAR0 byte of device S3, then CVAR1(S3), …
CVAR5(S3), PEC of CVAR0(S3) to CVAR5(S3)
6. Pull CSB high
Clear Cell Voltage Registers
1. Pull CSB low
2. Send CLRCELL command (0x07 0x11) and its PEC
(0xC9 0xC0)
3. Pull CSB high
Poll ADC Status
(Parallel configuration and ISOMD = 0)
This example uses an addressed LTC6804-2 with address
A [3:0] = 0011 and ISOMD = 0
1. Pull CSB low
2. Send PLADC command (0x9F 0x14) and its PEC (0x1C
0x48 )
3. SDO output is pulled low if the LTC6804-2 is busy. The
host needs to send clocks on SCK in order for the poll
-
ing status to be updated from the addressed device.
SDO output is high when the LTC6804-2 has completed
4.
conversions
5. Pull CSB high to exit polling
Talk to an I
The LTC6804 supports I
2
C Slave Connected to LTC6804
2
C slave devices by connection to
GPIO4(SDA) and GPIO5(SCL). One valuable use for this
capability is to store production calibration constants or
other information in a small serial EEPROM using a con
-
nection like shown in Figure 25.
Start Cell Voltage ADC Conversion
(All cells, normal mode with discharge permitted) and
poll status
1. Pull CSB low
2. Send ADCV command with MD[1:0] = 10 and DCP = 1
i.e. 0x03 0x70 and its PEC (0xAF 0x42)
3. Pull CSB high
For more information www.linear.com/LTC6804-1
V
REG
1µF
4.7k
4.7k
24AA01
SCL
VSS
SDA
WP
VCC
Figure 25. Connecting I2C EEPROM to LTC6804 GPIO Pins
10V
LTC6804
GPIO5(SCL)
GPIO4(SDA)
–
V
680412fc
55
Page 56
LTC6804-1/LTC6804-2
680412 F26
SDA (GPIO4)
SCL (GPIO5)
STCOMM COMMAND
operaTion
This example uses a single LTC6804-1 to write a byte
2
of data to an I
bytes of data to the I
B0 = 0xA0 (EEPROM address), B1
mand), and B2 =
The three bytes will be transmitted to the I
C EEPROM. The LTC6804 will send three
2
C slave device. The data sent will be
= 0x01 (write com-
0xAA (data to be stored in EEPROM).
2
C slave device
in the following format:
START – B0 – NACK – B1 – NACK – B2 – NACK – STOP
1. Write data to COMM register using WRCOMM command
a. Pull CSB low
b. Send WRCOMM command (0x07 0x21) and its PEC
(0x24 0xB2)
c. Send
COMM0 = 0x6A, COMM1 = 0x08 ([START] [B0]
NACK]),
[
COMM2 = 0x00, COMM3 = 0x18 ([BLANK] [B1]
[NACK]),
COMM4 = 0x0A, COMM5 = 0xA9 ([BLANK] [B2]
[NACK+STOP])
and PEC = 0x6D 0xFB for the above data
3. Data transmitted to slave during the STCOMM command is stored in the COMM register. Use the RDCOMM
command to retrieve the data
a.
Pull CSB low
b. Send RDCOMM command (0x07 0x22) and its PEC
(0x32 0xD6)
c. Read COMM0-COMM5 and the PEC for the 6 bytes
of data.
Assuming the slave acknowledged all 3 bytes of data,
the read back data in this example would look like:
COMM0 = 0x6A, COMM1 = 0x07, COMM2 = 0x70,
COMM3 = 0x17, COMM4 = 0x7A, COMM5 = 0xA1,
PEC = 0xD0 0xDE
d. Pull CSB high
Note: If the slave returns data, this data will be placed in
COMM0-COMM5.
Figure 26 shows the activity on GPIO5 (SCL) and GPIO4
2
(SDA) ports of the I
C master for 72 clock cycles during
the STCOMM command in the above example.
d. Pull CSB high
2. Send the 3 bytes of data to I
2
C slave device using
STCOMM command
a. Pull CSB low
b. Send STCOMM command (0x07 0x23) and its PEC
(0xB9 0xE4)
c. Send 72 clock cycles on SCK
d. Pull CSB high
SCK
START
LAST CLOCK OF
0xA00x010xAA
ACK FROM SLAVE
Figure 26. LTC6804 I2C Communication Example
STOP
ACK FROM SLAVEACK FROM SLAVE
680412fc
56
For more information www.linear.com/LTC6804-1
Page 57
operaTion
SDOM (GPIO4)
SCKM (GPIO5)
CSBM (GPIO3)
CSBM HIGH
STCOMM COMMAND
LTC6804-1/LTC6804-2
Talk to a SPI Slave Connected to LTC6804
This example uses a single LTC6804-1 device which has a
SPI device connected to it through GPIO3 (CSBM), GPIO4
(SDOM) and GPIO5 (SCKM). In this example, the LTC6804
device sends out 3 bytes of data B0 = 0x55, B1 = 0xAA
and B2 = 0xCC to the SPI slave device in the following
format: CSB low – B0 – B1 – B2 – CSB high
1. Write data to COMM register using WRCOMM command
a. Pull CSBM low
b. Send WRCOMM command (0x07 0x21) and its PEC
3. Data transmitted to slave during the STCOMM com
mand is stored in the COMM register. Use the RDCOMM
command to retrieve the data.
Pull CSB low
a.
b. Send RDCOMM command (0x07 0x22) and its PEC
(0x32 0xD6)
c. Read COMM0-COMM5 and the PEC for the 6 bytes
of data. The read back data in this example would
look like:
COMM0 = 0x755F, COMM1 = 0x7AAF, COMM2 =
7CCF, PEC = 0xF2BA
d. Pull CSB high
Note: If the slave returns data, this data will be placed in
COMM0-COMM5.
Figure 27 shows the activity on GPIO3 (CSBM), GPIO5
(SCKM) and GPIO4 (SDOM) ports of SPI master for 72
clock cycles during the STCOMM command in the above
example.
and PEC = 0x89 0xA4 for the above data.
d. Pull CSB high
2. Send the 3 bytes of data to SPI slave device using
STCOMM command
a. Pull CSB low
b. Send STCOMM command (0x07 0x23) and its PEC
(0xB9 0xE4)
c. Send 72 clock cycles on SCK
d. Pull CSB high
SCK
CSBM LOW
LAST CLOCK OF
0x550xAA0xCC
680412 F27
Figure 27. LTC6804 SPI Communication Example
For more information www.linear.com/LTC6804-1
680412fc
57
Page 58
LTC6804-1/LTC6804-2
V
28V TO
40mA
1k
0.1µF
applicaTions inForMaTion
SIMPLE LINEAR REGULATOR
The LTC6804 draws most of its power from the V
pin. 5V ±0.5V should be applied to V
DC converter can power V
directly, or the DRIVE pin
REG
. A regulated DC/
REG
REG
input
may be used to form a discrete regulator with the addition
of a few external components. When active, the DRIVE
output pin provides a low current 5.6V output that can
be buffered using a discrete NPN transistor, as shown in
Figure 28. The collector power for the NPN can come from
–
any potential of 6V or more above V
, including the cells
being monitored or an unregulated converter supply. A
100Ω/100nF RC decoupling network is recommended for
the collector power connection to protect the NPN from
transients. The emitter of the NPN should be bypassed
with a 1µF capacitor. Larger capacitor values should be
avoided because they increase the wake-up time of the
LTC6804. Some attention to the thermal characteristic
of the NPN is needed, as there can be significant heating
with a high collector voltage.
LTC6804
SWTEN
WDT
DRIVE
V
REG
V
REF1
V
REF2
GPIO5
GPIO4
GPIO3
–
V
–
V
100Ω
NSV1C201MZ4
1µF
1µF
1µF
680412 F28
IMPROVED REGULATOR POWER EFFICIENCY
To minimize power consumption within the LTC6804, the
+
current drawn on the V
small (500µA). The voltage on the V
pin has been designed to be very
+
pin must be at least
as high as the top cell to provide accurate measurement.
+
The V
and V
pins can be unpowered to provide an
REG
exceptionally low battery drain shutdown mode. In many
+
applications, the V
will be permanently connected to
the top cell potential through a decoupling RC to protect
against transients (100Ω/100nF is recommended).
For better running efficiency when powering from the cell
stack, the V
may be powered from a buck converter
REG
rather than the NPN pass transistor. An ideal circuit for
this is based on the LT3990 as shown in Figure 29. A 1k
resistor should be used in series with the input to prevent
inrush current when connecting to the stack and to reduce
conducted EMI. The EN/UVLO pin should be connected to
DRIVE so that the converter sleeps along with the LTC6804.
The LTC6804 watchdog timer requires V
power to
REG
timeout. Therefore, if the EN/UVLO pin is not connected
to DRIVE, care must be taken to allow the LTC6804 to
timeout first before removing V
power; otherwise the
REG
LTC6804 will not enter sleep mode.
IN
62V
OFF ON
2.2µF
374k
VINBOOST
LT3990
PG
RT
GND
SWEN/UVLO
BD
FB
0.22µF
33µH
22pF
1M
316k
V
5V
22µF
REG
58
Figure 28. Simple V
NPN Pass Transistor
Power Source Using
REG
Figure 29. V
For more information www.linear.com/LTC6804-1
REG
f = 400kHz
680412 F29
Powered from Cell Stack with High Efficiency
680412fc
Page 59
applicaTions inForMaTion
100
680412 F31
680412 F30
12V
LTC6804-1/LTC6804-2
FULLY ISOLATED POWER
A simple DC/DC flyback converter can provide isolated
power for an LTC6804 from a remote 12V power source
as shown in Figure 30. This circuit, along with the isoSPI
transformer isolation, results in LTC6804 circuitry that is
completely floating and uses almost no power from the
batteries. Aside from reducing the amount of circuitry
that operates at battery potential, such an arrangement
prevents battery load imbalance. The LTC6804 watchdog
timer requires V
power to timeout. Therefore, care
REG
must be taken to allow the LTC6804 to timeout first before
removing V
power; otherwise the LTC6804 will not
REG
enter sleep mode. A diode should be added between the
V+ and the top cell being monitored. This will prevent any
•
CMHD459A
8
CMMSH1-40
1
•
7
2
•
RETURN
12V
22.1k
100k
4.7µF
25V
130k
R
FB
LT8300
GND
EN/UVLO
SW
V
IN
5
4
PA0648NL
current from conducting through internal parasitic paths
inside the IC when the isolated power is removed.
READING EXTERNAL TEMPERATURE PROBES
Figure 31 shows the typical biasing circuit for a negativetemperature-coefficient (NTC) thermistor. The 10kΩ at 25°C
is the most popular sensor value and the V
output stage
REF2
is designed to provide the current required to directly bias
several of these probes. The biasing resistor is selected
to correspond to the NTC value so the circuit will provide
1.5V at 25°C (V
is 3V nominal). The overall circuit
REF2
response is approximately –1%/°C in the range of typical
cell temperatures, as shown in the chart of Figure 31 .
CONNECT TO TOP CELL
52V
13V
4.7µF
25V
100Ω
CMHZ5265B
1µF
100V
62V
NSV1C201MZ4
1µF
10V
100nF
100V
+
V
DRIVE
V
REG
–
V
LTC6804
Figure 30. Powering LTC6804 from a Remote 12V Source
90
V
REF2
10k
V
TEMP
NTC
10k AT 25°C
–
V
80
70
)
REF2
60
50
(% V
40
TEMPx
V
30
20
10
0
–400
–2020604080
TEMPERATURE (°C)
Figure 31. Typical Temperature Probe Circuit and Relative Output
680412fc
For more information www.linear.com/LTC6804-1
59
Page 60
LTC6804-1/LTC6804-2
1
16
ANALOG INPUTS: 0.04V TO 4.5V
applicaTions inForMaTion
EXPANDING THE NUMBER OF AUXILIARY
MEASUREMENTS
The LTC6804 provides five GPIO pins, each of which is
capable of performing as an ADC input. In some applica
tions there is need to measure more signals than this, so
one means of
supporting higher signal count is to add
a MUX circuit such as shown in Figure 32. This circuit
digitizes up to sixteen source signals using the GPIO1
ADC input and MUX control is provided by two other
2
GPIO lines configured as an I
C port. The buffer amplifier
provides for fast settling of the selected signal to increase
the usable conversion rate.
INTERNAL PROTECTION FEATURES
The LTC6804 incorporates various ESD safeguards to en
-
sure a robust performance. An equivalent circuit showing
33
the specific protection structures is shown in Figure
.
While pins 43 to 48 have different functionality for the
-1 and -2 variants, the protection structure is the same.
Zener-like suppressors are shown with their nominal clamp
voltage, other diodes exhibit standard PN junction behavior.
FILTERING OF CELL AND GPIO INPUTS
The LTC6804 uses a delta-sigma ADC, which has deltasigma modulator followed by a SINC3 finite impulse
response (FIR) digital filter. This greatly reduces input
filtering requirements. Furthermore, the programmable
oversampling ratio allows the user to determine the best
trade-off between measurement speed and filter cutoff
frequency. Even with this high order lowpass filter, fast
transient noise can still induce some residual noise in mea
surements, especially in the faster conversion modes. This
can be minimized by adding an RC lowpass decoupling to
each ADC input, which also helps reject potentially damag
ing high energy transients. Adding more than about 100Ω
to the ADC inputs begins to introduce a systematic error
in the measurement, which can be improved by raising
the filter capacitance or mathematically compensating in
software with a calibration procedure. For situations that
demand the highest level of battery voltage ripple rejec
tion, grounded capacitor filtering is recommended. This
configuration has a series resistance and capacitors that
Figure 32. MUX Circuit Supports Sixteen Additional Analog Measurements
60
680412fc
For more information www.linear.com/LTC6804-1
Page 61
applicaTions inForMaTion
LTC6804-1/LTC6804-2
C12
12V
12V
12V
12V
12V
12V
12V
12V
12V
12V
12V
12V
10k
12V
10k
12V
10k
12V
10k
12V
10k
12V
10k
12V
10k
12V
10k
12V
10k
12V
10k
12V
10k
12V
10k
12V
25Ω
S12
3
C11
4
S11
5
C10
6
S10
7
C9
8
S9
9
C8
10
S8
11
C7
12
S7
13
C6
14
S6
15
C5
16
S5
17
C4
18
S4
19
C3
20
S3
21
C2
22
S2
23
C1
24
S1
25
C0
26
–
V
31
–
V
30
NOTE: NOT SHOWN ARE PN DIODES TO ALL OTHER PINS FROM PIN 31
LTC6804
30V
30V
30V
30V
30V
30V
12V
12V
12V
12V
12V
12V
12V
12V
12V
12V
12V
12V
12V
12V
12V
12V
12V
12V
12V
12V
IPB/A3
IMB/A2
ICMP/A1
IBIAS/A0
SDO
SDI
SCK
CSB
ISOMD
WDT
DRIVE
V
REG
SWTEN
V
REF1
V
REF2
GPIO5
GPIO4
GPIO3
GPIO2
GPIO1
680412 F33
+
V
periodic or higher oversample rates are in use, a differential
12
capacitor filter structure is adequate. In this configuration
there are series resistors to each input, but the capacitors
connect between the adjacent C pins. However, the dif
ferential capacitor sections interact. As a result, the filter
response is less consistent and results in less attenuation
48
than predicted by the RC, by approximately a decade. Note
that the capacitors only see one cell of applied voltage (thus
47
smaller and lower cost) and tend to distribute transient
46
energy uniformly across the IC (reducing stress events on
internal protection structure). Figure 34 shows the two
the
45
methods schematically. Basic ADC accuracy varies with R,
C as shown in the Typical Performance curves, but error is
44
minimized if R = 100Ω and C = 10nF. The GPIO pins will
always use a grounded capacitor configuration because
43
the measurements are all with respect to V
42
100Ω
BSS308PE
100Ω
BSS308PE
100Ω
100Ω
BSS308PE
100Ω
BSS308PE
100Ω
Grounded Capacitor Filter
BATTERY V
CELL2
CELL1
BATTERY V
CELL2
33Ω
CELL1
33Ω
–
Differential Capacitor Filter
33Ω
33Ω
–
*6.8V ZENERS RECOMMENDED IF C > 100nF
41
40
39
38
37
36
35
34
33
32
29
28
27
Figure 34. Input Filter Structure Configurations
10nF
10nF
10nF
C
C
3.3k
C
3.3k
3.3k
3.3k
–
.
C2
S2
LTC6804
C1
S1
C0
–
V
C2
S2
*
*
*
LTC6804
C1
S1
C0
–
V
680412 F34
Figure 33. Internal ESD Protection Structure of LTC6804
For more information www.linear.com/LTC6804-1
680412fc
61
Page 62
LTC6804-1/LTC6804-2
applicaTions inForMaTion
CELL BALANCING WITH INTERNAL MOSFETS
The S1 through S12 pins are used to balance battery cells.
If one cell in a series becomes overcharged, an S output
can be used to discharge the cell. Each S output has an
internal N-channel MOSFET for discharging. The NMOS
has a maximum on resistance of 20Ω. An external resistor
should be connected in series with the NMOS to dissipate
heat outside of the LTC6804 package as illustrated in
Figure 35. It is still possible to use an RC to add additional
filtering to cell voltage measurements but the filter R must
remain small, typically around 10Ω to reduce the effect
on the programmed balance current. When using the
internal MOSFETs to discharge cells, the die temperature
should be monitored. See Power Dissipation and Thermal
Shutdown section.
CELL BALANCING WITH EXTERNAL MOSFETS
The S outputs include an internal pull-up PMOS transistor.
The S pins can act as digital outputs suitable for driving
the gate of an external MOSFET. For applications requiring
high battery discharge currents, connect a discrete PMOS
switch device and suitable discharge resistor to the cell,
and the gate terminal to the S output pin, as illustrated in
Figure 36. Figure 34 shows external MOSFET circuits that
include RC filtering.
3.3k
LTC6804
C(n)
S(n)
C(n – 1)
680412 F35
LTC6804
C(n)
S(n)
C(n – 1)
680412 F36
R
FILTER
R
+
R
FILTER
Figure 35. Internal Discharge Circuit
+
Figure 36. External Discharge Circuit
DISCHARGE
BSS308PE
R
DISCHARGE CONTROL DURING CELL
MEASUREMENTS
If the discharge permited (DCP) command bit is high in a
cell measurement command, then the S pin discharge states
are not altered during the cell measurements. However, if
the DCP bit is low, any discharge that is turned on will be
turned off when the corresponding cell or adjacent cells
are being measured. Table 47 illustrates this during an
Table 47. Discharge Control During an ADCV Command with DCP = 0
to t1Mt1M to t2Mt2M to t3Mt3M to t4Mt4M to t5Mt5M to t6Mt6M to t1Ct1C to t2Ct2C to t3Ct3C to t4Ct4C to t5Ct5C to t
0
For more information www.linear.com/LTC6804-1
6C
680412fc
Page 63
applicaTions inForMaTion
LTC6804-1/LTC6804-2
ADCV command with DCP = 0. In this table, OFF implies
that a discharge is forced off during that period even if
the corresponding DCC[x] bit is high in the configuration
register. ON implies that if the discharge is turned on, it
will stay on during that period. Refer to Figure 3 for the
timing of the ADCV command.
POWER DISSIPATION AND THERMAL SHUTDOWN
The internal MOSFETs connected to the pins S1 through
S12 pins can be used to discharge battery cells. An exter
nal resistor should be used to limit the power dissipated
by the MOSFETs. The maximum power dissipation in the
MOSFETs is limited by the amount of heat that can be tol
erated by the LTC6804. Excessive heat results in elevated
die temperatures. Little or no degradation will be observed
in the measurement accuracy for die temperatures up to
125°C. Damage may occur above 150°C, therefore the
recommended maximum die temperature is 125°C. To
protect the LTC6804 from damage due to overheating a
thermal shutdown circuit is included. Overheating of the
device can occur when dissipating significant power in the
cell discharge switches. The thermal shutdown circuit is
enabled whenever the device is not in sleep mode (see
LTC6804 Core State Descriptions). If the temperature de
tected on the device goes above approximately 150°C the
configuration registers will be reset to default states turning off all discharge switches. When a thermal shutdown
has occurred, the THSD bit in the status register group
will go
B
the status register group B. The bit can also be set using
the CLRSTAT command. Since thermal shutdown inter
rupts normal operation, the internal temperature monitor
should be used to determine when the device temperature
is approaching unacceptable levels.
ETHOD TO VERIFY BALANCING CIRCUITRY
M
The functionality of the discharge circuitry is best verified
by cell measurements. Figure 37 shows an example using
the LTC6804 battery monitor IC. The resistor between the
battery and the source of the discharge MOSFET causes
cell voltage measurements to decrease. The amount of
measurement change depends on the resistor values and
the MOSFET on resistance.
high. The bit is cleared after a read operation of
-
-
-
-
The following algorithm could be used in conjunction
with Figure 37:
1. Measure all cells with no discharging (all S outputs
off) and read and store the results.
2. Turn on S1 and S7
3. Measure C1-C0, C7-C6
4. Turn off S1 and S7
5. Turn on S2 and S8
6. Measure C2-C1, C8-C7
7. Turn off S2 and S8
…
14. Turn on S6 and S12
15. Measure C6-C5, C12-C11
16. Turn off S6 and S12
17. Read the voltage register group to get the results of
steps 2 thru 16.
18. Compare new readings with old readings. Each cell
voltage reading should have decreased by a fixed
percentage set by R
amount of decrease depends on the resistor values
and MOSFET characteristics.
Improved PEC Calculation
The PEC allows the user to have confidence that the serial
data read from the LTC6804 is valid and has not been cor
rupted by any external noise source. This is a critical feature
for reliable communication and the LTC6804
a PEC be calculated for all data being read from and written
to the LTC6804. For this reason it is important to have an
efficient method for calculating the PEC. The code below
demonstrates a simple implementation of a lookup table
derived PEC calculation method. There are two functions,
the first function init_PEC15_Table() should only be called
once when the microcontroller starts and will initialize a
PEC15 table array called pec15Table[]. This table will be
used in all future PEC calculations. The pec15 table can
also be hard coded into the microcontroller rather than
running the init_PEC15_Table() function at startup. The
pec15() function calculates the PEC and will return the
correct 15 bit PEC for byte arrays of any given length.
and RB2 (Figure 37). The exact
B1
requires that
-
For more information www.linear.com/LTC6804-1
680412fc
63
Page 64
LTC6804-1/LTC6804-2
applicaTions inForMaTion
R
B1
R
B2
R
B1
R
B2
R
B1
R
B2
R
B1
R
B2
R
B1
R
B2
R
B1
R
B2
R
B1
R
B2
R
B1
R
B2
R
B1
R
B2
V
C12
S12
C11
S11
C10
S10
C9
S9
C8
S8
C7
S7
C6
S6
C5
S5
C4
S4
C3
S3
C2
S2
C1
+
LTC6804
–
V
C0
S1
64
R
B1
R
B2
R
B1
R
B2
R
B1
R
B2
680412 F37
Figure 37. Balancing Self Test Circuit
680412fc
For more information www.linear.com/LTC6804-1
Page 65
LTC6804-1/LTC6804-2
applicaTions inForMaTion
/************************************
Copyright 2012 Linear Technology Corp. (LTC)
Permission to freely use, copy, modify, and distribute this software for any
purpose with or without fee is hereby granted, provided that the above
copyright notice and this permission notice appear in all copies:
THIS SOFTWARE IS PROVIDED “AS IS” AND LTC DISCLAIMS ALL WARRANTIES
INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO
EVENT SHALL LTC BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL
DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM ANY USE OF SAME, INCLUDING
ANY LOSS OF USE OR DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
OR OTHER TORTUOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.
int16 pec15Table[256];
int16 CRC15_POLY = 0x4599;
void init_PEC15_Table()
{
for (int i = 0; i < 256; i++)
{
remainder = i << 7;
for (int bit = 8; bit > 0; --bit)
{
if (remainder & 0x4000)
{
remainder = 16;//PEC seed
for (int i = 0; i < len; i++)
{
address = ((remainder >> 7) ^ data[i]) & 0xff;//calculate PEC table address
remainder = (remainder << 8 ) ^ pec15Table[address];
}
return (remainder*2);//The CRC15 has a 0 in the LSB so the final value must be multiplied by 2
}
680412fc
For more information www.linear.com/LTC6804-1
65
Page 66
LTC6804-1/LTC6804-2
applicaTions inForMaTion
CURRENT MEASUREMENT WITH A HALL EFFECT
SENSOR
The LTC6804 auxiliary ADC inputs (GPIO pins) may be
used for any analog signal, including those from various
active sensors that generate a compatible voltage. One
such example that may be useful in a battery management
setting is the capture of battery current. Hall-effect sensors
are popular for measuring large battery currents since the
technology provides a non-contact, low power dissipation
solution. Figure 38 shows schematically a typical Hall
sensor that produces two outputs that proportion to the
provided. The sensor is powered from a 5V source
V
CC
LEM DHAB
Figure 38. Interfacing a Typical Hall-Effect Battery
Current Sensor to Auxiliary ADC Inputs
A
CH2ANALOG → GPIO2
B
V
CC
GNDANALOG_COM → V
CH1ANALOG0 → GPIO1
680412 F38
5V
C
D
–
and produces analog outputs that are connected to GPIO
pins or inputs of the MUX application shown in Figure 32.
The use of GPIO1 and GPIO2 as the ADC inputs has the
possibility of being digitized within the same conversion
sequence as the cell inputs (using the ADCVAX com
mand), thus synchronizing cell voltage and cell current
measurements.
URRENT MEASUREMENT WITH A SHUNT RESISTOR
C
It is possible to measure the battery current on the LTC6804
GPIO pins with a high performance current sense ampli
fier and a shunt. Figure 39 shows 2 LTC6102s being
used to measure the discharge and charge currents on a
cell batter
12-
y stack. To achieve a large dynamic range
while maintaining a high level of accuracy the LTC6102
is required. The circuit shown is able to accurately mea
200Amps to 0.1Amps. The offset of the
sure ±
LTC6102
-
will only contribute a 20mA error. To maintain a very low
sleep current the V
is used to disable the LTC6102
DRIVE
circuits so that they draw no current when the LTC6804
goes to sleep.
LTC6804 V
+
R
IN(C)
100Ω
V
BATTSTACK
V
–
V
V
LTC6102
OUT D
OUT C
= I
= I
I
CHARGE
+
–
R
OUT(C)
4.02k
DISCHARGE • RSENSE
CHARGE • RSENSE
R
SENSE
0.5mΩ
V
DRIVE
DISCHARGE
R
IN(D)
100Ω
–INS+IN
0.1µF
V
OUT
GPIO 1GPIO 2
V
OUT(D)
+
–
V
DRIVE
–
≥ 0DISCHARGING:
≥ 0CHARGING:
R
IN(C)
100Ω
–INS+IN
–INF–INF
+
V
0.1µF
V
REG
OUT
+
V
OUT(C)
–
LTC6804 V
R
OUT(D)
WHEN I
( )
R
IN(D)
R
OUT(C)
WHEN I
( )
R
IN(C)
CHARGE
V
REG
R
OUT(D)
4.02k
+
I
DISCHARGE
–
1µF1µF
+
LTC6102
V
–
R
IN(D)
100Ω
L
O
A
D
LTC6804 V
CHARGER
680412 F39
–
66
Figure 39. Monitoring Charge and Discharge Currents with a LTC6102
680412fc
For more information www.linear.com/LTC6804-1
Page 67
applicaTions inForMaTion
LTC6804-1/LTC6804-2
USING THE LTC6804 WITH LESS THAN 12 CELLS
If the LTC6804 is powered by the battery stack, the
minimum number of cells that can be monitored by the
LTC6804 is governed by the supply voltage requirements
+
of the LTC6804. V
must be at least 11V to properly
bias the LTC6804. Figure 40 shows an example of the
LTC6804 when used to monitor eight cells with best cell
measurement synchronization. The 12 cells monitored by
the LTC6804 are split into two groups of 6 cells and are
measured using two internal multiplexers and two ADCs.
To optimize measurement synchronization in applications
with less than 12 Cells the unused C pins should be equally
distributed between the top of the second mux (C12) and
the top of the first mux (C6). If there are an odd number
of cells being used, the top mux should have fewer cells
connected. The unused cell channels should be tied to
the other unused channels on the same mux and then
connected to the battery stack through a 100Ω resistor.
The unused inputs will result in a reading of 0V for those
cells channels. It is also acceptable to connect in the con
-
ventional sequence with all unused cell inputs at the top.
isoSPI IBIAS and ICMP Setup
The LTC6804
allows the isoSPI links of each application
to be optimized for power consumption or for noise
immunity. The power and noise immunity of an isoSPI
system is determined by the programmed I
controls the isoSPI signaling currents. Bias current I
current, which
B
can
B
range from 100μA to 1mA. Internal circuitry scales up this
bias current to create the isoSPI signal currents equal to
. A low IB reduces the isoSPI power consumption
20•I
B
in the READY and ACTIVE states, while a high I
the amplitude of the differential signal voltage V
the matching termination resistor, R
programmed by the sum of the R
. The IB current is
M
and RB2 resistors
B1
increases
B
across
A
connected between the 2V IBIAS pin and GND as shown in
NEXT HIGHER GROUP
OF 8 CELLS
+
V
LTC6804
C12
S12
C11
S11
+
+
+
+
+
+
+
+
NEXT LOWER GROUP
OF 8 CELLS
Figure 40. 8 Cell Connection Scheme
C10
S10
C9
S9
C8
S8
C7
S7
C6
S6
C5
S5
C4
S4
C3
S3
C2
S2
C1
S1
C0
V
–
680412 F40
Figure 41. The receiver input threshold is set by the ICMP
voltage that is programmed with the resistor divider created
by the R
and RB2 resistors. The receiver threshold will
B1
be half of the voltage present on the ICMP pin.
For more information www.linear.com/LTC6804-1
680412fc
67
Page 68
LTC6804-1/LTC6804-2
applicaTions inForMaTion
ISOLATION BARRIER
(MAY USE ONE OR TWO TRANFORMERS)
IPBISOMD
MASTER
SDO
SDI
SCK
+
IMB
IBIAS
ICMP
V
A
–
2V
LTC6804
MOSI
MISO
SCK
CS
CS
••••
R
M
TWISTED-PAIR CABLE
WITH CHARACTERISTIC IMPEDANCE R
R
B1
R
B2
Figure 41. isoSPI Circuit
The following guidelines should be used when setting the
bias current (100µA to 1mA) I
tor threshold voltage V
= Transmission Line Characteristic Impedance Z
R
M
ICMP
and the receiver compara-
B
/2:
0
Signal Amplitude VA = (20 • IB) • (RM/2)
V
V
RB2 = V
RB1 = (2/IB) – R
(Receiver Comparator Threshold)=K • V
TCMP
(voltage on ICMP pin) = 2 • V
ICMP
ICMP/IB
B2
TCMP
A
Select IB and K (Signal Amplitude VA to Receiver Comparator Threshold ratio) according to the application:
For lower power links: I
For full power links: I
For long links (>50m): I
For addressable multi-drop: I
For applications with little system noise, setting I
= 0.5mA and K=0.5
B
= 1mA and K=0.5
B
= 1mA and K=0.25
B
= 1mA and K=0.4
B
to 0.5mA
B
is a good compromise between power consumption and
noise immunity. Using this I
and R
= 100Ω, RB1 should be set to 3.01k and RB2 set
M
setting with a 1:1 transformer
B
to 1k. With typical CAT5 twisted pair, these settings will
allow for communication up to 50m. For applications in
very noisy environments or that require cables longer than
50m it is recommended to increase I
to 1mA. Higher drive
B
current compensates for the increased insertion loss in
the cable and provides high noise immunity. When using
cables over 50m and a transformer with a 1:1 turns ratio
and R
= 100Ω, RB1 would be 1.5k and RB2 would be 499Ω.
M
IPA ISOMDV
+
R
V
M
M
R
B1
R
B2
LTC6804
A
–
IMA
2V
IBIAS
ICMP
680412 F41
REG
The maximum clock rate of an isoSPI link is determined
by the length of the isoSPI cable. For cables 10 meters
or less, the maximum 1MHz SPI clock frequency is pos
sible. As the length of the cable increases, the maximum
possible SPI clock rate decreases. This dependence is a
result of the increased propagation delays that can cre
ate possible timing violations. Figure 42 shows how the
maximum data rate reduces as the cable length increases
when using a CAT5 twisted pair.
Cable delay affects three timing specifications: t
. In the Electrical Characteristics table, each of these
and t
7
CLK
, t6
specifications is de-rated by 100ns to allow for 50ns of
cable delay. For longer cables, the minimum timing pa
rameters may be calculated as shown below:
, t6 and t7 > 0.9μs + 2 • t
t
CLK
1.2
CAT5 ASSUMED
1.0
0.8
0.6
0.4
DATA RATE (Mbps)
0.2
0
1
Figure 42. Data Rate vs Cable Length
CABLE LENGTH (METERS)
10
(0.2m per ns)
CABLE
100
680412 F42
68
680412fc
For more information www.linear.com/LTC6804-1
Page 69
applicaTions inForMaTion
••
••
LTC6804-1/LTC6804-2
Implementing a Modular isoSPI Daisy Chain
The hardware design of a daisy-chain isoSPI bus is identical for each device in the network due to the daisy-chain
ar
point-to-point
chitecture. The simple design as shown in
Figure 41 is functional, but inadequate for most designs. The
termination resistor R
should be split and bypassed with
M
a capacitor as shown in Figure 43. This change provides
both a differential and a common mode termination, and
as such, increases the system noise immunity.
The use of cables between battery modules, particularly
in automotive applications, can lead to increased noise
susceptibility in the communication lines. For high levels
of electromagnetic interference (EMC), additional filtering
is recommended. The circuit example in Figure 43 shows
the use of common mode chokes (CMC)to add common
mode noise rejection from transients on the battery lines.
The use of a center tapped transformer will also provide
additional noise performance. A bypass capacitor con
nected to the center tap creates a low impedance for
common mode noise (Fi
gure 43b). Since transformers
without a center tap can be less expensive, they may be
preferred. In this case, the addition of a split termination
resistor and a bypass capacitor (Figure 43a) can enhance
the isoSPI performance. Large center tap capacitors
greater than 10nF should be avoided as they may prevent
the isoSPI common mode voltage from settling. Common
mode chokes similar to those used in Ethernet or CANbus
applications are recommended. Specific examples are
provided in Table49.
IP
100µH CMC
62Ω
LTC6804-1
62Ω
IM
V
LTC6804-1
IM
V
10nF
51Ω
51Ω
10nF
a)
100µH CMC
10nF
b)
–
IP
10nF
–
Figure 43. Daisy Chain Interface Components
CT XFMR
300Ω
300Ω
XFMR
••
isoSPI LINK
••
isoSPI LINK
680412 F43
An important daisy chain design consideration is the
number of devices in the isoSPI network. The length of the
chain determines the serial timing and affects data latency
and throughput. The maximum number of devices in an
isoSPI daisy chain is strictly dictated by the serial timing
requirements. However, it is important to note that the serial
read back time, and the increased current consumption,
might dictate a practical limitation.
For a daisy chain, two timing considerations for proper
operation dominate (see Figure 20):
, the time between the last clock and the rising chip
1. t
6
select, must be long enough.
2. t5, the time from a rising chip select to the next falling
chip select (between commands), must be long enough.
Both t5 and t6 must be lengthened as the number of
LTC6804 devices in the daisy chain increases. The equations for these times are below:
> (#devices • 70ns) + 900ns
t
5
> (#devices • 70ns) + 950ns
t
6
680412fc
For more information www.linear.com/LTC6804-1
69
Page 70
LTC6804-1/LTC6804-2
•
•
•
•
•
•
* IF TRANSFORMER BEING USED HAS A CENTER TAP, IT SHOULD BE BYPASSED WITH A 10nF CAP
IPB
IMB
IPA
49.9Ω
49.9Ω
1k1k
49.9Ω
10nF
GNDD
GNDD
LTC6804-1
IBIAS
ICMP
V
GNDD
V
GNDC
V
GNDB
–
LTC6804-1
–
LTC6804-1
–
IMA
IPB
IMB
IBIAS
ICMP
IPA
IMA
IPB
IMB
IBIAS
ICMP
IPA
IMA
49.9Ω
49.9Ω
49.9Ω
1k1k
49.9Ω
49.9Ω
49.9Ω
49.9Ω
1k1k
49.9Ω
49.9Ω
10nF
GNDD
10nF
GNDC
10nF
GNDC
10nF
GNDB
10nF
GNDB
GNDD
GNDC
GNDC
GNDC
GNDB
GNDB
GNDBGNDA
10nF*
10nF*
10nF*
10nF*
LTC6820
IP
10nF*10nF*
49.9Ω
49.9Ω
10nF
GNDA
IBIAS
ICMP
IMV
–
1k1k
GNDA
GNDA
680412 F44
Figure 44. Daisy Chain Interface Components on Single Board
680412fc
70
For more information www.linear.com/LTC6804-1
Page 71
applicaTions inForMaTion
•
•
•
•
LTC6804-1/LTC6804-2
Connecting Multiple LTC6804-1s on the Same PCB
When connecting multiple LTC6804-1 devices on the same
PCB, only a single transformer is required between the
LTC6804-1 isoSPI ports. The absence of the cable also
reduces the noise levels on the communication lines and
often only a split termination is required. Figure 44 shows
an example application that has multiple LTC6804-1s
on the same PCB, communicating to the bottom MCU
through an LTC6820 isoSPI driver. If a transformer with
a center tap is used, a capacitor can be added for better
noise rejection. Additional noise filtering can be provided
with discrete common mode chokes (not shown) placed
to both sides of the single transformer.
V
IPB
LTC6804-1
IMB
IBIAS
ICMP
IPA
REG
100Ω
100Ω
1.5k499Ω
V
REG
100Ω
3.3V
3.3V
3.3V
10nF
GNDB
10nF
On single board designs with low noise requirements, it
is possible for a simplified capacitor-isolated coupling as
shown in Figure 45 to replace the transformer. Dual Zener
diodes are used at each IC to clamp the common mode
voltage to stay within the receiver’s input range. The op
-
tional common mode choke (CMC) provides noise rejection
590Ω
with symmetrically tapped termination. The
resistor
creates a resistor divider with the termination resistors and
attenuates common mode noise. The 590Ω value is chosen
to provide the most noise attenuation while maintaining
sufficient differential signal. The circuit is designed such
that I
and V
B
are the same as would be used for a
ICMP
transformer based system with cables over 50m.
1nF1nF
GNDB
590Ω
590Ω
CMC
GNDB
GNDA
–
V
LTC6804-1
–
V
IBIAS
ICMP
IMA
IPB
IMB
IPA
IMA
100Ω
V
REG
100Ω
100Ω
1.5k499Ω
V
REG
100Ω
100Ω
3.3V
3.3V
3.3V
3.3V
3.3V
10nF
GNDA
10nF
GNDB
GNDA
GNDA
590Ω
590Ω
CMC
Figure 45. Capacitive Isolation Coupling for LTC6804-1s on the Same PCB
1nF1nF
1nF1nF
680412 F45
680412fc
For more information www.linear.com/LTC6804-1
71
Page 72
LTC6804-1/LTC6804-2
•
•
•
•
applicaTions inForMaTion
Connecting an MCU to an LTC6804-1 with an isoSPI
Data Link
The LTC6820 will convert standard 4-wire SPI into a
2-wire isoSPI link that can communicate directly with
the LTC6804. An example is shown in Figure 46. The
LTC6820 can be used in applications to provide isolation
between the microcontroller and the stack of LTC6804s.
The LTC6820 also enables system configurations that
have the BMS controller at a remote location relative to
the LTC6804 devices and the battery pack.
Configuring the LTC6804-2 in a Multi–Drop isoSPI
Link
The addressing feature of the LTC6804-2 allows multiple
devices to be connected to a single isoSPI master by dis
tributing them along one twisted pair, essentially creating
a large parallel SPI network. A basic multi-drop system is
;
shown in Figure 47
the twisted pair is terminated only at
the beginning (master) and the end of the cable. In between,
the additional LTC6804-2s are connected to short stubs
on the twisted pair. These stubs should be kept short, with
as little capacitance as possible, to avoid degrading the
termination along the isoSPI wiring.
When an LTC6804-2 is not addressed, it will not transmit
data pulses. This scheme eliminates the possibility for collisions since only the addressed device returns data to the
master
. Generally
, multi-drop systems are best confined
to compact assemblies where they can avoid excessive
isoSPI pulse-distortion and EMC pickup.
Basic Connection of the LTC6804-2 in a Multi-Drop
Configuration
In a multi-drop isoSPI bus, placing the termination at the
ends of the transmission line provides the best performance
(with 100Ω typically). Each of the LTC6804 isoSPI ports
should couple to the bus with a resistor network, as shown
in Figure 48a. Here again, a center-tapped transformer offers
the best performance and a common mode choke (CMC)
increases the noise rejection further, as shown in Figure
48b. Figure 48b also shows the use of an RC snubber at
the IC connections as a means to suppress resonances
(the IC capacitance provides sufficient out-of-band re
jection). When using a non-center-tapped transformer,
a virtual
CT can be generated by connecting a CMC as
a voltage-splitter. Series resistors are recommended to
decouple the LTC6804 and board parasitic capacitance
from the transmission line. Reducing these parasitics on
the transmission line will minimize reflections.
IPB
LTC6804-1
IBIAS
ICMP
–
V
GNDB
* IF TRANSFORMER BEING USED HAS A CENTER TAP, IT SHOULD BE BYPASSED WITH A 10nF CAP
Figure 46. Interfacing an LTC6804-1 with a µC Using an LTC6820 for Isolated SPI Control
72
IMB
IPA
IMA
49.9Ω
49.9Ω
1k1k
49.9Ω
49.9Ω
10nF*
10nF
GNDB
10nF
GNDB
GNDB
10nF*
GNDB
For more information www.linear.com/LTC6804-1
10nF*
GNDA
49.9Ω
49.9Ω
10nF
GNDA
IP
LTC6820
IBIAS
ICMP
IMV
–
1k1k
GNDA
GNDA
680412 F46
680412fc
Page 73
applicaTions inForMaTion
••
••
••
LTC6804-1/LTC6804-2
ISOMD
IBIAS
ICMP
GNDC
ISOMD
IBIAS
ICMP
–
GNDB
ISOMD
IBIAS
ICMP
GNDA
V
V
V
REGC
REGB
REGA
1.21k
806Ω
GNDC
1.21k
806Ω
GNDB
1.21k
806Ω
GNDA
680412 F47
LTC6804-2
IPA
••
100Ω
IMA
–
V
LTC6804-2
••
100nF
µC
SDO
SDI
SCK
CS
5V
5k
V
DDS
EN
MOSI
MISO
SCK
CS
POL
PHA
LTC6820
1.21k806Ω
IBIAS
ICMP
GND
SLOW
MSTR
IP
IM
V
DD
100nF
5V
••••
5V5V
100Ω
IPA
IMA
LTC6804-2
IPA
IMA
V
–
V
Figure 47. Connecting the LTC6804-2 in a Multi-Drop Configuration
LTC6804-2
IPA
IMA
100µH CMC
402Ω
15pF
–
V
10nF
100µH CMC
HV XFMR
22Ω
••
isoSPI
BUS
22Ω
a)
LTC6804-2
IPA
IMA
100µH CMC
402Ω
15pF
–
V
CT HV XFMR
10nF
22Ω
••
isoSPI
BUS
22Ω
680412 F48
b)
Figure 48. Preferred isoSPI Bus Couplings For Use With LTC6804-2
680412fc
For more information www.linear.com/LTC6804-1
73
Page 74
LTC6804-1/LTC6804-2
applicaTions inForMaTion
Table48. Recommended Transformers
MANUFACTURERPART NUMBER
Dual Transformers
PulseHX1188FNL–40°C to 85°C60V (est)1.5kVrms
PulseHX0068ANL–40°C to 85°C60V (est)1.5kVrms
PulseHM2100NL–40°C to 105°C1000V4.3kVdc–
PulseHM2102NL–40°C to 125°C1000V4.3kVdc
SumidaCLP178–C20114–40°C to 125°C1000V (est) 3.75kVrms
SumidaCLP0612–C20115600Vrms3.75kVrms
Wurth Elektronik7490140110–40°C to 85°C250Vrms4kVrms
Wurth Elektronik74901401110°C to 70°C1000V (est) 4.5kVrms
Wurth Elektronik7490140180°C to 70°C250Vrms4kVrms
HaloTG110–AE050N5LF–40°C to 85/125°C60V (est)1.5kVrms
Single Transformers
PulsePE–68386NL–40°C to 130°C60V (est)1.5kVdc––2.5mm6.7mm8.6mm6SMT–
PulseHM2101NL–40°C to 105°C1000V4.3kVdc–
Wurth Elektronik750340848–40°C to 105°C250V3kVrms––2.2mm4.4mm9.1mm4SMT–
HaloTGR04–6506V6LF–40°C to 125°C300V3kVrms
HaloTGR04–A6506NA6NL–40°C to 125°C300V3kVrms
TDKALT4532V–201–T001–40°C to 105°C60V (est)~1kV
HaloTDR04–A550ALLF–40°C to 105°C1000V5kVrms
SumidaCEEH96BNP–LTC6804/11–40°C to 125°C600V2.5kVrms––7mm9.2mm12.0mm4SMT–
SumidaCEP99NP–LTC6804–40°C to 125°C600V2.5kVrms
SumidaESMIT–4180/A–40°C to 105°C250Vrms3kVrms––3.5mm5.2mm9.1mm4SMT
TDKVGT10/9EE–204S2P4–40°C to 125°C250V (est)2.8kVrms
As shown in Figure 41, a transformer or pair of transformers isolates the isoSPI signals between two isoSPI ports.
The isoSPI signals have programmable pulse amplitudes
up to
1.6V
and pulse widths of 50ns and 150ns. To be
P-P
able to transmit these pulses with the necessary fidelity
the system requires that the transformers have primary
inductances above 60µH and a 1:1 turns ratio. It is also
necessary to use a transformer with less than 2.5µH of
leakage inductance. In terms of pulse shape the primary
inductance will mostly effect the pulse droop of the 50ns
and 150ns pulses. If the primary inductance is too low,
the pulse amplitude will begin to droop and decay over
the pulse period. When the pulse droop is severe enough,
the effective pulse width seen by the receiver will drop
substantially, reducing noise margin. Some droop is ac
-
ceptable as long as it is a relatively small percentage of
the total pulse amplitude. The leakage inductance primarily
affects the rise and fall times of the pulses. Slower rise
and fall times will effectively reduce the pulse width. Pulse
width is determined by the receiver as the time the signal
is above the threshold set at the ICMP pin. Slow rise and
fall times cut into the timing margins. Generally it is best
to keep pulse edges as fast as possible. When evaluating
transformers, it is also worth noting the parallel winding
capacitance. While transformers have very good CMRR at
low frequency, this rejection will degrade at higher frequen
cies, largely due to the winding to winding capacitance.
When choosing a transformer, it is best to pick one with
less parallel winding capacitance when possible.
When choosing a transformer
, it is equally important to
pick a part that has an adequate isolation rating for the
application. The working voltage rating of a transformer
is a key spec when selecting a part for an application.
680412fc
74
For more information www.linear.com/LTC6804-1
Page 75
LTC6804-1/LTC6804-2
Interconnecting daisy-chain links between LTC6804-1
devices see <60V stress in typical applications; ordinary
pulse and LAN type transformers will suffice. Multi-drop
connections and connections to the LTC6820, in general,
may need much higher working voltage ratings for good
long-term reliability. Usually, matching the working voltage
to the voltage of the entire battery stack is conservative.
Unfortunately, transformer vendors will often only specify
one-second HV testing, and this is not equal to the long-term
(“permanent”) rating of the part. For example, according
to most safety standards a 1.5kV rated transformer is
expected to handle 230V continuously, and a 3kV device
is capable of 1100V long-term, though manufacturers may
not always certify to those levels (refer to actual vendor
data for specifics). Usually, the higher voltage transformers
are called “high-isolation” or “reinforced insulation” types
by the suppliers. Table48 shows a list of transformers that
have been evaluated in isoSPI links.
In most applications a common mode choke is also
necessary for noise rejection. Table49 includes a list of
suitable CMCs if the CMC is not already integrated into
the transformer being used.
Table49. Recommended Common Mode Chokes
MANUFACTURERPART NUMBER
TDKACT45B-101-2P
MurataDLW43SH101XK2
isoSPI Layout Guidelines
Layout of the isoSPI signal lines also plays a significant
role in maximizing the noise immunity of a data link. The
following layout guidelines are recommended:
1. The transformer should be placed as close to the isoSPI
cable connector as possible. The distance should be kept
less than 2cm. The LTC6804 should be placed close to
but at least 1cm to 2cm away from the transformer to
help isolate the IC from magnetic field coupling.
–
2. A V
3. The isoSPI signal traces should be as direct as possible
ground plane should not extend under the transformer, the isoSPI connector or in between the transformer and the connector.
cuitr
while isolated from adjacent cir
or space. No traces should cross the isoSPI signal lines,
unless separated by a ground plane on an inner layer.
y by ground metal
For more information www.linear.com/LTC6804-1
680412fc
75
Page 76
LTC6804-1/LTC6804-2
G48 (SSOP) 0910 REV 0
ONE ANOTHER WITHIN 0.08mm AT SEATING PLANE
7.8 – 8.2
G Package
package DescripTion
Please refer to http://www.linear.com/product/LTC6804-1#packaging for the most recent package drawings.
DIMENSIONS DO NOT INCLUDE MOLD FLASH OR PROTRUSIONS,
BUT DO INCLUDE MOLD MISMATCH AND ARE MEASURED AT
THE PARTING LINE. MOLD FLASH SHALL NOT EXCEED .15mm PER SIDE
**
LENGTH OF LEAD FOR SOLDERRING TO A SUBSTRATE
†
THE MAXIMUM DIMENSION DOES NOT INCLUDE DAMBAR PROTRUSIONS.
DAMBAR PROTRUSIONS DO NOT EXCEED 0.13mm PER SIDE
WDT pin description updated
Information added to Recommended Transformers table
–
Description of T
Correction to Temperature Range for TMS Spec, 125°C instead of 85°C
Note regarding potential differences between CO and V
Correction to Measurement Range for Accuracy Check, 2.985V to 3.015V
Clarification of CLRSTAT command, which also clears RSVD bits
Description of Reserved Bits Added
Clarification: Watchdog timer is reset by Qualfied Wake-up Signal
Clarification: SPI master supports only SPI mode 3
Correction to data register, Dn[3:0] changed to Dn[7:0]
Discussion of Address, Broadcast and Polling Commands edited for Clarity
Note added in table to define I
Explanation added for issuing ADSTAT command with CHST = 100
Table 18 (read codes for I
Explanation of setting SPI strength using R
Explanation of the SPI terminating resistor, R
Explanation of SPI termination and use of a single LTC6804
Figure 18 added to single LTC6804 SPI termination
Explanation of waking up the LTC6804 daisy chain
Note added to Fully Isolated Power section to include a diode from V+ to top of cell
Section added for isoSPI IBIAS and ICMP setup
Section added for modular isoSPI daisy chain
Section added for multiple LTC6804s on the same PCB
Section added for connecting an MCU to an LTC6804-1
Section added for configuring an LTC6804-2 multidrop
Section added for basic connection of an LTC6804-2 multidrop
Figure 47, 48 added to show isoSPI connections
Section added for Transformer Selection Guide
Section added for isoSPI Layout Guidelines
added to STANDBY State Discussion
SLEEP
+
to C12 Added
B
2
C master operation) added
and R
B1
M
B2
–
added
3
17, 30, 56, 57
68
4, 5
20
22
27
27, 51
28
30, 51
30
31
32
43-46
2
22
27, 50
33
36
37
38
40
43
59
67, 68
69
71
72
72
72
73
74
75
Information furnished by Linear Technology Corporation is believed to be accurate and reliable.
However, no responsibility is assumed for its use. Linear Technology Corporation makes no representation that the interconnection of its circuits as described herein will not infringe on existing patent rights.
*THE PART SHOWN IS A DUAL
TRANSFORMER WITH BUILT-IN
COMMON MODE CHOKES
isoSPIB
isoSPIB
isoSPIA
isoSPIA
+
1
–
2
+
1
–
2
+
CELL1
3.6V
33Ω
BSS308PE
3.3k
10nF
relaTeD parTs
PART NUMBER DESCRIPTIONCOMMENTS
LTC6801Independent Multicell Battery Stack Fault MonitorMonitors Up to 12 Series-Connected Battery Cells for Undervoltage or
LTC6802Precision Multicell Battery Stack Monitor1st Generation: Superseded by the LTC6804 and LTC6803 for New Designs
LTC6803Precision Multicell Battery Stack Monitor2nd Generation: Functionally Enhanced and Pin Compatible to the LTC6802
LTC6820Isolated Bidirectional Communications Interface for SPI Provides an Isolated Interface for SPI Communication Up to 100 Meters,
LTC3300High Efficiency Bidirectional Multicell Battery BalancerBidirectional Synchronous Flyback Balancing of Up to 6 Li-Ion or LiFeP04
Linear Technology Corporation
78
1630 McCarthy Blvd., Milpitas, CA 95035-7417
(408) 432-1900 ● FAX: (408) 434-0507
Formoreinformationwww.linear.com/LTC6804-1
●
www.linear.com/LTC6804-1
Overvoltage. Companion to LTC6802, LTC6803 and LTC6804
Using a Twisted Pair. Companion to the LTC6804
Cells in Series. Up to 10A Balancing Current (Set by External Components).
Bidirectional Architecture Minimizes Balancing Time and Power Dissipation.
Up to 92% Charge Transfer Efficiency. 48-Lead Exposed Pad QFN and LQFP
Packages
680412fc
LT 1016 REV C • PRINTED IN USA
LINEAR TECHNOLOGY CORPORATION 2013
Loading...
+ hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.