完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
亲爱的,我有一个DSPIC33 EV 5V CAN-LIN起动器套件。我想编写一些基本的CAN通信协议来控制一些直流电动机。我知道CAN协议及其功能,但从未在微控制器上编程。[字体]请建议任何初学者指南或教程或入门类的东西或任何网络链接…理解CAN总线编程?我以前有过DSPIC33 EP512MU810(Explorer 16)的经验,包括HSPWM、定时器、ADC、UART、中断、输入捕获等。
以上来自于百度翻译 以下为原文 Dear All, I have a dsPIC33EV 5V CAN-LIN starter kit. I want to program some basic CAN communication protocol to control some DC motors. I have the idea of CAN protocols and its functioning but never programmed on micro-controllers. [ I have previous experience of dsPIC33ep512mu810(Explorer 16) with HSPWM, timers, ADC, UART, Interrupts, Input capture etc. |
|
相关推荐
7个回答
|
|
首先,你真的应该得到一些转换器的PC,像一个CAN 2 USB接口。没有两个CAN节点,它就工作了。当然还有其他的方法,PIC-CAN模块可以得到一些内置的功能,或者PIC可以使用2个罐头,但是用PC发送和接收数据确实有帮助。你可以购买这样的设备,但是不需要购买非常昂贵的设备。但是硬件是它自己的一章。即使是硬件,甚至软件都是需要的。Microchip也提供了一个CAN设备,也许不是最坏的事情开始。或者你可以建立自己的。寻找USBtin。它使用的是PIC,是开源的。还提供了一个非常简单的软件和源代码,或者可能有一个与法律兼容的开源软件,像ChanCy……Microchip之类的软件提供了一些基本的文档。口罩和过滤器在这里也解释得很好。我想我有1249(绝对是Jatinder Gharoo演示)。有软件直接启动,文档解释和学习是可能的。总有一天我要看FIFO…
以上来自于百度翻译 以下为原文 First of all you really should get some converter for PC, something like a Can 2 USB interface. Without two CAN Nodes, It wound work. There are for sure other ways, and PIC-CAN Modules got some in the loop features or a pic with 2 cans could be usefull, but sending and receiving data with pc really helps. You can buy such device, but there is no need to buy a very expensive device. But CAN-Hardware is a chapter of it's own. Not even hardware, even software will be needed. Microchip also offers a can device, perhaps not the worst thing to start with. Or you can build your own. Search for USBtin. It uses a PIC and is open source. A very simple software and sourcode is also offered, or perhaps there is a lawicel compatible open source software also, something like CANCool... Microchip offers some basic documents for can. There are also demos and here at the forum are some hints, too. Masks and filters are explained here very well, too. I think I startet with AN1249 (definitely Jatinder Gharoo demo). There is software direct to start with, and the document explains and learning is possible. Someday I got to look at FifO.... |
|
|
|
|
|
|
|
非常感谢索波特和卡特拉。我会从你提供的信息开始。但是在微芯片的上下文中没有太多的信息可以用于CAN协议。如果有人知道,请告诉我。
以上来自于百度翻译 以下为原文 Thank You very much Sobottech and Katela. I will get started with the info provided by you. But there is not much info dedicated to CAN protocols in context to microchip. If any one knows please let me know. |
|
|
|
最后,我实现了伺服电机位置控制的2.0B(11位ID和29位ID)通信@ 250kbs/s。谢谢。有人知道微芯片为什么把CAN模块称为ECAN(增强CAN)……CAN和ECAN有什么区别?
以上来自于百度翻译 以下为原文 Hello, Finally, I implemented CAN 2.0B(both 11bit id and 29bit id) communication @ 250Kbits/sec for position control of servo motor. Thanks. Does any one know why microchip is calling the CAN module as ECAN (Enhanced CAN)...? What is the difference between CAN and ECAN? |
|
|
|
可以比较CAN和ECAN模块应用程序NoNAN916的信息。
以上来自于百度翻译 以下为原文 You can get that information in Comparing CAN and ECAN Modules application note AN916 |
|
|
|
我曾经认为它是“标准帧”与“扩展”,而且DMA能力更高速度和更少的CPU开销。
以上来自于百度翻译 以下为原文 I used to think it was "standard frames" vs. "extended", and moreover the DMA capability for more speed and less CPU overhead |
|
|
|
亲爱的,有没有人体验过英飞凌微控制器?我必须从CAN Link启动器套件到英飞凌(英飞凌XC22XX启动器套件)开发板进行通信?请不要采取其他方式,因为我找不到一个好的论坛来讨论它。如果有人有经验,请让我知道,这样我就可以澄清一些可疑的电子邮件。微笑:
以上来自于百度翻译 以下为原文 Dear all, Has anyone experience with Infineon microcontrollers? I have to communicate from the CAN-LIN starter kit to an Infineon(Infineon XC22xx Starter Kit) development board? Please do not take it otherwise because i could nót find a good forum to discuss it. If someone has experience please let me know so that I can clear some doubts over email.Smile: |
|
|
|
只有小组成员才能发言,加入小组>>
5160 浏览 9 评论
1998 浏览 8 评论
1927 浏览 10 评论
请问是否能把一个ADC值转换成两个字节用来设置PWM占空比?
3170 浏览 3 评论
请问电源和晶体值之间有什么关系吗?PIC在正常条件下运行4MHz需要多少电压?
2225 浏览 5 评论
727浏览 1评论
612浏览 1评论
有偿咨询,关于MPLAB X IPE烧录PIC32MX所遇到的问题
501浏览 1评论
PIC Kit3出现目标设备ID(00000000)与预期的设备ID(02c20000)不匹配。是什么原因
626浏览 0评论
524浏览 0评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-11-22 03:54 , Processed in 1.367303 second(s), Total 90, Slave 73 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号