Hello TI
I am reading data from battery refrying TI technical bq30z554-R1. I am able to read some data correctly but i am not able to read other data which highlighted in table. . In this table have mention what command i write and what response i got and how to i convert data into decimal value.
Please check the table and response back how can i read other data correctly. I highlighted data (orange) which i facing problem.
Thank You.
Sr.No | SMB Command | Parameter | Size and Data Type | 1st Byte | 2nd Byte | 3rd Byte | 4th Byte | 5th Byte | 6th Byte | 7th Byte | 8th Byte | 9th Byte | 10th Byte | 11th Byte | 12th Byte | 13th Byte | 14th Byte | 15th Byte | Conversion | Result |
One Time Read Data | ||||||||||||||||||||
1 | 0x20 | ManufacturerName | 15byte and String S21 | 14 | 71 | 114 | 101 | 97 | 116 | 98 | 97 | 116 | 99 | 104 | 32 | 73 | 110 | 99 | Convert into String | Greatbatch Inc |
2 | 0x0006 | Chemical ID | 255 | 255 | 255+255*256 | 65535 | ||||||||||||||
3 | 0x21 | Device Name | 11byte and String S21 | 10 | 80 | 84 | 48 | 48 | 48 | 51 | 51 | 50 | 49 | 55 | Convert into String | PT00033217 | ||||
4 | 0x1B | Manufacturer Date | 2 Byte Unsigned Int | 67 | 82 | 67+82*256 | 21059 | |||||||||||||
5 | 0x18 | Design Capacity | 2 Byte Unsigned Int | 2 | 8 | 2+8*256 | 2050 | |||||||||||||
Frequently Read Data Set-1 (Battery Statrt Charging) | ||||||||||||||||||||
7 | 0x09 | Voltage | 2-byte unsigned int | 46 | 30 | 46+30*256 | 7726mV | |||||||||||||
8 | 0x0A | Current | 2-byte unsigned int | 246 | 0 | 246+0*256 | 246mA | |||||||||||||
9 | 0x0D | RSOC | 2-byte unsigned int | 71 | 0 | 71+0*256 | 71% | |||||||||||||
10 | 0x0F | Remaining Capacity | 2-byte unsigned int | 111 | 5 | 111+5*256 | 1391 | |||||||||||||
11 | 0x10 | Full Charge Capacity | 2-byte unsigned int | 184 | 7 | 184+7*256 | 1976 | |||||||||||||
12 | 0x3E | Cell 1 voltage | 2-byte unsigned int | 22 | 15 | 22+15*256 | 3862 | |||||||||||||
13 | 0x3F | Cell 0 voltage | 2-byte unsigned int | 25 | 15 | 25+15*256 | 3865 | |||||||||||||
14 | 0x50 | SafetyAlert | 4-byte unsigned int | 4 | 0 | 0 | 0 | 0 | 4+0*256+0*65536+0*16777216 | 4 | ||||||||||
15 | 0x51 | SafetyStatus | 4-byte unsigned int | 4 | 0 | 0 | 0 | 0 | 4+0*256+0*65536+0*16777216 | 4 | ||||||||||
16 | 0x52 | PFAlert | 4-byte unsigned int | 4 | 0 | 0 | 0 | 0 | 4+0*256+0*65536+0*16777216 | 4 | ||||||||||
17 | 0x53 | PFStatus | 4-byte unsigned int | 4 | 0 | 0 | 0 | 0 | 4+0*256+0*65536+0*16777216 | 4 | ||||||||||
18 | 0x54 | OperationStatus | 4-byte unsigned int | 4 | 7 | 1 | 16 | 0 | 4+7*256+2*65536+0*16777216 | 132868 | ||||||||||
19 | 0x55 | Charging Status | 4-byte unsigned int | 3 | 16 | 2 | 0 | 169 | 3+16*256+2*65536+0*16777216 | 135171 | ||||||||||
20 | 0x56 | Gauging Status | 2-byte unsigned int | 2 | 28 | 2+28*256 | 7170 | |||||||||||||
21 | 0x57 | ManufacturingStatus | 2-byte unsigned int | 2 | 248 | 2+248*256 | 63490 | |||||||||||||
22 | 0x72 | Temperatures | 14 bytes | 10 | 165 | 11 | 188 | 11 | 183 | 11 | 188 | 11 | 183 | 11 | 173 | 173 | 173 |