Linear Technology LTC6804-1, LTC6804-2 User Manual

Page 1
LTC6804-1/LTC6804-2
680412 TA01a
12S1P
MEASUREMENT ERROR (mV)
680412 TA01b
2.0
125
Multicell Battery Monitors

FeaTures DescripTion

n
Measures Up to 12 Battery Cells in Series
n
Stackable Architecture Supports 100s of Cells
n
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 Program­mable 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
–25 0 50
–50
TEMPERATURE (°C)
75 100
25
680412fc
1
Page 2
LTC6804-1/LTC6804-2
Table oF conTenTs
Features ..................................................... 1
Applications ................................................ 1
Typical Application ........................................ 1
Description.................................................. 1
Absolute Maximum Ratings .............................. 3
Pin Configuration .......................................... 3
Order Information .......................................... 4
Electrical Characteristics ................................. 4
Pin Functions .............................................. 17
Block Diagram ............................................. 18
Operation................................................... 20
State Diagram ......................................................... 20
LTC6804 Core State Descriptions ........................... 20
isoSPI State Descriptions ....................................... 21
Power Consumption ............................................... 21
ADC Operation ........................................................ 21
Data Acquisition System Diagnostics .....................26
Watchdog and Software Discharge Timer ..............30
2
C/SPI Master on LTC6804 Using GPIOS ..............31
I
Serial Interface Overview ........................................35
4-Wire Serial Peripheral Interface (SPI)
Physical Layer ........................................................36
2-Wire Isolated Interface (isoSPI) Physical Layer ... 36
Data Link Layer ....................................................... 44
Network Layer ........................................................44
Programming Examples .........................................54
Simple Linear Regulator .........................................58
Improved Regulator Power Efficiency ..................... 58
Fully Isolated Power ................................................59
Reading External Temperature Probes .................... 59
Expanding the Number of Auxiliary Measurements
Internal Protection Features ....................................60
Filtering of Cell and GPIO Inputs ............................. 60
Cell Balancing with Internal Mosfets .......................62
Cell Balancing with External MOSFETS...................62
Discharge Control During Cell Measurements ........ 62
Power Dissipation and Thermal Shutdown ............. 63
Method to Verify Balancing Circuitry ...................... 63
Current Measurement with a Hall Effect Sensor .....66
Current Measurement with a Shunt Resistor .......... 66
Using the LTC6804 with Less Than 12 Cells ........... 67
Package Description ..................................... 76
Revision History .......................................... 77
Typical Application .......................................78
Related Parts .............................................. 78
........................................................ 60
2
680412fc
For more information www.linear.com/LTC6804-1
Page 3
LTC6804-1/LTC6804-2
TOP VIEW
48-LEAD PLASTIC SSOP
C12
S12
C11
S11
C10
S10
CSB (IMA)*
TOP VIEW
48-LEAD PLASTIC SSOP
C12
S12
C11
S11
C10
S10
SDO (IBIAS)*

absoluTe MaxiMuM raTings

(Note 1)
Total Supply Voltage V+ to V– ....................................75V
Input Voltage (Relative to V–)
C0 ......................................................... –0.3V to 0.3V
C12 ........................................................ –0.3V to 75V
C(n) ..................................... –0.3V to MIN (8 n, 75V)
S(n) ..................................... –0.3V to MIN (8 n, 75V)
IPA, IMA, IPB, IMB ....................–0.3V to V
REG
+ 0.3V
DRIVE Pin ................................................ –0.3V to 7V
All Other Pins ........................................... –0.3V to 6V
Voltage Between Inputs
V+ to C12 ............................................................ –5.5V
C(n) to C(n – 1) ........................................ –0.3V to 8V
S(n) to C(n – 1) ........................................ –0.3V to 8V
C12 to C8 ............................................... –0.3V to 25V

pin conFiguraTion

LTC6804-1 LTC6804-2
+
1
V
2
3
4
5
6
7
8
C9
9
S9
10
C8
11
S8
12
C7
13
S7
14
*THE FUNCTION OF THESE PINS DEPENDS ON THE CONNECTION OF ISOMD
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
JMAX
ISOMD TIED TO V
ISOMD TIED TO V
**THIS PIN MUST BE CONNECTED TO V
: CSB, SCK, SDI, SDO
REG
IPB
48
IMB
47
ICMP
46
IBIAS
45
SDO (NC)*
44
SDI (NC)*
43
SCK (IPA)*
42
41
ISOMD
40
WDT
39
DRIVE
38
V
37
REG
SWTEN
36
V
35
REF1
V
34
REF2
GPIO5
33
GPIO4
32
V
31
–**
V
30
GPIO3
29
GPIO2
28
GPIO1
27
C0
26
S1
25
: IMA, IPA, NC, NC
C8 to C4 ................................................. –0.3V to 25V
C4 to C0 ................................................. –0.3V to 25V
Current In/Out of Pins
All Pins Except V
, IPA, IMA, IPB, IMB, S(n) ..10mA
REG
IPA, IMA, IPB, IMB .............................................30mA
Operating Temperature Range
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

