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.

BQ76952: Positive CC2 Current Measurement Failure

Part Number: BQ76952
Other Parts Discussed in Thread: BQ34Z100

Tool/software:

Hello, 

My project involves a system using a BQ76952 AFE and a BQ34z100 gauge. In this system, I'm communicating with the AFE and the gauge using an MCU. Communication is done via two different I2C channels.
I have no problems with this communication using the gauge, but I'm having some issues with the AFE.

1) I want to read the charge/discharge currents via the AFE. Should I read the CC2_Current value?

2) When I read the CC2_Current value via the AFE, I get the correct (as expected) value for negative currents, but I'm having problems with positive currents. When I charge the board with a positive 8A current, the AFE reads inconsistent values with constantly changing values. What could be the reason for this? The current readings are analyzed both through BQ Studio and the MCU. Both show the same incorrect result.

3) Why does BQ Studio display incorrect positive current values when communicating via a separate I2C channel?

4) When I run the same setup with different code, I see that the AFE is reading positive currents correctly. Therefore, I don't think there's a problem with the setup. But how could an MCU code that communicates in the same way distort the current values displayed in BQ Studio?

By the way, I'm reading all AFE values correctly but only the CC2_Current value is showing this error.

I have also added the log table I got from BQtudio below.

When I read the correct value, the value of CC1 and CC3

CC3Current CC1Current
874 874
879 879
884 885
885 885

When I read wrong value CC1 and CC3 value

CC3Current CC1Current
1037 884
776 977
897 1051
813 1016
  • Hello Betül,

    1. Yes, you should read the CC2 current value.

    2. You are using the correct 0x3A CC2 Current() command? What is the value returned when you do this? What is the CC2 counts value as well? Also, what is your FASTADC value configured to for CC2?

    3/4. Can you explain what has changed in the code? The difference may help me better understand why it might be working for one method.

    Have you calibrated your current? For steps on calibration, refer to Section 2.6 of the calibration guide. This may help with the reading accuracy. 

    Regards,

    Rohin Nair