Movatterモバイル変換


[0]ホーム

URL:


CN205864441U - Ethernet-to-CAN (controller area network) module based on Microblaze verification - Google Patents

Ethernet-to-CAN (controller area network) module based on Microblaze verification
Download PDF

Info

Publication number
CN205864441U
CN205864441UCN201620850902.9UCN201620850902UCN205864441UCN 205864441 UCN205864441 UCN 205864441UCN 201620850902 UCN201620850902 UCN 201620850902UCN 205864441 UCN205864441 UCN 205864441U
Authority
CN
China
Prior art keywords
core
ethernet
microblaze
module
controller
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201620850902.9U
Other languages
Chinese (zh)
Inventor
张孝飞
金长新
刘强
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shandong Inspur Science Research Institute Co Ltd
Original Assignee
Inspur Group Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Inspur Group Co LtdfiledCriticalInspur Group Co Ltd
Priority to CN201620850902.9UpriorityCriticalpatent/CN205864441U/en
Application grantedgrantedCritical
Publication of CN205864441UpublicationCriticalpatent/CN205864441U/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Landscapes

Abstract

The utility model belongs to the technical field of the ethernet, specifically speaking are based on Microblaze checks and shows ethernet commentaries on classics CAN module. The utility model discloses a discover ethernet to CAN module based on Microblaze core includes the Microblaze core, still includes gigabit ethernet IP core, GPIO module, DDR3 controller IP core and UART IP core, and gigabit ethernet IP core, GPIO module, DDR3 controller IP core, UART IP core link with the Microblaze core respectively; the GPIO module is connected with the CAN controller, and the gigabit Ethernet IP core is externally connected with the PHY chip. The utility model discloses a verify that ethernet changes CAN module structure design is simple reasonable based on Microblaze, CAN realize utilizing the ethernet interface to realize having good popularization and application and worth to its CAN module data receiving and dispatching control and supervision.

Description

Translated fromChinese
基于Microblaze核实现以太网转CAN模块Realize Ethernet to CAN module based on Microblaze core

技术领域technical field

本实用新型涉及以太网技术领域,具体提供一种基于Microblaze核实现以太网转CAN模块。The utility model relates to the technical field of Ethernet, and specifically provides an Ethernet-to-CAN module based on a Microblaze core.

背景技术Background technique

随着社会的进步及经济的飞速发展,计算机的应用领域越来越广泛,计算机网络也随之发展起来。以太网是一种局域网规范,是现有局域网采用的最通用的通信协议标准。CAN控制器是CAN局域网控制器的简称,是为解决数据交换而开发的一种串行数据通信总线。在现有技术中,尚且缺少利用以太网界面实现对其CAN模块数据进行收发控制与监视的技术。With the progress of society and the rapid development of economy, the application field of computer is more and more extensive, and the computer network is also developed accordingly. Ethernet is a local area network specification and the most common communication protocol standard adopted by the existing local area network. CAN controller is the abbreviation of CAN local area network controller, which is a serial data communication bus developed to solve data exchange. In the prior art, there is still a lack of technology to use the Ethernet interface to realize the sending and receiving control and monitoring of CAN module data.

发明内容Contents of the invention

为了解决以上存在的问题,本实用新型提供一种结构设计简单合理,能实现利用以太网界面实现对其CAN模块数据收发控制与监视的基于Microblaze核实现以太网转CAN模块。In order to solve the above existing problems, the utility model provides a simple and reasonable structure design, which can realize the Ethernet-to-CAN module based on the Microblaze core to realize the data transmission and reception control and monitoring of the CAN module by using the Ethernet interface.

为实现上述目的,本实用新型提供了如下技术方案:In order to achieve the above object, the utility model provides the following technical solutions:

