At 19:01 04/21/99 -0400, Andy Kunz wrote: > > At 03:59 PM 4/21/99 -0400, you wrote: >> >> Does anyone have some routines for using the hardware I2C module on the >> 17C756? I'm using a 24LC256 and having a devil of a time with getting it to >> work. I'm reading and writing about 25 bytes(currently) sequentially in RAM >> and from the EEPROM. > > > It may not be your I2C stuff - it might be the page size in your EE. You can > only write a fixed max number of bytes at a time - I don't have the docs > handy, but if its "page size" is less than 25 bytes you need to break the > writes down into 1-page-at-a-time writes with 5ms (or so) between writes. yes, and make sure that you observe the correct page boundaries (low address bits zero). ge