Question
STM32F407 SYSTICK CONFIG
Posted on February 11, 2014 at 11:03
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 :) #stm32-systick