cancel
Showing results for 
Search instead for 
Did you mean: 

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

lzyos
Associate II
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
2 REPLIES 2
Nickname13136_O
Associate II
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,

konay61
Associate II
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..