I see All the SMBus commands for manipulating registers in the documentation:
https://www.ti.com/lit/ds/symlink/bq2085-v1p3.pdf
But I can't figure out where to find the commands to read/write data flash memory. Please help.
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.
I see All the SMBus commands for manipulating registers in the documentation:
https://www.ti.com/lit/ds/symlink/bq2085-v1p3.pdf
But I can't figure out where to find the commands to read/write data flash memory. Please help.
Found the working solution in the document for bq2083:
Read
Reading the data flash is a two step process:
Using the SMBus write word protocol, use command code 0x51 and let the LSB data byte be the address of the flash location. The MSB data byte is set to 0.
Using the SMBus read word protocol, use command code 0x52 to retrieve the data.
Write
Using the SMBus write word protocol, use command code 0x50. Place the address of the flash location into the LS byte of the data word. Place the data to be written into the MS byte data word.