Posted on October 12, 2016 at 17:28 Hello all, I'm trying to measure the frequency of a signal using the input capture. I'm using the STM32F030's timer 3, which is a 16 bit timer. I want to extend the resolution to 32 bits, using the Capture ...
Posted on October 12, 2016 at 20:19Jan,> This is the real stuff.Ok, I agree.>Uh. I never noticed before... One learns something new every day. Thanks.Yes indeed. Thank you.Diego.
Posted on October 12, 2016 at 18:56
Hi JW,
I'm sorry I made a big mistake!! I'm using the same code to measure two signals (TIM1_CH1 and TIM3_CH1).
I wrote generic code for the two timers, and I thought I was using TIM3 to test, bu...
Posted on October 12, 2016 at 18:37
Hi JW,
Thanks for your quick answer! If I do:
uint16_t sr = TIMx->SR;
TIMx->SR = 0;
couldn't I miss an event which could fire between the read of the SR and the write to 0? As per ...