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: Datasheet understanding - General queries on boot sequence, fault recovery etc

Part Number: BQ76940
Other Parts Discussed in Thread: TIDA-00449

I have been developing host driver for the bq76940 AFE module, I have listed the queries or doubts below,

1.As per the datasheet, we can set a fixed delay and thresholds for each faults supported by AFE, Once the Fault is detected corresponding Bit will be set in the SYS_STATUS register and alert interrupt will be generated, how the host knows the particular fault is cleared? 

2.As per my understanding, once the host is interrupted with the fault let's say OCD fault, host will clear the OCD status bit, host has to poll AFE with a period greater than the OCD delay and reads the OCD status bit, if the bit is not set then host understands the fault is cleared, Is my understanding correct?

3.In order to clear a bit in SYS_STATUS register, we need set the bit with 1 , which inturn clears the bit in SYS_STATUS register. Is my understanding correct?

4.Once the AFE detects a fault, immediately AFE sets the state of DSG and CHG mosfet as per below table without the interventions of the host controller?

5. In order to exit from ship mode to normal mode, voltage greater than Vboot is applied for a period greater than Tbootmax on the TS1pin, After Tbootmax , voltage on TS1 pin can go to zero it will not affect the boot sequence, Is my understanding correct?

6.In the middle of a normal operation, suddenly host undergoes a software reset then how the host knows the afe mode whether it is in ship mode or normal mode?

  • Hi Rudresh,

    You can find code examples for the BQ76940 online. For example, TIDA-00449 has example code you can download. You may also find several examples from other users on sites like Github.

    See the answers to your questions below:

    1. The host is responsible for clearing the fault and re-enabling the FETs. The host can measure the parameters related to the fault to determine whether it should be cleared. For example if there is an over-voltage fault, the host can read the cell voltages and if they are below the threshold, it can clear the fault in the SYS_STAT register and re-enable the CHG FET.

    2. Yes, that is correct.

    3. Yes

    4. Yes.

    5. That is correct.

    6. The device should only enter SHIP mode by a command sequence from the host. The host should not be able to communicate with the BQ76940 if it is in SHIP mode. 

    Best regards,

    Matt