TUBE TAPE AND REEL PART MARKING* PACKAGE DESCRIPTION SPECIFIED TEMPERATURE RANGE
LTC6804IG-1#PBF LTC6804IG-1#TRPBF LTC6804G-1 48-Lead Plastic SSOP –40°C to 85°C LTC6804HG-1#PBF LTC6804HG-1#TRPBF LTC6804G-1 48-Lead Plastic SSOP –40°C to 125°C LTC6804IG-2#PBF LTC6804IG-2#TRPBF LTC6804G-2 48-Lead Plastic SSOP –40°C to 85°C LTC6804HG-2#PBF LTC6804HG-2#TRPBF LTC6804G-2 48-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
SYMBOL PARAMETER CONDITIONS MIN TYP MAX UNITS
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.1 mV/bit
l
l
C(n) to C(n – 1), GPIO(n) to V C(n) to C(n – 1) = 2.0 ±0.1 ±0.8 mV C(n) to C(n – 1), GPIO(n) to V C(n) to C(n – 1) = 3.3 ±0.2 ±1.2 mV C(n) to C(n – 1), GPIO(n) to V C(n) to C(n – 1) = 4.2 ±0.3 ±1.6 mV 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.2 mV
= 2.0
= 3.3
= 4.2
= 5.0 ±1 mV
REGD
l
l
l
l
l
l
l
0.1 mV
0.01
0.02
±1.4 mV
±2.2 mV
±2.8 mV
±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
SYMBOL PARAMETER CONDITIONS MIN TYP MAX UNITS
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.8 mV C(n) to C(n – 1), GPIO(n) to V C(n) to C(n – 1) = 3.3 ±0.2 ±1.2 mV C(n) to C(n – 1), GPIO(n) to V C(n) to C(n – 1) = 4.2 ±0.3 ±1.6 mV 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 Range C(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.1 mV
= 2.0
= 3.3
= 4.2
= 5.0 ±1 mV
REGD
= 0 ±2 mV
= 2.0
= 3.3
= 4.2
= 5.0 ±10 mV
REGD
= 5.0V unless otherwise noted.
REG
l
l
l
l
±0.2 ±0.75 %
±1.4 mV
±2.2 mV
±2.8 mV
±5 °C
l
l
l
l
l
l
l
±0.1 ±0.25 %
±0.02 ±0.1 %
±0.1 ±1 %
±4 mV ±4.7 mV ±8.3 mV
±0.3 ±1 %
±5 °C
l
l
l
l
C(n – 1) C(n – 1) + 5 V
l
l
l
l
±0.3 ±1 % ±0.1 ±0.25 % ±0.2 ±2 %
0
0 5 V
10 ±250 nA
10 ±250 nA
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
70 100 130 µ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
SYMBOL PARAMETER CONDITIONS MIN TYP MAX UNITS
Voltage Reference Specifications
V
REF1
1st Reference Voltage V 1st Reference Voltage TC V 1st Reference Voltage Hysteresis V 1st Reference Long Term Drift V
V
REF2
2nd Reference Voltage V
2nd Reference Voltage TC V 2nd Reference Voltage Hysteresis V 2nd Reference Long Term Drift V
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, (Note3)
CLK
Pin, No Load
REF1
Pin, No Load 3 ppm/°C
REF1
Pin, No Load 20 ppm
REF1
Pin, No Load 20 ppm/√kHr
REF1
Pin, No Load
REF2
Pin, 5k Load to V
V
REF2
Pin, No Load 10 ppm/°C
REF2
Pin, No Load 100 ppm
REF2
Pin, No Load 60 ppm/√kHr
REF2
State: Core = SLEEP
, isoSPI = IDLE V
= 0V 3.8 6 µA
REG
= 0V
V
REG
= 5V 1.6 3 µA
V
REG
= 5V
V
REG
State: Core = STANDBY 18 32 50 µA
State: Core = REFUP or MEASURE 0.4 0.55 0.7 mA
State: Core = SLEEP, isoSPI = IDLE V
= 5V 2.2 4 µA
REG
= 5V
V
REG
State: Core = STANDBY 10 35 60 µA
State: Core = REFUP 0.2 0.45 0.7 mA
State: Core = MEASURE 10.8 11.5 12.2 mA
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.1 3.2 3.3 V
l
2.990 3 3.010 V
l
2.988 3 3.012 V
l
l
l
l
0.375 0.55 0.725 mA
l
l
l
0.15 0.45 0.75 mA
l
10.7 11.5 12.3 mA
l
l
l
l
l
l
10.2 11.3 13.3 mA
l
l
l
l
l
l
3.8 10 µA
1.6 5 µA
10 32 60 µA
2.2 6 µA
6 35 65 µA
3.9 4.8 5.8 mA
5.1 6.1 7.3 mA
3.7 4.6 5.6 mA
5.7 6.8 8.1 mA
6.5 7.8 9.5 mA
1.3 2.1 3 mA
1.6 2.5 3.5 mA
1.1 1.9 2.8 mA
1.5 2.3 3.3 mA
2.1 3.3 4.9 mA
2.7 4.1 5.8 mA
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
SYMBOL PARAMETER CONDITIONS MIN TYP MAX UNITS
+
Supply Voltage TME Specifications Met (Note 6)
V V
V
REG
V
REGD
V
OL(WDT)
V
OL(GPIO)
ADC Timing Specifications
t
CYCLE
(Figure3)
t
SKEW1
(Figure 6)
Supply Voltage TME Supply Rejection < 1mV/V
REG
DRIVE output voltage Sourcing 1µA
Sourcing 500µA Digital Supply Voltage Discharge Switch ON Resistance V
CELL
= 3.6V Thermal Shutdown Temperature 150 °C Watchdog Timer Pin Low WDT Pin Sinking 4mA General Purpose I/O Pin Low GPIO Pin Sinking 4mA (Used as Digital Output)
Measurement + Calibration Cycle Time When Starting from the REFUP State in Normal Mode
Measure 12 Cells Measure 2 Cells Measure 12 Cells and 2 GPIO Inputs
Measurement + Calibration Cycle Time When Starting from the REFUP State in Filtered Mode
Measure 12 Cells Measure 2 Cells Measure 12 Cells and 2 GPIO Inputs
Measurement + Calibration Cycle Time When Starting from the REFUP State in Fast Mode
Measure 12 Cells Measure 2 Cells Measure 12 Cells and 2 GPIO Inputs
Skew Time. The Time Difference
Fast Mode between C12 and GPIO2 Measurements, Command = ADCVAX
Normal Mode
= 5.0V unless otherwise noted.
REG
l
11 40 55 V
l
4.5 5 5.5 V
5.4
l
5.6
5.2
5.6
l
5.1 5.6 6.1 V
l
2.7 3.0 3.6 V
l
l
l
l
2120 2335 2480 µs
l
365 405 430 µs
l
2845 3133 3325 µs
l
183 201.3 213.5 ms
l
30.54 33.6 35.64 ms
l
244 268.4 284.7 ms
l
1010 1113 1185 µs
l
180 201 215 µs
l
1420 1564 1660 µs
l
189 208 221 µs
l
493 543 576 µs
10 25 Ω
5.8
6.0
0.4 V
0.4 V
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 Time V Watchdog or Software Discharge
Timer
t
REFUP
Reference Wake-Up T
(Figure1, 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 High Pins CSB, SCK, SDI SPI Pin Digital Input Voltage Low Pins 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] ≠ 0000 0.5 120 min
ime State: 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
211 233 248 µs
l
609 670 711 µs
l
l
l
l
l
l
l
l
l
100 300 µs
1.8 2 2.2 sec
2.7 3.5 4.4 ms 0 ms
3.0 3.3 3.5 MHz
2.3 V
0.8 V
2.7 V
1.2 V
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
SYMBOL PARAMETER CONDITIONS MIN TYP MAX UNITS
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 Current Pins CSB, SCK, SDI, ISOMD, SWTEN,
A0 to A3
Digital Output Low Pin SDO Sinking 1mA
Voltage on IBIAS Pin READY/ACTIVE State
IDLE State
Isolated Interface Bias Current R
= 2k to 20k
BIAS
Isolated Interface Current Gain VA ≤ 1.6V IB = 1mA
IB = 0.1mA Transmitter Pulse Amplitude VA = |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 Bias IP/IM Not Driving (V Receiver Input Resistance Single-Ended to IPA, IMA, IPB, IMB
Differential Wake-Up Voltage t 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 Low t SCK High t
= 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.9 2.0 02.1 V
l
0.1 1.0 mA
l
18 1820
l
l
l
0.2 1.5 V
l
l
l
0.4 0.5 0.6 V/V
l
l
200 mV
l
240 ns
l
l
4.3 5.5 6.7 ms
l
120 150 180 ns
l
l
l
l
l
l
l
200 ns
l
200 ns
l
0.65 µs
l
0.8 µs
l
20
– V
REG
ICMP
27 35 43
40 50 60 ns
1 µs
25 ns
25 ns
1 µs
±1 µA
0.3 V
22
24.5
1.6 V
±1 µA ±1 µA
/3 – 167mV) V
10 µs
200 ns
70 ns
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
SYMBOL PARAMETER CONDITIONS MIN TYP MAX UNITS
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
430 525 ns 150 200 ns 300 360 ns
0 35 70 ns
0.8 1.05 µs
60 ns 50 ns
60 ns
200 ns
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
–25 0 50
–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
1 2 4
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)
1 2 4
3
INPUT (V)
Measurement Error Long­Term 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)
30001000 2000 2500500 1500
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
–20 0 30
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.6 5.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, Cold Noise Filter Response
30
TA = –45°C TO 25°C
25
20
15
10
NUMBER OF PARTS
5
0
–40
–20 0
–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
1k 10k 100k 10M
100
FREQUENCY (Hz)
ADC MODE:
P-P
NORMAL 15kHz FAST
REG
1M1k 100k100 10k
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 Values Top 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
10 20
C11 VOLTAGE (V)
Sleep Supply Current vs V
7
6
5
4
3
SLEEP SUPPLY CURRENT (µA)
2
5 15
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 Frequency Measurement 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
1k 100k
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
10 15 25
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)
30 35 40
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
15 25
REG
45 65 75
35 55
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
–25 0 50
–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 Temperature V
REF2
V+ = 39.6V 5 TYPICAL PARTS
50 100 125
–50
–25 0
25 75
TEMPERATURE (°C)
680412 G28
–200
(ppm)
–400
REF2
–600
CHANGE IN V
–800
–1000
Load Regulation V
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
15 25 45
5
35
V+ (V)
125°C 85°C 25°C –45°C
55 65 75
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.75 5 5.25 5.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 0 50 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 –100 100
1000 2000
1500 2500
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 Voltage Drive Pin Load Regulation Drive 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
4 5
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
5 15
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-Up V
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-Up V
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
200 400 600 1000
isoSPI CLOCK FREQUENCY (kHz)
800
14
680412fc
For more information www.linear.com/LTC6804-1
Page 15
Typical perForMance characTerisTics
680412 G53
Voltage vs Temperature I
I
BIAS
2.02 IB = 1mA
3 PARTS
2.01
2.00
IBIAS PIN VOLTAGE (V)
1.99
1.98
–50
–25 0 25 50
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.5 1.0 1.5 2.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.5 4.0 4.5
COMMON MODE VOLTAGE (V)
5.0 5.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.2 0.6
0
0.4 0.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
IPB IPB A3 A3
IMB IMB A2 A2 ICMP ICMP A1 A1 IBIAS IBIAS A0 A0
(NC) SDO IBIAS SDO (NC) SDI ICMP SDI
I
PA SCK I
IMA CSB IMA CSB
ISOMD = V–ISOMD = V
REG
LTC6804-2
(ADDRESSABLE)
ISOMD = V
REG
PA SCK
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)
STATE I
V
SLEEP
REG
V
REG
STANDBY 32µA 35µA
REFUP 550µA 450µA
MEASURE 550µA 11.5mA
+ I
= 0V 3.8µA 0µA = 5V 1.6µA 2.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 conver­sion 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 STATE DEVICE
IDLE LTC6804-1/LTC6804-2 N/A 0mA
READY LTC6804-1 V
LTC6804-2 V
ACTIVE LTC6804-1 V
LTC6804-2 V
ISOMD
CONNECTION I
REG
V
REG
V
REG
V
REG
V
2.8mA + 5 IB Note: IB=V
Write: 2.8mA + 5 IB+ 2IB+ 0.4mA
Read: 2.8mA+ 5 IB+ 3IB+ 0.5mA
1.6mA+3IB+ 2IB+ 0.2mA
Write: 1.8mA+ 3 IB+ 0.3mA
Read: 1.8mA+3IB+ 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 BW TME SPEC AT 3.3V, 25°C TME SPEC AT 3.3V,–40°C, 125°C
27kHz (Fast Mode) 27kHz 84kHz ±4.7mV ±4.7mV
14kHz 13.5kHz 42kHz ±4.7mV ±4.7mV
7kHz (Normal Mode) 6.8kHz 21kHz ±1.2mV ±2.2mV
3kHz 3.4kHz 10.5kHz ±1.2mV ±2.2mV 2kHz 1.7kHz 5.3kHz ±1.2mV ±2.2mV
26Hz (Filtered Mode) 26Hz 82Hz ±1.2mV ±2.2mV
Note: TME is the total measurement error.
Mode 7kHz (Normal):
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.5 4.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
MODE FULL 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 5V 0.5V to 4.5V 100µV Unsigned 16 Bits
PRECISION
2
RANGE
For more information www.linear.com/LTC6804-1
LSB FORMAT MAX 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
CONVERSION TIMES (in µs)
MODE t
0
t
1M
27kHz 0 57 201 14kHz 0 86 230
7kHz 0 144 405 3kHz 0 260 521 2kHz 0 493 754 26Hz 0 29,817 33,568
t
1C
t
MEASURE
C12 TO C11
MEASURE
C6 TO C5
t
5M
CYCLE
t
6M
CALIBRATE
C7 TO C6
CALIBRATE
C1 TO C0
t
1C
CALIBRATE
C8 TO C7
CALIBRATE
C2 TO C1
t2Ct
CALIBRATE C12 TO C11
CALIBRATE
C6 TO C5
5C
t
6C
SERIAL
INTERFACE
ADC2
ADC1
ADCV + PEC
t
REFUP
t
0
MEASURE
C7 TO C6
MEASURE
C1 TO C0
t
1M
t
SKEW2
MEASURE
C8 TO C7
MEASURE
C2 TO C1
t
2M
Figure 3. Timing for ADCV Command Measuring All 12 Cells
Table 5. Conversion Times for ADCV Command Measuring All 12 Cells in Different Modes
CONVERSION TIMES (in µs)
MODE t
0
t
1M
27kHz 0 57 103 243 290 432 568 975 1,113 14kHz 0 86 162 389 465 606 742 1,149 1,288
7kHz 0 144 278 680 814 1,072 1,324 2,080 2,335 3kHz 0 260 511 1,262 1,512 1,770 2,022 2,778 3,033 2kHz 0 493 976 2,425 2,908 3,166 3,418 4,175 4,430 26Hz 0 29,817 59,623 149,043 178,850 182,599 186,342 197,571 201,317
t
2M
t
5M
t
6M
t
1C
t
2C
t
5C
t
6C
24
680412fc
For more information www.linear.com/LTC6804-1
Page 25
operaTion
INTERFACE
680412 F05
LTC6804-1/LTC6804-2
Under/Overvoltage Monitoring
Whenever the C inputs are measured, the results are com­pared 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. Figure6
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
CONVERSION TIMES (in µs)
MODE t
27kHz 0 57 103 243 290 432 568 975 1,113 14kHz 0 86 162 389 465 606 742 1,149 1,288
7kHz 0 144 278 680 814 1,072 1,324 2,080 2,335 3kHz 0 260 511 1,262 1,512 1,770 2,022 2,778 3,033 2kHz 0 493 976 2,425 2,908 3,166 3,418 4,175 4,430
26Hz 0 29,817 59,623 149,043 178,850 182,599 186,342 197,571 201,317
0
t
1M
t
2M
t
5M
t
6M
t
1C
t
2C
t
5C
t
6C
For more information www.linear.com/LTC6804-1
680412fc
25
Page 26
LTC6804-1/LTC6804-2
INTERFACE
680412 F06
INTERFACE
680412 F07
operaTion
t
REFUP
SERIAL
ADCVAX + PEC
t
SKEW1
t
CYCLE
t
SKEW1
t
7M
MEASURE
C12 TO C11
MEASURE
C6 TO C5
t
ADC2
ADC1
t
0
MEASURE
C7 TO C6
MEASURE
C1 TO C0
t
1M
MEASURE
C8 TO C7
MEASURE
C2 TO C1
t
2M
MEASURE
C9 TO C8
MEASURE
C3 TO C2
t
3M
MEASURE
GPIO1
t
4M
MEASURE
GPIO2
t
5M
MEASURE
C10 TO C9
MEASURE
C4 TO C3
t
6M
MEASURE
C11 TO C10
MEASURE
C5 TO C4
Figure 6. Timing of ADCVAX Command
Table 8. Conversion and Synchronization Times for ADCVAX Command in Different Modes
CONVERSION TIMES (in µs)
MODE t
0
t
1M
t
2M
t
3M
t
4M
t
5M
t
6M
t
7M
t
8M
t
8C
27kHz 0 57 106 155 216 265 326 375 424 1,564 208 14kHz 0 86 161 237 320 396 479 555 630 1,736 310
7kHz 0 144 278 412 553 687 828 962 1,096 3,133 543 3kHz 0 260 511 761 1,018 1,269 1,526 1,777 2,027 4,064 1009 2kHz 0 493 976 1,459 1,949 2,432 2,923 3,406 3,888 5,925 1939 26Hz 0 29,817 59,623 89,430 119,244 149,051 178,864 208,671 238,478 268,442 119234
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
8C
.
Measuring Internal Device Parameters (ADST Command)
The ADSTAT command is a diagnostic command that
SYNCHRONIZATION
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 perfor­mance 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 com­mand 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 measure­ment (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
CONVERSION TIMES (in µs)
MODE t
27kHz 0 57 103 150 197 338 474 610 748 14kHz 0 86 162 237 313 455 591 726 865
7kHz 0 144 278 412 546 804 1,056 1,308 1,563 3kHz 0 260 511 761 1,011 1,269 1,522 1,774 2,028 2kHz 0 493 976 1,459 1,942 2,200 2,452 2,705 2,959 26Hz 0 29,817 59,623 89,430 119,237 122,986 126,729 130,472 134,218
0
t
1M
t
2M
For more information www.linear.com/LTC6804-1
t
3M
t
4M
t
1C
t
2C
t
3C
t
4C
680412fc
27
Page 28
LTC6804-1/LTC6804-2
PULSE DENSITY
operaTion
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 con­verted 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
CVST ST[1:0]=01 0x9565 0x9553 0x9555 0x9555 0x9555 0x9555 C1V to C12V
AXST ST[1:0]=01 0x9565 0x9553 0x9555 0x9555 0x9555 0x9555 G1V to G5V, REF
STATST ST[1:0]=01 0x9565 0x9553 0x9555 0x9555 0x9555 0x9555 SOC, ITMP, VA, VD
SELF TEST
OPTION OUTPUT PATTERN IN DIFFERENT ADC MODES
ST[1:0]=10
ST[1:0]=10
ST[1:0]=10
ANALOG
INPUT
27kHz 14kHz 7kHz 3kHz 2kHz 26Hz
0x6A9A 0x6AAC 0x6AAA 0x6AAA 0x6AAA 0x6AAA
0x6A9A 0x6AAC 0x6AAA 0x6AAA 0x6AAA 0x6AAA
0x6A9A 0x6AAC 0x6AAA 0x6AAA 0x6AAA 0x6AAA
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
ANCE NORMAL MODE FILTERED MODE
≤10nF 2 2
100nF 10 2
1µF 100 2
C 1+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
DCTO 0 1 2 3 4 5 6 7 8 9 A B C D E F
Time Min Disabled 0.5 1 2 3 4 5 10 15 20 30 40 60 75 90 120
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 TIMER SOFTWARE TIMER
SWTEN = 0, DCTO = XXXX Resets CFGR0-5
When It Activates
SWTEN = 1, DCTO = 0000 Resets CFGR0-5
When It Activates
SWTEN = 1, DCTO ! = 0000 Resets 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
T and CRFG5 could be corrupted.
2
C/SPI MASTER ON LTC6804 USING GPIOS
I
Table 14
DCTO
(READ VALUE) TIME LEFT (MIN)
0 1 0 < Timer ≤ 0.5 2 0.5 < Timer ≤ 1 3 1 < Timer ≤ 2 4 2 < Timer ≤ 3 5 3 < Timer ≤ 4 6 4 < Timer ≤ 5 7 5 < Timer ≤ 10 8 10 < Timer ≤ 15 9 15 < Timer ≤ 20 A 20 < Timer ≤ 30 B 30 < Timer ≤ 40 C 40 < Timer ≤ 60 D 60 < Timer ≤ 75 E 75 < Timer ≤ 90
F 90 < Timer ≤ 120
Disabled (or) Timer Has Timed Out
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 Table15. 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 con­trol actions before transmitting/receiving the data byte. FCOMn [3:0] specify control actions after transmitting/ receiving the data byte.
Table 15. COMM Register Memory Map
REGISTER RD/WR BIT 7 BIT 6 BIT 5 BIT 4 BIT 3 BIT 2 BIT 1 BIT 0
COMM0 RD/WR ICOM0[3] ICOM0[2] ICOM0[1] ICOM0[0] D0[7] D0[6] D0[5] D0[4] COMM1 RD/WR D0[3] D0[2] D0[1] D0[0] FCOM0[3] FCOM0[2] FCOM0[1] FCOM0[0] COMM2 RD/WR ICOM1[3] ICOM1[2] ICOM1[1] ICOM1[0] D1[7] D1[6] D1[5] D1[4] COMM3 RD/WR D1[3] D1[2] D1[1] D1[0] FCOM1[3] FCOM1[2] FCOM1[1] FCOM1[0] COMM4 RD/WR ICOM2[3] ICOM2[2] ICOM2[1] ICOM2[0] D2[7] D2[6] D2[5] D2[4] COMM5 RD/WR D2[3] D2[2] D2[1] D2[0] FCOM2[3] FCOM2[2] FCOM2[1] FCOM2[0]
680412fc
For more information www.linear.com/LTC6804-1
31
Page 32
LTC6804-1/LTC6804-2
operaTion
Table 16. Write Codes for ICOMn[3:0] and FCOMn[3:0] on I2C Master
CONTROL BITS CODE ACTION DESCRIPTION
0110 START Generate 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 BITS CODE ACTION DESCRIPTION
ICOMn[3:0]
FCOMn[3:0]
0001 STOP Generate a STOP Signal on I 0000 BLANK Proceed Directly to Data Transmission on I 0111 No Transmit Release SDA and SCL and Ignore the Rest of the Data 0000 Master ACK Master Generates an ACK Signal on Ninth Clock Cycle 1000 Master NACK Master Generates a NACK Signal on Ninth Clock Cycle 1001 Master NACK + STOP Master Generates a NACK Signal Followed by STOP Signal
1000 CSBM low Generates a CSBM Low Signal on SPI Port (GPIO3) 1001 CSBM high Generates a CSBM High Signal on SPI Port (GPIO3) 1111 No Transmit Releases the SPI Port and Ignores the Rest of the Data
X000 CSBM low Holds CSBM Low at the End of Byte Transmission
1001 CSBM high Transitions 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 com­munication 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]
CODE DESCRIPTION
0110 Master Generated a START Signal 0001 Master Generated a STOP Signal 0000 Blank, SDA Was Held Low Between Bytes 0111 Blank, SDA Was Held High Between Bytes 0000 Master Generated an ACK Signal 0111 Slave Generated an ACK Signal 1111 Slave Generated a NACK Signal 0001 Slave Generated an ACK Signal, Master
Generated a STOP Signal
1001 Slave 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
START NACK + STOP
BLANK NACK
START ACK
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 ≥ LOW CSBM
CSBM LOW CSBM
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 Table20 shows the SPI master timing specifications.
Table 19. I2C Master Timing
I2C MASTER
PARAMETER
SCL Clock Frequency 1/(2 t
; STA t
t
HD
t
LOW
t
HIGH
; STA t
t
SU
; DAT t4* Min 30ns
t
HD
; DAT t
t
SU
; STO t
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 Low t SCKM High t SCKM Period (SCKM_Low
+ SCKM_High) CSBM Pulse Width 3 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 (Figure14).
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
5k 5k
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
D3 D2 D1 D0 D7…D4 D3
t
8
D3D4 D2 D1 D0 D7…D4 D3
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.5V
= 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
V
V
GPIO3
GPIO3
GPIO2
GPIO2
GPIO1
GPIO1
C0
S1
C1
C0
S1
C1
680412fc
For more information www.linear.com/LTC6804-1
39
Page 40
LTC6804-1/LTC6804-2
680412 F18a
680412 F18b
680412 F18c
680412 F18d
operaTion
TERMINATED UNUSED PORT
LTC6804-1
+
V C12 S12 C11 S11 C10 S10 C9 S9 C8 S8 C7 S7 C6 S6 C5 S5 C4 S4 C3 S3 C2 S2 C1
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
V
V
C0 S1
R
M
• •
VDDS EN
MISO MOSI SCK
CS
MISO MOSI CLK
CS
LTC6820
V
MPU
VDD POL PHA
MSTR
ICMP IBIAS
GND
SLOW
SDI(ICMP)
SCK(IPA)
CSB(IMA)
ISOMD
WDT
DRIVE
V
SWTEN
V
REF1
V
REF2
GPIO5 GPIO4
GPIO3 GPIO2 GPIO1
ADDRESS = 0×0 A3 A2 A1 A0
REG
V
V
C0 S1
• •
VDDS EN
MISO MOSI SCK
CS
MISO MOSI CLK
CS
LTC6820
V
MPU
VDD
POL PHA
MSTR
ICMP IBIAS
GND
SLOW
DD
IP
IM
LTC6804-2
+
DD
IP
IM
V C12 S12 C11 S11 C10 S10 C9 S9 C8 S8 C7 S7 C6 S6 C5 S5 C4 S4 C3 S3 C2 S2 C1
SDO(IBIAS)
Figure 18a. Single-Device LTC6804-1 Using 2-Wire Port A
TERMINATED UNUSED PORT
LTC6804-1
+
V C12 S12 C11 S11 C10 S10 C9 S9 C8 S8 C7 S7 C6 S6 C5 S5 C4 S4 C3 S3 C2 S2 C1
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
IPB
V
V
C0 S1
100Ω
20k
REQUIRED BIAS
5k
V
DD
MISO MOSI CLK
MPU
CS
Figure 18c. Single-Device LTC6804-1 Using 4-Wire Port A
Figure 18b. Single-Device LTC6804-2 Using 2-Wire Port A
SDI(ICMP)
SCK(IPA)
CSB(IMA)
ISOMD
WDT
DRIVE
V
REG
SWTEN
V
REF1
V
REF2
GPIO5 GPIO4
GPIO3 GPIO2 GPIO1
ADDRESS = 0×0 A3 A2 A1 A0
V
V
C0 S1
5k
MISO MOSI CLK
CS
V
MPU
DD
LTC6804-2
+
V C12 S12 C11 S11 C10 S10 C9 S9 C8 S8 C7 S7 C6 S6 C5 S5 C4 S4 C3 S3 C2 S2 C1
SDO(IBIAS)
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
COMMUNICATION EVENT (PORT A SPI)
CSB Rising Long +1 CSB Falling Long –1 SCK Rising Edge, SDI = 1 Short +1 SCK Rising Edge, SDI = 0 Short –1
TRANSMITTED PULSE (POR
T B isoSPI)
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 +1 Drive CSB High None Long –1 Drive CSB Low Short +1 1. Set SDI = 1
Short –1
INTERNAL SPI PORT ACTION RETURN 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 config­ured 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 MODE OK 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,
set
IN0 = DIN XOR PEC [14] IN3 = IN0 XOR PEC [2] IN4 = IN0 XOR PEC [3] IN7 = IN0 XOR PEC [6] IN8 = IN0 XOR PEC [7] IN10 = IN0 XOR PEC [9]
3. Update the 15-bit PEC as follows PEC [14] = IN14,
PEC [13] = PEC [12], PEC [12] = PEC [11], PEC [11] = PEC [10], PEC [10] = IN10, PEC [9] = PEC [8], PEC [8] = IN8, PEC [7] = IN7, PEC [6] = PEC [5], PEC [5] = PEC [4], PEC [4] = IN4, PEC [3] = IN3, PEC [2] = PEC [1], PEC [1] = PEC [0], PEC [0] = IN0
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/P I/P
I/P
X
XOR GATE
012345678914 10111213
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:
CFGR0(S), … , CFGR5(S), PEC0(S), PEC1(S), CFGR0(P),
…, CFGR5(P), PEC0(P), PEC1(P)
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
Table 24. PEC Calculation for 0x0001
PEC[14] 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 0 0 0 PEC[13] 0 0 0 0 0 0 0 0 0 1 0 0 0 0 1 1 0 0 PEC[12] 0 0 0 0 0 0 0 0 1 0 0 0 0 1 1 0 1 1 PEC[11] 0 0 0 0 0 0 0 1 0 0 0 0 1 1 0 1 1 1 PEC[10] 0 0 0 0 0 0 1 0 0 0 0 1 1 0 1 1 1 1 PEC[9] 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 1 1 PEC[8] 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 1 0 0 PEC[7] 0 0 0 1 0 0 0 0 0 0 0 1 1 1 0 1 1 1 PEC[6] 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 PEC[5] 0 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 1 1 PEC[4] 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 1 1 1 PEC[3] 0 0 0 0 0 0 0 0 0 0 0 1 1 1 0 0 0 0 PEC[2] 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 PEC[1] 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 PEC[0] 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 IN14 0 0 0 0 0 0 0 0 0 1 1 1 1 1 0 0 0 IN10 0 0 0 0 0 1 0 0 0 0 1 1 0 1 1 1 PEC Word IN8 0 0 0 1 0 0 0 0 0 0 1 0 0 0 1 0 IN7 0 0 1 0 0 0 0 0 0
IN4 0 IN3 0 0 0 0 0 0 0 0 0 0 1 1 1 0 0 0 IN0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 DIN 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 Clock Cycle 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
0 0 0 0 0 0 0 0 0 1 0 0 0 1 1
device shifts out its data and the PEC that it computed for its data on Port A followed by the data received on Port B. For example, when reading status register group B from two daisy-chained devices (primary device P, stacked device S), the primary device sends out data on port A in the following order:
STBR0(P), …, STBR5(P), PEC0(P), PEC1(P), STBR0(S),
… , STBR5(S), PEC0(S), PEC1(S)
0 1 1 1 0 1 1
For more information www.linear.com/LTC6804-1
680412fc
45
Page 46
LTC6804-1/LTC6804-2
operaTion
Table 25. Write/Read PEC Format
NAME RD/WR BIT 7 BIT 6 BIT 5 BIT 4 BIT 3 BIT 2 BIT 1 BIT 0
PEC0 RD/WR PEC[14] PEC[13] PEC[12] PEC[11] PEC[10] PEC[9] PEC[8] PEC[7]
PEC1 RD/WR PEC[6] PEC[5] PEC[4] PEC[3] PEC[2] PEC[1] PEC[0] 0
Broadcast vs Address Commands
CONFIGURATION TYPE OF COMMAND
DEVICE INTERFACE READ WRITE POLL
LTC6804-2
(Address/Parallel)
LTC6804-1
(Daisy-Chain)
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.
SPI Address-
isoSPI Address-
SPI or
isoSPI
Only
Broadcast-Only N/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 com­mands are useful for initiating ADC conversions or for sending
write commands when
all parts are being written with the same data. The polling function (automatic at the end of ADC commands, or manual using the PLADC com
­mand) can also be used with broadcast commands, but 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 broad­cast commands only, because they have no addressing. All devices in the chain receive the command bytes simul­taneously. For example, to initiate ADC conversions in a stack of devices, a single ADCV command is sent, and all devices
will start conversions at the same time. For read and write commands, a single command is sent, and then the stacked devices effectively turn into a cascaded shift register, in which data is shifted through each device to the next 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 (Figure24). 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
CMD0 First Command Byte (See Tables 32 and 33) CMD1 Second Command Byte (See Tables 32 and 33) PEC0 First PEC Byte (See Table 25) PEC1 Second PEC Byte (See Table 25) n Number 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
8 8 8 8
CMD0 CMD1 PEC0 PEC1 Poll Data
Table 28. Broadcast Write Command (LTC6804-1)
8 8 8 8 8 8 8 8 8 8
CMD0 CMD1 PEC0 PEC1 Data Byte Low Data Byte High PEC0 PEC1 Shift Byte 1 Shift Byte n
Table 29.Broadcast/Address Write Command (LTC6804-2)
8 8 8 8 8 8 8 8
CMD0 CMD1 PEC0 PEC1 Data Byte Low Data Byte High PEC0 PEC1
Commands
Table 34 lists all the commands and its options for both LTC6804-1 and LTC6804-2
Table 30. Broadcast Read Command (LTC6804-1)
8 8 8 8 8 8 8 8 8 8
CMD0 CMD1 PEC0 PEC1 Data Byte Low Data Byte High PEC0 PEC1 Shift Byte 1 Shift Byte n
Table 31. Address Read Command (LTC6804-2)
8 8 8 8 8 8 8 8
CMD0 CMD1 PEC0 PEC1 Data Byte Low Data Byte High PEC0 PEC1
Table 32. Broadcast Command Format
NAME RD/WR BIT 7 BIT 6 BIT 5 BIT 4 BIT 3 BIT 2 BIT 1 BIT 0
CMD0 WR 0 0 0 0 0 CC[10] CC[9] CC[8] CMD1 WR CC[7] CC[6] CC[5] CC[4] CC[3] CC[2] CC[1] CC[0]
Table 33. Address Command Format
NAME RD/WR BIT 7 BIT 6 BIT 5 BIT 4 BIT 3 BIT 2 BIT 1 BIT 0
CMD0 WR 1 a3* a2* a1* a0* CC[10] CC[9] CC[8] CMD1 WR CC[7] CC[6] CC[5] CC[4] CC[3] CC[2] CC[1] CC[0] *ax is Address Bit x
48
680412fc
For more information www.linear.com/LTC6804-1
Page 49
LTC6804-1/LTC6804-2
operaTion
Table 34. Command Codes
COMMAND DESCRIPTION NAME CC[10:0] - COMMAND CODE
10 9 8 7 6 5 4 3 2 1 0
Write Configuration Register Group
Read Configuration Register Group
Read Cell Voltage Register Group A
Read Cell Voltage Register Group B
Read Cell V
Register Group C
Read Cell V
Register Group D Read Auxiliary
Register Group A Read Auxiliary
Register Group B Read Status Register Group A R Read Status Register Group B RDSTATB 0 0 0 0 0 0 1 0 0 1 0
Start Cell Voltage ADC Conversion and Poll Status
Start Open Wire ADC Con­version and Poll Status
Start Self-Test Cell Voltage Conversion and Poll Status
Start GPIOs ADC Conversion and Poll Status
Start Self-Test GPIOs Conversion and Poll Status
Start Status group ADC Conversion and Poll Status
Start Self-Test Status group Conversion and Poll Status
Start Combined Cell Voltage and GPIO1, GPIO2 Conversion and Poll Status
Clear Cell Voltage
Register Group Clear Auxiliary
Register Group Clear Status Register Group CLRSTA Poll ADC Conversion Status PLADC 1 1 1 0 0 0 1 0 1 0 0 Diagnose MUX and Poll
Status Write COMM Register Group WRCOMM 1 1 1 0 0 1 0 0 0 0 1 Read COMM Register Group RDCOMM 1 1 1 0 0 1 0 0 0 1 0
2
Start I
C/SPI Communication STCOMM 1 1 1 0 0 1 0 0 0 1 1
oltage
oltage
WRCFG 0 0 0 0 0 0 0 0 0 0 1
RDCFG 0 0 0 0 0 0 0 0 0 1 0
RDCV
RDCVB 0 0 0 0 0 0 0 0 1 1 0
RDCVC
RDCVD
RDAUXA
RDAUXB
STATA 0 0 0 0 0 0 1 0 0 0 0
D
ADCV 0 1 MD[1] MD[0] 1 1 DCP 0 CH[2] CH[1] CH[0]
ADOW 0 1 MD[1] MD[0] PUP 1 DCP 1 CH[2] CH[1] CH[0]
CVST 0 1 MD[1] MD[0] ST[1] ST[0] 0 0 1 1 1
ADAX 1 0 MD[1] MD[0] 1 1 0 0 CHG [2] CHG [1] CHG [0]
AXST 1 0 MD[1] MD[0] ST[1] ST[0] 0 0 1 1 1
ADSTAT 1 0 MD[1] MD[0] 1 1 0 1 CHST [2] CHST [1] CHST [0]
STATST 1 0 MD[1] MD[0] ST[1] ST[0] 0 1 1 1 1
ADCVAX 1 0 MD[1] MD[0] 1 1 DCP 1 1 1 1
CLRCELL 1 1 1 0 0 0 1 0 0 0 1
CLRAUX
DIAGN 1 1 1 0 0 0 1 0 1 0 1
0 0 0 0 0 0 0 0 1 0 0
A
0 0 0 0 0 0 0 1 0 0 0
0 0 0 0 0 0 0 1 0 1 0
0 0 0 0 0 0 0 1 1 0 0
0 0 0 0 0 0 0 1 1 1 0
1 1 1 0 0 0 1 0 0 1 0
T 1 1 1 0 0 0 1 0 0 1 1
680412fc
For more information www.linear.com/LTC6804-1
49
Page 50
LTC6804-1/LTC6804-2
operaTion
Table 35. Command Bit Descriptions
NAME DESCRIPTION VALUES
MD ADCOPT(CFGR0[0]) = 0 ADCOPT (CFGR0[0]) = 1
MD[1:0] ADC Mode
DCP Discharge Permitted
CH[2:0] Cell Selection for ADC Conversion
PUP
ST[1:0] Self-Test Mode Selection
CHG[2:0] GPIO Selection for ADC Conversion
CHST[2:0]* Status Group Selection
*Note: Valid options for CHST in ADSTAT command are 0-4. If CHST is set to 5/6 in ADSTAT command, the LTC6804 treats it like ADAX command with
CHG = 5/6.
**The use of the ADSTAT command with CHST = 100 is not recommended unless special care is taken. See the Data Acquisition System Diagnostics
section for more details.
Pull-Up/Pull-Down Current for Open-Wire Conversions
01 27kHz Mode (Fast) 14kHz Mode 10 7kHz Mode (Normal) 3kHz Mode 11 26Hz Mode (Filtered) 2kHz Mode DCP 0 Discharge Not Permitted 1 Discharge Permitted
Total Conversion Time in the 6 ADC Modes CH 27kHz 14kHz 7kHz 3kHz 2kHz 26Hz 000 All Cells 1.1ms 1.3ms 2.3ms 3.0ms 4.4ms 201ms 001 Cell 1 and Cell 7 010 Cell 2 and Cell 8 011 Cell 3 and Cell 9 100 Cell 4 and Cell 10 101 Cell 5 and Cell 11 110 Cell 6 and Cell 12 PUP 0 Pull-Down Current 1 Pull-Up Current
ST 27kHz 14kHz 7kHz 3kHz 2kHz 26Hz 01 Self Test 1 0x9565 0x9553 0x9555 0x9555 0x9555 0x9555 10 Self test 2 0x6A9A 0x6AAC 0x6AAA 0x6AAA 0x6AAA 0x6AAA
CHG 27kHz 14kHz 7kHz 3kHz 2kHz 26Hz 000 GPIO 1-5, 2nd Ref 1.1ms 1.3ms 2.3ms 3.0ms 4.4ms 201ms 001 GPIO 1 010 GPIO 2 011 GPIO 3 100 GPIO 4 101 GPIO 5 110 2nd Reference
CHST 27kHz 14kHz 7kHz 3kHz 2kHz 26Hz 000 SOC, ITMP, VA, VD 748µs 865µs 1.6ms 2.0ms 3.0ms 134ms 001 SOC 010 ITMP 011 VA 100 VD**
201µs 230µs 405µs 501µs 754µs 34ms
Self-Test Conversion Result
Total Conversion Time in the 6 ADC Modes
201µs 230µs 405µs 501µs 754µs 34ms
Total Conversion Time in the 6 ADC Modes
201µs 230µs 405µs 501µs 754µs 34ms
50
680412fc
For more information www.linear.com/LTC6804-1
Page 51
LTC6804-1/LTC6804-2
operaTion
Table 36. Configuration Register Group
REGISTER RD/WR BIT 7 BIT 6 BIT 5 BIT 4 BIT 3 BIT 2 BIT 1 BIT 0
CFGR0 RD/WR GPIO5 GPIO4 GPIO3 GPIO2 GPIO1 REFON SWTRD ADCOPT CFGR1 RD/WR VUV[7] VUV[6] VUV[5] VUV[4] VUV[3] VUV[2] VUV[1] VUV[0] CFGR2 RD/WR VOV[3] VOV[2] VOV[1] VOV[0] VUV[11] VUV[10] VUV[9] VUV[8] CFGR3 RD/WR VOV[11] VOV[10] VOV[9] VOV[8] VOV[7] VOV[6] VOV[5] VOV[4] CFGR4 RD/WR DCC8 DCC7 DCC6 DCC5 DCC4 DCC3 DCC2 DCC1 CFGR5 RD/WR DCTO[3] DCTO[2] DCTO[1] DCTO[0] DCC12 DCC11 DCC10 DCC9
Table 37. Cell Voltage Register Group A
REGISTER RD/WR BIT 7 BIT 6 BIT 5 BIT 4 BIT 3 BIT 2 BIT 1 BIT 0
CVAR0 RD C1V[7] C1V[6] C1V[5] C1V[4] C1V[3] C1V[2] C1V[1] C1V[0] CVAR1 RD C1V[15] C1V[14] C1V[13] C1V[12] C1V[11] C1V[10] C1V[9] C1V[8] CVAR2 RD C2V[7] C2V[6] C2V[5] C2V[4] C2V[3] C2V[2] C2V[1] C2V[0] CVAR3 RD C2V[15] C2V[14] C2V[13] C2V[12] C2V[11] C2V[10] C2V[9] C2V[8] CVAR4 RD C3V[7] C3V[6] C3V[5] C3V[4] C3V[3] C3V[2] C3V[1] C3V[0] CVA
R5 RD C3V[15]
C3V[14] C3V[13] C3V[12] C3V[11] C3V[10] C3V[9] C3V[8]
Table 38. Cell Voltage Register Group B
REGISTER RD/WR BIT 7 BIT 6 BIT 5 BIT 4 BIT 3 BIT 2 BIT 1 BIT 0
CVBR0 RD C4V[7] C4V[6] C4V[5] C4V[4] C4V[3] C4V[2] C4V[1] C4V[0] CVBR1 RD C4V[15] C4V[14] C4V[13] C4V[12] C4V[11] C4V[10] C4V[9] C4V[8] CVBR2 RD C5V[7] C5V[6] C5V[5] C5V[4] C5V[3] C5V[2] C5V[1] C5V[0] CVBR3 RD C5V[15] C5V[14] C5V[13] C5V[12] C5V[11] C5V[10] C5V[9] C5V[8] CVBR4 RD C6V[7] C6V[6] C6V[5] C6V[4] C6V[3] C6V[2] C6V[1] C6V[0] CVBR5 RD C6V[15] C6V[14] C6V[13] C6V[12] C6V[11] C6V[10] C6V[9] C6V[8]
Table 39. Cell Voltage Register Group C
REGISTER RD/WR BIT 7 BIT 6 BIT 5 BIT 4 BIT 3 BIT 2 BIT 1 BIT 0
CVCR0 RD C7V[7] C7V[6] C7V[5] C7V[4] C7V[3] C7V[2] C7V[1] C7V[0] CVCR1 RD C7V[15] C7V[14] C7V[13] C7V[12] C7V[11] C7V[10] C7V CVCR2 RD CVCR3 RD C8V[15] C8V[14] C8V[13] C8V[12] C8V[11] C8V[10] C8V[9] C8V[8] CVCR4 RD C9V[7] C9V[6] C9V[5] C9V[4] C9V[3] C9V[2] C9V[1] C9V[0] CVCR5 RD C9V[15] C9V[14] C9V[13] C9V[12] C9V[11] C9V[10] C9V[9] C9V[8]
C8V[7] C8V[6] C8V[5] C8V[4] C8V[3] C8V[2] C8V[1] C8V[0]
[9] C7V[8]
Table 40. Cell Voltage Register Group D
REGISTER RD/WR BIT 7 BIT 6 BIT 5 BIT 4 BIT 3 BIT 2 BIT 1 BIT 0
CVDR0 RD C10V[7] C10V[6] C10V[5] C10V[4] C10V[3] C10V[2] C10V[1] C10V[0] CVDR1 RD C10V[15] C10V[14] C10V[13] C10V[12] C10V[11] C10V[10] C10V[9] C10V[8] CVDR2 RD C11V[7] C11V[6] C11V[5] C11V[4] C11V[3] C11V[2] C11V[1] C11V[0] CVDR3 RD C11V[15] C11V[14] C11V[13] C11V[12] C11V[11] C11V[10] C11V[9] C11V[8] CVDR4 RD C12V[7] C12V[6] C12V[5] C12V[4] C12V[3] C12V[2] C12V[1 CVDR5 RD
C12V[15] C12V[14] C12V[13] C12V[12] C12V[11] C12V[10] C12V[9] C12V[8]
] C12V[0]
680412fc
For more information www.linear.com/LTC6804-1
51
Page 52
LTC6804-1/LTC6804-2
operaTion
Table 41. Auxiliary Register Group A
REGISTER RD/WR BIT 7 BIT 6 BIT 5 BIT 4 BIT 3 BIT 2 BIT 1 BIT 0
AVAR0 RD G1V[7] G1V[6] G1V[5] G1V[4] G1V[3] G1V[2] G1V[1] G1V[0] AVAR1 RD G1V[15] G1V[14] G1V[13] G1V[12] G1V[11] G1V[10] G1V[9] G1V[8] AVAR2 RD G2V[7] G2V[6] G2V[5] G2V[4] G2V[3] G2V[2] G2V[1] G2V[0]
AVAR3 RD G2V[15] G2V[14] G2V[13] G2V[12] G2V[11] G2V[10] G2V[9] G2V[8] AVAR4 RD G3V[7] G3V[6] G3V[5] G3V[4] G3V[3] G3V[2] G3V[1] G3V[0] AVAR5 RD G3V[15] G3V[14] G3V[13] G3V[12] G3V[11] G3V[10] G3V[9] G3V[8]
Table 42. Auxiliary Register Group B
REGISTER RD/WR BIT 7 BIT 6 BIT 5 BIT 4 BIT 3 BIT 2 BIT 1 BIT 0
AVBR0 RD G4V[7] G4V[6] G4V[5] G4V[4] G4V[3] G4V[2] G4V[1] G4V[0] AVBR1 RD G4V[15] G4V[14] G4V[13] G4V[12] G4V[11] G4V[10] G4V[9] G4V[8] AVBR2 RD G5V[7] G5V[6] G5V[5] G5V[4] G5V[3] G5V[2] G5 AV
BR3 RD G5V[15] G5V[14] G5V[13] G5V[12] G5V[11] G5V[10] G5V[9] G5V[8] AVBR4 RD REF[7] REF[6] REF[5] REF[4] REF[3] REF[2] REF[1] REF[0] AVBR5 RD REF[15] REF[14] REF[13] REF[12] REF[11] REF[10] REF[9] REF[8]
V[1] G5V[0]
Table 43. Status Register Group A
REGISTER RD/WR BIT 7 BIT 6 BIT 5 BIT 4 BIT 3 BIT 2 BIT 1 BIT 0
STAR0 RD SOC[7] SOC[6] SOC[5] SOC[4] SOC[3] SOC[2] SOC[1] SOC[0] STAR1 RD SOC[15] SOC[14] SOC[13] SOC[12] SOC[11] SOC[10] SOC[9] SOC[8] STAR2 RD ITMP[7] ITMP[6] ITMP[5] ITMP[4] ITMP[3] ITMP[2] ITMP[1] ITMP[0]
STAR3 RD ITMP[15] ITMP[14] ITMP[13] ITMP[12] ITMP[11] ITMP[10] ITMP[9] ITMP[8] STAR4 RD VA[7] VA[6] VA[5] VA[4] VA[3] VA[2] VA[1] VA[0] STAR5 RD VA[15] VA[14] VA[13] VA[12] VA[11] VA[10] VA[9] VA[8]
Table 44. Status Register Group B
REGISTER RD/WR BIT 7 BIT 6 BIT 5 BIT 4 BIT 3 BIT 2 BIT 1 BIT 0
STBR0 RD VD[7] VD[6] VD[5] VD[4] VD[3] VD[2] VD[1] VD[0] STBR1 RD VD[15] VD[14] STBR2 RD C4OV C4UV C3OV C3UV C2OV C2UV C1OV C1UV STBR3 RD C8OV C8UV C7OV C7UV C6OV C6UV C5OV C5UV STBR4 RD C12OV C12UV C11OV C11UV C10OV C10UV C9OV C9UV
STBR5 RD REV[3] REV[2] REV[1] REV[0] RSVD RSVD MUXFAIL THSD
VD[13] VD[12]
VD[11] VD[10] VD[9] VD[8]
Table 45. COMM Register Group
REGISTER RD/WR BIT 7 BIT 6 BIT 5 BIT 4 BIT 3 BIT 2 BIT 1 BIT 0
COMM0 RD/WR ICOM0[3] ICOM0[2] ICOM0[1] ICOM0[0] D0[7] D0[6] D0[5] D0[4] COMM1 RD/WR D0[3] D0[2] D0[1] D0[0] FCOM0[3] FCOM0[2] FCOM0[1] FCOM0[0] COMM2 RD/WR ICOM1[3] ICOM1[2] ICOM1[1] ICOM1[0] D1[7] D1[6] D1[5] D1[4]
COMM3 RD/WR D1[3] D1[2] D1[1] D1[0] FCOM1[3] FCOM1[2] FCOM1[1] FCOM1[0] COMM4 RD/WR ICOM2[3] ICOM2[2] ICOM2[1] ICOM2[0] D2[7] D2[6] D2[5] D2[4] COMM5 RD/WR D2[3] D2[2] D2[1] D2[0] FCOM2[3] FCOM2[2] FCOM2[1] FCOM2[0]
680412fc
52
For more information www.linear.com/LTC6804-1
Page 53
LTC6804-1/LTC6804-2
operaTion
Table 46. Memory Bit Descriptions
NAME DESCRIPTION VALUES
GPIOx GPIOx Pin Control Write: 0 -> GPIOx Pin Pull-Down ON; 1-> GPIOx Pin Pull-Down OFF (Default)
REFON Reference
SWTRD
ADCOPT
VUV Undervoltage
VOV Overvoltage
DCC[x]
DCTO Discharge Time
CxV Cell x V
GxV GPIO x Voltage* x = 1 to 5 16-Bit ADC Measurement Value for GPIOx
REF 2nd Reference
SOC Sum of Cells
ITMP Internal Die
VA Analog Power
VD Digital Power
CxOV Cell x Overvoltage
CxUV Cell x
REV Revision Code Device Revision Code. See Revision Code and Reserved Bits in Operation Section. RSVD Reserved Bits See 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 x x = 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.
Comparison voltage = (VUV + 1) 16 100µV Default: VUV = 0x000
Comparison voltage = VOV 16 100µV Default: VOV = 0x000
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
0 1 2 3 4 5 6 7 8 9 A B C D E F
Disabled 0.5 1 2 3 4 5 10 15 20 30 40 60 75 90 120
0 1 2 3 4 5 6 7 8 9 A B C D E F
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
NAME DESCRIPTION VALUES
MUXFAIL Multiplexer Self-
THSD Thermal
ICOMn Initial
Dn I
FCOMn Final
*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
Write I2C 0110 0001 0000 0111
T STOP BLANK NO TRANSMIT
STAR
SPI 1000 1001 1111
CSB Low CSB High NO TRANSMIT
Read I2C 0110 0001 0000 0111
START from Master STOP from Master SDA Low Between Bytes SDA High Between
SPI 0111
Data Transmitted (Received) to (From) I2C/SPI Slave Device
Write I2C 0000 1000 1001
Master ACK Master NACK Master NACK + STOP
SPI X000 1001
CSB Low CSB High
Read I2C 0000 0111 1111 0001 1001
ACK from Master ACK from Slave NACK from Slave ACK from Slave +
SPI 1111
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 com­mand 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
0xA0 0x01 0xAA
ACK FROM SLAVE
Figure 26. LTC6804 I2C Communication Example
STOP
ACK FROM SLAVE ACK 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
(0x24 0xB2)
c. Send
COMM0 = 0x85, COMM1 = 0x50 ([CSBM low] [B0] [CSBM low]),
COMM2 = 0x8A, COMM3 = 0xA0 ([CSBM low]
[B1] [CSBM low]),
COMM4 = 0x8C, COMM5 = 0xC9 ([CSBM low]
[B2] [CSBM high])
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
0x55 0xAA 0xCC
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 negative­temperature-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
–40 0
–20 20 6040 80
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 delta­sigma 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
decouple HF noise to V
. In systems where noise is less
ANALOG1 ANALOG2 ANALOG3 ANALOG4 ANALOG5 ANALOG6 ANALOG7 ANALOG8
ANALOG9 ANALOG10 ANALOG11 ANALOG12 ANALOG13 ANALOG14 ANALOG15 ANALOG16
S0
2
S1
3
S2
4
S3
5
S4
6
S5
7
S6
8
S7
1
S0
2
S1
3
S2
4
S3
5
S4
6
S5
7
S6
8
S7
LTC1380
LTC1380
V SCL
SDA
GND
V
V SCL
SDA
GND
V
CC
15 14 13
A0
12
A1
11 10
EE
9
D
O
16
CC
15 14 13
A0
12
A1
11 10
EE
9
D
O
3
4
+
LTC6255
5
2
4.7k
4.7k
100Ω
1
1µF
37 33 32 31
27
10nF
680412 F32
LTC6804
V
REG
GPIO5(SCL) GPIO4(SDA)
V
GPIO1
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
CELL MEASUREMENT PERIODS CELL CALIBRATION PERIODS
CELL1/7 CELL2/8 CELL3/9 CELL4/10 CELL5/11 CELL6/12 CELL1/7 CELL2/8 CELL3/9 CELL4/10 CELL5/11 CELL6/12
DISCHARGE
PIN t
S1 OFF OFF ON ON ON OFF OFF OFF ON ON ON OFF S2 OFF OFF OFF ON ON ON OFF OFF OFF ON ON ON S3 ON OFF OFF OFF ON ON ON OFF OFF OFF ON ON S4 ON ON OFF OFF OFF ON ON ON OFF OFF OFF ON S5 ON ON ON OFF OFF OFF ON ON ON OFF OFF OFF S6 OFF ON ON ON OFF OFF OFF ON ON ON OFF OFF S7 OFF OFF ON ON ON OFF OFF OFF ON ON ON OFF S8 OFF OFF OFF ON ON ON OFF OFF OFF ON ON ON
S9 ON OFF OFF OFF ON ON ON OFF OFF OFF ON ON S10 ON ON OFF OFF OFF ON ON ON OFF OFF OFF ON S11 ON ON ON OFF OFF OFF ON ON ON OFF OFF OFF S12 OFF ON ON ON OFF OFF OFF ON ON ON OFF OFF
62
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 turn­ing 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 = ((remainder << 1)); remainder = (remainder ^ CRC15poly) } else { remainder = ((remainder << 1)); } } pec15Table[i] = remainder&0xFFFF; } }
unsigned int16 pec15 (char *data , int len) { int16 remainder,address;
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
CH2 ANALOG GPIO2
B
V
CC
GND ANALOG_COM V
CH1 ANALOG0 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 Compara­tor 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 ISOMD V
+
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 identi­cal 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 Table49.
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 equa­tions 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Ω
1k 1k
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Ω
1k 1k
49.9Ω
49.9Ω
49.9Ω
49.9Ω
1k 1k
49.9Ω
49.9Ω
10nF
GNDD
10nF
GNDC
10nF
GNDC
10nF
GNDB
10nF
GNDB
GNDD
GNDC
GNDC
GNDC
GNDB
GNDB
GNDB GNDA
10nF*
10nF*
10nF*
10nF*
LTC6820
IP
10nF*10nF*
49.9Ω
49.9Ω
10nF
GNDA
IBIAS
ICMP
IM V
1k 1k
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.5k 499Ω
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.5k 499Ω
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 col­lisions 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Ω
1k 1k
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
IM V
1k 1k
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.21k 806Ω
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
Table48. Recommended Transformers
MANUFACTURER PART NUMBER Dual Transformers
Pulse HX1188FNL –40°C to 85°C 60V (est) 1.5kVrms Pulse HX0068ANL –40°C to 85°C 60V (est) 1.5kVrms Pulse HM2100NL –40°C to 105°C 1000V 4.3kVdc – Pulse HM2102NL –40°C to 125°C 1000V 4.3kVdc Sumida CLP178–C20114 –40°C to 125°C 1000V (est) 3.75kVrms Sumida CLP0612–C20115 600Vrms 3.75kVrms Wurth Elektronik 7490140110 –40°C to 85°C 250Vrms 4kVrms Wurth Elektronik 7490140111 0°C to 70°C 1000V (est) 4.5kVrms Wurth Elektronik 749014018 0°C to 70°C 250Vrms 4kVrms Halo TG110–AE050N5LF –40°C to 85/125°C 60V (est) 1.5kVrms
Single Transformers
Pulse PE–68386NL –40°C to 130°C 60V (est) 1.5kVdc 2.5mm 6.7mm 8.6mm 6SMT – Pulse HM2101NL –40°C to 105°C 1000V 4.3kVdc – Wurth Elektronik 750340848 –40°C to 105°C 250V 3kVrms 2.2mm 4.4mm 9.1mm 4SMT – Halo TGR04–6506V6LF –40°C to 125°C 300V 3kVrms Halo TGR04–A6506NA6NL –40°C to 125°C 300V 3kVrms TDK ALT4532V–201–T001 –40°C to 105°C 60V (est) ~1kV Halo TDR04–A550ALLF –40°C to 105°C 1000V 5kVrms Sumida CEEH96BNP–LTC6804/11 –40°C to 125°C 600V 2.5kVrms 7mm 9.2mm 12.0mm 4SMT – Sumida CEP99NP–LTC6804 –40°C to 125°C 600V 2.5kVrms Sumida ESMIT–4180/A –40°C to 105°C 250Vrms 3kVrms 3.5mm 5.2mm 9.1mm 4SMT TDK VGT10/9EE–204S2P4 –40°C to 125°C 250V (est) 2.8kVrms
TEMPERATURE
RANGE V
WORKINGVHIPOT
/60s CT CMC H LW (W/LEADS) PINS
l l
l l
l l
l l
l
l l
l
l l
l l
l
l
l
l
l
l
6.0mm 12.7mm 9.7mm 16SMT
2.1mm 12.7mm 9.7mm 16SMT
l
3.4mm 14.7mm 14.9mm 10SMT
4.9mm 14.8mm 14.7mm 12SMT 9mm 17.5mm 15.1mm 12SMT
5.7mm 12.7mm 9.4mm 16SMT
10.9mm 24.6mm 17.0mm 16SMT
8.4mm 17.1mm 15.2mm 12SMT
8.4mm 17.1mm 15.2mm 12SMT
6.4mm 12.7mm 9.5mm 16SMT
l
5.7mm 7.6mm 9.3mm 6SMT
10mm 9.5mm 12.1mm 6SMT – – 9.4mm 8.9mm 12.1mm 6SMT – 2.9mm 3.2mm 4.5mm 6SMT – 6.4mm 8.9mm 16.6mm 6TH
10mm 9.2mm 12.0mm 8SMT
10.6mm 10.4mm 12.7mm 8SMT
AEC– Q200
l
l
l
l
l
l
l
l
Transformer Selection Guide
As shown in Figure 41, a transformer or pair of transform­ers 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. Table48 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. Table49 includes a list of suitable CMCs if the CMC is not already integrated into the transformer being used.
Table49. Recommended Common Mode Chokes
MANUFACTURER PART NUMBER
TDK ACT45B-101-2P
Murata DLW43SH101XK2
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 trans­former, the isoSPI connector or in between the trans­former 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.
48-Lead Plastic SSOP (5.3mm)
(Reference LTC DWG # 05-08-1887 Rev Ø)
12.50 – 13.10* (.492 – .516)
1.25 ±0.12
4445464748 43 42 4140393837 3635 34 33 31 3029 28 2726 2532
0.25 ±0.05
RECOMMENDED SOLDER PAD LAYOUT
APPLY SOLDER MASK TO AREAS THAT ARE NOT SOLDERED
5.00 – 5.60* (.197 – .221)
PARTING
LINE
0.10 – 0.25
(.004 – .010)
NOTE:
1.DRAWING IS NOT A JEDEC OUTLINE
2. CONTROLLING DIMENSION: MILLIMETERS
3. DIMENSIONS ARE IN
4. DRAWING NOT TO SCALE
5. FORMED LEADS SHALL BE PLANAR WITH RESPECT TO
0.55 – 0.95** (.022 – .037)
1.25
(.0492)
REF
MILLIMETERS
(INCHES)
0° – 8°
5.3 – 5.7
0.50 BSC
1.65 – 1.85
(.065 – .073)
*
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
1 2 3 45678 9 10 11 12 14 1516 17 1819 20 2122 232413
0.50
(.01968)
BSC
0.20 – 0.30
(.008 – .012)
TYP
7.40 – 8.20
(.291 – .323)
2.0
(.079)
MAX
0.05
(.002)
MIN
SEATING PLANE
76
680412fc
For more information www.linear.com/LTC6804-1
Page 77
LTC6804-1/LTC6804-2

revision hisTory

REV DATE DESCRIPTION PAGE NUMBER
A 10/13 T
B 6/14 Correction to TME Test Conditions, V(CO) = V
C 10/16 Absolute maximum voltage between V
corrected from 125°C to 150°C
JMAX
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 representa­tion that the interconnection of its circuits as described herein will not infringe on existing patent rights.
For more information www.linear.com/LTC6804-1
680412fc
77
Page 78
LTC6804-1/LTC6804-2
isoSPI PORT A
CELL12
100Ω
CELL11
isoSPI PORT B

Typical applicaTion

Basic 12-Cell Monitor with isoSPI Daisy Chain
3.6V
3.6V
CELL3
3.6V
CELL2
3.6V
+
33Ω
+
CELL3 TO CELL11 CIRCUITS
+
+
33Ω
100Ω
100Ω
BSS308PE
100Ω
100Ω
BSS308PE
100Ω
3.3k
10nF
3.3k
10nF
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
SDO (NC)
SCK (IPA)
CSB (IMA)
IPB
IMB
ICMP
IBIAS
SDI (NC)
ISOMD
WDT
DRIVE
V
REG
SWTEN
V
REF1
V
REF2
GPIO5 GPIO4
GPIO3 GPIO2 GPIO1
100nF
100nF
TG110-AE050N5*
1
806Ω
1.2k
V
V
C0 S1
1µF
120Ω
120Ω
10nF
NSV1C201MZ4
1µF
1µF
680412 TA02
16
2
15
3
14
6
11
7
10
8
9
10nF
*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 DESCRIPTION COMMENTS
LTC6801 Independent Multicell Battery Stack Fault Monitor Monitors Up to 12 Series-Connected Battery Cells for Undervoltage or
LTC6802 Precision Multicell Battery Stack Monitor 1st Generation: Superseded by the LTC6804 and LTC6803 for New Designs LTC6803 Precision Multicell Battery Stack Monitor 2nd Generation: Functionally Enhanced and Pin Compatible to the LTC6802 LTC6820 Isolated Bidirectional Communications Interface for SPI Provides an Isolated Interface for SPI Communication Up to 100 Meters,
LTC3300 High Efficiency Bidirectional Multicell Battery Balancer Bidirectional 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
For more information www.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...