Other Parts Discussed in Thread: BQ76940EVM, , , BQSTUDIO
Hi
I have a BQ76940EVM. I'm using C++ to communicate with the BQ78350, and I'm looking for the lifetime data blocks.
I can obtain data for messages 0x60 to 0x65 - i.e. lifetimedata blocks 1, 2 , 3, 4, 5 and 6.
However, when I ask for response to message 0x66 - i.e. lifetime data block 7, I get no response.
How can I resolve this- is the layout for requesting messages from lifetime data block 7 not identical to how I would request 1 through 6?
Also
The datasheet states the payload sizes of the lifetime data blocks, but the CRC value I obtain from the card is, in some cases, different.
The datasheet shows:
block 1 - payload 32+1
block 2- payload 32+1
block 3- payload 14+1
block 4- payload 20+1
block 5- payload 14+1
block 6- payload 32+1
block 7- payload 32+1
but I'm currently seeing
block 1 - payload 32
block 2- payload 12
block 3- payload 20
block 4- payload 14
block 5- payload 32
block 6- payload 32
The CRC is being calculated as correct when I use payloads of these sizes (mine excludes the PEC). Why is this? What are the lengths supposed to be?