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
Solved! Go to Solution.
No. The flash is not zero wait state, and is has different wait states for higher frequencies.
No. The flash is not zero wait state, and is has different wait states for higher frequencies.