基于Microblaze核实现以太网转CAN模块,包括Microblaze核,还包括千兆以太网IP核、GPIO模块、DDR3控制器IP核和UART IP核,Microblaze核内嵌在FPGA上,千兆以太网IP核、GPIO模块、DDR3控制器IP核、UART IP核分别与Microblaze核相连;GPIO模块连接CAN控制器,千兆以太网IP核外接PHY芯片,PHY芯片外接数据传输接口。Realize Ethernet to CAN module based on Microblaze core, including Microblaze core, Gigabit Ethernet IP core, GPIO module, DDR3 controller IP core and UART IP core, Microblaze core embedded in FPGA, Gigabit Ethernet IP core , GPIO module, DDR3 controller IP core, and UART IP core are respectively connected to the Microblaze core; the GPIO module is connected to the CAN controller, the Gigabit Ethernet IP core is connected to the PHY chip, and the PHY chip is connected to the data transmission interface.

FPGA内嵌Microblaze 软核,在XPS工具中挂载以太网IP核、UART IP核、GPIO模块和DDR3控制器IP核。FPGA内部有BRAM、dlmb接口和Ilmb接口。dlmb接口和Ilmb接口为内部本地数据和指令总线,分别与Microblaze 软核相连接。BRAM用来存储bootloadr程序。The FPGA is embedded with the Microblaze soft core, and the Ethernet IP core, UART IP core, GPIO module and DDR3 controller IP core are mounted in the XPS tool. There are BRAM, dlmb interface and Ilmb interface inside FPGA. The dlmb interface and the Ilmb interface are internal local data and instruction buses, respectively connected to the Microblaze soft core. BRAM is used to store the bootloadr program.

所述DDR3控制器IP核挂载DDR3缓存,用来存储bootloader从Flash中load的软核要执行的程序。The DDR3 controller IP core mounts the DDR3 cache to store the program to be executed by the soft core loaded by the bootloader from the Flash.

所述UART IP核挂载调试串口,用来在调试中打印调试信息,方便调试。The UART IP core mounts the debugging serial port, which is used to print debugging information during debugging, which is convenient for debugging.

千兆以太网IP核外接PHY芯片和数据传输接口形成以太网通路,通过GPIO口连接CAN控制器。在SDK中利用xilinx FPGA提供资料实现以太网功能,利用GPIO模拟实现对CAN控制器的控制。CAN控制器的参数由千兆以太网来负责分配,比如:验收代码寄存器(ACR)和接收屏蔽寄存器(AMR)参数设置,波特率设置,输出控制寄存器设置,设置模式控制等参数。The Gigabit Ethernet IP core is externally connected to the PHY chip and the data transmission interface to form an Ethernet channel, and is connected to the CAN controller through the GPIO port. In the SDK, xilinx FPGA is used to provide data to realize the Ethernet function, and GPIO is used to simulate the control of the CAN controller. The parameters of the CAN controller are assigned by Gigabit Ethernet, such as: acceptance code register (ACR) and receiving mask register (AMR) parameter setting, baud rate setting, output control register setting, setting mode control and other parameters.

作为优选,所述CAN控制器为SJA1000控制器。Preferably, the CAN controller is a SJA1000 controller.

作为优选,所述千兆以太网IP核、GPIO模块、DDR3控制器IP核、UART IP核分别通过AXI总线与Microblaze核相连。Preferably, the Gigabit Ethernet IP core, GPIO module, DDR3 controller IP core, and UART IP core are respectively connected to the Microblaze core through an AXI bus.

作为优选,所述数据传输接口为RJ45接口。Preferably, the data transmission interface is an RJ45 interface.

与现有技术相比,本实用新型的基于Microblaze核实现以太网转CAN模块具有以下突出的有益效果:本实用新型的基于Microblaze核实现以太网转CAN模块结构设计简单合理,能利用以太网界面实现对其CAN模块数据收发控制与监视,适用领域广泛,可以应用在信息控制中心、呼叫中心、证券/金融交易系统、银行数据中心、工业控制环境、教学环境、测试中心等,具有良好的实用性。Compared with the prior art, the utility model based on the Microblaze core to realize the Ethernet to CAN module has the following outstanding beneficial effects: the structure design of the utility model based on the Microblaze core to realize the Ethernet to CAN module is simple and reasonable, and can utilize the Ethernet interface Realize the control and monitoring of CAN module data sending and receiving. It is applicable to a wide range of fields. It can be used in information control centers, call centers, securities/financial transaction systems, bank data centers, industrial control environments, teaching environments, test centers, etc., and has good practicality. sex.

