Cycle count measurement on K64F

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

Cycle count measurement on K64F

ソリューションへジャンプ
1,489件の閲覧回数
adriangogu
Contributor I

Hello,

 

Have started to use FRDM-K64F development platform and I would ask about the possibilities to measure CPU cycle count an algorithm runs / evaluate application execution time on bare-metal.

Could you please advice if there is any support in KSDK for it ?

 

Regards,

Adrian

ラベル(1)
0 件の賞賛
返信
1 解決策
816件の閲覧回数
DavidS
NXP Employee
NXP Employee

Hi Adrian,

I am using KSDK_1.3.

Please open and read Chapter 15 Hardware Timer Demo from following location:

C:\Freescale\KSDK_1.3.0\doc\Kinetis SDK v.1.3 Demo Applications User's Guide.pdf

I was using TWR-K65F180M hardware with the following demo loaded:

C:\Freescale\KSDK_1.3.0\examples\twrk65f180m\demo_apps\hwtimer_demo\kds

This demo is using the core systick timer that ticks along at the core frequency.  The demo sets the core up for 120MHz default operation.

Have a look at the comments "//DES" to see where I modified the original code to allow using the systick to time the example.

Hope it helps.

Regards,

David

元の投稿で解決策を見る

2 返答(返信)
817件の閲覧回数
DavidS
NXP Employee
NXP Employee

Hi Adrian,

I am using KSDK_1.3.

Please open and read Chapter 15 Hardware Timer Demo from following location:

C:\Freescale\KSDK_1.3.0\doc\Kinetis SDK v.1.3 Demo Applications User's Guide.pdf

I was using TWR-K65F180M hardware with the following demo loaded:

C:\Freescale\KSDK_1.3.0\examples\twrk65f180m\demo_apps\hwtimer_demo\kds

This demo is using the core systick timer that ticks along at the core frequency.  The demo sets the core up for 120MHz default operation.

Have a look at the comments "//DES" to see where I modified the original code to allow using the systick to time the example.

Hope it helps.

Regards,

David

816件の閲覧回数
adriangogu
Contributor I

Hello David,

Thank you. That helped.

Regards, Adrian

0 件の賞賛
返信