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

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

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

跳至解决方案
1,919 次查看
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 项奖励
回复
1 解答
1,637 次查看
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 项奖励
回复
3 回复数
1,638 次查看
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 项奖励
回复
1,637 次查看
hotashu
Contributor III

Can anyone help ?

0 项奖励
回复
1,637 次查看
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 项奖励
回复