Tool/software:
During testing, we found that the normal read voltage is 0X200, but occasionally it reads 0X2FF, or when the normal voltage is 0X1FF, it occasionally reads 0X100. Considering that the SPI communication used by the BQ76972 chip splits data into bytes, with each byte read one by one along with CRC verification before being combined, we suspect that the voltage value of the BQ chip may be updated after reading the high - order byte but before reading the low - order byte, resulting in a misalignment between the high and low bytes of the voltage.
We are considering whether we can detect the fullscan or ADSCAN flag bits and read the voltage value immediately after they are set.
However, when reading, are these data latched to ensure the integrity of the data being read?
Or is there any other method to ensure that the data currently being read will not be updated during the reading process, thus avoiding the situation where the read high and low bits do not belong to the same data?