Hi ,
Thank you for your interest in NXP Semiconductor products and for the opportunity to serve you.
The core clock is shut down after clear the PD bit in LPC_CCU1->PM register, definitely, it will cause the code to be stuck.
Have a great day,
TIC
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------