›› 2013, Vol. 26 ›› Issue (6): 140-.

• 论文 • 上一篇    下一篇

基于LPC2294的CAN与以太网网关互联的设计

张忠民,邬晓静   

  1. (哈尔滨工程大学 信息与通信工程学院,黑龙江 哈尔滨 150001)
  • 出版日期:2013-06-15 发布日期:2013-06-04
  • 通讯作者: 邬晓静(1985—),女,硕士研究生。研究方向:ARM 嵌入式系统。E-mail:happymisswu@126.com
  • 作者简介:张忠民(1972—),男,副教授,硕士生导师。研究方向:现代数字通信系统,数字信号处理。

Design of the Interconnecting Gateway Between CAN Bus and Ethernet Based on LPC2294

ZHANG Zhongmin,WU Xiaojing   

  1. (College of Information and Communication Engineering,Harbin Engineering University,Harbin 150001,China)
  • Online:2013-06-15 Published:2013-06-04

摘要:

为满足以太网与CAN总线网络的互联,设计了一种以LPC2294为控制芯片,嵌入式μC/OS-II为操作系统的网关模块,实现了以太网协议与CAN总线协议的相互转换。给出了网关模块的软硬件设计,重点阐述了网关模块使用的自定义UDP报文结构,该报文结构可提供更多的管理信息,有利于网络的管理。测试表明设计的网关模块具有一定的实用性和可靠性。

关键词: CAN, 以太网, 协议转换, 嵌入式

Abstract:

In order to meet the interconnection need of Ethernet and CAN bus network,a gateway module based on the LPC2294 controller chip and embedded μC/OS-II operating system is designed,which realizes the protocol conversion between Ethernet and CAN bus.The paper introduces the hardware and software design in detail with emphasis on the custom UDP packet structure the gateway module uses.The packet structure can provide more management information,and is conducive to the management of the network.The tests show that the design of module has good practicality and reliability.

Key words: CAN bus;ethernet;protocol conversion;embedded system

中图分类号: 

  • TP391