Melanie,
Thanks very much - your advice worked.
Original pull-up resistors were 10k.
Changed to 5k and all works OK - without DEFINE I2C_SLOW.
I sould have taken note of the PBP handbook that advises 4.7k!
Regards Bill Legge
Melanie,
Thanks very much - your advice worked.
Original pull-up resistors were 10k.
Changed to 5k and all works OK - without DEFINE I2C_SLOW.
I sould have taken note of the PBP handbook that advises 4.7k!
Regards Bill Legge
Bill, if speed is an issue, you might also consider reading the eeprom datasheet section on polling the chip. On a recent one I worked on, the spec was something like 5ms write time max, but there was an option to poll to see if it was done. I put that in with a 50uS delay between polls, and it ended up only taking three polls to finish!
Bookmarks