I apologize - I am so used to HARDWARE serial ports that I forgot that SPBRG has nothing to do with SERIN2/SEROUT2.
You will have to go to the PBP manual and choose the right value for your new XTAL frequency. Page 137 of the PBP manual states that you should use the value (1000000/baud)-20 as the value to use for MODE.
Since your Xtal is lower in frequency than your DEFINE, your baud rate will be too low. You will have to configure the MODE to give you a higher baud rate than nominal. For example: If you are running 9600 baud, the formula would indicate that MODE should be 84, but since you are actually running at 14.7456Mhz, which is 92.2% of 16, then you should set your baud rate to be 1/92.2% = 1.0844 X 9600 Baud = 10410 baud. Instead of setting the MODE to 84, you would set it to 76. The actual baud rate will be 9600.
Bookmarks