亲爱的维亚切斯拉夫,
在这个帖子的标题中你提到了LSI,而在内容中你提到了LSE,所以我不完全清楚这些时钟源中哪一个是你问题的主题。
无论如何,我为STM8L152R6Tx创建了一个新的STM8CubeMX项目,我可以选择LSE和LSI作为时钟源,为RTC提供信号。请看下面:
为了能够选择LSE,必须事先做一件事。在Pinout选项卡中,必须启用LSE(在RCC项目中):
问候
Szymon
以上来自于谷歌翻译
以下为原文
Dear Vyacheslav,
In title of this thread you mention LSI, while in content you refer to LSE, so it is not fully clear to me which of these clock sources is a subject of your question.
Anyway I created a new STM8CubeMX project for STM8L152R6Tx and I am able to select both LSE and LSI as a source of clock, that feeds RTC. Please see below:
In order to be able to select LSE one thing in advance has to be done. In Pinout tab LSE has to be enabled (in RCC item):
Regards
Szymon
亲爱的维亚切斯拉夫,
在这个帖子的标题中你提到了LSI,而在内容中你提到了LSE,所以我不完全清楚这些时钟源中哪一个是你问题的主题。
无论如何,我为STM8L152R6Tx创建了一个新的STM8CubeMX项目,我可以选择LSE和LSI作为时钟源,为RTC提供信号。请看下面:
为了能够选择LSE,必须事先做一件事。在Pinout选项卡中,必须启用LSE(在RCC项目中):
问候
Szymon
以上来自于谷歌翻译
以下为原文
Dear Vyacheslav,
In title of this thread you mention LSI, while in content you refer to LSE, so it is not fully clear to me which of these clock sources is a subject of your question.
Anyway I created a new STM8CubeMX project for STM8L152R6Tx and I am able to select both LSE and LSI as a source of clock, that feeds RTC. Please see below:
In order to be able to select LSE one thing in advance has to be done. In Pinout tab LSE has to be enabled (in RCC item):
Regards
Szymon
举报