Very strange problem.
Executing an I2CRead command does only I2CWrite as it is shown on the Logic capture.
This is my test code for an 24C64 EEPROM
Any ideas?Code:DEFINE I2C_SLOW 1 b1 var byte b2 var byte addr VAR word cont CON %10100000 data_pin var porte.0 clk_pin var porte.1 addr = 0 ' Read data at address 0 into B1,B2 I2CREAD data_pin,clk_pin,cont,addr,[b1,b2] stop
Ioannis
Bookmarks