ST意法半导体
直播中

h1654155275.5795

7年用户 213经验值
私信 关注
[问答]

如何使用LSE作为TIM1或TIM2/3/5或TIM4的时钟源

如果可以使用LSE作为tiM1或TIM2 / 3/5或TIM4的时钟源?

使用LSE作为TIM1或TIM2 / 3/5或TIM4的外部触发也是可接受的,如果可能请分享一些代码示例。
#STM8定时器,LSE

以上来自于谷歌翻译


以下为原文




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)

刘庸宏

2019-5-14 06:53:29
请参阅示例TIM2_TRIGLSE
 
 
 STM8L15x标准外设库1.5.1
 
 希望这会有所帮助。
 
 Reagrds,

以上来自于谷歌翻译


以下为原文







Pls refer example TIM2_TRIGLSE in

  
  STM8L15x standard peripheral library 1.5.1
  
Hope this will help.

Reagrds,
举报

郑玉兰

2019-5-14 07:13:03
嗨,
 
 
我一直在搜索关于这个主题的信息,我发现LSE不能用作TIM1的时钟源,但到目前为止我可以找到TIM2和TIM3。正如所说,还有一个例子解释了如何在STM库示例中做到这一点。

以上来自于谷歌翻译


以下为原文





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..
举报

更多回帖

发帖
×
20
完善资料,
赚取积分