完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
|
大家好,
为什么STM8CubeMX禁止频率低于1 MHz的RTC时钟,不允许使用LSE?我想做一块手表! 提前致谢。 #lsi #rtc#stm8cubemx#clock-configuration 以上来自于谷歌翻译 以下为原文 Hello everyone, Why does the STM8CubeMX prohibit the clocking of the RTC with a frequency of less than 1 MHz, not allowing to use of an LSE? I want made a watch! Thanks in advance. #lsi #rtc #stm8cubemx #clock-configuration |
|
相关推荐
4个回答
|
|
|
亲爱的维亚切斯拉夫,
在这个帖子的标题中你提到了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 |
|
|
|
|
|
亲爱的Szymon,你理解正确。我使用的是Linux 1.2.0版,这里是截图。
也许这只是程序中的一个错误,而且它与限制无关。在1.3.0版中,同样的限制。你怎么看? 谢谢。 以上来自于谷歌翻译 以下为原文 Dear Szymon, You understood correctly. I'm using Linux version 1.2.0, here is a screenshot. Perhaps this is just a mistake in the program and to the restriction it has nothing to do. In version 1.3.0, the same limitation. What do you think? Thank you. |
|
|
|
|
|
谢谢你的澄清。它看起来像程序中的一个错误。我很抱歉,因为我可以想象这对你来说很困惑。我相信你可以使用LSE来提供RTC,LSE的预期频率是32.768kHz。绝对不是1..16MHz。作为对此信息的确认,请从以下数据表中找到提取的部分:
我将采取行动并将其报告给负责维护STM8CubeMX的团队。在此之前,如果您发现在Linux操作系统上运行STM8CubeMX有任何其他问题,请告诉我吗? 问候 Szymon 以上来自于谷歌翻译 以下为原文 Thank you for clarification. It looks like a bug in the program. I am sorry for it, as I can imagine that it was confusing to you. I am sure you can use LSE to feed RTC and expected frequency of LSE is 32.768kHz. Definitely not 1..16MHz. As a confirmation of this information please find an extracted part from datasheet below: I will take an action and report it to the team responsible for maintenance of STM8CubeMX. Before doing it, could you please let me know if you discovered any other problems with STM8CubeMX running on the Linux OS? Regards Szymon |
|
|
|
|
|
谢谢您的帮助。如果遇到原则问题,我一定会通知你。
诚挚 维亚切斯拉夫 以上来自于谷歌翻译 以下为原文 Thanks for the help. I will certainly inform you in case of principle problems. Sincerely Vyacheslav |
|
|
|
|
只有小组成员才能发言,加入小组>>
stm32mp157的异核通信的rpmsg_sdb的m4固件和a7驱动该如何编写?
1453 浏览 0 评论
stm32f103用freertos对一个采样率为1kHz的传感器,进行采样,数据出差
1502 浏览 0 评论
请教:在使用UDE STK时,单片机使用SPC560D30L1,在配置文件怎么设置或选择?里面只有SPC560D40的选项
3649 浏览 1 评论
3842 浏览 1 评论
请问是否有通过UART连接的两个微处理器之间实现双向值交换的方法?
2461 浏览 1 评论
STM32H7打开DCache后,出现了串口接收信息为空的现象,是哪里出了问题?
727浏览 5评论
用NANO STM32F103RBT6的开发板烧录不了是哪里出了问题?
661浏览 5评论
710浏览 5评论
外部中断触发类型为双边沿触发,进入中断回调后有什么办法判断该边沿是上升沿还是下降沿?
941浏览 5评论
STM32L071CBT6低温环境下无法正常工作是什么原因引起的?
745浏览 5评论
/9
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2025-12-2 06:31 , Processed in 1.124851 second(s), Total 78, Slave 61 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191

淘帖
7183