How to use online clock tool generate BOARD_BootClockFROHF48M() function?

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

How to use online clock tool generate BOARD_BootClockFROHF48M() function?

Jump to solution
2,103 Views
hotashu
Contributor III

I use online clock generate tool to generate clock configuration file.

I want to generate configuration files like BOARD_BootClockFROHF48M(), BOARD_BootClockFROHF96M() . But in generated clock_config.c/h, those functions are not there, only BOARD_InitBootClocks() and BOARD_BootClocksRUN()

clc.jpg

please tell me how to proceed to generate other functions that I need. Thanks.

0 Kudos
Reply
1 Solution
1,821 Views
ZhangJennie
NXP TechSupport
NXP TechSupport

Hi,

The problem is that your configuration is for plain processor but not based on board.

for example,

BOARD_BootClockFROHF48M() can be generated for configuration "LPCXpresso54680", but not for "LPC54608J512 "

According to developer "The pre-set configurations are available and tailored only for boards, if you would use a processor that does not have any board available, you would need to add functions and configure clocks manually in clocks tool."

you can switch configuration in "MANAGE" tab.

2017-07-19_17-21-59.jpg


Have a great day,
Jennie Zhang

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

View solution in original post

0 Kudos
Reply
3 Replies
1,822 Views
ZhangJennie
NXP TechSupport
NXP TechSupport

Hi,

The problem is that your configuration is for plain processor but not based on board.

for example,

BOARD_BootClockFROHF48M() can be generated for configuration "LPCXpresso54680", but not for "LPC54608J512 "

According to developer "The pre-set configurations are available and tailored only for boards, if you would use a processor that does not have any board available, you would need to add functions and configure clocks manually in clocks tool."

you can switch configuration in "MANAGE" tab.

2017-07-19_17-21-59.jpg


Have a great day,
Jennie Zhang

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos
Reply
1,821 Views
hotashu
Contributor III

Can anyone help ?

0 Kudos
Reply
1,821 Views
Alice_Yang
NXP TechSupport
NXP TechSupport

Hi hotas,

- About " BOARD_InitBootClocks() " , it just a function name ,and it is matching with the code of SDK project,

when we create a simple SDK project,  it will includes the function of " BOARD_InitBootClocks() "in main.c file:

pastedImage_1.png

- After you configure clock on MCUXpresso clock tool, the code in clock_config.c and clock_config.h

will be changed automatically  refer to your configuration. For example :

pastedImage_2.png

pastedImage_3.png

Hope it helps


Have a great day,
TIC

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos
Reply