Ted Ems
Joined: 30 Dec 2003 Posts: 9
|
External EEPROMS |
Posted: Tue Feb 10, 2004 11:34 am |
|
|
I'm using a 18f6620 and the hardware I2C. The eeprom is a 24c65 with the pullups on sda and scl. What i've found is that using the routines in the 24c65 library the 6620 hangs when it enters the i2c_start routine. It is looking for FC5.0 to be cleared. However with the software routines everything works fine. Is there some other registers that need to be changed to get the hardware version to work?
Shouldn't i be able to go from this;
#use i2c(master,sda,scl,slow)
to this;
#use i2c(master,sda,scl,slow,force_hw)
without changing anything else? |
|