Skip to content

lpcxpresso55s16 gets stuck in CLOCK_IsPLL1Locked() after PR #53754 #61394

Answered by DerekSnell
DerekSnell asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @tyalie ,
Thank you for confirming your issue is with a different, custom board.

Does your board have a crystal connected to the clock oscillator pins? If not, that would explain the issue. One change made in #53754 is to clock these MCUs at their maximum frequency by default. For the LPC55S16, that is 150 MHz. But that frequency requires using the PLL. And this clock config in soc.c clocks the PLL from the external crystal. Before this PR, I believe MCU was clocked from the internal FRO at 96 MHz, and the external crystal may not have been used.

If your board does not have a crystal, you can configure CONFIG_INIT_PLL1=n. That will not enable PLL1 or the crystal clock source, and will …

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

DerekSnell
Aug 11, 2023
Collaborator Author

You must be logged in to vote
0 replies
Answer selected by henrikbrixandersen
Comment options

You must be logged in to vote
1 reply
@DerekSnell
Comment options

DerekSnell Aug 14, 2023
Collaborator Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants