CN208722186U - The super adaption system of serial ports - Google Patents

The super adaption system of serial ports Download PDF

Info

Publication number
CN208722186U
CN208722186U CN201821008994.1U CN201821008994U CN208722186U CN 208722186 U CN208722186 U CN 208722186U CN 201821008994 U CN201821008994 U CN 201821008994U CN 208722186 U CN208722186 U CN 208722186U
Authority
CN
China
Prior art keywords
way
level
spdt switch
equipment
switch
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
CN201821008994.1U
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.)
Datang Terminal Technology Co Ltd
Original Assignee
Datang Terminal Technology 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 Datang Terminal Technology Co Ltd filed Critical Datang Terminal Technology Co Ltd
Priority to CN201821008994.1U priority Critical patent/CN208722186U/en
Application granted granted Critical
Publication of CN208722186U publication Critical patent/CN208722186U/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Electronic Switches (AREA)

Abstract

The utility model proposes a kind of super adaption systems of serial ports, it include: the first two-way SPDT switch, second two-way SPDT switch, two-way SP3T switch, first electrical level transferring chip, second electrical level conversion chip, first operational amplifier, second operational amplifier and control chip, wherein, the end TX1 and the end RX2 of the first two-way SPDT switch are connect with the end TX/RX from equipment, two pins that the control chip is connect with the main equipment continue trapped state, arbitrary signal is sent at main equipment end, the data received are stored in storehouse by the control chip, the second two-way SPDT switch switched path is enabled according to differentiating to the pin for having signal, reach direction adaptation.The interface direction of the utility model automatic adaptation access and interface level do not have to distinguish serial ports direction or serial ports level as long as insertion, can work normally.

Description

