Other Parts Discussed in Thread: BQSTUDIO
This is mostly a follow up of this question, but it is locked, so opening a new.
I'm still having trouble with the endianness of the bq27426. First, I read the Ra table from the device. Using an oscilloscope I see that the values returned are
0x00 0x32 0x00 0x1E 0x00 0x22 0x00 0x2E...
We then write the exact same table:
0x00 0x32 0x00 0x1E 0x00 0x22 0x00 0x2E...
Once connected to charger, we then read the Ra table:
0x32 0x00 0x1E 0x00 0x22 0x00 0x2E 0x00...
Suddenly, the values are reversed. I'm very confused by this behaviour. Does this mean that values should be written in little endian? Does this apply only Ra table or the other subclasses as well?
Grateful for any clarification.