This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

I2C between 2 lpc 2129 boards not initializing

I've tried to setup I2C communication between two LPC 2129 boards where one is the master and the other board is the slave. The code follows the following flow.
1.Initialize the output pins.
2.Initialize the interrupts.
3.Setup the I2C with proper symbol rate and Master/Slave config.
4.Start communication.

The simulation of these programs work properly on keil. All the registers initialize properly but in the hardware the communication doesn't happen. I've used a pull up resistor of 2.7K for the line with a 3.3V supply and the line remains high throughout. The start never bit never gets initialized and the controllers go into a loop waiting for the communication to interrupt the system.

Is there anything I have missed in the program ??

Parents Reply Children