I have a couple 10K pull ups on the lines. Still works erratically, then freezes. I am running my MCU
at 20 MHz, could it operate too quickly porting it to PIC? Maybe the timing is all messed up?

Nick