Other Parts Discussed in Thread: BQ79616
Hi,
I'm facing a problem with the shunt current reading (CURRENT HI/MID/LO registers).
The BQ79631's Main and CS ADCs are configured in Continuous run (MAIN_MODE = 0x10).
In this case, I'm giving a single start of conversion command together within the ADC configuration. The problem is that the current value read back from the CURRENT HI/MID/LO registers is always near 0 (raw value from ADC) and the conversion to ampers is also accordingly in the order of tens of mA. I tried to apply different values of differential voltages between SRP and SRN pins (5-10-20-30 mV), but with the same result.
I also noted that the auxiliary current value, sampled through the main ADC (CSAUX_HI/LO registers), is correctly sampled and agrees with the voltage applied to the SRP-SRN pins.
I think that this problem could be related to the ADC configuration that I used.
Could you please explain how the CS ADC works and how to properly configure it to obtain a correct reading?
Thanks in advance,
Daniele