CN209118273U - A kind of Multi-serial port distributor and terminal device - Google Patents

A kind of Multi-serial port distributor and terminal device Download PDF

Info

Publication number
CN209118273U
CN209118273U CN201821756271.XU CN201821756271U CN209118273U CN 209118273 U CN209118273 U CN 209118273U CN 201821756271 U CN201821756271 U CN 201821756271U CN 209118273 U CN209118273 U CN 209118273U
Authority
CN
China
Prior art keywords
serial ports
mcu
external equipment
serial
connect
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
CN201821756271.XU
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.)
Harxon Corp
Original Assignee
Harxon Corp
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 Harxon Corp filed Critical Harxon Corp
Priority to CN201821756271.XU priority Critical patent/CN209118273U/en
Application granted granted Critical
Publication of CN209118273U publication Critical patent/CN209118273U/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Information Transfer Systems (AREA)

Abstract

The utility model relates to a kind of Multi-serial port distributor and terminal devices, described device is applied to terminal device, the terminal device includes micro-control unit MCU, the MCU includes multiple default serial ports, described device includes: complex programmable logic device (CPLD) chip, the CPLD chip is connect with the multiple default serial ports and external equipment serial ports respectively, and the connection between the connection or configuration external equipment serial ports of each default serial ports and external equipment serial ports is configured for the instruction according to the MCU.Technical solution provided by the utility model uses complex programmable logic device (CPLD) chip, solves the problems, such as to dynamically distribute in the limited situation of serial ports using serial ports, so that the configuration of serial ports is more flexible and convenient.

Description

