AnsweredAssumed Answered

LPC4357 clock configuration

Question asked by Quyen Ngo on Sep 13, 2016
Latest reply on Sep 18, 2016 by Quyen Ngo

Hi all,


I have a question about clock configuration.

LPC43xx user manual document say that:

  The following procedure shows how to change the default setting of the core clock
(BASE_M4_CLK = 96 MHz; IRC = PLL1 clock source) to an operating frequency above
110 MHz while also changing the clock source from IRC to crystal oscillator:
1. Select the IRC as BASE_M4_CLK source.
2. Enable the crystal oscillator (see Table 127
3. Wait 250 s.
4. Reconfigure PLL1 as follows (see Table 138
– Select the M and N divider values to produce the final desired PLL1 output
frequency f
– Select the crystal oscillator as clock source for PLL1.
5. Wait for the PLL1 to lock.
6. Set the PLL1 P-divider to divide by 2 (DIRECT = 0, PSEL=0).
7. Select PLL1 as BASE_M4_CLK source. The BASE_M4_CLK now operates in the
mid-frequency range.
8. Wait 50 s.
9. Set the PLL1 P-divider to direct output mode (DIRECT = 1).
The BASE_M4_CLK now operates in the high-frequency range.


In step 5. Wait for the PLL1 to lock, what is the maximum time system can wait, and what will system do if the PPL1 is unstable for a long time?


Thank you and best regards.