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.

BQ76940: Program stops execution or no change while enabling and disabling charging and discharging register bits

Part Number: BQ76940

Hello 

I am able to communicate with BQ76940 and able to charge and discharge separately however when we try to include charging and discharging in a single program(using an optocoupler in order to detect when the charger is present) the program does not execute is it due to the ALERT pin (updated reading of coulomb counter available). Also I tried enabling CC_ONESHOT bit, but still the program only reads voltage and the discharging does not get executed. Hence kindly suggest what might be cause for this problem.

  • Hi Waseem,

    I am not sure I understand what you are describing when you say that the program does not execute and that discharging does not get executed. The BQ76940 is a monitor and it only reports voltages/current/temperature and will only disable the DSG FET if a protection has triggered. If the issue is that the DSG FET is disabled, you can read the SYS_STAT register to see what protections have triggered and debug why this is happening. The ALERT pin is an output to the microcontoller so it should not be disabling discharge (unless your microcontroller is doing this). 

    Regards,

    Matt