Hello,
I'm a university student working on a 10-series BMS using the BQ78350-R1 and the BQ769300.
I did some research and looked at other forums to get started with SMBus using an I2C Interface (BLE113).
This is what I have so far, but I can't figure out what is or isn't happening correctly. I have here attached code, examples, and the Logic Analyzer.
Any help would be appreciated!
-------------------------------------------------------------
Based off of the TI I2C Compatibility Worksheet...
Block Write = SMBus Address // Command // N Bytes (Write) // Data
Block Read = SMBus Address (Write) // Command // Restart // SMBus Address (Read) // N Bytes (Read) // Data
The example DF Write and Read from the Fuel Gauge Technical:
This is my code in IAR to write. The TRUE parameter is simply the repeated start.
I am attempting to write to the address 0x4466 the value 0x00 then read that value back.
Here is the response:
As far as I am aware, the 0x0B is just the 0x16/0x17 write/read shifted for my I2C implementation?
Thanks,