Can anyone illuminate me with regard to the behaviour of I2C EEPROMs (e.g. 24C32) when doing page writes? Specifically, with regard to partial page writes.
What I'm not clear on after having read the datasheets of EEPROMs from multiple vendors, is what happens in the following scenario:
1. A write operation is initiated by sending the slave address and 16-bit ROM address to be written to,
but this address is part-way into a page.
2. Multiple data bytes to be written are subsequently sent, a number equal to fill the remainder of the page.
3. The EEPROM writes the page upon termination of the I2C transaction (i.e. at STOP condition).
What gets written to the beginning of the page? We didn't provide any data to be written there. Is it wiped? Does it retain its previous values?
Or is this one of those "just don't do that" things?
