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.

bq40z50 Device Number, Version and Build Number

Other Parts Discussed in Thread: BQSTUDIO

Assuming Device Type (0x0001 command) and Device Number (contained in result of 0x0002 command) are the same, there is a discrepancy in the results of these two commands with respect to byte order:
0x0002 = 02 00 45 00 00 12 00 18 00 03 85 02 00
0x0001 = 01 00 00 45
Based on the way bqStudio starts up, I assume the 0x0002 command structure is correct (except the byte order is not as described in section 12.1.3 of the TRM).

Also, I programmed the firmware from TI (Version 0.12, Build 24), but when command 0x0002 reads it out (above), the version number looks like it's decoded as BCD, but the Build is decoded as hex (18h == 24)?

Could someone verify this?

Discrepancies like these make it difficult to explain in written procedures!

Thanks.

tom

  • The TRM appears to be wrong with byte swapping in this case. It looks like bytes are not swapped when a block of data is read and reported. The Device Number = 4500, Version=0012, Build Number=0018H, etc. The Device Tyoe is byte swapped and the Device Type = 4500.