cancel
Showing results for 
Search instead for 
Did you mean: 

TIM1 Input Capture not accurate at low frequencies?

kkarasti
Associate II
Posted on March 22, 2011 at 15:18

TIM1 Input Capture not accurate at low frequencies?

1 REPLY 1
kkarasti
Associate II
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);