Skip to main content
Visitor II
March 5, 2012
Question

How to use LSE as clock source of TIM1 or TIM2/3/5 or TIM4

  • March 5, 2012
  • 2 replies
  • 1045 views
Posted on March 05, 2012 at 03:59

If it's possible to use LSE as the clock source of TIM1 or TIM2/3/5 or TIM4 ?

Use LSE as external trigger of  TIM1 or TIM2/3/5 or TIM4 is accepted too, if possible please share some code sample.

#stm8-timer-lse
    This topic has been closed for replies.

    2 replies

    Visitor II
    March 13, 2012
    Posted on March 13, 2012 at 13:43

    Pls refer example

    TIM2_TRIGLSE in

    STM8L15x standard peripheral library 1.5.1

    Hope this will help.

    Reagrds,

    Visitor II
    March 19, 2012
    Posted on March 19, 2012 at 13:57

    Hi,

    Ive been searching informations about this subject for a while and I found out that LSE isn't able to be used as clock source for TIM1, but is possible for TIM2 and TIM3 as far as I have found so far. As it is said, also there is an example explaining how to do that in STM Library examples..