Content originally posted in LPCWare by aarthi on Thu Aug 04 06:13:24 MST 2011 Hi, i am not able to write databytes in lpc1769 i2c-eeprom(at24c08) which is above the pageboundary of the at24c08.i also used the stop condition after every page write but still i am confusing why i am not able to write:confused:
Content originally posted in LPCWare by aarthi on Fri Aug 05 05:39:18 MST 2011 Thank you so much for the suggestions and i got clear with the I2C_EEPROM and also now i am able to write and read in the I2C_EEPROM(at2408).:)
Content originally posted in LPCWare by Rob65 on Thu Aug 04 11:02:36 MST 2011 What do you call " page boundary" ?
The microchip datasheet talks about 'blocks'. There are 4 blocks of 256 words (bytes). The 'word address' is the first byte you send after the 'control byte' (mostly this is just called the 'slave address'). The contron byte contains the slave address, the R/W bit and the 'block select bits'. To write to a different block you need to adjust your control byte. to contain the block select bits. If you are used to use 0xA0 to address your 24lc08, then you need to use 0xA2, 0xA4 or 0xA6 to address any of the other 3 blocks.
If this still not works, please provide us with more detailed information.