Hi Akash,
Using OSC1 only is not as straightforward as moving the crystal.
A second oscillator has also been added (OSC1). OSC1 can be used as the reference clock source for one or both of the
PLLs, but there are some restrictions on its use. The following items should be taken into account if you are considering
using OSC1 as the main clock input on your board:
• Either OSC0 or OSC1 can be used as the reference clock source for the PLL being used as MCGCLKOUT.
• Only OSC0 or the RTC OSC can be used as the FLL reference clock so one of those clock sources MUST be available
to the MCG if using FEE, FBE, or BLPE clock modes or when transitioning from the reset default FEI mode to PBE
mode (or any “external” clocked MCG mode). You must transition through FBE mode to enter PEE mode and use the
PLL as the MCGCLKOUT source.
• If OSC1 is to be used it must be configured in MCG_C10 and enabled in OSC1_CR.
• If OSC1 is the only external clock source then the only MCG clock modes available are FEI, FBI and BLPI.
Regards,
David