附图说明Description of drawings

图1是本实用新型所述基于Microblaze核实现以太网转CAN模块的结构示意图。Fig. 1 is the structure schematic diagram of realizing the Ethernet to CAN module based on the Microblaze core of the present invention.

具体实施方式detailed description

下面将结合附图和实施例,对本实用新型的基于Microblaze核实现以太网转CAN模块作进一步详细说明。In the following, the Microblaze core-based Ethernet-to-CAN module of the present invention will be further described in detail in conjunction with the accompanying drawings and embodiments.

在本实用新型中,在未作相反说明的情况下,使用的方位词如“上、下、左、右”通常是指参考附图所示的上、下、左、右;“内、外”是指相对于各部件本身的轮廓的内、外。In the present utility model, in the case of no contrary description, the used orientation words such as "up, down, left and right" usually refer to the up, down, left and right shown in the accompanying drawings; "Refers to the inside and outside of the outline of each part itself.

实施例Example

如图1所示,本实用新型的基于Microblaze核实现以太网转CAN模块主要由Microblaze核、千兆以太网IP核、GPIO模块、DDR3控制器IP核、UART IP核、SJA1000控制器、PHY芯片、RJ45接口构成。Microblaze核内嵌在FPGA上,FPGA内部有BRAM、dlmb和Ilmb。dlmb和Ilmb为内部本地数据和指令总线,分别与Microblaze 软核相连接。BRAM用来存储bootloadr程序。在XPS工具中挂载以太网IP核、UART IP核、GPIO模块和DDR3控制器IP核。以太网IP核、UART IP核、GPIO模块和DDR3控制器IP核分别通过AXI总线与Microblaze核相连。GPIO模块外接SJA1000控制器。千兆以太网IP核外接PHY芯片,PHY芯片外接RJ45接口,形成以太网通路,GPIO模块与SJA1000控制器连接,通过GPIO模块实现对SJA1000控制器的控制。SJA1000控制器的参数由千兆以太网来负责分配,比如:验收代码寄存器(ACR)和接收屏蔽寄存器(AMR)参数设置,波特率设置,输出控制寄存器设置,设置模式控制等参数。DDR3控制器IP核挂载DDR3缓存,用来存储bootloader从Flash中load的软核要执行的程序。UART IP核挂载调试串口,用来在调试中打印调试信息,方便调试。As shown in Figure 1, the Ethernet-to-CAN module based on Microblaze core of the present utility model is mainly composed of Microblaze core, Gigabit Ethernet IP core, GPIO module, DDR3 controller IP core, UART IP core, SJA1000 controller, PHY chip , RJ45 interface composition. The Microblaze core is embedded on the FPGA, and there are BRAM, dlmb and Ilmb inside the FPGA. dlmb and Ilmb are internal local data and instruction buses, which are respectively connected to the Microblaze soft core. BRAM is used to store the bootloadr program. Mount the Ethernet IP core, UART IP core, GPIO module and DDR3 controller IP core in the XPS tool. Ethernet IP core, UART IP core, GPIO module and DDR3 controller IP core are respectively connected to Microblaze core through AXI bus. The GPIO module is externally connected to the SJA1000 controller. The Gigabit Ethernet IP core is externally connected to the PHY chip, and the PHY chip is externally connected to the RJ45 interface to form an Ethernet channel. The GPIO module is connected to the SJA1000 controller, and the control of the SJA1000 controller is realized through the GPIO module. The parameters of the SJA1000 controller are assigned by Gigabit Ethernet, such as: acceptance code register (ACR) and receiving mask register (AMR) parameter setting, baud rate setting, output control register setting, setting mode control and other parameters. The DDR3 controller IP core mounts the DDR3 cache, which is used to store the program to be executed by the soft core loaded by the bootloader from Flash. The UART IP core mounts the debugging serial port, which is used to print debugging information during debugging, which is convenient for debugging.

本实用新型的基于Microblaze核实现以太网转CAN模块的使用过程为:将以太网转CAN模块的一端通过网线接入PC机的网口,一端通过网线接入此模块的网口,CAN接口通过CAN总线接入后端的CAN设备上。The use process of the utility model based on the Microblaze core to realize the Ethernet-to-CAN module is as follows: one end of the Ethernet-to-CAN module is connected to the network port of the PC through the network cable, and the other end is connected to the network port of the module through the network cable, and the CAN interface passes through The CAN bus is connected to the CAN device at the back end.

