Ladies and Gentlemen,
I'm still wrestling with MCUXpresso IDE and the LPC11U37H evalboard.
The user manual says (UM10462, 3.5.15) that the MAINCLKSEL register has 0x00 after reset. It means, the system runs on internal RC oscillator. If this is true, I can change anything related to the PLL, it should not result any strange behaviour, since the PLL is not used. Am I right until this?
I created a whole new project. There's some code MCUXpresso gives, I didn't modify it yet. I try to debug it, and I see in MCUXpresso's Peripherals window, that right after reset, there's no instruction run yet at all, no, the SystemCoreClockUpdate() function is not invoked yet. And the value in MAINCLKSEL register is 0x03, meaning, the system runs on the output of the PLL.
This way, there's no wonder if I change anything related to the PLL, the debugger hangs up, sometimes the whole MCUXpresso crashes, because there's no system clock in the chip anymore -> no debug is possible.
Which one is right: the User Manual or what I see in MCUXpresso?