Mark Stokes wrote:
Found one more thing to add to the system_clock.h file. There is a flag used on the FLL_CTL0 register to determine if the XT2 oscillator is faulting. Add this line after line 81 in system_clock.h: #define XT2OF 0x08 /* XT2 Oscillator Fault Flag */
ok, done. chris