系统设备上电完毕后,打开PC机的IE浏览器,输入192.168.0.100后进入以太网转CAN模块的界面,在此界面上设置CAN工作模式是EFF模块,每次发送8个字节,设置ACR和ARM参数,设置命令寄存器等参数后,点击浏览器界面的发送数据模式,通过CAN设备接口就可以验证通过以太网界面发送的数据是否正确。而接收功能则是设置好参数后,由CAN设备发送数据,则网页界面上的接收数据模块会显示接收到的数据来验证数据是否接收完毕与正确。After the system equipment is powered on, open the IE browser of the PC, enter 192.168.0.100 and enter the interface of the Ethernet to CAN module. On this interface, set the CAN working mode to EFF module, send 8 bytes each time, set ACR and ARM parameters, after setting the command register and other parameters, click the send data mode on the browser interface, and verify whether the data sent through the Ethernet interface is correct through the CAN device interface. The receiving function is to send data from the CAN device after the parameters are set, and the receiving data module on the web interface will display the received data to verify whether the data is received and correct.

以上所述的实施例,只是本实用新型较优选的具体实施方式,本领域的技术人员在本实用新型技术方案范围内进行的通常变化和替换都应包含在本实用新型的保护范围内。The above-mentioned embodiments are only preferred specific implementations of the utility model, and the usual changes and replacements performed by those skilled in the art within the scope of the technical solution of the utility model shall be included in the protection scope of the utility model.

Claims (4)

