CN106951386A - A kind of multifunction converter based on FPGA - Google Patents
A kind of multifunction converter based on FPGA Download PDFInfo
- Publication number
- CN106951386A CN106951386A CN201710265973.1A CN201710265973A CN106951386A CN 106951386 A CN106951386 A CN 106951386A CN 201710265973 A CN201710265973 A CN 201710265973A CN 106951386 A CN106951386 A CN 106951386A
- Authority
- CN
- China
- Prior art keywords
- modules
- fpga
- uart
- module
- interface
- 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.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/38—Information transfer, e.g. on bus
- G06F13/40—Bus structure
- G06F13/4063—Device-to-bus coupling
- G06F13/4068—Electrical coupling
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Hardware Design (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Information Transfer Systems (AREA)
- Communication Control (AREA)
- Small-Scale Networks (AREA)
Abstract
The present invention is more particularly directed to a kind of multifunction converter based on FPGA.The multifunction converter based on FPGA, including UART modules, SGMII IP, Tri mode Ethernet MAC IP, SPI modules, I2C modules, USB module, data cache module and system control module;The UART modules, Tri mode Ethernet MAC IP, SPI modules, I2C modules, USB module and data cache module are all connected to the system control module;The SGMII IP are connected to system control module by Tri mode Ethernet MAC IP.The multifunction converter based on FPGA, can arbitrarily it be changed between SPI/I2C/USB/UART/Ethernet RJ45 interfaces, to send data by UART interface or Ethernet RJ45 interfaces, COM Debug Assistant or Networked E-Journals instrument can be utilized, do not need extra application program, with integrated level is high, compatibility is strong, scalability, the characteristics of be easy to implement and wide application prospect.
Description
Technical field
The present invention relates to electronic technology field, more particularly to a kind of multifunction converter based on FPGA.
Background technology
At present, many chips are all configurable, mostly pass through SPI/I2C/USB/UART/Ethernet
RJ45 interfaces are configured, and specific speed and mode of operation may difference.Particularly SPI/I2C/USB/UART/
Flash memory, eeprom memory, RAM memory of Ethernet RJ45 interfaces etc., the speed of different manufacturers are different, lattice
Formula is different, and order is different, if to develop respective module according to different equipment, that is very time-consuming.Therefore, one is developed
Plant the strong module of compatibility necessary, can accomplish to put things right once and for all, reach the effect got twice the result with half the effort.
Based on above-mentioned situation, the present invention proposes a kind of multifunction converter based on FPGA.
The content of the invention
There is provided a kind of simple efficient multi-functional conversion based on FPGA for defect of the invention in order to make up prior art
Device.
The present invention is achieved through the following technical solutions:
A kind of multifunction converter based on FPGA, it is characterised in that:Including UART modules, SGMII IP, Tri-mode
Ethernet MAC IP, SPI modules, I2C modules, USB module, data cache module and system control module;The UART moulds
Block, Tri-mode Ethernet MAC IP, SPI modules, I2C modules, USB module and data cache module are all connected to described
System control module;The SGMII IP are connected to system control module by Tri-mode Ethernet MAC IP.
The multifunction converter based on FPGA, passes through plug-in serial ports voltage conversion chip MAC 3232 and Ethernet
PHY chip BCM 5461 is connected to main frame.
The multifunction converter based on FPGA, determines to use according to source interface register and purpose interface register
SPI modules/I2C modules/USB module/UART modules/Tri-mode Ethernet MAC IP realize interface communication.
When the source interface register and purpose interface register are 0, interface communication is realized using UART modules;Work as institute
When to state source interface register and purpose interface register be 1, interface communication is realized using SPI modules;The source interface register
With purpose interface register be 2 when, interface communication is realized using I2C modules;Source interface register and purpose the interface deposit
When device is 3, interface communication is realized using USB module;When the source interface register and purpose interface register are 4, use
Tri-mode Ethernet MAC IP realize interface communication.
The beneficial effects of the invention are as follows:The multifunction converter based on FPGA, can be in SPI/I2C/USB/UART/
Arbitrarily changed between Ethernet RJ45 interfaces, to send data by UART interface or Ethernet RJ45 interfaces,
COM Debug Assistant or Networked E-Journals instrument can be utilized, it is not necessary to extra application program, it is high, compatible with integrated level
By force, scalability, the characteristics of be easy to implement and wide application prospect.
Brief description of the drawings
Accompanying drawing 1 is the multifunction converter structural representation of the invention based on FPGA.
Embodiment
In order that the technical problems to be solved by the invention, technical scheme and beneficial effect are more clearly understood, tie below
Drawings and Examples are closed, the present invention will be described in detail.It should be noted that specific embodiment described herein is only used
To explain the present invention, it is not intended to limit the present invention.
The multifunction converter based on FPGA, including UART modules, SGMII IP(For realizing that Ethernet SGMII connects
The interface IP of mouth and design), Tri-mode Ethernet MAC IP, SPI modules, I2C modules, USB module, data buffer storage mould
Block and system control module;The UART modules, Tri-mode Ethernet MAC IP, SPI modules, I2C modules, USB moulds
Block and data cache module are all connected to the system control module;The SGMII IP pass through Tri-mode Ethernet
MAC IP are connected to system control module.
The multifunction converter based on FPGA, passes through plug-in serial ports voltage conversion chip MAC 3232 and ethernet PHY
Chip BCM 5461 is connected to main frame.
The multifunction converter based on FPGA, determines to use SPI according to source interface register and purpose interface register
Module/I2C modules/USB module/UART modules/Tri-mode Ethernet MAC IP realize interface communication.
As shown in table 1, when the source interface register and purpose interface register are 0, realized and connect using UART modules
Port communications;When the source interface register and purpose interface register are 1, interface communication is realized using SPI modules;The source
When interface register and purpose interface register are 2, interface communication is realized using I2C modules;The source interface register and mesh
Interface register be 3 when, interface communication is realized using USB module;The source interface register and purpose interface register are 4
When, interface communication is realized using Tri-mode Ethernet MAC IP.
Pass through UART serial ports for example, working as(UART modules)Switch to SPI interface(SPI modules)When, then configure source interface deposit
Device is 0, and purpose interface register is 1.The data sent by main frame, it is temporary by system control module by UART serial ports links
Data cache module is stored to, then according to purpose interface register, SPI interface is ready for sending, its SPI mode is according to SPI works
Operation mode register is selected.Conversion method between other module interfaces is similar therewith, is not repeated.
The source interface register of table 1 and purpose interface register and interface communication
Source interface register (3-Bit) | Source interface | Purpose interface register (3-Bit) | Purpose interface |
0 | UART modules | 0 | UART modules |
1 | SPI modules | 1 | SPI modules |
2 | I2C modules | 2 | I2C modules |
3 | USB module | 3 | USB module |
4 | Ethernet RJ45 | 4 | Ethernet RJ45 |
5 | Retain | 5 | Retain |
6 | Retain | 6 | Retain |
7 | Retain | 7 | Retain |
Wherein, Tri-mode Ethernet MAC IP use Ethernet RJ45 interfaces, self adaptation 10/100/1000M nets
Mouthful.When turning other interfaces by serial ports or network interface, host side can utilize COM Debug Assistant or Networked E-Journals instrument, simple easy
With.
Claims (4)
1. a kind of multifunction converter based on FPGA, it is characterised in that:Including UART modules, SGMII IP, Tri-mode
Ethernet MAC IP, SPI modules, I2C modules, USB module, data cache module and system control module;The UART moulds
Block, Tri-mode Ethernet MAC IP, SPI modules, I2C modules, USB module and data cache module are all connected to described
System control module;The SGMII IP are connected to system control module by Tri-mode Ethernet MAC IP.
2. the multifunction converter according to claim 1 based on FPGA, it is characterised in that:Turned by plug-in serial ports voltage
Change chip MAC 3232 and ethernet PHY chip BCM 5461 is connected to main frame.
3. the multifunction converter according to claim 1 or 2 based on FPGA, it is characterised in that:Deposited according to source interface
Device and purpose interface register are determined using SPI modules/I2C modules/USB module/UART modules/Tri-mode Ethernet
MAC IP realize interface communication.
4. the multifunction converter according to claim 3 based on FPGA, it is characterised in that:When the source interface register
With purpose interface register be 0 when, interface communication is realized using UART modules;When the source interface register and purpose interface are posted
When storage is 1, interface communication is realized using SPI modules;When the source interface register and purpose interface register are 2, use
I2C modules realize interface communication;When the source interface register and purpose interface register are 3, interface is realized using USB module
Communication;When the source interface register and purpose interface register are 4, are realized and connect using Tri-mode Ethernet MAC IP
Port communications.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710265973.1A CN106951386A (en) | 2017-04-21 | 2017-04-21 | A kind of multifunction converter based on FPGA |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710265973.1A CN106951386A (en) | 2017-04-21 | 2017-04-21 | A kind of multifunction converter based on FPGA |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106951386A true CN106951386A (en) | 2017-07-14 |
Family
ID=59476606
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710265973.1A Pending CN106951386A (en) | 2017-04-21 | 2017-04-21 | A kind of multifunction converter based on FPGA |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106951386A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108650100A (en) * | 2018-04-26 | 2018-10-12 | 济南浪潮高新科技投资发展有限公司 | A kind of converter design method of SRIO and network interface |
WO2019161820A1 (en) * | 2018-02-22 | 2019-08-29 | port Gesellschaft für computergestützte Automation mbH | Integrated communication unit |
CN110708263A (en) * | 2019-08-31 | 2020-01-17 | 苏州浪潮智能科技有限公司 | Switch |
CN114595182A (en) * | 2022-03-03 | 2022-06-07 | 珠海昇生微电子有限责任公司 | Bidirectional conversion circuit and method for multiple communication serial ports |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102170430A (en) * | 2011-03-24 | 2011-08-31 | 华中科技大学 | Multi-port multi-network protocol converter |
CN202035013U (en) * | 2011-05-19 | 2011-11-09 | 厦门福信光电集成有限公司 | Multiple E1-Ethernet protocol converter based on GFP |
CN102868648A (en) * | 2012-09-27 | 2013-01-09 | 瑞斯康达科技发展股份有限公司 | Method, slave unit and system for transmitting data |
CN104918004A (en) * | 2015-04-08 | 2015-09-16 | 江西恒盛晶微技术有限公司 | PCI communication monitoring system based on FPGA and DSP chips |
CN206075271U (en) * | 2016-08-05 | 2017-04-05 | 河南誉凌电子科技有限公司 | A kind of protocol converter for supporting various serial protocols |
-
2017
- 2017-04-21 CN CN201710265973.1A patent/CN106951386A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102170430A (en) * | 2011-03-24 | 2011-08-31 | 华中科技大学 | Multi-port multi-network protocol converter |
CN202035013U (en) * | 2011-05-19 | 2011-11-09 | 厦门福信光电集成有限公司 | Multiple E1-Ethernet protocol converter based on GFP |
CN102868648A (en) * | 2012-09-27 | 2013-01-09 | 瑞斯康达科技发展股份有限公司 | Method, slave unit and system for transmitting data |
CN104918004A (en) * | 2015-04-08 | 2015-09-16 | 江西恒盛晶微技术有限公司 | PCI communication monitoring system based on FPGA and DSP chips |
CN206075271U (en) * | 2016-08-05 | 2017-04-05 | 河南誉凌电子科技有限公司 | A kind of protocol converter for supporting various serial protocols |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2019161820A1 (en) * | 2018-02-22 | 2019-08-29 | port Gesellschaft für computergestützte Automation mbH | Integrated communication unit |
US11269800B2 (en) | 2018-02-22 | 2022-03-08 | Port Industrial Automation Gmbh | Integrated communication unit |
CN108650100A (en) * | 2018-04-26 | 2018-10-12 | 济南浪潮高新科技投资发展有限公司 | A kind of converter design method of SRIO and network interface |
CN108650100B (en) * | 2018-04-26 | 2020-12-11 | 浪潮集团有限公司 | Method for designing converter of SRIO and network interface |
CN110708263A (en) * | 2019-08-31 | 2020-01-17 | 苏州浪潮智能科技有限公司 | Switch |
CN114595182A (en) * | 2022-03-03 | 2022-06-07 | 珠海昇生微电子有限责任公司 | Bidirectional conversion circuit and method for multiple communication serial ports |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106951386A (en) | A kind of multifunction converter based on FPGA | |
CN102780705B (en) | Ethernet-(controller area network) CAN protocol converter | |
CN103200101B (en) | Based on method and the device of the openflow multi-table query of exchange chip | |
CN104394101B (en) | The quickly configuration method that a kind of Multifunction cross based on toggle switch is changed planes | |
CN205862322U (en) | A kind of SPI/I2C interface convertor based on FPGA | |
CN106095724A (en) | A kind of information processing board system based on MPC8640D | |
CN204887006U (en) | Switch with modularization interface | |
CN201699737U (en) | High-performance communication processing and control platform device | |
CN105376118B (en) | A kind of test method of AFDX interchangers sending performance | |
CN103297355A (en) | Data flow forwarding method and system and exchanger | |
CN205945786U (en) | Serial port two -way modbus communication gateway of ethernet | |
CN103258566A (en) | Shift chain adopted integrated circuit | |
CN206805214U (en) | Intelligent switching circuit based on double 485 communications | |
CN205232246U (en) | Cloud terminal wiFi increase -volume ware | |
CN101262476B (en) | A communication system and method for Ethernet | |
CN204129454U (en) | A kind of data conversion adaptive circuit and electronic equipment | |
CN1874341A (en) | Implementation method for binding service transmission line | |
CN207947806U (en) | Light of stage agreement extender based on Ethernet transmission | |
CN206433017U (en) | A kind of open high speed exchanges board | |
CN208834154U (en) | I/O expansion communication component for DCS control system | |
CN107257323A (en) | A kind of exchange piling method in plate | |
CN201515367U (en) | Power line chopping communication transceiver circuit | |
CN206557971U (en) | A kind of project supervision series connection warning device | |
CN105763336A (en) | Switching method and device for different types of network protocols of single network interface card | |
CN104508632B (en) | A kind of data forwarding method, apparatus and system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170714 |