when I do the examples in the SDK_2.2_LPC54608J512\boards\lpcxpresso54608\driver_examples.I find that all the examples are used the external 12M clock. I want to used the internal 12M clock,remove the crystal from the board.Are there any examples show how to config?
Hello Zhixiang zeng,
Actually, by default, the SYSCON block is clocked by the internal FRO 12MHz.
Now, take the SDK_2.2_LPC54608J512 helloworld example as example:
SDK_2.2_LPCXpresso54608\boards\lpcxpresso54608\demo_apps\hello_world\mdk
You can comment:
BOARD_BootClockFROHF48M();
This is debug result:
You can find, before run BOARD_BootClockFROHF48M(); the code still run the internal 12Mhz.
Wish it helps you!
If you still have question, please let me know!
Have a great day,
Kerry
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------