Quote Originally Posted by Ioannis View Post
Hi Sayzer.

As the PBP manual states, the control byte must have bit 0 cleared. Is there any special reason that you have made it 1 in this command?

I2CREAD I2C_SDA, I2C_SCL,$A1,AdrR, [STR Mem\PageSize]

But here you still have it cleared:

I2CWRITE I2C_SDA, I2C_SCL,$A0,AdrW,[STR Mem\PageSize]

Regards,
Ioannis


Hi Ioannis,

The way I read the data sheet of 24C512 eeprom, the write bit is 0 and the read bit is 1.
Same as 24LC64, 24LC512 also.

I agree that it is confusing, but it is a fact that for read operation either 0 or 1 works anyway.