Skip to main content
Visitor II
March 22, 2011
Question

TIM1 Input Capture not accurate at low frequencies?

  • March 22, 2011
  • 1 reply
  • 632 views
Posted on March 22, 2011 at 15:18

TIM1 Input Capture not accurate at low frequencies?

    This topic has been closed for replies.

    1 reply

    kkarastiAuthor
    Visitor II
    May 17, 2011
    Posted on May 17, 2011 at 15:12

    UPDATE:

    When I use the HSI it works fine down to like 30Hz When I use the HSE, that's where I get the problem. Here's my clock init, how can I fix this?

        CLK_DeInit();

        /* Initilize the Clock controller according to CLK_InitStructure 24MHz */

        status = CLK_ClockSwitchConfig(CLK_SWITCHMODE_AUTO, CLK_SOURCE_HSE, DISABLE, DISABLE);

        while (CLK_GetFlagStatus(CLK_FLAG_HSERDY) == 0);