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
Do you think I can see your code?
Without seeing your code, how can I possibly suggest anything other than You need to look at it, think about it, and debug it?!
You say you have a while loop, and your code is getting "stuck" in it.
Obviously, If it's stuck in the while loop, then the loop exit conditions are not being met - so you need to figure out why not!
Nobody else can do that for you, because nobody else can see your while loop!