I2c to microchip 24lc256

Mosaic

Well-Known Member
Hi all:
I am using a 16F886 and looking for a tut on asm I2C to the 24LC256 ext EEPROM chip.
thx
 
There is a software implementation in Nigel's tutorials.... It wouldn't take much to convert it to hardware..

Converting software to hardware is not easy.
 
Converting software to hardware is not easy.
Yes it is..

The chip in question HAS an I2c module, whereas the chip in Nigel's tutorials hasn't..

The code for I2C in hardware is a couple of lines... All that's required are the low level functions need modifying..
 
The code for I2C in hardware is a couple of lines...
of cocaine?

When you say hardware.. are you talking about actual hardware or ASM? Assembly is software.
 
I'm not sure we're talking about the same thing here.... Using the hardware I2C module in ASM is quite simple... Nearly as simple as the SPI.... Why do you think it's hard.... Something to do with AVR??

With the PIC's you need about 6 simple subroutines....
 
I just thought you were talking about doing something in hardware, when actually you talked about software.
 
With the PIC's you need about 6 simple subroutines....

How long does one subroutine take? And who cares how long does it take to set up a peripheral.. It only has to be done once.
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…