16
Rev. 0
The DC2732A can be controlled by the Linduino One
(DC2026) board. The Linduino is an Arduino compatible
platform with example code that will demonstrate how to
control multicell battery stack monitor ICs and the stack
monitor LTC2949. Compared to most Arduino compatible
microcontroller boards, the Linduino offers conveniences
such as an isolated USB connection to the PC, built-in SPI
MISO line pull-up to properly interface with LTC2949’s
open-drain SDO, and an easy ribbon cable connection
for SPI communication through the DC2732A 14-pin
“QuikEval” J4 connector. Please see the Linduino web
page for more details.
Besides using the Linduino as a host controller, the
DC2732A can also operate with any other host controller,
that offers a SPI interface. Linux based evaluation, for
example using a Raspberry Pi, is also supported; please
contact Analog Devices for details.
SOFTWARE SETUP OVERVIEW
ARDUINO IDE SETUP
to the PC.
Detailed instructions can be found under the
quick start tab.
2. Set the Arduino IDE to open LTC2949 Sketchbooks.
From within the Arduino IDE, click on File menu
select Preferences. Then under Sketchbook location:
select Browse and locate the path to the extracted
LinduinoSketchbook2949.zip file that was provided
by ADI.
a. If there is already a BMS Sketchbook, it can be
extracted into the same folder as the bmsSketch-
bookBeta.zip.
b. Also, if there is already a local copy of
LinduinoScketchbook2949.zip, it can be extracted
into the LTSketchbook folder.
Figure 11. Arduino IDE Preferences, Sketchbook Location
Figure 12. Arduino IDE, COM-Port Setting
3. Close then re-open the Arduino IDE to enable the use
of the Sketchbook Location that was previously set.
4. Select the correct COM port to allow communication
to Linduino through USB. Under the Tools menu,
select Port
→
Select the highest number COMxx with
the “
√
" check mark symbol. There may be more than
one option; Linduino is usually the highest COM port
number. The PC screenshots used in this example
show the Linduino connected to COM6. To identify
the right COM port, unplug the USB cable and check
which port disappears from the Tools/Port menu.