CN206282271U - A kind of Serial Ports Extension System based on FPGA - Google Patents

A kind of Serial Ports Extension System based on FPGA Download PDF

Info

Publication number
CN206282271U
CN206282271U CN201620986602.3U CN201620986602U CN206282271U CN 206282271 U CN206282271 U CN 206282271U CN 201620986602 U CN201620986602 U CN 201620986602U CN 206282271 U CN206282271 U CN 206282271U
Authority
CN
China
Prior art keywords
module
fpga
serial ports
controller
dual port
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
CN201620986602.3U
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.)
ANHUI XINLONG AUTOMATION Co Ltd
Original Assignee
ANHUI XINLONG AUTOMATION 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 ANHUI XINLONG AUTOMATION Co Ltd filed Critical ANHUI XINLONG AUTOMATION Co Ltd
Priority to CN201620986602.3U priority Critical patent/CN206282271U/en
Application granted granted Critical
Publication of CN206282271U publication Critical patent/CN206282271U/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Computer And Data Communications (AREA)
  • Communication Control (AREA)

Abstract

The utility model discloses a kind of Serial Ports Extension System based on FPGA, including controller, it is characterised in that:Described controller is connected with FPGA module, and described FPGA module is connected with serial ports transceiver module.Described FPGA module includes protocol resolution module and dual port RAM module, and described serial ports transceiver module is connected with protocol resolution module, and described protocol resolution module is connected with dual port RAM module, and described dual port RAM module is connected with controller.The utility model has the advantages that realizing that FPGA possesses enough I/O port resources as the hardware of serial ports expansion using FPGA, the fpga chip of different number of pins, reduces cost according to different demands, can be selected.Take GPIO mouthfuls of resource of controller few.And FPGA can make the parallel gathered data of serial ports, and the data of collection are stored in the dual port RAM of design, controller only be responsible for extract data and and upper machine communication, greatly improve communication efficiency.

Description

A kind of Serial Ports Extension System based on FPGA
Technical field
The utility model is related to a kind of serial expanded circuit system, more particularly to a kind of serial ports expansion realized based on FPGA System.
Background technology
In commercial Application, we are frequently encountered a controller needs the scene of multiple serial ports.But in controller MCU chip resource in only one of which or two serial port resources, so we need to use serial port extended chip.In market Extended chip species is a lot of, such as SC16C654, can extend 4 serial ports.If now we will extend the serial ports money of more than 4 Source, it is necessary to multi-disc SC16C654.At this moment we will run into the feelings that design cost is higher and occupancy MCU is more GPIO mouthfuls Scape, the design to us brings many troubles.And serial port extended chip by MCU control carry out serial port data acquisition when Wait, work that can only be serial so have impact on the efficiency of serial communication.Therefore controller expanded circuit cost of the prior art High, circuit is complicated, it is impossible to meet the demand of practical application.
Utility model content
The purpose of this utility model is to solve the less defect of existing controller chip serial ports, there is provided a kind of serial ports expansion System, increases serial ports number.
In order to achieve the above object, the technical solution of the utility model is as follows:
The utility model includes controller, it is characterised in that:Described controller is connected with FPGA module, described FPGA Module is connected with serial ports transceiver module.
Described FPGA module includes protocol resolution module and dual port RAM module, described serial ports transceiver module and agreement Parsing module is connected, and described protocol resolution module is connected with dual port RAM module, and described dual port RAM module connects with controller Connect.
Described dual port RAM module is connected by address bus and data/address bus with controller.
The model RSM3485 of described serial ports transceiver module.
The utility model has the advantages that being realized as the hardware of serial ports expansion using FPGA, FPGA possesses enough I/O port money Source, according to different demands, can select the fpga chip of different number of pins, reduces cost.Take GPIO mouthfuls of resource of controller It is few.And FPGA can make the parallel gathered data of serial ports, the data of collection are stored in the dual port RAM of design, controller Only be responsible for extract data and and upper machine communication, greatly improve communication efficiency.
Brief description of the drawings
The utility model is described further below in conjunction with the accompanying drawings.
Fig. 1 is structured flowchart of the present utility model.
Fig. 2 is serial ports transceiver module schematic diagram.
Reference in figure is respectively:1. serial ports transceiver module;2.FPGA modules;3. protocol resolution module;4. twoport RAM module;5. controller.
Specific embodiment
As shown in figure 1, for the serial ports number of extending controller, the utility model includes controller 5, controller 5 and FPGA Module 2 is connected, and FPGA module 2 is connected with serial ports transceiver module 1.FPGA module 2 includes protocol resolution module 3 and dual port RAM mould Block 4, serial ports transceiver module 1 is connected with protocol resolution module 3, and protocol resolution module 3 is connected with dual port RAM module 4, dual port RAM Module 4 is connected with controller 5.FPGA module 2 includes protocol resolution module 3 and dual port RAM module 4.Protocol resolution module 3 is main Bag is unpacked and organized for different protocol massages, and the data that serial ports transceiver module 1 is transmitted through are unpacked, will be effective Data are reached in dual port RAM module 4;The data that dual port RAM module 4 is transmitted through are packaged, is sent to serial ports transceiver module 1。
Dual port RAM module 4 is connected by address bus and data/address bus with controller 5.Dual port RAM module 4, mainly bears The controller of duty and upper end carries out data interaction.It is kept in the data that protocol resolution module is passed over, according to upper end Controller 5 send request, the data being consistent with request address are uploaded to controller 5;The control of the upper end that will be received simultaneously The control command of device processed 5, is issued in protocol resolution module 3.Serial ports transceiver module 1 is mainly responsible for the data transmit-receive behaviour of serial ports Make, the data that will be received are sent in protocol resolution module 3, while the data that protocol resolution module 3 is transmitted, are sent out by sending mouth See off.
The model RSM3485 of serial ports transceiver module 1.As described in Figure 2, serial ports transceiver module 1 includes receiver module and hair Module is sent, sending module includes that fifo module, serial ports send top layer control module and serial ports sending module, and data pass through agreement solution Analysis module is sent to fifo module, and top layer control module and serial ports sending module are sent by data is activation then in turn through serial ports Go out;Receiver module includes that fifo module, serial ports receive top layer control module and serial ports receiver module, and data sequentially pass through serial ports Receiver module, serial ports are sent to protocol resolution module after receiving top layer control module and fifo module.Outlet transceiver module design The characteristics of be portable relatively strong, when we need N number of serial interface, we just can be with the N number of serial ports transmitting-receiving mould of directly transplanting Block.As long as by just can be with the IO one-to-one corresponding of corresponding pin and FPGA.Simultaneously it is to be noted that in the utility model The place do not mentioned can be realized using prior art.Therefore be not described in detail in the utility model.
The present invention is exemplarily described above in conjunction with accompanying drawing, it is clear that the utility model is implemented not by above-mentioned The limitation of mode, if the improvement of the various unsubstantialities that technical solutions of the utility model are carried out is employed, or not improved general Design of the invention and technical scheme directly apply to other occasions, within protection domain of the present utility model.

