Hello!


I'm facing problem with i2cread function.
Seems that pic is not sending "STOP" code after "NOT ACK" code and reading continues.
So, without proper stop bit its impossible to start new i2cread sequence(second doesn't work at all)
Doesn't matter if its STR function or just one variable
eeprom is 24c32
i2c_dev is BYTE
i2c_addr is word

Here is the "read" code->



serial_read:


i2c_dev = $A0
i2c_addr = 3
I2CREAD porta.6, porta.7,i2c_dev,i2c_addr, [str line1\2]




i2c_addr = 19
I2CREAD porta.6, porta.7,i2c_dev,i2c_addr, [str line2\2]


return


Can anyone help?

Thank you!