According to this thread: http://www.picbasic.co.uk/forum/show...85&postcount=4

This is how the code and chip should be configured.

It says: DEFINE OSC 48 ' 20MHz crystal with HSPLL enabled = 48MHz

-Sterling