Hi there,
I am using a BQ40Z50-R1 connecting to a stm32F030R8 MCU with SMBUS.
When I try to use manufacturerBlockAccess (0x44) to read data it always returns wrong data,
but I can successfully read correct data if I read it from Battery Management Studio.
Here is the example command I want to read ,
ManufacturerAccess 0x0000
the Battery Management Studio reads
but the data read from stm32 MCU is 0x1717
also I find no matter which command and the length of the command I want to read, I always get the result 0x17.
does my command go wrong?
here is the command format I send in block write-block read process call
0x44 0x02 0x00 0x00 0x02 P
P stands for the pointer to receiving buffer, 0x02 before P is the length of buffer.
Thanks.