Hi Da Li,
No, that's not the case, After reset, device start to work in FEI mode.
During my setup, I start to configure the MCG module to use internal 4MHz as clock source for MCGOUTCLK. I configure the PLL too to produce a 120MHz clock using the external 38.4MHz as reference.
After this setup, the PLL is ready to engage external clock but not yet engaged. The CPU already running on the internal 4MHz.
With a little scheduler (using LPTMR clocked by LPO) I blink the board leds to show device status. after the setup, it's blinking red to indicate that PLL is not yet lock.
I check every 100ms if PLL is locked or not with MCG_S_LOCK0 flag, if we detect a lock, we swtich the MCGOUTCLK on the PLL output, while PLL is locked, the green led is blinking.
After PLL lock, we enable the loss of lock reset (MCG_C8_LOLRE = 1) and make sure that the loss of lock interrupt is disabled (MCG_C6_LOLIE0 = 0).
Watchdog is refreshed every 250ms for a timeout of 5s and it's clocked by LPO. I have tried to disable it and in this case, the device never reset after a PLL loss of lock.
thanks.