Hi,
We are working on a BMS design using two bq76pl455a-q1 ICs with stm32f207 microcontroller as master.
We could get the addressing and configuration done for the battery monitor IC but reading and sampling voltage values gives us a wrong response even if we try with different sampling rates or change the 16 bit addressing commands to 8 bit ones. We tried two approaches --> sampling, storing and returning the results as well as the other approach of sampling and storing as given in the software technical manual (PFA below). Correct voltage values are received for some but some channels were constantly on a default value of 5V which was verified with the logic analyzer as well.
The commands passed for reading channel data are given below:
//read data from all 16 cell channels, 8 aux channels and sum of voltages
data[0] = 0x89; //read all channels- 16cells, 8aux, sum of volt
data[1] = 0x00;
data[2] = 0x00;
data[3] = 0x02;
data[4] = 0x00;
(data[5] data[6] are the higher and lower bits of the CRC)
Kindly tell us if we are accessing the channels in a wrong way or if there is a particular sample rate or a UART baud rate to be used.
Documents referred:
bq76PL455A-Q1 SOFTWARE TECH MANUAL: https://www.ti.com/lit/an/slva617a/slva617a.pdf?ts=1615918882996
bq76PL455A-Q1 datasheet
Thanks.