CN207601787U - Serial expanded circuit - Google Patents

Serial expanded circuit Download PDF

Info

Publication number
CN207601787U
CN207601787U CN201721796383.3U CN201721796383U CN207601787U CN 207601787 U CN207601787 U CN 207601787U CN 201721796383 U CN201721796383 U CN 201721796383U CN 207601787 U CN207601787 U CN 207601787U
Authority
CN
China
Prior art keywords
serial ports
port
mcu
way
serial
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
CN201721796383.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.)
Taicang T&W Electronics Co Ltd
Original Assignee
Taicang T&W Electronics 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 Taicang T&W Electronics Co Ltd filed Critical Taicang T&W Electronics Co Ltd
Priority to CN201721796383.3U priority Critical patent/CN207601787U/en
Application granted granted Critical
Publication of CN207601787U publication Critical patent/CN207601787U/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Multi Processors (AREA)
  • Arrangements For Transmission Of Measured Signals (AREA)
  • Control By Computers (AREA)

Abstract

The utility model discloses a kind of serial expanded circuits, and including 4 channel analog multiplexer of two-way, the input terminal of 4 channel analog multiplexer of two-way connects the I/O port and serial ports of MCU, output 4 road serial ports of connection respectively.The utility model realizes serial ports expansion with 4 channel analog multiplexer of two-way, in I/O port anxiety, I/O port chip can also be turned with I2C and realize I/O port extension, can keep original MCU constant in this way, the change above circuit is reduced, also can allow software that can preferably transplant;The serial ports carried with MCU makes communication more stable;The occupancy quantity of I/O port can be substantially reduced, two I/O ports is only needed to can be achieved with the extension of 4 serial ports, in this embodiment it is not even necessary to which I/O port can also realize the extension of 4 serial ports.

Description

