Font Size: a A A

The Development Of CAN/Ethernet Gateway System Based On MCF52234

Posted on:2012-12-07Degree:MasterType:Thesis
Country:ChinaCandidate:C ZhangFull Text:PDF
GTID:2218330338451843Subject:Detection Technology and Automation
Abstract/Summary:PDF Full Text Request
With the fast development of Control and network technology ,the resource sharing between the network constituted by the CAN bus and Ethernet has become a hot spot in the field of industrial control。CAN bus has many advantages, its application is not only confined to the automotive industry, but also has grown to more and more areas. Ethernet technology make long-distance transport and communication more easily, it not only widely used in the commercial sphere, but also used in the field of industrial control area. Connectting the CAN bus devices to Ethernet-based enterprise information management network, will make a good way to improve the range of data sharing and transmission rate. This paper comes from the project of Tianjin Science and Technology Commission, has high practical significance.At the beginning of the article introduced the significance and the background of the topic, and then overviewed the development of CAN bus and Ethernet technology, following analysised the CAN bus and Ethernet principles, Describing the characteristics and communication protocol of CAN bus and the working principle and advantages of Ethernet, emphasised on analysising TCP/IP protocol.Based on the actual application requirements, the paper selected Freescale CodeFire V2 processor MCF52234 as the main processing chip, this chip integrates FlexCAN module and Ethernet module, and processing fast, control more powerful. Next using MCF52234 as Core structure to set up hardware platforms, including the design of Ethernet circuit, FlexCAN circuit and power circuit, reset circuit, serial communications interface circuits, E2PROM circuit and some other peripheral circuits.The design of the software consisted of three parts: FlexCAN programming module, Ethernet module programming, protocol conversion procedures for the preparation. The main process of Gateway system used interrupt, in the interrupt handler to implement protocol conversion. This paper mainly reflected the thinking of the gateway software programming, and gave part of the program code and flow chart of complex procedures, all software design were Prepared in the CodeWarrior.The end of this paper tested on the gateway and Proposed a number of problems and improved methods. This development of the Gateway system has maken communications between CAN bus and Ethernet , achieving to the purpose of information sharing, compared with similar products,it has high speed,high reliability,simple structure,easy development advantages.
Keywords/Search Tags:CAN bus, Ethernet, gateway system, MCF52234
PDF Full Text Request
Related items