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.

HDQ and bq27541-v200

Other Parts Discussed in Thread: BQ27541, BQ27541-V200

Gentlemen,

I am new to HDQ and bq27541 and I am having problems talking to the bq27541 battery gauge using HDQ(or HDQ16).   According the datasheet, all commands are 16-bit and HDQ version used still seem to be 8-bit.  Therefore my question is how do I send 16-bit command using 8-bit protocol (for example, reading temperature requires sending 0x0706 command and results in 16-bit value?  Do I send first LSB command byte (with R flag on the 8-th bit), then read 8-bit reply from the gauge and then repeat that for the MSB or should I just shoot 16-bit command and sample for 16-bit reply?   Does anyone have code example for reading bq27541-v200 in HDQ mode?

I would be thankful for any suggestions/pointers or answers.

Cheers,

Moe