Hi!
As we are working with the BQ76942, we noticed the following behavior from the AFE.
We querry the AFE for the DA STATUS 5 (0x75) register periodically. We've noticed a problem when polling this register after altering a parameter to the AFE through the described config mode sequence. The write settings sequence we use is:
- Enter CONFIG_MODE,
- Wait for CONFIG_MODE set in battery status reading
- Write setting
- Exit CONFIG_MODE
- Wait for CONFIG_MODE false in battery status reading
If we querry the DA STATUS 5 register after this, there is "a chance" that the AFE will reset (issue is probably timing related to some extent). We notice this as all our configured registers being set to default values. After writing to the configuration, it seems like the FULLSCAN bit of the alarm status raw register (0x64) has been reset. If we wait for this FULLSCAN bit to become set before reading the DA STATUS 5, there seems to be no issue reading the DA STATUS 5.
There is no mentioning in the documentation of this. I'm using the SLUUBY1 – DECEMBER 2020 (the one from MAY is not accessible from your site at the moment). There is no note on the CONFIG_MODE that full scan bit is reset, and the FULLSCAN bit is claims to never be reset after first measurement in the documentation.
So, as a summary:
- The AFE reset upon the DA5 querry seems like a bug, have you seen this?
- Is the documentation for the CONFIG_MODE and Alarm Status Raw register bit FULLSCAN correct?
Best regards
Erik Almqvist