Serial expanded circuit
Technical field
The utility model belongs to electronic circuit technology field, and in particular to a kind of serial expanded circuit.
Background technology
In our system, often it is divided into two large divisions, a part is exactly master control borad, and another part is exactly function mould Block.Master control borad needs go to control each function module or obtain the working condition of each function module and report information.So In this process, it will certainly communicate.Most commonly used at present is exactly serial communication.But the serial ports of general microcontroller Quantity is limited, and generally only 1 to 2 serial ports can be for users to use.If necessary to monitor more function modules or Change the MCU of more serial ports or extended serial port of trying every possible means.Obviously replacement MCU methods implement more complicated, and cost is more Height, because of the problems such as this further relates to change of software architecture etc..
Have in the prior art and serial ports is switched into the method that network interface communicates, but this method has the disadvantages that:1st, into This height, each function module are required for a serial ports to turn network interface chip, it is also necessary to an exchange chip, 2, EMI it is big, the spoke of network interface Penetrate bigger than serial ports, it is exceeded to be easy to cause EMI, 3, circuit implement complexity.In addition, the I/O port of also useful monolithic in the prior art The method of simulative serial port communication, this method have the disadvantages that:1st, stability is poor, and the stability of serial ports is closed with the technology of programmer System is very big, it is easy to and communication is caused to malfunction, 2, poor anti jamming capability, producer, which can do, above included serial port circuit optimizes, and makes to lead to Believe it is more stable, 3, communication speed it is slow because to need to simulate by software, response speed is very slow, 4, I/O port occupy quantity It is more, each serial ports be required for occupy two I/O port resources, 5, EDA wiring difficulty increase.
Utility model content
The utility model technical issues that need to address are to provide the serial ports expansion that a kind of I/O port using MCU is extended Circuit.
To solve the above problems, technical solution adopted in the utility model is:
A kind of serial expanded circuit, including 4 channel analog multiplexer of two-way, 4 channel analog multiplexer of two-way Input terminal connect the I/O port and serial ports of MCU, output 4 road serial ports of connection respectively.
Further, it further includes I2C and turns I/O port chip, the I2C that the I2C turns the input terminal connection MCU of I/O port chip is defeated Outlet, I2C turns the input terminal of output terminal connection 4 channel analog multiplexer of two-way of I/O port chip, to replace the IO of MCU Mouthful.
Further, 4 channel analog multiplexer of two-way is SN74LV4052, the pin 1- of SN74LV4052 COM, 2-COM are connected respectively with the serial ports RXD and TXD of MCU, and output pin mouth 1Y0,2Y0 and serial ports 1 of SN74LV4052 connect It connects, 1Y1,2Y1 and serial ports 2 connect, and 1Y2,2Y2 and serial ports 3 connect, and 1Y3,2Y4 and serial ports 4 connect.
Further, the I2C turns I/O port chip as PCA9554D.
It is using advantageous effect caused by above-mentioned technical proposal:
The utility model realizes serial ports expansion with 4 channel analog multiplexer of two-way, can be in I/O port anxiety Turn I/O port chip with I2C and realize that I/O port extends, can keep original MCU constant in this way, reduce the change above circuit, also can Software can preferably be transplanted;The serial ports carried with MCU makes communication more stable;The occupancy quantity of I/O port can be substantially reduced, only Two I/O ports is needed to can be achieved with the extension of 4 serial ports, in this embodiment it is not even necessary to which I/O port can also realize the extension of 4 serial ports.
Description of the drawings
Fig. 1 is the utility model circuit block diagram;
Fig. 2 is one embodiment circuit diagram of the utility model;
Fig. 3 is another embodiment circuit diagram of the utility model.
Specific embodiment
Utility model is described in further detail below in conjunction with the accompanying drawings:
The utility model is a kind of serial expanded circuit, and serial ports expansion is realized using 4 channel analog multiplexer of two-way, Even turn I/O port chip with I2C and realize that I/O port extends, in the case where not changing former MCU, realize one point 4, one point 8 or even one Divide 16 serial ports expansion.At low cost, circuit is simple, and communication is stablized, and software maintenance is convenient, is not take up I/O resource or only takes up a small amount of I/O resource.
As shown in Figure 1, a kind of serial expanded circuit, turns I/O port core including 4 channel analog multiplexer of two-way and I2C Piece, the input terminal of 4 channel analog multiplexer of two-way connect the I/O port and serial ports of MCU, output 4 road serial ports of connection respectively. The I2C turns the I2C output terminals of the input terminal connection MCU of I/O port chip, and the output terminal connection two-way 4 that I2C turns I/O port chip is logical The input terminal of road analog multiplexer when the I/O port deficiency of MCU, can replace the I/O port of MCU.
As shown in Fig. 2, 4 channel analog multiplexer of two-way of the utility model is SN74LV4052, SN74LV4052 Pin 1-COM, 2-COM be connected respectively with the serial ports RXD and TXD of MCU, output pin mouth 1Y0,2Y0 of SN74LV4052 It is connected with serial ports 1,1Y1,2Y1 and serial ports 2 connect, and 1Y2,2Y2 and serial ports 3 connect, and 1Y3,2Y4 and serial ports 4 connect.The I2C Turn I/O port chip as PCA9554D (referring to Fig. 3).
Operation principle:
As shown in figure 3, U1 turns I/O port chip PCA9554D for IIC, it can support that IIC turns 8 road I/O ports all the way.This chip can be MCU does not have to use during extra I/O port.Because often extending 4 serial ports needs two I/O ports.If MCU can be used without extra I/O port This chip.Utilize expansible 16 serial ports of the chip.
U2 is SN74LV4052, is 4 channel analog multiplexer of two-way, he utilizes two control terminals of A, B, can be with Carry out the multiplexing switching of multichannel.Because MCU communications is all Transistor-Transistor Logic level, just serial ports can be realized using this function Extension.4 channel analog multiplexer U2 chips of two-way are there are two public port, respectively 1-COM and 2-COM, by the two Port is connected respectively with the serial ports RXD of MCU with TXD.Delivery outlet 1Y0,2Y0 of chip are connected with serial ports COM1,1Y1,2Y1 and Serial ports COM2 connections, and so on, the serial ports of such a MCU can control four serial ports.General MCU carries 2 serial ports, Such a MCU can both control 8 serial ports.If necessary to which more serial ports can also (two-way 4 be logical by concatenating two chips Road analog multiplexer) it realizes.
4 channel analog multiplexer U2 chips of two-way are there are two control terminal, respectively A and B, when A and B is low level When, i.e. during AB=00,1-COM and 1Y0 conductings, 2-COM and 2Y0 conductings realize the communication function of MCU and serial ports COM1. When A is low level, and B is high level, i.e. during AB=01,1-COM and 1Y1 conductings, 2-COM and 2Y1 conductings.That is MCU and serial ports The communication of COM2.And so on.Only it need to control the level of A and B that can freely select to communicate with which serial ports.

Claims (3)

