Hi Art,
Couple of things came to my mind:
What is your oscillator speed?
- I didn't see any DEFINE OSC parameter.
Is EEPROM only load in I2C bus?
- Capacitive loading below 400pF per signal line (I2C spec)
How long wires you have between PIC and EEPROM?
- Timing CLK & data (this should not be a problem for I2C)
Write control pin in EEPROM?
- Grounded? Don't know if floating pin could do something like this?
De-coupling of PIC and EEPROM?
- How many caps and sizes
Crosstalk
- Any nearby signals that could cause coupling?
Grounding
- How is the grounding done? Ground bounce due to common impedance with some high current part of the system (Power supply, PIC, etc...).
Errors in write mode seems to be very systematic so it can't be just noise, which is causing the problem.
BR,
-Gusse-
Bookmarks