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.

CCS/BQ34Z100: How to send Control() Subcommand and read its data with I2C?

Part Number: BQ34Z100

Tool/software: Code Composer Studio

Hi team,

When using Control() Subcommands of bq34z100 with I2C, I encountered some questions as below.

1. because Control(): 0x00/0x01 has one byte and Control() Subcommands has 2 bytes, if I want to read HW_VERSION(0x0003), whether the host need to send 2 commends with below format?

 Start+ADDR[6NACK:0]+0+ACK +CMD[7:0](0x00/0x01)+ACK+START+DATA[7:0]……NACK+STOP

 Start+ADDR[6NACK:0]+0+ACK +CMD_H[7:0](0x00)+ACK+ CMD_L[7:0](0x03) +ACK +START+DATA[7:0]……NACK+STOP

2.After sending, if the host wants to read data of HW_VERSION(0x0003) with I2C, Is the least significant bit (LSB) or MSB of a data byte (command) transmitted

first?

3. Does TI have I2C sample code for BQ34Z100?

Thanks and best regards,

Sophia