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 Alarm Status

Table 4-1 shows how to read the alarm status of BQ76952. The BQ769x2 ReadAlarmStatus function can be used to retrieve the alarm bits. As Figure 4-1 shows, the read back value is zero before configuring the BQ76952, and related bits change after BQ769x2_Init. The data is returned in little byte order format, in the following example, the 16-bit Alarm Status read 0x5082, which corresponds to a bit is set in Safety Status A (), full voltage scan complete, and voltage ADC scan complete. More description of register can be found in the technical reference manual.

Table 4-1 Alarm Status Command Description
Command Name Unit Type Description
0x62 Alarm Status Hex H2

Latched signal used to assert the ALERT pin. Write a bit high to clear the latch.

Bit descriptions can be found in Alarm Status Register.

GUID-F082086F-B76A-4C1B-855A-1B91E4F5712B-low.png Figure 4-1 Captured I2C Waveform for Alarm Status Reading