I'm using a PICDEM 2 Plus Demo Board with a PIC16F877A and I made a program to write on the 24LC256 eeprom on that board.
It's working very fine but now I made a circuit with another 24LC256 only and put all the components needed also and I try to write on that eeprom using the PIC on the demo board but it's not working. I tried to change the ports but nothing is written and I really don't understand why.
Can someone help me ?
Thanks
Dominik
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
Posted: Fri Sep 07, 2007 10:38 am
You left off the 4.7K pull-up resistors on SDA and SCL.
These resistors are built-in to PicDem2-Plus board on pins C4 and C3.
If you move the i2c to different pins, you must add pull-up resistors
on the new pins.
Dominik
Joined: 04 Aug 2007 Posts: 18
Posted: Sat Sep 08, 2007 11:43 am
You're right PCM Programmer, the problem is coming from the resistors.
Thank you so much again.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum