AnsweredAssumed Answered

Systick handler problems

Question asked by jin.xin on Mar 1, 2013
Latest reply on Mar 5, 2013 by jin.xin

Dear,
    I want to test the systick clock frequency. And use the systick as the RTOS system timer. It would be set to 1ms. And I use the configuration of the demo code as following:
 if (SysTick_Config(SystemCoreClock/1000))
 {
  /* Capture error */
  while (1);
And I add the LED toggler as following in the handler:
void SysTick_Handler(void)
{   
        STM_EVAL_LEDToggle(LED3);
}
I use oscilloscope to test, it would work only for serval time and stoped. On the other hand, I use USART3 to print the test information on PC, it would work continuously, but the frequency became 78Hz instead of 1KHz. Could anyone can tell me what is the problem? Appreciate.

B.R.
Jin

Outcomes