0x052, as the 7 bit address for the device is 101 0010
But the addresses for write and read are 0xA4 and 0xA5 respectively, which they become when the read/write bit is added by the Wire-lib, as I have understood things.
The last row of data in the list above is 0x0C, which is address 0x2B as you mention, and that happens to be the one and only piece of data that matches.
I also did check the return value of endTransmission, which was zero.
So it looks like it is working, apart from that all data but one is a mismatch from default values, and it is a brand new IC, so should match. Also, there's a register that returns the supply voltage, 0x1A. My supply voltage is 7.37V, which matches a register value of 0x3F, but it reports 0x47 which indicates 8 volts.
I guess I need to hook up to a variable supply and see what different voltages reports.
I know tried writing to one of the writeable registers and read back, and the written data came back ok. So I guess the default values are all fck'ed up for some reason.
I think I will ignore this discrepancy and get started doing a full setup, and see where that takes me. I'll just assume this is working as it should. Most things points towards that anyway.
It is a little bit annoying having to wait 5 minutes between posts, any chance of having this fixed?
Thanks for pointing that out, that completely slipped my mind even though I know it
I was running an Uno, but swapped to the Due. Luckily no harm done. Samme issue though. But I ignored it. Clearly the chip did not come with its default values. Thanks TI...
Anyway, after a lot of mess the little brushless motor is now starting up, running, and stopping fine. Just need to do some fine tuning to get max speed, stability etc out of it. But that'll be tomorrow. Almost morning here in Sweden now, so, time to hit the sack.
Thomasx:
I think I will ignore this discrepancy and get started doing a full setup, and see where that takes me. I'll just assume this is working as it should. Most things points towards that anyway.
That is the Engineering attitude/approach; but take care of personal safety, equipment safety and calculated risk.