We are using bq40z50 in our battery packs and trying to test the authentication feature from MSP430. It looks like we are not able get the right bytes from the battery. Can anyone share the sample random 160-bit message with the checksum byte written to the battery? and the response for the same read from it?
My result are here:
Sending:
smbus_block_write 0 0x0b 0x2f 0x70 0xA9 0xFF 0x7F 0xBF 0xFB 0x0D 0x0A 0xE6 0xB0 0x71 0x0C 0x09 0xA8 0xB5 0xC0 0x06 0xF4 0x3C 0x27 0x0C
Receiving:
smbus_block_read 0 0x0b 0x15
byte[0] 0x80
byte[1] 0x00
byte[2] 0x02
byte[3] 0x02
byte[4] 0x02
byte[5] 0x02
byte[6] 0x02
byte[7] 0x02
byte[8] 0x02
byte[9] 0x02
byte[a] 0x02
byte[b] 0x02
byte[c] 0x02
byte[d] 0x02
byte[e] 0x02
byte[f] 0x02
byte[10] 0x02
byte[11] 0x02
byte[12] 0x02
byte[13] 0x02
byte[14] 0x02