The super adaption system of serial ports
Technical field
The utility model relates to technical field of electronic equipment, in particular to a kind of super adaption system of serial ports.
Background technique
Nowadays explosive increase is presented in various terminal equipment and the number of other electronic equipments and type, these electronics are set Standby debugging becomes an emphasis with the communication of other equipment.And serial ports is exactly pass used in these debugging or communication One of key interface type.But since serial equipment type is extremely many and diverse, often occur that RX/TX is reversed or level not With the case where, such case result in must constantly try the channel RX/TX or replace varying level serial ports tool.This must make At the situation of various inconveniences.
Utility model content
The purpose of this utility model aims to solve at least one of described technological deficiency.
For this purpose, the purpose of this utility model is that proposing a kind of super adaption system of serial ports.
To achieve the goals above, the embodiments of the present invention provide a kind of super adaption system of serial ports, comprising: first Two-way SPDT switch, the second two-way SPDT switch, two-way SP3T switch, the first electrical level transferring chip, second electrical level conversion chip, First operational amplifier, second operational amplifier and control chip, wherein
The end TX1 and the end RX2 of the first two-way SPDT switch are connect with the end TX/RX from equipment, first two-way The end TX2 and the end RX1 of SPDT switch are connect with the end RX/TX from equipment, the end TX_S1 of the first two-way SPDT switch and institute It states the first electrical level transferring chip to connect with the end TX_IN of second electrical level conversion chip, and the end TX3 with two-way SP3T switch Connection, the end RX_S1 of the first two-way SPDT switch and first electrical level transferring chip and second electrical level conversion chip The end the RX3 connection of the forward end of the end RX_IN and the first operational amplifier, two-way SP3T switch, first level turn The end TX_OUT for changing chip is connect with the end TX4 switched the two-way SP3T, the RX4 at the end RX_OUT and two-way SP3T switch End connection, for that will be and the matched high level of main equipment from the low transition of equipment;The second electrical level conversion chip The end TX_OUT is connect with the end TX5 switched the two-way SP3T, and the end RX_OUT is connect with the end RX5 switched the two-way SP3T, For the matched low level of main equipment will to be changed to from the highland flat turn of equipment,
The end TX_S2 of the two-way SP3T switch and the end TX_S3, second operation of the second two-way SPDT switch The forward end of amplifier connects, and the end RX_S2 of the two-way SP3T switch and the end RX_S3 of the second two-way SPDT switch connect It connects, the end TX6 of the second two-way SPDT switch and the end TX/RX of main equipment connect, the RX6 of the second two-way SPDT switch End is connect with the end RX/TX of the main equipment, and the output end of first operational amplifier and second operational amplifier is and institute State control chip connection, the control chip further makes with the first two-way SPDT switch and the second two-way SPDT switch It can end EN and the connection of the switching end end SW, the enable end EN with first electrical level transferring chip and second electrical level conversion chip Connection,
Wherein, two pins of the control chip are connect respectively at the end TX/RX from equipment and the end RX/TX, Another two pin is connect with the end TX/RX of the main equipment and the end RX/TX respectively, is cut for detecting level height with carrying out switch It changes;Two pins that the control chip is connect with the main equipment continue trapped state, send arbitrary signal at main equipment end, The data received are stored in storehouse by the control chip, enable the second two-way SPDT switch according to differentiating to the pin for having signal Switched path;Correspondingly, the control chip continues trapped state with two connect from equipment the pin, from equipment end Arbitrary signal is sent, the data received are stored in storehouse by the control chip, enable the according to differentiating to the pin for having signal One two-way SPDT switch switched path reaches direction adaptation.
Further, the control chip uses single-chip microcontroller.
Further, further includes: triode RC time delay circuit, the first data indicator light and the second data indicator light, wherein institute The input terminal for stating triode RC time delay circuit is connect with the second two-way SPDT switch, the triode RC time delay circuit it is defeated Outlet is connect with the first data indicator light and the second data indicator light respectively.
Further, when described identical with the level of the main equipment from equipment, two-way described in the control chip controls SP3T switching is to TX3/RX3;
When the level for being lower than the main equipment from the level of equipment, two-way SP3T described in the control chip controls Switching is to TX4/RX4;
When the level for being higher than the main equipment from the level of equipment, two-way SP3T described in the control chip controls Switching is to TX5/RX5.
Further, two pins of the single-chip microcontroller are connect respectively at the end TX/RX from equipment and the end RX/TX, For detecting the level height at above-mentioned both ends, when detecting that the end TX/RX is high level, then the first two-way SPDT switch is enabled, it will Switching is to TX1 and RX1;When detecting that the end RX/TX is high level, then the first two-way SPDT switch is enabled, by switching To TX2 and RX2;
The another two pin of the single-chip microcontroller is connect respectively at the end TX/RX of the main equipment and the end RX/TX, for examining The level height for surveying above-mentioned both ends then enables the second two-way SPDT switch, switch is cut when detecting that the end TX/RX is high level Change to TX6 and RX6;When detect the end RX/TX be high level, then enable the second two-way SPDT switch, by switching to TX7 with RX7。
Further, when the single-chip microcontroller differentiates to the TX/RX end pipe foot that the pin for having signal be connection main equipment, enabled the Two two-way SPDT switches, switched path to TX6 and RX6;If differentiating that the pin for having signal be the RX/TX for connecting main equipment When end pipe foot, the second two-way SPDT switch, switched path to TX7 and RX7 are enabled.
Further, the control chip carries out level adapted after completing direction adaptation, enables the first two-way SPDT switch With the second two-way SPDT switch, the output signal of the first operation comparator and the second operation comparator is read, if it is high level, Then judge the level of comparator front end input for 3.3V;If it is low level, then judge that the level of comparator front end input is 1.8V。
According to the super adaption system of the serial ports of the utility model embodiment, the interface direction of automatic adaptation access and interface electricity It is flat, as long as insertion, can work normally, do not have to distinguish serial ports direction or serial ports level.The utility model is mainly with terminal It for equipment of serial-UART port, but actually uses scheme and is not limited to UART port, other serial ports adaptation schemes similarly equally include In the present invention.In addition the utility model not only can be made serial port adapter, but also can integrate and make to connect in host side Mouth becomes super serial ports, greatly facilitates use.
The additional aspect of the utility model and advantage will be set forth in part in the description, partially will be from following description In become obvious, or recognized by the practice of the utility model.
Detailed description of the invention
The above-mentioned and/or additional aspect and advantage of the utility model from the description of the embodiment in conjunction with the following figures will Become obvious and be readily appreciated that, in which:
Fig. 1 is the structure chart according to the super adaption system of serial ports of the utility model embodiment.
Specific embodiment
The embodiments of the present invention are described below in detail, examples of the embodiments are shown in the accompanying drawings, wherein from beginning Same or similar element or element with the same or similar functions are indicated to same or similar label eventually.Below by ginseng The embodiment for examining attached drawing description is exemplary, it is intended to for explaining the utility model, and should not be understood as to the utility model Limitation.
The utility model proposes a kind of serial ports directions, the super adaption system of level, are carried out using some characteristics of serial ports The design of scheme, is greatly improved convenience.
As shown in Figure 1, the super adaption system of the serial ports of the utility model embodiment, comprising: the first two-way SPDT switch, Two two-way SPDT switches, two-way SP3T switch, the first electrical level transferring chip 500, second electrical level conversion chip 600, the first operation Amplifier 700, second operational amplifier 800 and control chip 100.In one embodiment of the utility model, chip is controlled 100 can use single-chip microcontroller.It should be noted that two-way SP3T switch can also be using the substitute switching for realizing identical function Switch, the main matching problem for realizing front and back level.
First two-way SPDT switch is mainly used for solving being controlled from the directionality problem of equipment 300TX/RX using single-chip microcontroller Make its enabled and switching.It is not turned on it should be noted that the switch preferably inputs output end in the case where EN foot drags down, And the frequency of switch can achieve that 500K or more can be very abundant meet rate requirement.Second two-way SPDT switch is main For solving the directionality problem of main equipment 400TX/RX, principle and the first two-way SPDT switch are substantially completely identical, same to use Single-chip microcontroller is carried out controlling its switching and be enabled.
The end TX1 and the end RX2 of first two-way SPDT switch are connect with the end TX/RX from equipment 300, and the first two-way SPDT is opened The end TX2 and the end RX1 of pass are connect with the end RX/TX from equipment 300, the end TX_S1 of the first two-way SPDT switch and the first level Conversion chip 500 is connected with the end TX_IN of second electrical level conversion chip 600, and is connect with the end TX3 of two-way SP3T switch, the The end RX_IN of the end RX_S1 of one two-way SPDT switch and the first electrical level transferring chip 500 and second electrical level conversion chip 600 with And first operational amplifier 700 forward end, two-way SP3T switch the end RX3 connection, the TX_ of the first electrical level transferring chip 500 OUT terminal is connect with the end TX4 that two-way SP3T is switched, and the end RX_OUT is connect with the end RX4 that two-way SP3T is switched, and being used for will be from equipment 300 low transition be and the matched high level of main equipment 400;The end TX_OUT of second electrical level conversion chip 600 and two-way The end the TX5 connection of SP3T switch, the end RX_OUT connect with the end RX5 that two-way SP3T is switched, for will be from the high Horizon of equipment 300 Be converted to the matched low level of main equipment 400.
The end TX_S2 and the end TX_S3 of the second two-way SPDT switch of two-way SP3T switch, second operational amplifier 800 The end RX_S2 of forward end connection, two-way SP3T switch is connect with the end RX_S3 of the second two-way SPDT switch, the second two-way SPDT The end TX6 of switch is connect with the end TX/RX of main equipment 400, the end RX6 of the second two-way SPDT switch and the RX/TX of main equipment 400 The output end of end connection, the first operational amplifier 700 and second operational amplifier 800 is connect with control chip 100, controls core Piece 100 further connects with the enable end EN and the switching end end SW of the first two-way SPDT switch and the second two-way SPDT switch It connects, connect with the enable end EN of the first electrical level transferring chip 500 and second electrical level conversion chip 600.
Two electrical level transferring chips are mainly to realize the transfer problem of front and back level.
By taking UART as an example, most common UART is divided to for 1.8V and two kinds of 3.3V, and the first electrical level transferring chip 500 is from setting Standby 300 are 1.8V signal, under the particular context that main equipment 400 is 3.3V signal, and the signal of front end 1.8V is converted to 3.3V's Signal.
Second electrical level conversion chip 600 is to realize antipodal function, i.e., in the signal from equipment 300 for 3.3V, master Equipment 400 is that the signal of front end 3.3V is converted to the signal of 1.8V under the particular context of the signal of 1.8V.It notes also that Be that the two electrical level transferring chips preferably input output end and are not turned on, and the frequency supported needs to reach 500K or more Just it is well positioned to meet rate requirement.
The main matching problem for realizing front and back level of two-way SP3T switch.Equally by taking UART as an example, may be from equipment 300 Perhaps 3.3V main equipment 400 is equally possible is 1.8V or 3.3V by 1.8V, therefore can have four kinds of level conditions.
(1) when identical with the level of main equipment 400 from equipment 300, control chip 100 controls two-way SP3T switching To TX3/RX3.For example, being 1.8V from equipment 300, main equipment 400 is 1.8V.
(2) when identical with the level of main equipment 400 from equipment 300, control chip 100 controls two-way SP3T switching To TX3/RX3.For example, being 3.3V from equipment 300, main equipment 400 is 3.3V.
(1), (2) both of these case lower switch can be switched to TX3/RX3, since level is matched, so from setting Being connected directly for 300 with main equipment 400 can.
(3) when being lower than the level of main equipment 400 from the level of equipment 300, control chip 100 controls two-way SP3T switch It is switched to TX4/RX4.For example, being 1.8V from equipment 300, main equipment 400 is 3.3V;In this case it is switched to TX4/RX4, is made Turn the first electrical level transferring chip 500 of 3.3V with 1.8V.
(4) when being higher than the level of main equipment 400 from the level of equipment 300, control chip 100 controls two-way SP3T switch It is switched to TX5/RX5.For example, being 3.3V from equipment 300, main equipment 400 is 1.8V, is switched to TX5/RX5 in this case, makes Turn the second electrical level conversion chip 600 of 1.8V with 3.3V.
Unconfined turn of level height before and after the same electrical level transferring chip positive-negative connected (A to B or B to A) or use Chip is changed, the two conversion chips can use the chip of the same model.
Controlling chip 100, mainly control is used, and notices that the level for being uniformly controlled pin is a range.Control chip 100 Two pins respectively at from equipment 300 the end TX/RX and the end RX/TX connect, another two pin respectively with main equipment 400 The end TX/RX is connected with the end RX/TX, for detecting level height to carry out switching.By taking UART as an example, single-chip microcontroller has to prop up The level input of 1.8-3.3V is held, and 1/2 and 3/4 foot needs support the high level for determining 1.8V and 3.3V, therefore interface is unified For 1.8V, it is a kind of relatively good selection that the incoming level upper limit, which is higher than 3.3V,.
Two pins that control chip 100 is connect with main equipment 400 continue trapped state, send and appoint at 400 end of main equipment The data received are stored in storehouse by meaning signal, control chip 100, enable the second two-way according to differentiating to the pin for having signal SPDT switch switched path;Correspondingly, two pins connecting with from equipment 300 of control chip 100 continue trapped state, from 300 end of equipment sends arbitrary signal, and the data received are stored in storehouse by control chip 100, according to differentiation to the pipe for having signal Foot enables the first two-way SPDT switch switched path, reaches direction adaptation.
Two pins of single-chip microcontroller respectively at from equipment 300 the end TX/RX and the end RX/TX connect, it is above-mentioned for detecting The level height at both ends then enables the first two-way SPDT switch, by switching to TX1 when detecting that the end TX/RX is high level And RX1;When detecting that the end RX/TX is high level, then the first two-way SPDT switch is enabled, by switching to TX2 and RX2;
The another two pin of single-chip microcontroller is connect respectively at the end TX/RX of main equipment 400 and the end RX/TX, for detecting The level height for stating both ends then enables the second two-way SPDT switch, switching is arrived when detecting that the end TX/RX is high level TX6 and RX6;When detecting that the end RX/TX is high level, then the second two-way SPDT switch is enabled, by switching to TX7 and RX7.
It is when connecting the TX/RX end pipe foot of main equipment 400, to enable the second two-way that single-chip microcontroller, which differentiates to the pin for having signal, SPDT switch, switched path to TX6 and RX6;If differentiating that the pin for having signal be the end RX/TX for connecting main equipment 400 When pin, the second two-way SPDT switch, switched path to TX7 and RX7 are enabled.
Chip 100 is controlled after completing direction adaptation, level adapted is carried out, enables the first two-way SPDT switch and second pair Road SPDT switch, the output signal for reading the first operation comparator and the second operation comparator then judge ratio if it is high level Level compared with the input of device front end is 3.3V;If it is low level, then judge the level of comparator front end input for 1.8V.
In addition, the super adaption system of the serial ports of the utility model embodiment, further includes: triode RC time delay circuit 200, One data indicator light and the second data indicator light, wherein the input terminal of triode RC time delay circuit 200 is opened with the second two-way SPDT Connection connects, and the output end of triode RC time delay circuit 200 is connect with the first data indicator light and the second data indicator light respectively, uses To realize that data flow indicates.
With reference to Fig. 1, the super adaption system of the serial ports of the utility model embodiment, working principle is as follows:
(all devices are defaulted all in off state) after serial ports is all connected on both sides, 1 and 2 feet of single-chip microcontroller will do it two Grade detects, and is exactly only TX meeting when external high-impedance state because most of serial ports possesses a characteristic if the first order Pull-up, therefore also only have TX to can detecte high level.Another RX is generally high resistant, or drags down, therefore the 1 of single-chip microcontroller One of them can only be identified with 2 feet as high level, another is not.
If normally detecting that 1 foot of single-chip microcontroller is high level, 2 feet are not then to control enabled first two-way SPDT switch SPDT1, by switching to TX2 and RX2 (by 11/12 foot control system of single-chip microcontroller, just opposite with 400 one end TX/RX of main equipment). If 2 feet for detecting single-chip microcontroller are high level and 1 foot is not, enabled first two-way SPDT switch SPDT1 is controlled, then will Switching is to TX1 and RX1 (by 11/12 foot control system of single-chip microcontroller, just opposite with 400 one end TX/RX of main equipment).It in this way can mistake Most equipment is filtered, once first order logic detection success (1Z/10 or Z1/01), will detect without the second level, If being otherwise all 1 just carries out second level detection.
3 and 4 feet of single-chip microcontroller also need to carry out the detection of same process, if 3 feet detect high level, 4 feet do not have, Enabled second two-way SPDT switch SPDT3 is so controlled, by switching to TX6 and RX6 (by 13/14 foot control system of single-chip microcontroller). If 4 feet detect high level and 3 feet do not have, enabled second two-way SPDT switch SPDT3 is controlled by switching to TX7 With RX7 (by 13/14 foot control system of single-chip microcontroller).Second level detection is to detect to fail in first order condition, that is, detect 11 It is carried out when logic.The equipment of very few can pull up RX, these tabless of equipment by break opening contact detection be it is impossible, must It must carry out logical signal detection.In this case, single-chip microcontroller can enter the lasting trapped state of 3/4 foot first, in main equipment 400 ends send arbitrary signal, and 3/4 foot of single-chip microcontroller has a certain pin and receives a data, this data is stored in storehouse.When sentencing When the pin for being clipped to signal is 3 foot, then enabled SPDT3 and then switched path are equally carried out to TX6 and RX6;If differentiation is arrived The pin for having signal is 4 feet, then enabling SPDT3 and then switched path to TX7 and RX7.If also entering from equipment 300 Second level is sending arbitrary signal from equipment 300, is then being differentiated and controlled by 1 foot and 2 feet then can equally enter identical process SPDT1 processed reaches direction adaptation.
After the completion of RX and the TX adaptation of main equipment 400, it will do it the matching of level, enable SPDT1 and SPDT3 again at this time, Then the output signal of two comparators is read.The comparator of 5 foot of single-chip microcontroller connection, reference level for comparing is 2.2~ 2.8V can be realized with the mode of LDO or electric resistance partial pressure.If input is high level 1, illustrate the input of comparator front end Level is 3.3V;If input is low level 0, illustrate that the level of comparator front end input is 1.8V.Same reason carries out Detect another comparator.Second comparator, one principle illustrates that comparator front end is defeated if input is high level 1 The level entered is 3.3V;If input is low level 0, illustrate that the level of comparator front end input is 1.8V.
It has been completed to the judgement of level range at this time, then need to be adapted to by intermediate conversion chip with switch, Adaptation method is with reference to aforementioned:
(1) when identical with the level of main equipment 400 from equipment 300, control chip 100 controls two-way SP3T switching To TX3/RX3.
(2) when being lower than the level of main equipment 400 from the level of equipment 300, control chip 100 controls two-way SP3T switch It is switched to TX4/RX4.
(3) when being higher than the level of main equipment 400 from the level of equipment 300, control chip 100 controls two-way SP3T switch It is switched to TX5/RX5.
Finally when adaptation is complete, the enabled of all switches, switching and the enabled of electrical level transferring chip should be in one Under a correct control.
In most cases, adaptation procedure is quick and automatic, if entering second level inspection mentioned immediately above It surveys, then sending a notification instruction toward connection equipment end or prompting user to carry out simple operations with the warning of lamp flashing. User needs the transmission arbitrary signal on one side in prompt, which continuously sends out more than three times and separated in time, guarantee It will not be judged by accident because of packet loss problem.So far adaptation procedure is fully finished in various situations.
According to the super adaption system of the serial ports of the utility model embodiment, the interface direction of automatic adaptation access and interface electricity It is flat, as long as insertion, can work normally, do not have to distinguish serial ports direction or serial ports level.The utility model is mainly with terminal It for equipment of serial-UART port, but actually uses scheme and is not limited to UART port, other serial ports adaptation schemes similarly equally include In the present invention.In addition the utility model not only can be made serial port adapter, but also can integrate and make to connect in host side Mouth becomes super serial ports, greatly facilitates use.
In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ", " specifically show The description of example " or " some examples " etc. means specific features, structure, material or spy described in conjunction with this embodiment or example Point is contained at least one embodiment or example of the utility model.In the present specification, to the schematic table of above-mentioned term Stating may not refer to the same embodiment or example.Moreover, particular features, structures, materials, or characteristics described can be It can be combined in any suitable manner in any one or more embodiment or examples.
Although the embodiments of the present invention have been shown and described above, it is to be understood that above-described embodiment is Illustratively, it should not be understood as limiting the present invention, those skilled in the art are not departing from the utility model Principle and objective in the case where above-described embodiment can be changed in the scope of the utility model, modify, replace and Modification.The scope of the utility model is extremely equally limited by appended claims.