Claims (3)

1. a kind of Serial Ports Extension System based on FPGA, including controller (5), it is characterised in that:Described controller (5) with FPGA module (2) is connected, and described FPGA module (2) is connected with serial ports transceiver module (1);Described FPGA module (2) includes Protocol resolution module (3) and dual port RAM module (4), described serial ports transceiver module (1) are connected with protocol resolution module (3), institute The protocol resolution module (3) stated is connected with dual port RAM module (4), and described dual port RAM module (4) is connected with controller (5).
2. a kind of Serial Ports Extension System based on FPGA as claimed in claim 1, it is characterised in that:Described dual port RAM mould Block (4) is connected by address bus and data/address bus with controller (5).
3. a kind of Serial Ports Extension System based on FPGA as claimed in claim 1, it is characterised in that:Described serial ports transmitting-receiving mould The model RSM3485 of block (1).
CN201620986602.3U 2016-08-30 2016-08-30 A kind of Serial Ports Extension System based on FPGA Active CN206282271U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201620986602.3U CN206282271U (en) 2016-08-30 2016-08-30 A kind of Serial Ports Extension System based on FPGA

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201620986602.3U CN206282271U (en) 2016-08-30 2016-08-30 A kind of Serial Ports Extension System based on FPGA

Publications (1)

Publication Number Publication Date
CN206282271U true CN206282271U (en) 2017-06-27

Family

ID=59084306

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201620986602.3U Active CN206282271U (en) 2016-08-30 2016-08-30 A kind of Serial Ports Extension System based on FPGA

Country Status (1)

Country Link
CN (1) CN206282271U (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109842601A (en) * 2017-11-29 2019-06-04 中国科学院沈阳自动化研究所 Manned underwater vehicle serial port data acquisition and retransmission unit

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109842601A (en) * 2017-11-29 2019-06-04 中国科学院沈阳自动化研究所 Manned underwater vehicle serial port data acquisition and retransmission unit
CN109842601B (en) * 2017-11-29 2023-09-19 中国科学院沈阳自动化研究所 Manned submersible serial port data acquisition and forwarding device

Similar Documents

Publication Publication Date Title
CN103248526A (en) Communication equipment and method for achieving out-of-band monitoring and management, and master-slave switching method
CN104142900A (en) Communication interface converting device
CN103051716A (en) Method and system for redirecting network-oriented serial device
CN104133963B (en) FPGA hardware abstraction layer based on high-speed serial bus and implement method thereof
CN104461660B (en) A kind of multi-mode dynamic loading method of heterogeneous system
CN103067201B (en) A kind of multi-protocol communication manager
CN206282271U (en) A kind of Serial Ports Extension System based on FPGA
CN109547066B (en) FPGA-based private line communication shunt control implementation method and control system
CN101950037B (en) Safety inspection system with embedded Ethernet transmission based on SOPC
CN206431607U (en) A kind of LCD drive circuit systems
CN105512005A (en) Circuit and method for synchronous working of control/remote node and bus monitor node
CN203300153U (en) Ultrahigh-resolution-ratio LED splicing displaying system
CN202475477U (en) Transmit-receive automatic switching circuit for converting RS485 interface into serial port
CN203241812U (en) Configurable switch
CN202906949U (en) RS485 double host machine communication passthrough module
CN103678235B (en) Based on parallel pipeline network data processing device and method
CN207543138U (en) A kind of data transmission system of more industrial bus
CN205829897U (en) Support the multi-channel video compression processing module of various video pattern of the input
CN202696638U (en) Vehicle-mounted USB (Universal Serial Bus) communication gateway based on CAN (Controller Area Network) bus
CN205451747U (en) LED display screen system based on power line carrier
CN203399134U (en) FC network dual-port simulation card
CN206060759U (en) A kind of multiple path blue-tooth sending and receiving device
CN201854299U (en) SOPC (system on programmable chip)-based security system with embedded Ethernet transmission.
CN103107570B (en) The communication structure of battery management system and the extended method of battery management system
CN105376560A (en) Universal adapter board applied between camera and acquisition computer

Legal Events

Date Code Title Description
GR01 Patent grant
GR01 Patent grant