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 setting of BlockDataCheckSum()

Can we update several Data memory parameters at same time if they are in same BlockData()?
In this case, should we calculate checksum value all together?


For example, when we change Design Capacity and Design Energy,
Does the equation of new checksum become as the following?
temp = mod(255 - OLD_Csum - OLD_DesCap_MSB - OLD_DesCap_LSB - OLD_DesEne_MSB - OLD_DesEne_LSB, 256)
NEW_Csum = 255 - mod(temp + NEW_DesCap_MSB + NEW_DesCap_LSB + NEW_DesEne_MSB + NEW_DesEne_LSB, 256)


Best Regards,
Kohei Sasaki