Translated fromChinese
1.基于Microblaze核实现以太网转CAN模块,包括Microblaze核,其特征在于:还包括千兆以太网IP核、GPIO模块、DDR3控制器IP核和UART IP核,Microblaze核内嵌在FPGA上,千兆以太网IP核、GPIO模块、DDR3控制器IP核、UART IP核分别与Microblaze核相连;GPIO模块连接CAN控制器,千兆以太网IP核外接PHY芯片,PHY芯片外接数据传输接口。1. Realize the Ethernet to CAN module based on the Microblaze core, including the Microblaze core, which is characterized in that it also includes Gigabit Ethernet IP core, GPIO module, DDR3 controller IP core and UART IP core, and the Microblaze core is embedded on the FPGA. The Gigabit Ethernet IP core, GPIO module, DDR3 controller IP core, and UART IP core are respectively connected to the Microblaze core; the GPIO module is connected to the CAN controller, the Gigabit Ethernet IP core is connected to the PHY chip, and the PHY chip is connected to the data transmission interface.2.根据权利要求1所述的基于Microblaze核实现以太网转CAN模块,其特征在于:所述CAN控制器为SJA1000控制器。2. The Ethernet-to-CAN module based on Microblaze core according to claim 1, characterized in that: the CAN controller is a SJA1000 controller.3.根据权利要求1或2所述的基于Microblaze核实现以太网转CAN模块,其特征在于:所述千兆以太网IP核、GPIO模块、DDR3控制器IP核、UART IP核分别通过AXI总线与Microblaze核相连。3. according to claim 1 and 2, based on Microblaze core, realize Ethernet to CAN module, it is characterized in that: described Gigabit Ethernet IP core, GPIO module, DDR3 controller IP core, UART IP core pass AXI bus line respectively Connected to the Microblaze core.4.根据权利要求3所述的基于Microblaze核实现以太网转CAN模块,其特征在于:所述数据传输接口为RJ45接口。4. The Ethernet-to-CAN module based on Microblaze core according to claim 3, characterized in that: the data transmission interface is an RJ45 interface.
CN201620850902.9U2016-08-082016-08-08Ethernet-to-CAN (controller area network) module based on Microblaze verificationActiveCN205864441U (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201620850902.9UCN205864441U (en)2016-08-082016-08-08Ethernet-to-CAN (controller area network) module based on Microblaze verification

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201620850902.9UCN205864441U (en)2016-08-082016-08-08Ethernet-to-CAN (controller area network) module based on Microblaze verification

Publications (1)

Publication NumberPublication Date
CN205864441Utrue CN205864441U (en)2017-01-04

Family

ID=57657347

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201620850902.9UActiveCN205864441U (en)2016-08-082016-08-08Ethernet-to-CAN (controller area network) module based on Microblaze verification

Country Status (1)

CountryLink
CN (1)CN205864441U (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN107819705A (en)*2017-11-282018-03-20济南浪潮高新科技投资发展有限公司A kind of implementation method of the data exchange based on Microblaze cores
CN108647166A (en)*2018-04-252018-10-12济南浪潮高新科技投资发展有限公司A kind of conversion method of USB interface data and CAN interface data based on Microblaze
CN112751640A (en)*2020-12-252021-05-04北京航星机器制造有限公司Gigabit network NTP time server based on alternating current B code

Cited By (5)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN107819705A (en)*2017-11-282018-03-20济南浪潮高新科技投资发展有限公司A kind of implementation method of the data exchange based on Microblaze cores
CN108647166A (en)*2018-04-252018-10-12济南浪潮高新科技投资发展有限公司A kind of conversion method of USB interface data and CAN interface data based on Microblaze
CN108647166B (en)*2018-04-252021-04-27浪潮集团有限公司 A conversion method of USB interface data and CAN interface data based on Microblaze
CN112751640A (en)*2020-12-252021-05-04北京航星机器制造有限公司Gigabit network NTP time server based on alternating current B code
CN112751640B (en)*2020-12-252022-11-15北京航星机器制造有限公司Gigabit network NTP time server based on alternating current B code

Similar Documents

PublicationPublication DateTitle
CN103616927B (en)A kind of data communication server
CN103593250A (en)Realizing method for modifying BIOS Setup option out of band
CN109828941A (en)AXI2WB bus bridge implementation method, device, equipment and storage medium
CN108089940A (en)Handle system, the method and apparatus of time-out
CN205864441U (en)Ethernet-to-CAN (controller area network) module based on Microblaze verification
CN105182210B (en)A kind of general-purpose interface and its implementation of computation chip test device
CN104102160B (en)Controller area network (CAN) bus signal transceiving analysis tool
CN107194257A (en)A kind of trusted system based on domestic TCM chips
CN106293797A (en)A kind of method and system of online updating Single Chip Microcomputer (SCM) program
CN208046641U (en) A CANOPEN-RS485 gateway device
CN204904026U (en)Environmental protection data acquisition device
CN205281479U (en) An SCD file inspection device for an intelligent substation
CN203911941U (en)Serial port based on Ethernet interface chip and Ethernet data mutual conversion system
CN206003081U (en)A kind of synchronous serial interface association of industrial computer processes managing device and industrial computer
CN102546582A (en)Method and system of improving transmission speed of embedded data transmission system
CN210119679U (en)Networking controller for double-network-port material testing machine
CN205921709U (en)Accuse switch detection device in tax accuse tanker aircraft
CN201773394U (en) A PROFIBUS bus interface device
CN208596371U (en) Multi-core JTAG Debugging Agent System Based on PCIE and FPGA
CN207650585U (en)A kind of adaptive industrial gateway
CN206378852U (en)A kind of Multifunctional test equipment
CN107329851A (en)A kind of multiport MODBUS associations processing system based on FPGA
CN204795074U (en)Quick network message collection system of many interfaces
CN205193791U (en)System for imbed software debugging through online mode
CN110879550A (en) A motor control system and CAN communication method

Legal Events

DateCodeTitleDescription
C14Grant of patent or utility model
GR01Patent grant
TR01Transfer of patent right
TR01Transfer of patent right

Effective date of registration:20230420

Address after:250000 building S02, No. 1036, Langchao Road, high tech Zone, Jinan City, Shandong Province

Patentee after:Shandong Inspur Scientific Research Institute Co.,Ltd.

Address before:No. 1036, Shandong high tech Zone wave road, Ji'nan, Shandong

Patentee before:INSPUR GROUP Co.,Ltd.


[8]ページ先頭

©2009-2025 Movatter.jp