完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
我在几个项目中使用过这个PIC芯片,但它们都独立于日历时钟功能,所以我不想读它。现在,我需要在即将到来的项目中使用RTC,我有几个问题,因为我的搜索没有成功:1)电池连接,因为RTC需要在设备断电时运行,所以我想我必须以某种方式将电池连接到它。当PIC关机时电池在保持RTC运行吗?建议使用电池类型?2)RTCI的初始化可以使用软件片段在通电时初始化RTC,同时处理这两种情况(首先启动RTC,然后从已经运行的RTC开始)。我真的不知道这是怎么做到的,所以一个代码示例会很好。3)RTCIf的精度,我使用一个32768Hz的时钟晶体,然后我可以得到相当精确的定时。也就是说需要使用额外的电容器或可变电容器来拉动振荡器吗?欢迎任何建议。
以上来自于百度翻译 以下为原文 I have used this PIC chip on several projects but they were all independent of calendar clock functions so I did not care to read up on it. Now I need to use the RTC in an upcoming project and I have a few questions since my searches were not successful: 1) Connection of a battery Since the RTC needs to be running also when the device is powered down I assume I have to somehow connect a battery to it. Are there any circuit examples for this where the battery is keeping the RTC running while the PIC is switched off? Recommendations of battery type to use? 2) Initialization of the RTC I could use software snippets for initializing the RTC on power up taking care of both cases (first start and start with the RTC already running. I do not really know how this can be done so a code example would be good. 3) Accuracy of RTC If I use a 32768 Hz clock crystal could I then get decent accuracy of timing. I.e. is there a need to pull the osciallator using extra capacitors or a variable cap? Any suggestions welcome. |
|
相关推荐
5个回答
|
|
我想我会同意,但实际上我一直想保持零件编号低,所以…我不确定更新的PIC,我基本上从来没有进入外部电池模式时,使用他们的RTC:我似乎记得,旧的有一些问题,基本上失去了它的全部意义,但他们应该解决这些问题…
以上来自于百度翻译 以下为原文 I think I would agree with but indeed I always wanted to keep the part number low so... I am not sure about newer PICs, I basically never went into external battery mode when using their RTC: I seem to remember that older ones had some issues that basically invalidated the full meaning of it, but newer ones should've solved them... |
|
|
|
PIC24FJ256GB406支持外部备用电池(VBAT输入)
以上来自于百度翻译 以下为原文 PIC24FJ256GB406 supports external backup battery (VBAT input) |
|
|
|
|
|
|
|
但似乎只有16 K RAM……我需要更多。我使用的部分有96 K RAM。
以上来自于百度翻译 以下为原文 But only seems to have 16 K RAM... I need more than that. The part I use has 96 K RAM. |
|
|
|
不敢相信,所以我下载它的数据表……这太疯狂了!
以上来自于百度翻译 以下为原文 Could not believe that, so I downloadad its datasheet and... This is crazy! |
|
|
|
只有小组成员才能发言,加入小组>>
5195 浏览 9 评论
2013 浏览 8 评论
1937 浏览 10 评论
请问是否能把一个ADC值转换成两个字节用来设置PWM占空比?
3185 浏览 3 评论
请问电源和晶体值之间有什么关系吗?PIC在正常条件下运行4MHz需要多少电压?
2240 浏览 5 评论
749浏览 1评论
636浏览 1评论
有偿咨询,关于MPLAB X IPE烧录PIC32MX所遇到的问题
521浏览 1评论
PIC Kit3出现目标设备ID(00000000)与预期的设备ID(02c20000)不匹配。是什么原因
647浏览 0评论
548浏览 0评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-12-2 13:32 , Processed in 1.477652 second(s), Total 85, Slave 69 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号