This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

BQ27426: Writing RA table registers

Part Number: BQ27426
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.