cancel
Showing results for 
Search instead for 
Did you mean: 

Timer1 External Clk source mode2

rparker9
Associate
Posted on September 09, 2009 at 19:29

Timer1 External Clk source mode2

3 REPLIES 3
rparker9
Associate
Posted on May 17, 2011 at 15:04

Has any one had problems with external input clock mode2 ?

I am attempting to count pulses thru TIM_ETR with no luck.

I have followed the suggested procedure exactly i.e. set ECE in TIM1_ETR

and CEN in TIM1_CR1.

The exact micro is the STM8S207C8T6.

The timer runs ok when internal clock selected and I can see from trial sofware that the pulses are going to PB3/pin19.

The frequency is easily less than master/4

Any one else had any issues or solutions?

brazov2
Associate II
Posted on May 17, 2011 at 15:04

Hi,

have you got a look on page 149 of RM0016?

http://www.st.com/stonline/products/literature/rm/14587.pdf

I think you have to configure SMS bits accordingly.

coluber

tiger74-06
Associate
Posted on March 17, 2013 at 11:06

Hi,

Where I can read about maximum external clock frequency of stm8s's timers?

Whether it might be more than maximum cpu clock frequency?

Thanks