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.

BQ27220: test subcommand through FW_VERSION

Part Number: BQ27220
Other Parts Discussed in Thread: BQSTUDIO

Hi,

We succeed in reading Design Capacity(0x3C,0x3D), State of charge(0x2C,0x2D)

But we have no idea how to get data through subcommand with Control/Control Status.

 

For example, we'd like to read "2.1.3 FW_VERSION",

Do we just need to send 0x00, 0x02, 0x00 besides chip i2C address?  While 0x00 is the address of Control

And 0x02, 0x00 is the sub command in little endian?

 

"Control()/CONTROL_STATUS():0x00 and 0x01"

Are Control and CONTROL_STATUS two register with different address?

Or they are the same thing.

and when we send subcommand like 2.1.3 FW_VERSION. what should we do?

we should read MACDataLen() first to get result length, and then read MACData() according to MACDataLen?

Best