Guys,
I really think the problem is the MMSP Module. My old I2C code did not work too well which is why I switched to the MSSP. This is a hardware driven I2C so my code still runs in the background when it sends data. But when I tried to make my own I2C code it never crashed, it actually worked some times
Im convinced that the problem is identical to the connecting of SDA and SCL temporarily scenario where the processor hangs in the same way. Maybe the PIC has some unusual circuitry which might possible affect the power lines or some other voodoo magic.
I really think the problem is the MMSP Module. My old I2C code did not work too well which is why I switched to the MSSP. This is a hardware driven I2C so my code still runs in the background when it sends data. But when I tried to make my own I2C code it never crashed, it actually worked some times
Im convinced that the problem is identical to the connecting of SDA and SCL temporarily scenario where the processor hangs in the same way. Maybe the PIC has some unusual circuitry which might possible affect the power lines or some other voodoo magic.