Claims (7)

1. a kind of super adaption system of serial ports characterized by comprising the first two-way SPDT switch, the second two-way SPDT switch, Two-way SP3T switch, the first electrical level transferring chip, second electrical level conversion chip, the first operational amplifier, second operational amplifier With control chip, wherein
The end TX1 and the end RX2 of the first two-way SPDT switch are connect with the end TX/RX from equipment, the first two-way SPDT The end TX2 and the end RX1 of switch are connect with the end RX/TX from equipment, the end TX_S1 of the first two-way SPDT switch and described the One electrical level transferring chip is connected with the end TX_IN of second electrical level conversion chip, and is connected with the end TX3 of two-way SP3T switch It connects, the RX_ at the end RX_S1 of the first two-way SPDT switch and first electrical level transferring chip and second electrical level conversion chip The end the RX3 connection of the forward end of the end IN and the first operational amplifier, two-way SP3T switch, the first level conversion core The end TX_OUT of piece is connect with the end TX4 switched the two-way SP3T, and the end RX4 of the end RX_OUT and two-way SP3T switch connects It connects, for that will be and the matched high level of main equipment from the low transition of equipment;The TX_ of the second electrical level conversion chip OUT terminal is connect with the end TX5 switched the two-way SP3T, and the end RX_OUT is connect with the end RX5 switched the two-way SP3T, is used for It will be changed to the matched low level of main equipment from the highland flat turn of equipment,
The end TX_S2 of the two-way SP3T switch and the end TX_S3, second operation amplifier of the second two-way SPDT switch The forward end of device connects, and the end RX_S2 of the two-way SP3T switch is connect with the end RX_S3 of the second two-way SPDT switch, The end TX6 of the second two-way SPDT switch and the end TX/RX of main equipment connect, the end RX6 of the second two-way SPDT switch Connect with the end RX/TX of the main equipment, the output end of first operational amplifier and second operational amplifier with it is described Chip connection is controlled, the control chip is further enabled with the first two-way SPDT switch and the second two-way SPDT switch It holds EN and the connection of the switching end end SW, connect with the enable end EN of first electrical level transferring chip and second electrical level conversion chip It connects,
Wherein, two pins of the control chip are connect respectively at the end TX/RX from equipment and the end RX/TX, and another two A pin is connect with the end TX/RX of the main equipment and the end RX/TX respectively, for detecting level height to carry out switching; Two pins that the control chip is connect with the main equipment continue trapped state, send arbitrary signal, institute at main equipment end It states control chip and the data received is stored in storehouse, cut according to differentiating to the enabled second two-way SPDT switch of the pin for having signal Change access;Correspondingly, the control chip continues trapped state with two connect from equipment the pin, sent out from equipment end Arbitrary signal is sent, the data received are stored in storehouse by the control chip, enable first according to differentiating to the pin for having signal Two-way SPDT switch switched path reaches direction adaptation.
2. the super adaption system of serial ports as described in claim 1, which is characterized in that the control chip uses single-chip microcontroller.
3. the super adaption system of serial ports as described in claim 1, which is characterized in that further include: triode RC time delay circuit, One data indicator light and the second data indicator light, wherein the input terminal of the triode RC time delay circuit and second two-way SPDT switch connection, the output end of the triode RC time delay circuit refer to the first data indicator light and the second data respectively Show that lamp connects.
4. the super adaption system of serial ports as described in claim 1, which is characterized in that when described from equipment and the main equipment When level is identical, two-way SP3T switching described in the control chip controls to TX3/RX3;
When the level for being lower than the main equipment from the level of equipment, the switch of two-way SP3T described in the control chip controls It is switched to TX4/RX4;
When the level for being higher than the main equipment from the level of equipment, the switch of two-way SP3T described in the control chip controls It is switched to TX5/RX5.
5. the super adaption system of serial ports as claimed in claim 2, which is characterized in that two pins of the single-chip microcontroller respectively at It is connect with the end TX/RX from equipment and the end RX/TX, for detecting the level height at above-mentioned both ends, when detecting the end TX/RX For high level, then the first two-way SPDT switch is enabled, by switching to TX1 and RX1;When detect the end RX/TX be high level, The first two-way SPDT switch is then enabled, by switching to TX2 and RX2;
The another two pin of the single-chip microcontroller is connect respectively at the end TX/RX of the main equipment and the end RX/TX, for detecting The level height for stating both ends then enables the second two-way SPDT switch, switching is arrived when detecting that the end TX/RX is high level TX6 and RX6;When detecting that the end RX/TX is high level, then the second two-way SPDT switch is enabled, by switching to TX7 and RX7.
6. the super adaption system of serial ports as claimed in claim 2, which is characterized in that the single-chip microcontroller differentiates to the pipe for having signal Foot is when connecting the TX/RX end pipe foot of main equipment, to enable the second two-way SPDT switch, switched path to TX6 and RX6;If sentenced The pin for being clipped to signal is when connecting the RX/TX end pipe foot of main equipment, to enable the second two-way SPDT switch, and switched path arrives TX7 and RX7.
7. the super adaption system of serial ports as described in claim 1, which is characterized in that the control chip completes direction adaptation Afterwards, level adapted is carried out, the first two-way SPDT switch and the second two-way SPDT switch are enabled, reads the first operation comparator and the The output signal of two operation comparators then judges the level of comparator front end input for 3.3V if it is high level;If it is low Level then judges the level of comparator front end input for 1.8V.
CN201821008994.1U 2018-06-27 2018-06-27 The super adaption system of serial ports Active CN208722186U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201821008994.1U CN208722186U (en) 2018-06-27 2018-06-27 The super adaption system of serial ports

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201821008994.1U CN208722186U (en) 2018-06-27 2018-06-27 The super adaption system of serial ports

