I try to use the LPC54102 at the maximum speed of 150MHz or at least above 100MHz, but can't get it to work. As a minimum example I tried this:
The Programm crashes in fsl_clock.c in line 151:
pClkSel[mux] = sel;
when called from clock_config.c with:
CLOCK_AttachClk(kSYS_PLL_OUT_to_MAIN_CLK); /*!< Switch MAIN_CLK to SYS_PLL_OUT */
Hi again @grosdode ,
I noticed that there is a typo in the LPC541xx documentation. An apology for the inconvenience.
There is an errata about the maximum operating system clock in ES_LPC5410X, where is stated that the maximum operating system clock on the LPC5410x device (rev 1B) is limited to 96 MHz.
Errata sheet LPC5410x (nxp.com)
An also in SDK examples (for example hello world) there is also a note that apply for the rev 1C (which you have) where is mentioned that rev 1C is limited to 100Mz.
So please operate your application under these limits.
Hope it helps you!
Hi, @grosdode
An apology for the confusion I notice that there is a new version where this issue is fixed. Rev C can run PLL up to 150MHz.
Please use the SDK version 2.6.1, there is a new function that let you to init the PLL to 150MHz, also it solves the note (or SW errata) about the Rev C, you just need to change the function BOARD_InitBootClocks(); to now use BOARD_BootClockPLL150M();
This should work also for Rev D.
Rev B is still limited to 96MHz
Hope it helps you.
Hi Pablo,
thank you for the information, but why is this only mentioned in some example code an not in the errata? I even have a rev. 1D Controller here (custom board) at my desk and it is also not working above 100MHz, can you confirm that no controller version can operate above 100MHz? Does NXP just continue to lie in the datasheet? Because this IC is advertised everywhere with a speed up to 150MHz.