A kind of Multi-serial port distributor and terminal device
Technical field
The utility model belongs to electronic field more particularly to a kind of Multi-serial port distributor and terminal device.
Background technique
With the raising of electronic product integrated level, system needs to integrate more and more functional modules, needs between functional module Multiple serial ports are wanted to carry out data interaction.Such as micro-control unit (Microcontroller Unit, MCU) is exactly centre Manage device (Central Process Unit;CPU frequency) and specification do appropriate reduction, and by memory, counter, USB, A/D The perimeter interfaces such as conversion, UART, PLC, DMA or even LCD driving circuit all integrate the meter for forming chip-scale on a single chip Calculation machine does various combination control for different applications.
The data interaction of MCU and each functional module needs serial ports, however the serial ports quantity of MCU is limited, sometimes cannot be every A functional module all distributes an individual serial ports, when serial ports connection changes, needs to redesign hardware.
Solving the insufficient method of serial ports in the prior art is using serial port extended chip come extended serial port, when many strings of needs Many extended chips are just needed when mouth, have not only increased the cost of design, but also increase design space.
Therefore, the utility model provides a kind of Multi-serial port distributor and terminal device to solve the prior art not Foot.
Utility model content
In order to solve the problems, such as that MCU serial ports is insufficient in the prior art, the utility model provides a kind of Multi-serial port distribution dress It sets and terminal device.
A kind of Multi-serial port distributor, described device are applied to terminal device, and the terminal device includes micro-control unit MCU, the MCU include multiple default serial ports, and described device includes: complex programmable logic device (CPLD) chip, the CPLD Chip is connect with the multiple default serial ports and external equipment serial ports respectively, for each default according to the instruction of MCU configuration Connection between the connection or configuration external equipment serial ports of serial ports and external equipment serial ports.
Further, the serial ports includes that data receiver serial ports and data send serial ports.
Further, the CPLD chip includes decoding module and switching module, the decoding module and the switching mould Block connection;
The decoding module is connect by configuring bus with the MCU, for controlling switching module according to the instruction of MCU;
The switching module sends serial ports with data receiver serial ports and data respectively and connect, for the finger according to decoding module The data for enabling selection connect with the data receiver serial ports send serial ports.
Further, the configuration bus includes: I2C interface, SPI interface or parallel port interface.
Further, described device further includes level switch module, described level switch module one end respectively with it is described more A default serial ports is connected with external equipment serial ports, and the other end is connect with the CPLD chip.
Further, the CPLD chip includes driving fan-out modular, and the driving fan-out modular and data send serial ports Connection.
A kind of terminal device, including any of the above-described Multi-serial port distributor.
Technical solution provided by the utility model has the advantages that compared with the immediate prior art
Technical solution provided by the utility model by being arranged complex programmable logic device (CPLD) core on the terminal device CPLD chip is connect with the multiple default serial ports and external equipment serial ports of micro-control unit MCU by piece respectively, is used for basis The instruction of MCU configures the connection between the connection or configuration external equipment serial ports of each default serial ports and external equipment serial ports.This reality Complex programmable logic device (CPLD) chip is used with novel, solves and dynamically distributes in the limited situation of serial ports using serial ports Problem, so that the configuration of serial ports is more flexible and convenient.
Detailed description of the invention
Fig. 1 is Multi-serial port distributor schematic diagram in the utility model embodiment.
Specific embodiment
It is practical new below in conjunction with this to keep the objectives, technical solutions, and advantages of the embodiments of the present invention clearer Attached drawing in type embodiment, the technical scheme in the utility model embodiment is clearly and completely described, it is clear that is retouched The embodiment stated is a part of the embodiment of the utility model, instead of all the embodiments.Based on the reality in the utility model Apply example, those of ordinary skill in the art's every other embodiment obtained without making creative work, all Belong to the range of the utility model protection.
As shown in Figure 1, the utility model provides a kind of Multi-serial port distributor, described device is applied to terminal device, The terminal device includes micro-control unit MCU, and the MCU includes multiple default serial ports, and described device includes: complex programmable Logic device (CPLD) (Complex Programmable Logic Device) chip, the CPLD chip respectively with it is described more A default serial ports is connected with external equipment serial ports, for configuring each default serial ports and external equipment string according to the instruction of the MCU Connection between the connection or configuration external equipment serial ports of mouth.
It in the embodiment of the present application, will by the way that complex programmable logic device (CPLD) chip is arranged on the terminal device CPLD chip is connect with the multiple default serial ports and external equipment serial ports of micro-control unit MCU respectively, for the finger according to MCU Enable the connection between the connection for configuring each default serial ports and external equipment serial ports or configuration external equipment serial ports.The utility model is adopted With complex programmable logic device (CPLD) chip, solves the problems, such as to dynamically distribute in the limited situation of serial ports using serial ports, make The configuration for obtaining serial ports is more flexible and convenient.
In some embodiments of the present application, the serial ports includes that data receiver serial ports and data send serial ports.
In some embodiments of the present application, the CPLD chip includes decoding module and switching module, the decoding mould Block is connect with the switching module;
The decoding module is connect by configuring bus with the MCU, for controlling switching module according to the instruction of MCU;
The switching module sends serial ports with data receiver serial ports and data respectively and connect, for the finger according to decoding module The data for enabling selection connect with the data receiver serial ports send the serial ports type that serial ports external equipment serial ports is connected, wherein institute Stating serial ports type includes default serial ports and external equipment serial ports.
It is, the serial ports of the serial ports of MCU and peripheral hardware is all connected to CPLD, control CPLD's by the controller of MCU Decoding module, to configure the TXD that the RXD reception of each serial ports needs serial ports.The either serial ports of the serial ports of MCU or peripheral hardware All there are two lines, data receiver RXD and data send TXD, and serial ports configuration can be received for any one by decoding module One reception serial ports, data receiver serial ports, which can choose, receives the data that any one data sends serial ports transmission, avoids the occurrence of One data receiver serial ports is configured the problem of two or more data send serial ports.
Wherein, decoding module can be 74HC138 decoder 74HC154 decoder or other may be implemented it is above-mentioned The decoder of function.
Wherein, configuration bus includes I2C interface, synchronous peripheral interface (SPI interface) or parallel port interface etc. have communication function The interface of energy.Configuration bus is that controller (MCU) is used to modify CPLD configuration parameter, configures serial ports configuration when needing to modify When, configuration modification can be realized by configuring bus modification decoding module parameter.
In some embodiments of the present application, described device further includes level switch module, the level switch module one End is connect with the multiple default serial ports and external equipment serial ports respectively, and the other end is connect with the CPLD chip.Level conversion Module for solving the problems, such as that serial port logic level is unmatched, such as: the conversion of RS232 and Transistor-Transistor Logic level, RS422/RS485 with The conversion etc. of Transistor-Transistor Logic level.
In some embodiments of the present application, the CPLD chip includes driving fan-out modular, the driving fan-out modular Serial ports is sent with data to connect.For solving, driving capability when a signal drives multiple signals is inadequate to ask driving fan-out modular Topic, when the RXD to multiple serial ports is respectively configured in the TXD of a serial ports, when driving capability deficiency, using driving fan-out modular solution Certainly.
In some embodiments of the present application, the TXD of each serial ports can be allocated to the RXD of multiple serial ports simultaneously, configuration Quantity is unrestricted, without limitation.
In some embodiments of the present application, the conduct monitoring serial ports an of serial ports can be distributed, it is only necessary to configure the prison RXD depending on serial ports is to needing the TXD of serial ports monitored can to monitor serial data.
The utility model additionally provides a kind of terminal device, including any of the above-described Multi-serial port distributor.
Finally, it should be noted that above embodiments are only to illustrate the technical solution of the utility model, rather than its limitations; Although the utility model is described in detail with reference to the foregoing embodiments, those skilled in the art should understand that: It is still possible to modify the technical solutions described in the foregoing embodiments, or part of technical characteristic is carried out etc. With replacement;And these are modified or replaceed, various embodiments of the utility model technology that it does not separate the essence of the corresponding technical solution The spirit and scope of scheme.

