Question
Systick Calibration
Posted on April 19, 2012 at 14:29
Hi,
I want to generate 10ms systick. According to the example code provide with the StdPeriph_Lib_V3.5.0 i.e. \Project\STM32F10x_StdPeriph_Examples\SysTick\TimeBase, the systick of 1ms can be easily generated by the following code if (SysTick_Config(SystemCoreClock / 1000)) { /* Capture error */ while (1); } I am running my STM3210E-EVAL at 72MHz. I was wondering how the following SysTick_Config(SystemCoreClock / 1000) could generate 1ms systick interrupt when the clock frequency is 72MHz. Kindly also tell me what divisor should I use in SysTick_Config function to generate 10ms interrupt. bye, Nick