define OSC 32
tells the compiler to perform all timing calculations for a clock speed of 32 MHz
it defaults to 4 MHz if omitted , it should match the real clock speed used
using 8 or 16 is simply wrong
_PLLCFG_ON with a 8mhz xtal yields a 32 MHz clock
no point guessing read the manual, read the data sheet
Bookmarks