Hi all,
I am using Olimexino board with STM32 and Maple IDE. I am trying to clock the counter by external TTL pulses (10us long and 3,3V). Unfortunately, I am not able to set the prescaler to 0. Here is how I setuped the timer:
TIMER3_BASE->SMCR = 0x4000; //enable external input (external clock source mode 2
TIMER3_BASE->CR1 = 0x0001; //enable the counter
But when I send the TTL pulses with signal generator every 20ms, every 40ms the counter increase.
Please, does anyone has any idea where can be the problem?
Thank you in advance,
Maslo