完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
我在PIC24FJ128GA202上使用SoSC来运行RTCC模块,我有一段时间让它稳定。RTCC启动和停止,当它运行时,它不会保持良好的时间(+/-每秒钟一秒!)我使用的是一个IQD 32768千赫石英晶体,它具有12pF负载电容和2pf并联电容。我已经尝试过使用10pF到50pF的电容器,在性能上没有明显的差别。这就是我所看到的:范围显示它在正确的频率附近振荡,但是幅度只有大约300 mV。我有一个探险者板,我把晶体从它上拉下来,WHI。CH给了我更多的信号,但仍然不一致。把一个范围放在探险者板PIM上,我看到它也有非常低的振幅,可能是400毫伏左右,但是它确实有大约1/2伏的偏移量。我没有看到任何抵消我的项目。我尝试打开RTCC输出设置到时钟,但看不到该引脚上的任何活动。这里是我所尝试的:改变电容值。在晶体上增加1M分流电阻器。将晶体从探险者板上切换。打开弱拉O。SoSi引脚。问题:什么是一个良好的晶体和电容器组合这一部分?当振荡器正常工作时,我应该从振荡器中看到什么样的电压和偏移量?我错过了什么????我的其他项目运行良好,包括2个AD转换器输入,2个UART,LCD显示,以及其他各种iOS。如果我能让RTCC做我应该做的,我会是一个快乐的家伙!请帮忙。
以上来自于百度翻译 以下为原文 I'm using the SOSC on the PIC24FJ128GA202 to run the RTCC module and I'm have a heck of a time getting it to be stable. The RTCC starts and stops, and when it does run it does not keep good time (+/- one second every minute!). I'm using an IQD 32,768 khz quartz crystal, which has a 12pf load capacitance and 2pf shunt capacitance. I've tried using capacitors from 10pf through 50pf for the tank with no noticeable difference in performance. Here's what I see:
|
|
相关推荐
13个回答
|
|
我也有问题得到可靠的XTAL的SOSC,但终于找到了一个,我将要检查的零件号,并返回给你,但我很确定这是一个abracon部分。
以上来自于百度翻译 以下为原文 I too had problems getting a reliable Xtal for the SOSC but found one eventually, I'll have to check up on the part number and get back to you but I'm pretty certain it was an Abracon part. |
|
|
|
我用的是同一个PIC,我用的是SSOC的ISAB0732.768 KHZ-1-T -DigiKig部分,535-98081-NDI,将2个电容器从晶体的任意一侧放置到地上(PIC的引脚连接到XTAL的任一个分支,然后每个分支有一个连接到地上的电容器),并使用这里规定的规则HTTPS:/BLG.AdAFRUIT.COM/2012/01/24/SEDION右晶和CAPS-FU-YORDE/I使用2×15 PF电容器。SSOC启动和运行可靠,我还没有检查精度。
以上来自于百度翻译 以下为原文 I'm using the same PIC as you; the crystal I used for SOSC is ABS07-32.768KHZ-1-T - Digikey part # 535-9808-1-ND I just put 2 capacitors from either side of the crystal to ground (the pins of the PIC connect to either leg of the Xtal and then each leg has a capacitor connecting to ground) and used the rules set out here https://blog.adafruit.com/2012/01/24/choosing-the-right-crystal-and-caps-for-your-design/ I used 2 x 15 pF capacitors. The SOSC starts and runs reliably, I haven't checked for accuracy yet. Attached Image(s) |
|
|
|
这是正确的吗?示意图显示22PF。假设3PF引脚电容,22PF将完全匹配的125PF晶体。
以上来自于百度翻译 以下为原文 Is this correct? The schematic image shows 22pF. Assuming 3pF pin capacitance, 22pF would exactly match the 12.5pF crystal. |
|
|
|
我使用外部RTC。我做了类似于Flash的显示区域使用外部中断。对超时也很好。第一次警报时间/日期警报。第二次超时报警,从睡眠中醒来。发现内部RTC不够好,尤其是当你关闭芯片时。用RTC电池可以持续10年。
以上来自于百度翻译 以下为原文 I use an external rtc. I did something similar to flash a display area using an external interrupt. Good for time-outs as well. First alarm for time/date alarm. 2nd alarm for timeouts, wake from sleep. Found the internal rtc not good enough especially when you power down the chip. With a rtc a battery can last 10 yrs. |
|
|
|
我实际上试图编辑电容值为22 pF,这应该是什么-微软论坛上的愚蠢过滤器阻止我作出这样的改变!
以上来自于百度翻译 以下为原文 I actually tried to edit the capacitor values to 22 pF which is what they should be - the STUPID filter on the Microchip forum blocked me from making that change! |
|
|
|
|
|
|
|
感谢水晶参考,我会拿起一个,看看它是否工作得更好。我按照你的建议,按照PIC手册的规定,这就是为什么我对这个问题感到困惑的原因。我尝试过10PF、15PF、20PF和56PF电容器,没有明显的差异。我真的不想去外面的RTCC,因为内置的一个硬币电池上的VBAT,应该做完全一样的事情!迈克
以上来自于百度翻译 以下为原文 Thanks for the crystal reference, I'll pick one up and see if it works any better. I'm wired as you suggest, and as the manual for the PIC specifies, which is why I'm puzzled about the problem. I've tried 10pf, 15pf, 20pf and 56pf capacitors with no noticeable difference. I really don't want to go to an externl RTCC since the built in one, with a coin cell on the Vbat, should do exactly the same thing! Mike |
|
|
|
泰德M:我刚刚去DigiKiE网站查了那部分。我应该提到我用的是蘸版和通孔水晶。我可能不得不修改它!水晶你的规格和我试着使用的主要区别是你的ESR要高得多。这可能会造成不同,特别是因为它是一个非常低功率的振荡器。我使用的部分是一个IQD LFXTAL090096,它有一个50K的ESR与70K的ESR在您的部分。否则,他们似乎也会这样做。
以上来自于百度翻译 以下为原文 Ted M: I just went over to the DigiKey site and looked up that part. I should have mentioned that I'm using the DIP version of the part and a through-hole crystal. I may have to modify that! The main difference between the crystal you spec and the one I'm trying to use is that your ESR is much higher. That could make the difference, especially since it's a very low powered oscillator. The part I'm using is an IQD LFXTAL002996 which has a 50k ESR vs the 70K ESR on your part. Otherwise they seem to spec out similarly. |
|
|
|
这是因为你的帖子包含了一个真实的URL,它触发了愚蠢的Web服务器防火墙。
以上来自于百度翻译 以下为原文 It is because your post contains a live URL, which is triggering the stupid web server firewall. See: How to avoid errors when editing posts |
|
|
|
这是因为你的帖子包含了一个真实的URL,它触发了愚蠢的Web服务器防火墙。参见:如何避免从“移动”论坛主题中编辑帖子时,你通常可以编辑“优雅”主题拒绝的大多数消息。但是请注意,如果CR,格式化会被破坏。在一个主题中编辑一个帖子,并在另一个主题中编辑它。
以上来自于百度翻译 以下为原文 It is because your post contains a live URL, which is triggering the stupid web server firewall. See: How to avoid errors when editing posts From the "Mobile" Forum Theme you can usually edit most messages that the "Elegant" theme rejects. But take note that the formatting can get corrupted if you create a post in one theme and edit it in the other. |
|
|
|
你正在超速驾驶你的LFXTAL900996 32.768 kHz晶体。你已经测量了0.4伏在你的晶体上,有一个50K欧姆的ESR。这是(4×4)/ 50000=0.0000032瓦,或3.2微瓦。为了满足50K欧姆ESR晶体的1UW最大驱动电平,最大的P - P电压应该小于0.220伏。对低功率振荡器进行直接测量几乎是不可能的,没有专门的探针。关于如何用间接方法验证低功率振荡器的应用说明。
以上来自于百度翻译 以下为原文 You are overdriving your LFXTAL002996 32.768KHz crystal. You have measured 0.4 volt across your crystal that has an ESR of 50K ohms. This is (.4*.4)/50000 = 0.0000032 watts, or 3.2 microwatts. To meet the 1uW maximum drive level for a 50K ohm ESR crystal the maximum P-P voltage shoul be less that 0.220 volts. Making direct measurements on low power oscillators is all but impossible to do without specialized probes. Microchip has published application notes on how to validate low power oscillators using indirect methods. |
|
|
|
几年前,我写了一封信给Microchip的首席执行官,关于他的支持论坛可能会阻止一半的支持问题甚至被张贴,我从来没有得到答复。我已经放弃了以前的挫折,如果你不知道它的到来,你可以花时间t。将一个详细的帖子插入代码插入等,然后用一个只表示你没有权限发布的消息将其全部丢失。如果我记得,我总是把我的帖子复制到剪贴板上,然后点击[POST ]按钮。在某种程度上,它驱使我远离使用微芯片部件。
以上来自于百度翻译 以下为原文 A while back (several years) I wrote a letter to the CEO of Microchip on the subject that his support forum was probably preventing half of the support questions even being posted; I never got a reply. I have given up in frustration before, if you don't know it's coming, you can spend AGES putting together a detailed post with code inserts etc.etc. and THEN LOSE IT ALL with a message that just says that you don't have permission to post. If I remember, I always copy my post to the clipboard before hitting the [Post] button. To some extent, it's driven me away from using Microchip parts. |
|
|
|
我已经尝试了几种不同的晶体6PF-125PF负载电容,与各种电容器。仍然很差的计时,远远超过使用校准寄存器可以调整。(时钟每天大约10分钟左右!)我需要它保持每天1/2秒。而且,当电源被移除时,它似乎不会继续运行在VBAT上。非常令人沮丧。至少一些问题,我原来是MCC。我以前遇到过MCC代码的问题,所以我并不感到惊讶。我改变了MCC中的校准寄存器,并重新生成代码,时钟的精度没有变化。当我更仔细地查看生成的代码时,它似乎完全忽略了寄存器,甚至从来没有尝试设置它。我将尝试手动添加校准代码,看看它的位置,尽管硬件问题仍然存在,所以我的项目不会按计划运行。
以上来自于百度翻译 以下为原文 I've now tried several different crystals with 6pf - 12.5pf load capacitance, with various capacitors. Still bad timekeeping, far more than can be adjusted for using the calibration register. (The clock looses 10 minutes or so per day! I need it to hold to 1/2 second per day.) Also, it doesn't seem to continue running on Vbat when the power is removed. Very frustrating. At least some of the problem I was having turned out to be the MCC. I've had trouble with MCC code before, so I'm not surprised. I changed the calibration register in the MCC and regenerated the code, with no change in the clock's accuracy. When I looked at the generated code more closely, it seems to be ignoring that register completely and never even tries to set it! I'm going to try adding calibration code manually and see where that leads, though the hardware problems persist so my project will not function as planned. Oy |
|
|
|
只有小组成员才能发言,加入小组>>
5161 浏览 9 评论
1999 浏览 8 评论
1928 浏览 10 评论
请问是否能把一个ADC值转换成两个字节用来设置PWM占空比?
3171 浏览 3 评论
请问电源和晶体值之间有什么关系吗?PIC在正常条件下运行4MHz需要多少电压?
2226 浏览 5 评论
731浏览 1评论
613浏览 1评论
有偿咨询,关于MPLAB X IPE烧录PIC32MX所遇到的问题
503浏览 1评论
PIC Kit3出现目标设备ID(00000000)与预期的设备ID(02c20000)不匹配。是什么原因
629浏览 0评论
527浏览 0评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-11-22 19:25 , Processed in 1.872459 second(s), Total 101, Slave 84 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号