Question
Systick handler problems
Posted on March 01, 2013 at 04:44
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