You are a genius, thank you. I removed the % operator and switched to a value++; value &= mask; and it worked a lot faster. I reconfigured the SSP ISR and removed my timer2 ISR. Now it works great ...
Thanks for the quick reply. I fixed the issue with the clock fuses. I chose the HS since the spec sheet says it should support the 20mhz. My fuses are now:
I have been working with the PIC16f887 to try and get I2c slave to work, but I keep running into a speed problem. I need the slave to keep up with a 100kHz master (I am using the diolan u2c ...