Guys, I'm using the 24LC256 EEPROM from SparkFun.com, and I wish to know if its possible to lower the delay it takes to write a single byte. Below is the code I'm using, but from the PDF details I see there's an option to check the chip if its ready to continue or not, after you write a byte to it.
I haven't seen any Arduino code to check the write status, but as you've seen the data sheet says it's possible.
I worked around the problem by latency hiding. I used multiple EEPROMs and wrote to them sequentially, and interspersed some computation between the write sequences.
WilliamK, I've been looking for a while and couldn't find a thing. The I2C library in arduino is like an onion, layer after layer. There's like wire, TWI, etc. I couldn't find anywhere to access status bit on the bus. I think I made a post and didn't get much response. My guts feeling is that it is not possible unless you want to modify the library. Currently the I2C library just takes a whole bunch of bytes, and only writes the bytes when the communication is terminated by the call Wire.endTransmission().