I am writing software for DFI programming of bq27541 and am following the document SLUA504A and figures 8, 9, and 10. Everything works fine until I get to programming back the IF rows in figure 10. I write row 1 and then row 0, calculate checksum and try to do the following two checksum commands:
CMD (0x64) DATA (LSB of checksum)
CMD (0x65) DATA (MSB of checksum)
When I send these commands I get an error 6 for the first line and error 772 for the second. These steps are also done earlier in the procedure and are fine.
What might be the problem?
Thanks.