Hi, I have to improve a system memory capability with the minimum IO usage possible. I am thinking to use I2C memory device which spends 2 I/O pins. There's also SPI devices which need 4 I/O pins. It will be very usefull if anyone could help with the following information: 1) Some I2C and SPI available vendors. Some vendors URL will be very usefull. 2) Does KEIL have I2C and/or SPI facility support ? Do I have to implement whole potocol by hand ? Does anyone have any example code using such memories ? 3) How can I connect I2C and SPI device to the AT89S8252 IO pins ? Which pins can I use ? Any pin ? 4) What is the difference between SPI and I2C memory devices ? Which one is cheaper ? What are the good and bad features of them ? Any information on any of these topics will be very appreciated. Thanks a lot, Regards, Andre
You find on my side a I²C simulation for different devices (http://www.c51.de/c51.de/Dateien/uVision2DLLs.php3?Spr=EN). You find also C-Code for the I²C slave protocol. Michael