SLAAEB3 may   2023 MSPM0L1106 , MSPM0L1106

PRODUCTION DATA  

  1.   1
  2.   Abstract
  3.   Trademarks
  4. 1Introduction
  5. 2Hardware Connection
  6. 3Software Structure and Important Functions
    1. 3.1 System Initialization
    2. 3.2 Low-Level Command Control
    3. 3.3 High-Level Function
  7. 4Test Result of Important Functions
    1. 4.1 Read Alarm Status
    2. 4.2 Read Safety Status
    3. 4.3 Read PF Status
    4. 4.4 Read Current
    5. 4.5 Read All Temperatures
    6. 4.6 Read All Voltages
  8. 5References

Read All Voltages

Table 4-6 shows how to read the PF status of BQ76952. The Cell Voltages commands cover from 0x14 to 0x38, including all cell voltages, Stack voltage, PACK pin voltage, and LD pin voltage. In the following example, we connect 24.5 V DC power supply to the BQ76952EVM, and the Cell 1 voltage is read by writing the I2C command 0x14 followed by a 2-byte read. The data is returned in little format. In the following example, the 16-bit Cell 1 voltage read 0x05FC, which corresponds to 1532 mV. And the Stack voltage read 0x0988, which corresponds to 24.4 V.

Table 4-6 Cell Voltage Command Description
Command Name Unit Type Description
0x14 Cell 1 Voltage mV I1 16-bit voltage on cell 1
0x16 Cell 2 Voltage mV I1 16-bit voltage on cell 2
0x18 Cell 3 Voltage mV I1 16-bit voltage on cell 3
0x1A Cell 4 Voltage mV I1 16-bit voltage on cell 4
0x1C Cell 5 Voltage mV I1 16-bit voltage on cell 5
0x1E Cell 6 Voltage mV I1 16-bit voltage on cell 6
0x20 Cell 7 Voltage mV I1 16-bit voltage on cell 7
0x22 Cell 8 Voltage mV I1 16-bit voltage on cell 8
0x24 Cell 9 Voltage mV I1 16-bit voltage on cell 9
0x26 Cell 10 Voltage mV I1 16-bit voltage on cell 10
0x28 Cell 11 Voltage mV I1 16-bit voltage on cell 11
0x2A Cell 12 Voltage mV I1 16-bit voltage on cell 12
0x2C Cell 13 Voltage mV I1 16-bit voltage on cell 13
0x2E Cell 14 Voltage mV I1 16-bit voltage on cell 14
0x30 Cell 15 Voltage mV I1 16-bit voltage on cell 15
0x32 Cell 16 Voltage mV I1 16-bit voltage on cell 16
0x34 Stack Voltage mV I1 16-bit voltage on top of stack
0x36 PACK Pin Voltage mV I1 16-bit voltage on PACK pin
0x38 LD Pin Voltage mV I1 16-bit voltage on LD pin
GUID-BB66EB09-9F84-4B44-95DC-11B138BC74A5-low.png Figure 4-7 Captured I2C Waveform for Cell Voltage Reading
GUID-D84DBBD1-A157-4017-B843-7AB9198FA04C-low.png Figure 4-8 Register Values for Cell Voltage Reading