hello sir/madam, using LPC3250,i'm interfacing eeprom at24c64 it is based on I2C protocol. when i'm going to interface this module (eeprom), i'm not getting any clock pulses on SCL and SDA .so what can be the possible reason for not seeing any pulses on clock and data pin. we had check the hardware connection properly and also provided pullup(1k) to both SDA and SCL.below we are adding initialization code please have a look and let us know your opinion.
void i2c1_init(void) { I2CCLK_CTRL = 0x00000001 ; I2C1_CTRL = 0x00000000 ; I2C1_CLKH = 520 ; // 520 I2C1_CLKL = 520 ; // 520 }
how controller knows he is configured in master or slave mode
Thanks & Regards madhu krishna.G
Yes, I noticed. It was the I2S that shared function with GPIO.