LPC54608 Board ,how to use internal 12M clock

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

LPC54608 Board ,how to use internal 12M clock

707 Views
zhixiangzeng
Contributor II

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?

Labels (1)
0 Kudos
Reply
1 Reply

581 Views
kerryzhou
NXP TechSupport
NXP TechSupport

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:

pastedImage_1.png

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!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos
Reply