LPC55S69 cycle counter

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

LPC55S69 cycle counter

ソリューションへジャンプ
2,068件の閲覧回数
tkontogiorgis
Contributor II

Hello,

I am trying to profile a code with  LPCXpresso55S69. I am using MCUXpresso IDE.I load the hello_world_swo project example. I run the specific function (From Breakpoint to Breakpoint) with 12MHz clock default from the Project and cycles Register (or same Cycle Counter from  SWO) had the value 38765.

After that, i tried to run the same code with 150MHz clock ( i replaced  BOARD_BootClockFRO12M(); with  BOARD_BootClockPLL150M() ) and the cycles value was 51400.

All the other project settings was the same.

1)Shouldn't be these cycles the same and independent from the clock of the system while the code is exactly the same?

2)Am i missing something? 

3)Is there something else i should change to run 150MHz clock?

Thanks in advance,

Theo

1 解決策
2,006件の閲覧回数
converse
Senior Contributor V

No. The flash is not zero wait state, and is has different wait states for higher frequencies.

元の投稿で解決策を見る

1 返信
2,007件の閲覧回数
converse
Senior Contributor V

No. The flash is not zero wait state, and is has different wait states for higher frequencies.