I2C and SSPIF
Posted: Mon Dec 25, 2006 8:39 am
I am trying to communicate via I2C (LVKP162-12 PCB R3.0) with a PIC18F452 (Master). I have a second LCD that I'm using to troubleshoot with and have found that I get stuck in a while loop while waiting for an aknowledgement back from the slave.
I was testing out the code on forum post:
http://lcdforums.com/forums/viewtopic.p ... 1e1e#17470
with only a few minor changes.
I de-soldered the three RS232 jumpers and put two of them on the I2C protocol jumpers and am not sure if this was done successfully. Is there any way to check to make sure the jumpers are soldered on correctly?
I attached the code (and it's with the quikflash board http://www.picbook.com )
Any help is greatly appreciated and merry X-mas to all.
Thanks,
Carl
I was testing out the code on forum post:
http://lcdforums.com/forums/viewtopic.p ... 1e1e#17470
with only a few minor changes.
I de-soldered the three RS232 jumpers and put two of them on the I2C protocol jumpers and am not sure if this was done successfully. Is there any way to check to make sure the jumpers are soldered on correctly?
I attached the code (and it's with the quikflash board http://www.picbook.com )
Any help is greatly appreciated and merry X-mas to all.
Thanks,
Carl