Claims (7)

1. a kind of Multi-serial port distributor, described device is applied to terminal device, and the terminal device includes micro-control unit MCU, the MCU include multiple default serial ports, which is characterized in that described device includes: complex programmable logic device (CPLD) core Piece, the CPLD chip is connect with the multiple default serial ports and external equipment serial ports respectively, for the instruction according to the MCU Configure the connection between the connection or configuration external equipment serial ports of each default serial ports and external equipment serial ports.
2. a kind of Multi-serial port distributor according to claim 1, which is characterized in that the serial ports includes data receiver string Mouth and data send serial ports.
3. a kind of Multi-serial port distributor according to claim 2, which is characterized in that the CPLD chip includes decoding mould Block and switching module, the decoding module are connect with the switching module;
The decoding module is connect by configuring bus with the MCU, for controlling switching module according to the instruction of MCU;
The switching module sends serial ports with data receiver serial ports and data respectively and connect, for being selected according to the instruction of decoding module It selects the data connecting with the data receiver serial ports and sends serial ports, wherein the serial ports type includes default serial ports and external equipment Serial ports.
4. a kind of Multi-serial port distributor according to claim 3, which is characterized in that the configuration bus includes: I2C connects Mouth, SPI interface or parallel port interface.
5. a kind of Multi-serial port distributor according to claim 1, which is characterized in that described device further includes level conversion Module, described level switch module one end are connect with the multiple default serial ports and external equipment serial ports respectively, the other end and institute State the connection of CPLD chip.
6. a kind of Multi-serial port distributor according to claim 2, which is characterized in that the CPLD chip includes driving fan Module out, the driving fan-out modular send serial ports with data and connect.
7. a kind of terminal device, which is characterized in that including the Multi-serial port distributor as described in claim 1-6 is any.
CN201821756271.XU 2018-10-26 2018-10-26 A kind of Multi-serial port distributor and terminal device Active CN209118273U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201821756271.XU CN209118273U (en) 2018-10-26 2018-10-26 A kind of Multi-serial port distributor and terminal device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201821756271.XU CN209118273U (en) 2018-10-26 2018-10-26 A kind of Multi-serial port distributor and terminal device

Publications (1)

Publication Number Publication Date
CN209118273U true CN209118273U (en) 2019-07-16

Family

ID=67202584

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201821756271.XU Active CN209118273U (en) 2018-10-26 2018-10-26 A kind of Multi-serial port distributor and terminal device

Country Status (1)

Country Link
CN (1) CN209118273U (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110704352A (en) * 2019-09-25 2020-01-17 苏州浪潮智能科技有限公司 Multi-serial port management equipment, method and device and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110704352A (en) * 2019-09-25 2020-01-17 苏州浪潮智能科技有限公司 Multi-serial port management equipment, method and device and storage medium

Similar Documents

Publication Publication Date Title
CN104133799A (en) Multi-network-card NCSI management system
CN103838700A (en) Level multiplexing control serial communication device and method
CN103049052A (en) Modularized remote terminal unit (RTU) and rapid customization method thereof
CN205563555U (en) Implementation system of self -defined variable bit wide SPI bus agreement based on FPGA
CN209118273U (en) A kind of Multi-serial port distributor and terminal device
CN103853689A (en) Device and method of automatic switchover of USB (Universal Serial Bus) and four-line serial port UART (Universal Asynchronous Receiver Transmitter)
CN204130141U (en) LED display asynchronous control-card
CN204946336U (en) The metering communication module of intelligent electric energy meter
CN110362525A (en) A kind of method, system and board for realizing Multi-serial port switching based on CPLD
CN105550154A (en) Single-bus time division multiplexing based two-way transmission system and method thereof
CN204009884U (en) A kind of many network interface cards NCSI management system
CN105607542B (en) A kind of output interface device
CN103869883B (en) One kind extension mainboard and expansion system
CN208128284U (en) A kind of Ethernet based on S698PM turns Multi-path synchronous serial interface communication apparatus
CN206584215U (en) A kind of PLC system and its principal and subordinate link structure
CN207817688U (en) A kind of serial communication bus interface circuit of compatible different agreement
CN207652476U (en) A kind of support multi-protocol link moisture acquisition server equipment
CN105718414A (en) Addressable bus structure
CN108363336A (en) A kind of remote control and the intelligent switching device locally controlled
CN108170091A (en) A kind of PLC controller, PLC controller group system
CN209015137U (en) Bridge communications circuit
CN209015145U (en) A kind of information output apparatus
CN208569346U (en) The analogue quantity output device of alternative output voltage or electric current
CN207909123U (en) A kind of CAN bus and PCIE bus interface conversion equipments
CN203733110U (en) Internal integration circuit and control circuit thereof

Legal Events

Date Code Title Description
GR01 Patent grant
GR01 Patent grant