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

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

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

ソリューションへジャンプ
2,101件の閲覧回数
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,819件の閲覧回数
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,820件の閲覧回数
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,819件の閲覧回数
hotashu
Contributor III

Can anyone help ?

0 件の賞賛
返信
1,819件の閲覧回数
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 件の賞賛
返信