Hi,I am trying to interface LPC932 with 24LC256 EEPROM through I2C (and I'm new at this), and I am experiencing some problems..
1)I set the SCL and SDA ports to open drain with a 2K pull-up resistor,is this adequate? Because I dont see any changes on the pin when running my code,and
2)After enabling I2EN and EI2C, should I be able to see the SCL pin on a scope the whole time, or only when data is transmitted?
use the code generated by CodeArchitect, free from http://www.esacademy.com as a base.
The pullup resistor is not an exact value, it basically must take the capacitance of your bus into accaount.
Erik
HI, use my code example (www.c51.de/.../LPC900.php). This code is smaller and better.
Mike