完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
嗨,我用的是MCP2515 CAN控制器,在125kHz可以从20MHz的CRATSTAR波特率。在数据表DS2000 1801H页55和59,它写道,振荡器启动时间(OST)被定义为128toSC。因为我运行在20MHz,我期待唤醒时间是6.4。而不是那样,我经历了一个大于1ms后发送唤醒命令。(ReqOP=000在CuxTrl)是否可能是真正的ToSC值是128×TbAdRead,而不是128×Tosc????有人经历过同样的行为吗?当做,
以上来自于百度翻译 以下为原文 Hi, I'm using a MCP2515 CAN controller at 125kHz CAN baud rate from a 20MHz cristal. In Datasheet DS20001801H-pages 55 and 59, it's written that the Oscillator Start-up time (OST) is defined as 128Tosc. Since I'm running at 20MHz, i'm expecting that the wakeup time is 6.4µs. Instead of that, I'm experiencing a OST greater than 1ms after sending the wakeup command. (REQOP = 000 in CANCTRL) Is it possible that the real Tosc value is 128*TBaudRate instead of 128*Tosc??? Anybody experiencing the same behavioral? Regards, Attached Image(s) |
|
相关推荐
5个回答
|
|
我刚才看到一个有趣的行为比较WaKIF中断有关晶体振荡。它似乎有两个阶段的唤醒。功率晶体,但不振荡(ChanSTAT= 0x24睡眠+ WAKIF)晶体振荡(ChanSTAT=0x64侦听+WAKIF)正常模式(CANSTAT=0x00正常)也许128个ToSC只在唤醒的第二阶段有效吗????我希望这能帮助你帮助我!!!!当做,
以上来自于百度翻译 以下为原文 I just saw an interesting behavior when comparing the WAKIF interrupt related to the crystal oscillation. It seems to have two stage in Wake Up.
I hope that will help you to help me!!! Regards, Attached Image(s) |
|
|
|
嗨,这是Microchip支持团队的第一个答案。我在等待更多的细节。---------------嗨,贾景晖,你好。你说得对。128ToSc适用于振荡器开始振荡的时刻。
以上来自于百度翻译 以下为原文 Hi, Here is the first answer from the Microchip support team. I'm waiting for more details. ------------------- Hi Marc, Good Day. You're right. The 128Tosc applies at the moment the oscillator starts oscillating. Regards, MJ ------------------- Regards, |
|
|
|
感谢您报告您的支持票的结果。对于一个20MHz的振荡器来说,毫秒似乎有点长——我本来期望几百微秒最大。什么连接到复位引脚?是否有一个可以解释延迟的RC复位电路?
以上来自于百度翻译 以下为原文 Thanks for reporting the results of your support ticket. A millisecond does seem a bit long for a 20MHz oscillator to get going - I would have expected a couple hundred microseconds max. What's connected to the Reset pin? Is there an RC reset circuit that could explain the delay? |
|
|
|
谢谢你的回答,复位引脚直接连接到C的GPIO,当C准备就绪时它被强制高。在我的用例中,(总线活动唤醒中断),C已经准备好,模块永远不会复位(通过复位引脚或SPI复位命令EIDER)。
以上来自于百度翻译 以下为原文 Thank you mbrowning for your answer, The reset pin is directly connected to a GPIO of the µC and it's forced high when the µC is ready. In my use case, (Bus Activity Wake-up Interrupt), the µC is ready and the module is never reset (eider by the reset pin or by SPI reset command) |
|
|
|
嗨,这是Microchip支持团队的答案。嗨,贾景晖,请看我们的业务单元的响应。通常超过1ms的唤醒时间是可以接受的。客户有特殊的唤醒要求吗?也许在MCP2515 DS 56页底部列出的注释是有用的。客户可以尝试调谐RS和C1和C2以优化启动时间。不幸的是,不可能对振荡器启动作出一般性陈述。这必须在客户应用程序中进行测试。Microchip有很多应用程序,讨论振荡器的设计,见MCP2517FD FRM第13节的一个简短列表:http://WW1.Microchip .com……EVICEDOC/2000 5678A。
以上来自于百度翻译 以下为原文 Hi, here is the answer from Microchip Support team. Hi Marc, Please see response from our business unit. Usually wake up times of more than 1ms are acceptable. Does the customer have special wake up requirements? Maybe the notes listed on the bottom of page 56 of the MCP2515 DS are helpful. The customer could try to tune RS and C1 and C2 to optimize the start up time. Unfortunately, it is not possible to make general statements regarding oscillator start up. This has to be tested inside the customer application. Microchip has lots of application notes that discuss oscillator design, see MCP2517FD FRM section 13.0 for a short list: http://ww1.microchip.com/...eviceDoc/20005678A.pdf Regards, MJ |
|
|
|
只有小组成员才能发言,加入小组>>
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 21:21 , Processed in 1.296737 second(s), Total 86, Slave 69 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号