Hi MrBean,
My eeprom is from On Semi, but I think it's the same as the Fairchild NM24C02. It's a 2k eeprom. Looks like I send out a noack and stop the master after the reading is done:
case 2:
eepromReadData[count] = IIC2D;
IIC2C1_TXAK = 0; // send out ack after reception
//IIC2C1_TX = 0;
delay(10000);
count++;
if (count == (ARRAYSIZE+1)) { // taken into acount of 0xa1
count = 0;
IIC2C1_TXAK = 1;// no ack
IIC2C1_MST = 0;
rcvseq = 0;
dsplyLabel(); // write lcd labels
}
break;
Do you think I should lower the pull up resistors to 3.3k as Bigmac may have hinted? I'll also look at the scope as you said.
Thank you very much for your help.
FWFan
nm24c02_03.pdf
Message Edited by t.dowe on 2009-10-27 11:51 AM