.NET Micro Framework 支持 CAN 总线吗?
我知道 .NET Micro Framework 支持 I²C 总线。 是否有一些用于 CAN 或 CANopen 也是吗?
如果不支持,是否可以在不使用其他外设的情况下支持CAN? 我可以自己建立 CAN 支持吗?
I know that the .NET Micro Framework supports the I²C bus. Are there some libraries for CAN or CANopen too?
If not, does it support CAN without using other peripherals?
Can I build CAN support myself?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
您可能希望使用特定的 CAN 总线 IC 进行 .NET Microframework 开发。 例如,您可以将 MCP2515 芯片 与 Netduino。 有人已经针对此特定设置编写了驱动程序。
You may want to use a specific CAN bus IC for your .NET Microframework development. For example, you could use the MCP2515 chip in conjunction with a Netduino. Someone already wrote a driver for this specific setup.
GHI 的产品通过其 .NET Micro 扩展支持 CAN。 请参阅此处了解开发系统。
有关 CAN 实现的详细信息,请参阅此处文档:
The offerings from GHI support CAN through their .NET Micro extensions. See here for a development system.
Refer to the documentation here for details on the CAN implementation:
对 CAN 的支持可能非常特定于下面的硬件层。 芯片有邮箱吗? 多少? 它们支持扩展 ID 还是仅支持标准 ID? 邮箱/通道支持什么类型的自动路由?
基本上,我认为您可能找到的任何库都将专门与硬件接口相关联。
您可能想看看 National Instruments - 他们倾向于为其硬件提供强大的库,即使它们不是最便宜的。
Support regarding CAN can be very specific to the hardware layer underneath. Does the chip have mailboxes? How many? Do they support extended IDs or just standard IDs? What sort of autorouting is supported by a mailbox / channel?
Basically, I think any libraries you might find are going to be tied specifically to a hardware interface.
You might want to take a look at National Instruments - they tend to provide robust libraries for their hardware, even if they aren't the cheapest.
我目前正在使用USB 转 CAN 总线适配器来自 IXXAT。 它们提供最新的 DLL、C# 绑定和 一个 Windows 驱动程序,我用它来读取和写入数据到 CAN 总线网络。
I'm currently using a USB to CAN-bus adapter from IXXAT. They provide an up to date DLL, C# bindings and a Windows driver which I'm using to read and write data to a CAN-bus network.