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.

BQ40Z50-R2: Read without ACK and read another register with error following

Part Number: BQ40Z50-R2
Other Parts Discussed in Thread: BQ40Z50, EV2400

Hi team

We have facing an issue, for customer reading the 0X0054 with no ACK, and then read another register like 0X0D/0X08, the first feedback is 0X17, it is likely when there have an error read, then the next read will have a error response. We need your help about :

1. What is the action need to do when read a register without ACK(error read)?

2. is there some suggestion when doing continue read of 0X0054 and 0X0D?  currently is waiting for 1s and read the 0X0054 and 0X0D, is there some suggestion for the read period?

3. Is there some guide line for continue read the registers of BQ40Z50?

Thanks

Jun Shen

  • Hello Jun,

    There is not enough information for us to assist, there are multiple reasons why the gauge may NACK a communication, it could be bad bus characteristics, host not supporting clock stretching, errors in the communication driver on host side, etc.

    The registers are only updated once per second, anything faster than that would be duplicate information.

    You can use a logic analyzer and EV2400 to see examples of the communication structures, this is the best way to debug your own driver.

    Sincerely,

    Wyatt Keller