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.

Writing at production, i2c vs smbus



In the document slua449d.pdf, it talks about writing I2C to a particular device address and registers.  For example, I see lines like this in the bqfs:
W: 16 04 83 DE
Which I assume is meant to do a full erase of memory. However, in a document like sluu225, it talks about sending SMBus commands, so to do a Mass Erase, you'd do
Smb_FlashMassErase = smb_write_word(0x7, 0x83de)
I understand how to SMBus commands, since it is analogous to doing typical SBS commands. However, I don't understand how to do the I2C read/writes. Do you know how to translate the bqfs commands into SMBus commands? For example, what would a typical data write sequence as below look like in SMBus commands:

W: 16 00 02
W: 16 01 05 00
W: 16 04 F7 A0 04 F8 A1 04 02 AB 18 80 2B 0E DF BF 0E 02 CF 02 FF 78 03 FF 79 03 FF 74 03 FF 75 03 C4 FF 33 FF FF 23 FF 78 03 FF 79 03 FE AF 16 6F A0 0E 7F A1 0E 7F AF 0E 01 CF 02 02 A0 0E B8 A1 0E 00 AF 18 44 FF 36 00 AF 18 03 1F 0E 44 FF 36 FB 7F 3A E0 FF 00 7C EE 3A F1 AF 04 7F BF 0E F1 BF 01
W: 16 64 E5 2A
X: 2
C: 16 66 00
Thanks.

Charlie