Part Number: INA229
Other Parts Discussed in Thread: INA239
Why is it when I try reading a register, it appears that I'm actually reading a completely different register? For example, I read 0x3F but I get the results from register 0x3E instead.
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.
A common error with this device that causes read/write values to be different than expected is to be using the incorrect SPI MODE. The INA229 uses CPOL = 0 (The clock is low (inactive) when idle and data is sampled on the falling edge) and CPHA = 1 (Data is shifted on the rising clock edge).

The 4 modes for SPI are
Both of our SPI current sensors, the INA229 and INA239, use SPI Mode 1