I'm a bit new with this chip and I'm having problems with the oscillator settings. Basically, I already have a program and circuit working with the chip and a 4MHz XT.

The problem is that when I replace the crystal with a 20MHZ HS nothing communicates anymore. Debug and SPI, to be exact.

I've changed my DEFINE OSC to 20 and made sure the right MHz and Type are selected in melabs programmer. Is there something else I am missing to get the serial ports back to normal speed?

I'm using MicroCode Studio - PicBasic Pro with the MeLabs USB Programmer.