If the device address is $10 then doesn't the address have to be left shifted one place?
$10 = %00010000
PBP handles the R/W bit (bit.0), so your sending out address %0001000R (Read or Write bit) and the address "seen" by the receiving device is %00001000
Remember that I2C device addresses are shifted left one place to allow for the read/write bit. You'll never (edit: never say never - there are 10 bit addressing in some devices, though this is not part of the original I2C design data) see an I2C device address over $7F, or %01111111 or DEC127.
So, I think you should be using the DEVICE ADDRESS of $20





Bookmarks