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.

BQ27421-G1: Please describe how the DM_CODE (control command, sub-addr 0x0004) is derived

Part Number: BQ27421-G1
Other Parts Discussed in Thread: BQSTUDIO

Hi,

I would like to read the DM_CODE from a bq27421-g1 gas gauge IC and compare it to a DM_CODE stored in my application's FLASH memory.  If the DM_CODE values match, it will be assumed that the device's data memory parameters match those stored in the application FLASH.  Else if the DM_CODE values are not equal, the data memory in the bq27421-g1 would be updated with the parameters stored in FLASH.

1.  Is comparing DM_CODE values a valid method of determining if the contents of a device's data memory matches the contents of a golden image for the bq27421-g1?

2.  Does the DM_CODE change as data memory parameters such as the RA table are updated over time?

3.  How is the DM_CODE created?

Thank you for your help.

Sincerely,

Doug Young