hi sir, i'm using lpc3250, with this i'm interfacing LM81 and it is i2c protocol ,while reading the buffer values of i2c it is going to the while loop means strucking or hanging there it self. Thanks & Regards G. Madhu krishna
You may check datasheets. Maybe wrong baudrate. Maybe protocol error somewhere. Maybe made incorrect assumption somewhere. The open issue is: what have _you_ done to figure out what differs? What have you done to verify that your implementation really matches the requirements mentioned in the datasheet for the specific I2C device?