This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CCS/BQ76920: how do I get the charging and discharging state by reading the CC_Register of Bq76920

Part Number: BQ76920


Tool/software: Code Composer Studio

Hii,

I am using Bq76920 and host as ATTINY .

Circuit configuration is as follows

1. Using Battery Pack with 3s Config (all the circuit is configured as per the information in D/S)

2. at the HOST I am setting the following registers

1. SYS_CTRL1 --> 0x10

2. SYS_CTRL2 --> 0x43

3. PROTECT1 --> 0x8C

4. PROTECT2 --> 0x5B

3. PROTECT3 --> 0x50

I am trying to read the CC Registers to get the CHG and DSG States. I am performing the following steps to read the Registers

1. CCREADING = (readRegister(CC_HI) << 8) | readRegister(CC_LOW); // to get the ADC Value of the CC Reading

Questions:

1. How do I detect CHG State and DSG State ??? (I am trying to glow different Color LED to show status of battery level in charging/discharging state ) 

2. As in D/S, this is given that CC_ready bit goes hight every 250 ms and this will toggle the alert pin. In my case alert pin is not going high?

  • (1) an easier scheme would be to read the SYS_CTRL1 register address ( 0x04) Load Detection feature. As an example when
    DSG(ON), CHG(OFF), PreCharge(OFF) ----> Load Present Bit -->0; DSG(OFF), CHG(OFF), PreCharge(OFF)----> Load Present bit---1
    (2) The MCU needs to determine what event triggered the fault ( example in the event of a SCD , OCD , the bq769x0 will turn off the DSG FET and set the status register) and CLEAR the fault in the STATUS register. After which the if the fault is NOT present the FET ( in this example) will turn ON the
    DSG FET output.