LTC6810-1
Production
The LTC6810 is a multicell battery stack monitor. The LTC6810 measures up to 6 series-connected battery cells with a total measurement error of less than...
Datasheet
LTC6810-1 on Analog.com
Hi, im working on my final MSc Project wich is a BMS.
It is based on an LTC6810, wich in my case i used an DC2515B and an DC1941D isoSPI interface.
So far so good, i´ve tested the system using the DC2515b code on an arduino UNO and it all works well, the problem arrises when using an ESP32, wich i cant seem to make it communicate with the DC2515b.
Im thinking that the problem is with the SPI programming...can anyone help me with this?
Thank you in advance
Thanks for you inquiry. I am looking into this and will answer your query as soon as I can.
Solved!!
Just needed to add initial SPI configurations in DC2512.ino file,
in setup{
pinMode(5, OUTPUT);
SPI.begin(18, 19, 23, 5);
SPI.beginTransaction(SPISettings(1000000, MSBFIRST, SPI_MODE3));
}
and in LTC681x.h need to set cs_pin like this
#define CS_PIN 5
Is this Code use to simulate LTC6810 and test the BMS. Means BMS will send commands and ESP32 will response cell voltages and GIPO Values?