2009-10-21 20:42:02 UTC
Sir,
Thank you for the reply. I was referring to line 1021/1022. It appears that the I2C algorithm I've implemented is getting stuck in there. I have enabled the interrupts and initialized the pointer, so that does not appear to be the problem. Inside my I2C code, I have several delay functions to make the timing work between reading and writing. It appears that if the delays are too long, then the code hangs. I have managed to pair down the delays enough to finish initializing the board. However, when I do that, I don't have enough delay for I2C to work properly. Again, any thoughts you have are greatly appreciated.
Thanks,
Tim