Other Parts Discussed in Thread: EV2400, BQSTUDIO, , BQ40Z50
Firstly, I check 0x54 to ensure the device has not been sealed. It has not been sealed.
< 54
> 04 87 01 00 00 (0 1)
The same command sent to ManufacturerBlockAccess does not succeed but I do read the MAC command back.
< 44 54 00
> 54 00 01 98 2f ad (0 0)
Battery status returns BadSize. For the above I read 6, 2 for MAC and 4 for H4 status data.
< 16
> ---- (6)
Many other commands return absolute nonsense, e.g. the examples given in the datasheet under section 13.1. Using 0x00 and 0x23 does not result in an improvement but does return different data.
I am unsure what mistakes I am making, if any. The user level commands require attention to the start and stop bits. It does not seem like the ManufacturerBlockAccess commands require the same care. Regardless, I have tried all combinations I can think of.
As a related issue the ManufacturerBlockAccess commands don't seem to return the size of the data to be clocked out like the normal SMBus block reads do. You may wish to fix that.