Part Number:BQ27742-G1
Hi,
Good Evening.
We are interfaced Renesas S124 MC with BQ27742-G1 device via I2C.
As per data sheet,
The fuel gauge supports the standard I2C read, incremental read, one-byte write quick read, and functions.
The 7-bit device address (ADDR) is the most significant 7 bits of the hex address and is fixed as 1010101, or 0x55.
The 8-bit device address is therefore 0xAA or 0xAB for write or read, respectively.
Control() command has command code 0x00 and 0x01
Sub command name : DEVICE_TYPE sub command code 0x0001.
S124 device is not able to read the device id from BQ27742.
I2C wave forms attached.
We need sample c sample code to read device ID and read/write any 16 bit data to/from device.
Regards,
Umesh
The I2C waveforms.docx'}" v:shapes="mceInsertMedia1558700447845">