10 years, 10 months ago.

BM-LTC6802-1

Any one can explain how to program the battery cells management IC (LTC6802-1)

Hi Ali,

I wrote a library for the LTC6804 that you may have seen. Now, I just took a look at the LTC6802 datasheet, and the protocols are similar, not same. The commands are slightly different, and the register mapping is different, but the SPI message format (command + PEC or command + data + PEC) is the same. You can look at the library and modify it to suit the LTC6802. The PEC calculation for your device will need to be modified (8bits as opposed to 16 in LTC6804).

If you are only using 1 chip, the SPI interface is pretty easy to hand-code. Multiple chips begins to get confusing as data from each chip gets cascaded onto the frame. Look at my code for multi-chip daisy-chain use. Also take a look at BMSafe, a code.google project using the LTC6802. Linear Tech. also posted Linduino (Arduino-like) source for driving the LTC6804s.

posted by Parth P 01 Jan 2015

What exactly your code doing? because what I need to do is to display voltage for 8 cells with activating the balancing function.

posted by ALI REDHA 07 Jan 2015

Hi Parth, where can i see your LTC6804 library? It is not online on mbed.org

Best regards

posted by Balint Hanula 11 Oct 2015
Be the first to answer this question.