Skip to main content
Visitor II
September 9, 2009
Question

Timer1 External Clk source mode2

  • September 9, 2009
  • 3 replies
  • 803 views
Posted on September 09, 2009 at 19:29

Timer1 External Clk source mode2

    This topic has been closed for replies.

    3 replies

    rparker9Author
    Visitor II
    May 17, 2011
    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?

    Visitor II
    May 17, 2011
    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

    Visitor II
    March 17, 2013
    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