This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Cortex-M3 bare metal start_up example error in clock ticks

Hi,

the bare metal example code in ARM ds giving me mismatched output on clock ticks. debug output is given here.

Cortex-M3 bare-metal startup example
Insertion sort took 1 clock ticks
Shell sort took 0 clock ticks
Quick sort took 0 clock ticks
SysTick interrupt 1
SysTick interrupt 2
SysTick interrupt 3
SysTick interrupt 4

values for clock ticks are not correct here. As per the read me this should be the output.

  1. Cortex-M3 bare-metal startup example
    Insertion sort took 21 clock ticks
    Shell sort took 14 clock ticks
    Quick sort took 14 clock ticks
    SysTick interrupt 1
    SysTick interrupt 2
    SysTick interrupt 3
    SysTick interrupt 4
    SysTick interrupt 5
    SysTick interrupt 6
    

I haven't changed anything on source code. what could be the error here. 

Thank you in advance.