Analog Devices DC2792B Demo Manual Download Page 3

3

DEMO MANUAL DC2515A

Rev. 0

JUMPERS

USING OTHER SPI MASTER BOARDS

DC2515 SERIAL INTERFACE OPTIONS

The on-board jumpers must be set to match the desired 

mode of operation. These jumpers can enable the Dis-

charge Timer and select the serial communication mode 

of the battery stack monitor IC.

ISOMD Jumpers JP1, JP2, and JP4

0: Set jumpers to 0 for standard SPI communication to 

the IC through the J4 connector.

1: Set jumpers to 1 for isoSPI communication to the IC 

through either the J1 or J2 connector.

DTEN Jumper JP3

0: Set jumpers to 0 for Discharge Timer disable.
1: Set jumpers to 1 for Discharge Timer enable.

The DC2515 has several communication options. The 

DC2026 Linduino One provides a USB-to-SPI interface, 

and is ideal to interface from a PC to any SPI device. In 

this case, the DC2026 SPI interface can connect directly 

to the DC2515 (see section entitled DC2026 to DC2515 

SPI Connection for details). Alternately, the DC2026 SPI 

can be translated to isoSPI via the DC1941 (single isoSPI 

channel) or DC2792 (dual isoSPI channels) demo boards. 

The DC2792 dual master isoSPI demo board can be con-

nected as a typical single-ended isoSPI bus master or to 

both ends of a reversible configuration with two isoSPI 

bus masters. The DC1941 can be connected as a typical 

single-ended isoSPI bus master.

When a different SPI Master microcontroller board is used 

instead of the DC2026, more components or equipment 

are required to properly interface to the demo boards. 

Here are the requirements:

SPI MISO Line

Most SPI Master microcontroller boards will not have a 

SPI MISO line pull-up. A 5kΩ pull-up resistor is required 

on the SPI MISO line because the battery stack monitor 

IC SDO is an open drain NMOS output pin. Otherwise, 

the SPI MISO line will be floating where the SPI readback 

of each byte will typically appear as no response or all 

one’s or 0xFF’s. There are several places where the pull-up 

resistor can be installed. On the microcontroller board, a 

5kΩ resistor can be added between the microcontroller 

SPI MISO line and the microcontroller VCC pin.

isoSPI IC Power

A separate 5V power supply is required when using a 

different SPI Master microcontroller board. The DC2026 

J1 header provides power for the isoSPI IC through the 

14-pin ribbon cable into the DC2792 J1 header or the 

DC1941  J2 header. Refer to demo manual DC2792A 

or demo manual DC1941D for external power supply 

instructions.

Summary of Contents for DC2792B

Page 1: ...ective owners PERFORMANCE SUMMARY to control the battery stack monitor IC and receive data through a USB serial port The DC2026C provides a stan dard SPI interface which can be connected directly to a...

Page 2: ...in Table 1 Alternatively resistors can be used to simulate battery cell voltages 100 0 5W or equivalent resistors are rec ommended because 100 or lower values typically will not induce measurement err...

Page 3: ...nected as a typical single ended isoSPI bus master or to both ends of a reversible configuration with two isoSPI bus masters The DC1941 can be connected as a typical single ended isoSPI bus master Wh...

Page 4: ...sy chain the DC2515 to another DC2515 in isoSPI mode This DC2515 is the last or top board of a two board stack More DC2515 upper boards can be daisy chained together in the same manner a Connect a RJ4...

Page 5: ...on c JP3 can be 0 or 1 depending if the Discharge Timer function is being used 4 Connect or daisy chain the DC2515 to another DC2515 inisoSPImode ThisDC2515isthelast or top board ofatwo boardstack Mor...

Page 6: ...can be 0 or 1 depending if the Discharge Timer function is being used 4 Connect or daisy chain the DC2515 to another DC2515 in isoSPI mode This DC2515 is the first or bottom board of a two board stack...

Page 7: ...JP4 to 1 for isoSPI communication c JP3 can be 0 or 1 depending if the Discharge Timer function is being used 4 Connect or daisy chain the DC2515 to another DC2515 inisoSPImode ThisDC2515isthelast or...

Page 8: ...ls Figure 6 shows the proper board settings 1 JP2 VCC DC590 2 JP3 ENABLE EN 3 JP4 SLOW 0 4 JP5 MODE MASTER 5 JP6 VCCS VCC 6 JP7 PHA 1 7 JP8 POL 1 8 JP9 JP10 VTH VTH2 Figure 6 DC1941 isoSPI Master Mode...

Page 9: ...C2515 JP1 JP2 and JP4 to 1 for isoSPI communication c JP3 can be 0 or 1 depending if the Discharge Timer function is being used 5 Connect or daisy chain the DC2515 to another DC2515 inisoSPImode ThisD...

Page 10: ...JP2 and JP4 to 1 for isoSPI communication c JP3 can be 0 or 1 depending if the Discharge Timer function is being used 5 Connect or daisy chain the DC2515 to another DC2515 in isoSPI mode This DC2515...

Page 11: ...r IC open drain SDO and an easy ribbon cable connection for SPI communication through the DC2515 14 pin QuikEval J4 connector Arduino IDE Setup 1 Download then install the Arduino IDE onto the PC Deta...

Page 12: ...n DC2026 is usually the highest COM port number The PC screenshots used in this example show the DC2026 connected toCOM6 5 Select the correct Arduino compatible microcontroller board Under the Tools m...

Page 13: ...top right corner then the Serial Monitor window will open and show on the top left corner the COMxx used 9 Configure the Serial Monitor to allow communication to the DC2026 through USB On the bottom o...

Page 14: ...an be accessed by opening the Linduino html file as found in the main sketchbook directory shown below and in the Documentation directory What Is A Sketch A sketch is simply another word for a microco...

Page 15: ...ed by setting what the Measure field is equal to To Measure Cells and the Status register but not the AUX register the variables would be setup as shown below const uint8_t MEASURE_CELL ENABLED This i...

Page 16: ...isclose or transfer any portion of the Evaluation Board to any other party for any reason Upon discontinuation of use of the Evaluation Board or termination of this Agreement Customer agrees to prompt...

Reviews: