Hello, I have already post a thread regarding simulation of I2C in Keil, and I solve it with your help from this forum. Now I would like to test my I2C code, I am using LPC2148 and trying to write and read EEPROM. I have read all the samples and I got an online sample which I get some idea of it and wrote my code, but I have these questions: since I can't do simulation with it, I am trying to send the read data from EEPROM to LEDs to see what is the data, but when I want write data to EEPROM, I am not sure how to assign its address?I know the slave address, but the address which I want write to it. please anyone has an Idea thanks Neda
Hi, Thanks for your reply. the EEPROM is:CAT1025-30 with 400khz I2Cbus. I am using Keil's library? for what? I am using lpc2148, but the header file, I define it.