how to generate BOARD_BootClockRUN

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

how to generate BOARD_BootClockRUN

跳至解决方案
1,605 次查看
mikegreen
Contributor II

i've used Processor Expert for setting up the clock in the past.  is there a tool that generates the content for BOARD_BootClockRun()?

标签 (1)
0 项奖励
1 解答
1,292 次查看
DavidS
NXP Employee
NXP Employee

Hi Mike,

There is a clock configuration tool in the works and targeted for public release May, 2016.

In mean time the KSDK_v2 has a couple of examples that might apply for you:

C:\NXP\KSDK_v2\SDK_2.0_FRDM-K64F_KDS\boards\frdmk64f\demo_apps\power_manager

C:\NXP\KSDK_v2\SDK_2.0_FRDM-K64F_KDS\boards\frdmk64f\demo_apps\power_mode_switch

Regards,

David

在原帖中查看解决方案

0 项奖励
6 回复数
1,292 次查看
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello Mike,

Which board or chip do you use ? And the Processor Expert you said meaning the IDE or the PE kds?

Also where is the BOARD_BootClockRun() function ?

BR

Alice

0 项奖励
1,292 次查看
mikegreen
Contributor II

thanks for your response.

<<Which board or chip do you use ?

MK64FX512 on a custom board

<<And the Processor Expert you said meaning the IDE or the PE kds?

KDS PE.

<<Also where is the BOARD_BootClockRun() function ?

created by KDS " NEW->Kinetis SDK 2.x project"

this NEW project creates a call to this function and populates a function stub.  i've not found any documentation that describes the expected methods.  i have looked at code that is generated when the Freedom K64 board is chosen.  there are several memory structures that are created in this step and some are used by this call while other are not.  it would be logical to have a document or a method similar to the PE that can assist in this method.

mg

0 项奖励
1,292 次查看
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello MIKE,

About on the KSDK2.0 version , there isn't PE,  so there is also no PE component to configure the clock on KSDK2.0 .

Hope it helps

Alice

0 项奖励
1,292 次查看
mikegreen
Contributor II

howdy Alice_Yang,

i understand there is no PE.  what i am looking for is the documentation on what data structures and code segments are required to accomplish the setup of the Multipurpose Clock Generator element of this MK64 kinetis part.  there are dependencies for the HAL layer on these data structures.

thanks

mg

0 项奖励
1,293 次查看
DavidS
NXP Employee
NXP Employee

Hi Mike,

There is a clock configuration tool in the works and targeted for public release May, 2016.

In mean time the KSDK_v2 has a couple of examples that might apply for you:

C:\NXP\KSDK_v2\SDK_2.0_FRDM-K64F_KDS\boards\frdmk64f\demo_apps\power_manager

C:\NXP\KSDK_v2\SDK_2.0_FRDM-K64F_KDS\boards\frdmk64f\demo_apps\power_mode_switch

Regards,

David

0 项奖励
1,292 次查看
mikegreen
Contributor II

howdy David E Seymour

that's great news, thanks

0 项奖励