Posted on May 17, 2011 at 13:12Quote:On 26-05-2009 at 07:06, Anonymous wrote: Did you see function you've used? void TIM_PrescalerConfig(TIM_TypeDef* TIMx, u16 Prescaler, u16 TIM_PSCReloadMode) { /* Check the parameters */ assert_param(IS_TIM_ALL...
Posted on May 17, 2011 at 13:12 I solved the problem :-] using a function to devide the tim clock, for 655535. Now the frequency step is around 0.016Hz. I'm able to measure the 40 Hz. TIM_PrescalerConfig(TIM2, 0x1987, TIM_PSCReloadMode_Immediate); T...
Posted on May 17, 2011 at 13:12 The PSC is used select the numbers of envents to capture, I wanna only one envent(the period to measure the frequency). Quote:On 25-05-2009 at 14:36, Anonymous wrote: Try this: Code: <BR><BR>TIM2->PSC=(u16)iPrescaler...
Posted on May 17, 2011 at 13:12 I`m using the st code example ''PWM_Input''. It's working perfect, but the problem is the minimum frequency to measure is 1100Hz. I wanna to measure frequency starts with 10Hz. How can I modified this example to meas...
Posted on May 17, 2011 at 13:11 Thanks, it works!:-] Quote:On 06-05-2009 at 11:34, Anonymous wrote: e.g. as follows: #define U_ID_0 (*(vu32*) 0x1FFFF7E8) #define U_ID_1 (*(vu32*) 0x1FFFF7EC) #define U_ID_2 (*(vu32*) 0x1FFFF7F0) printf (''Unique ID