完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
您好,我们开始用新的板测试CAN总线。我们看到:1。关于配置R0(RX!)作为输入(!)然后,我们可以将PIC总线消息从PIC发送到PC(并进入PC CAN模拟器-USB峰值),2。在配置R0(Rx)作为输出时,我们可以将消息从PC发送到PIC(并在范围内看到),这是真正的意外行为。我也没有看到CAN总线的例子能配置RX/TX引脚。有什么想法吗?谢谢你,戴维
以上来自于百度翻译 以下为原文 Hello, We started testing the can bus with a new board. We see that: 1. On configuring RF0 (rx!) as input (!), then we can transmit can bus message from pic to PC (and get in in PC can simulator - u*** PEAK), 2. On configuring RF0 (rx) as output, we can send message from PC to PIC (and see it on scope) That's real unexpected behaviour. I also do not see that the examples for can bus configure RX/TX pins at all. Is there any idea what's going wrong ? Thank you, David |
|
相关推荐
6个回答
|
|
SRART共享控制器的衍生物和示意图。这里没有人喜欢大雁追逐…
以上来自于百度翻译 以下为原文 Srart with sharing the controller derivative and the schematics. Nobody here loves a wild goose chase... |
|
|
|
HI,使用DSPIC33 FJ64 GS608,CAN总线在以下链接:HTTPS://DRVEVE.GoGoLe.COM/FIL/D/0B22GSWUREZTMM0S3MVZ3BE5RRMM/VIEW?USP=SHINGRXCAN到PIN 72TXCAN到PIN 73。请告诉我是否有更多的信息是必需的?谢谢,冉
以上来自于百度翻译 以下为原文 Hi, using dsPIC33FJ64GS608 The can bus is in the following link: https://drive.google.com/file/d/0B22GsWueReZTM0s3MVZ3bE5rRHM/view?usp=sharing rxcan into pin 72 txcan into pin 73. Please tell me if there is any more information which is required ? Thanks, Ran |
|
|
|
还有一件事,rx引脚(RF0/CANRX)应该配置为输入i/o(对于tx引脚,同样的问题,应该配置为输出),还是不需要,因为总线可以根据需要使用引脚?
以上来自于百度翻译 以下为原文 One more thing , Should rx pin (RF0/CANRX) be configured as input i/o (same question for tx pin, should it be configured as output), or is it not required since can bus is using the pins as required ? |
|
|
|
我还没有检查您的派生项,但是惟一合理的配置是将RX管脚配置为输入,将TX管脚配置为输出。你在第一篇文章中描述的效果令人难以置信。
以上来自于百度翻译 以下为原文 I didn't yet check your derivative, but the only sensible configuration would be to configure the RX pin as an input and the TX pin as an output. The effects you described in the first post are hard to believe. |
|
|
|
在另一个板(HW的旧版本)中,我看不到这样的行为(在rx管脚中不依赖于传输——正如预期的那样)。然而,在探索新的电路板时,我们不能说tx和rx之间有硬件短路,所以我们不理解为什么tx依赖于rx引脚方向。
以上来自于百度翻译 以下为原文 In another board (older version of HW), I don't see such behaviour (no dependance in rx pin for transmition - just as expected). Yet, on probing the new board , we can't say that there is a hardware short between tx and rx, so we don't understand why tx depends on rx pin direction. |
|
|
|
有一件事我没想到是上拉电阻导致3V3。如果有什么不好的,它可以解释一些“不寻常”的影响…
以上来自于百度翻译 以下为原文 One thing I didn't expect were the pullup resistors leading to 3V3. If anything there is not ok, it might explain some quite 'unusual' effects ... |
|
|
|
只有小组成员才能发言,加入小组>>
5250 浏览 9 评论
2037 浏览 8 评论
1958 浏览 10 评论
请问是否能把一个ADC值转换成两个字节用来设置PWM占空比?
3218 浏览 3 评论
请问电源和晶体值之间有什么关系吗?PIC在正常条件下运行4MHz需要多少电压?
2266 浏览 5 评论
788浏览 1评论
680浏览 1评论
有偿咨询,关于MPLAB X IPE烧录PIC32MX所遇到的问题
609浏览 1评论
PIC Kit3出现目标设备ID(00000000)与预期的设备ID(02c20000)不匹配。是什么原因
685浏览 0评论
582浏览 0评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-12-29 07:49 , Processed in 1.260659 second(s), Total 86, Slave 69 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号