AnsweredAssumed Answered

Systick Calibration

Question asked by abraham.nick on Apr 19, 2012
Latest reply on Apr 20, 2012 by abraham.nick
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

Outcomes