Publications (1)

Publication Number Publication Date
CN208722186U true CN208722186U (en) 2019-04-09

Family

ID=65972233

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201821008994.1U Active CN208722186U (en) 2018-06-27 2018-06-27 The super adaption system of serial ports

Country Status (1)

Country Link
CN (1) CN208722186U (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108563601A (en) * 2018-06-27 2018-09-21 大唐终端技术有限公司 The super adaption system of serial ports
CN115017069A (en) * 2022-06-28 2022-09-06 长江存储科技有限责任公司 Level adaptation device, storage system and power supply method

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108563601A (en) * 2018-06-27 2018-09-21 大唐终端技术有限公司 The super adaption system of serial ports
CN108563601B (en) * 2018-06-27 2024-05-07 大唐终端技术有限公司 Super adaptation system of serial ports
CN115017069A (en) * 2022-06-28 2022-09-06 长江存储科技有限责任公司 Level adaptation device, storage system and power supply method
CN115017069B (en) * 2022-06-28 2023-11-07 长江存储科技有限责任公司 Level adaptation device, storage system and power supply method

Similar Documents

Publication Publication Date Title
CN108563601A (en) The super adaption system of serial ports
CN110611856B (en) Communication control method, device and system, charging box and wireless earphone
CN208722186U (en) The super adaption system of serial ports
CN208298168U (en) Serial communication debug circuit and terminal
TWI625025B (en) Charge-discharge device and method for controlling the same
CN106155967A (en) The circuit of USB interface multiplexing, method and apparatus
US20190362921A1 (en) Port connection circuit, port connection control method and electronic device
CN106655316A (en) Charging circuit and terminal equipment
CN110032533A (en) C-type universal serial bus interface circuit and its pin by-pass method
CN106708769A (en) Adaptive serial interface circuit
CN115525099B (en) Terminal equipment and method for detecting keyboard access
CN204810286U (en) Discernment supply circuit and ethernet power supply unit, system
CN106155969B (en) data transmission system and transmission method thereof
CN103326210A (en) Switchable multifunctional cable
CN110190841B (en) IO port multiplexing control circuit and electronic equipment
CN110247265B (en) Multifunctional data line, switching circuit and switching method
CN105515787A (en) Network port and Ethernet device
WO2012047719A4 (en) Remote access appliance with communication protocol autosensing feature
EP0935850B1 (en) System connector
CN104917246A (en) Detection and control apparatus of Apple device
WO1993001671A1 (en) Automatic detector and selector of rs-232 or v.35 interface
CN209659302U (en) A kind of interface gating circuit and communication equipment
JP2014048880A (en) Portable battery device
CN104125173B (en) data communication path switching circuit, vehicle-mounted router and automobile
CN103311766A (en) Mobile equipment switching device and working mode switching method thereof

Legal Events

Date Code Title Description
GR01 Patent grant
GR01 Patent grant