1. a kind of serial expanded circuit, it is characterised in that:Including 4 channel analog multiplexer of two-way, 4 tunnels analogy of two-way is more The input terminal of path multiplexer connects the I/O port and serial ports of MCU, output 4 road serial ports of connection respectively, and the I2C turns I/O port chip Input terminal connects the I2C output terminals of MCU, and I2C turns the defeated of output terminal connection 4 channel analog multiplexer of two-way of I/O port chip Enter end, to replace the I/O port of MCU.
2. serial expanded circuit according to claim 1, it is characterised in that 4 channel analog multiplexer of two-way is Pin 1-COM, 2-COM of SN74LV4052, SN74LV4052 are connected respectively with the serial ports RXD and TXD of MCU, Output pin mouth 1Y0,2Y0 and serial ports 1 of SN74LV4052 is connected, and 1Y1,2Y1 and serial ports 2 connect, and 1Y2,2Y2 and serial ports 3 connect It connects, 1Y3,2Y4 and serial ports 4 connect.
3. serial expanded circuit according to claim 2, it is characterised in that the I2C turns I/O port chip as PCA9554D.
CN201721796383.3U 2017-12-20 2017-12-20 Serial expanded circuit Active CN207601787U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201721796383.3U CN207601787U (en) 2017-12-20 2017-12-20 Serial expanded circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201721796383.3U CN207601787U (en) 2017-12-20 2017-12-20 Serial expanded circuit

Publications (1)

Publication Number Publication Date
CN207601787U true CN207601787U (en) 2018-07-10

Family

ID=62766001

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201721796383.3U Active CN207601787U (en) 2017-12-20 2017-12-20 Serial expanded circuit

Country Status (1)

Country Link
CN (1) CN207601787U (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114116566A (en) * 2021-11-29 2022-03-01 厦门市思芯微科技有限公司 Serial port expansion system based on multi-path grouping scheduling algorithm

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114116566A (en) * 2021-11-29 2022-03-01 厦门市思芯微科技有限公司 Serial port expansion system based on multi-path grouping scheduling algorithm
CN114116566B (en) * 2021-11-29 2024-04-19 厦门市思芯微科技有限公司 Serial port expansion system based on multipath packet scheduling algorithm

Similar Documents

Publication Publication Date Title
CN100498806C (en) Device and method for outputting signal of emulation infrared detector
CN100461140C (en) Method and system for supporting multiple graphic processing unit
CN107911391A (en) A kind of AXI protocol based on FPGA and the method for SPI protocol conversion
DE112016002371B4 (en) DEVICE, APPARATUS AND SYSTEM FOR REDUCING CURRENT DISSIPATION DURING DIFFERENTIAL COMMUNICATIONS
CN102204184A (en) Method, business board, and system for kvm data transmission
DE102011082417A1 (en) ANALOG FRONTEND PROTOCOL CONVERTER / ADAPTER FOR SLPI PROTOCOL
CN207601787U (en) Serial expanded circuit
CN111309665A (en) Parallel write operation and read operation control system and method
CN208538025U (en) A kind of server for supporting 10 hot-plug hard disks
CN203386338U (en) Cross screen network control system
CN106951377A (en) A kind of device based on the multiple I2C interface standards group equipment of SoC supports
CN103914427A (en) On-chip communication method and on-chip communication device on basis of three physical interconnection lines for integrated circuits
CN108415874A (en) A kind of Interface Expanding device and method based on EIM buses
CN206224459U (en) A kind of SCM Based Serial Communication for Multi-computer System circuit
CN109407574A (en) Output-controlling device and its method may be selected in a kind of multibus
CN205195957U (en) Large -scale audio frequency passway of FPGA is by matrix
CN207817688U (en) A kind of serial communication bus interface circuit of compatible different agreement
CN107168911A (en) A kind of PCIE extended methods and expansion equipment for processor
CN110264847A (en) A kind of KNX emulator
CN206332674U (en) A kind of Ethernet switch wiring board
CN104834629A (en) Bus type central processing unit
CN201917939U (en) Peripheral component interconnection (PCI) board card
CN108170091A (en) A kind of PLC controller, PLC controller group system
CN107329863A (en) A kind of measuring instrument general hardware platform based on COMe
CN210983388U (en) Board card capable of converting one path to multiple paths of PCI-E and PCI bus interfaces

Legal Events

Date Code Title Description
GR01 Patent grant
GR01 Patent grant