AnsweredAssumed Answered


Question asked by lin.zhongyi on Feb 11, 2014
Latest reply on Feb 11, 2014 by Clive One
Hi everyone. I've encountered a problem. I am using the function systick_config to configure a accurate timer. In the main function I write

if (SysTick_Config(SystemCoreClock/1000)) 
        while (1);

and the expected delay time is 1ms. However I got 10ms on the oscilloscope. I'm not sure what's wrong with my program. I compared my program with the example program given by ST and checked some parameters related to the clock frequency but found nothing different. There is no special configuration in my program. Could anyone tell me where the problem may possibly lie? Thank you :)