CN106301342A - Interface circuit and terminal equipment - Google Patents
- ️Wed Jan 04 2017
CN106301342A - Interface circuit and terminal equipment - Google Patents
Interface circuit and terminal equipment Download PDFInfo
-
Publication number
- CN106301342A CN106301342A CN201610648360.1A CN201610648360A CN106301342A CN 106301342 A CN106301342 A CN 106301342A CN 201610648360 A CN201610648360 A CN 201610648360A CN 106301342 A CN106301342 A CN 106301342A Authority
- CN
- China Prior art keywords
- connection
- selection switch
- module
- pin
- interface Prior art date
- 2016-08-09 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.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03K—PULSE TECHNIQUE
- H03K19/00—Logic circuits, i.e. having at least two inputs acting on one output; Inverting circuits
- H03K19/0175—Coupling arrangements; Interface arrangements
- H03K19/017509—Interface arrangements
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03K—PULSE TECHNIQUE
- H03K17/00—Electronic switching or gating, i.e. not by contact-making and –breaking
- H03K17/002—Switching arrangements with several input- or output terminals
Landscapes
- Engineering & Computer Science (AREA)
- Computer Hardware Design (AREA)
- Physics & Mathematics (AREA)
- Computing Systems (AREA)
- General Engineering & Computer Science (AREA)
- Mathematical Physics (AREA)
- Information Transfer Systems (AREA)
- Power Sources (AREA)
Abstract
An interface circuit is used for selecting a connection interface of a terminal device to be connected to one of a first functional module, a second functional module and a third functional module of the terminal device. The interface circuit includes: the first and second selection switches, the first and second trigger circuits and the controller. The first selection switch is connected among the connection interface, the second selection switch and the first functional module. The second selection switch is connected between the first selection switch and the second and third functional modules. The controller is used for controlling the first trigger circuit and the second trigger circuit to generate corresponding trigger signals at least based on the level signal received by the first trigger circuit from the connecting interface so as to respectively trigger the selective connection of the first selection switch and the second selection switch, and therefore the communication connection between one of the first functional module, the second functional module and the third functional module and the connecting interface is selectively established. The invention also provides a terminal device, and the invention can reuse the connection interface of the terminal device through a simple structure.
Description
技术领域technical field
本发明涉及电连接领域,特别涉及一种接口电路及终端设备。The invention relates to the field of electric connection, in particular to an interface circuit and terminal equipment.
背景技术Background technique
目前,USB接口作为标准的数据连接及充电接口,已经广泛应用于手机、平板电脑等终端设备上。通常,为了避免接口的冗余,USB接口往往能作为多个功能模块的接口而可被多个功能模块复用,例如,作为普通USB充电及数据连接的接口或者作为快速充电的接口。相应的,能够根据USB接口接入的对象而将USB接口快速定义为某一功能模块的接口的接口电路是有必要的,例如,根据接入的为普通USB接口还是快充充电器,而将USB接口作为普通USB模块的接口或者作为快充模块的接口。然而,现有的实现复用的接口电路都比较复杂。At present, as a standard data connection and charging interface, the USB interface has been widely used in terminal devices such as mobile phones and tablet computers. Usually, in order to avoid interface redundancy, the USB interface can often be used as an interface of multiple functional modules and can be reused by multiple functional modules, for example, as an interface for common USB charging and data connection or as an interface for fast charging. Correspondingly, an interface circuit that can quickly define a USB interface as an interface of a certain functional module according to the object connected to the USB interface is necessary. The USB interface is used as an interface of a common USB module or as an interface of a fast charging module. However, existing interface circuits for realizing multiplexing are relatively complicated.
发明内容Contents of the invention
本发明实施例提供了一种多功能接口电路及终端设备,能够通过简单的结构将一个连接接口复用为多个功能接口。Embodiments of the present invention provide a multifunctional interface circuit and terminal equipment, capable of multiplexing one connection interface into multiple functional interfaces through a simple structure.
一方面,提供一种接口电路,用于将一终端设备的连接接口选择连接至终端设备的第一功能模块、第二功能模块及第三功能模块中的一个,其特征在于,所述接口电路包括:第一选择开关、第二选择开关、第一触发电路、第二触发电路及控制器。所述第一选择开关连接于所述连接接口以及所述第二选择开关、第一功能模块之间,用于选择将所述连接接口连接至所述第二选择开关或所述第一功能模块。所述第二选择开关连接于所述第一选择开关及所述第二功能模块、第三功能模块之间,用于选择将所述第一选择开关连接至第二功能模块或第三功能模块。所述第一触发电路连接于所述连接接口、所述第一选择开关及控制器之间,所述第二触发电路连接于所述第二选择开关及控制器之间。所述控制器用于至少基于所述第一触发电路从连接接口接收的电平信号而控制第一触发电路及第二触发电路产生相应的触发信号,以分别触发第一选择开关及第二选择开关的选择连通,从而选择建立第一功能模块、第二功能模块以及第三功能模块中的其中一个与连接接口的通信连接。On the one hand, an interface circuit is provided for selectively connecting a connection interface of a terminal device to one of the first functional module, the second functional module and the third functional module of the terminal device, wherein the interface circuit It includes: a first selection switch, a second selection switch, a first trigger circuit, a second trigger circuit and a controller. The first selection switch is connected between the connection interface, the second selection switch, and the first functional module, and is used to select and connect the connection interface to the second selection switch or the first functional module . The second selector switch is connected between the first selector switch and the second functional module and the third functional module, and is used to select to connect the first selector switch to the second functional module or the third functional module . The first trigger circuit is connected between the connection interface, the first selection switch and the controller, and the second trigger circuit is connected between the second selection switch and the controller. The controller is used to control the first trigger circuit and the second trigger circuit to generate corresponding trigger signals based at least on the level signal received by the first trigger circuit from the connection interface, so as to respectively trigger the first selection switch and the second selection switch The selection is connected, so that one of the first functional module, the second functional module and the third functional module is selected to establish a communication connection with the connection interface.
其中,所述连接接口包括电源引脚、数据引脚,所述第一触发电路与所述连接接口的电源引脚连接,所述第一选择开关连接于所述连接接口的数据引脚以及所述第二选择开关、第一功能模块之间,用于选择将所述连接接口的数据引脚连接至所述第二选择开关或所述第一功能模块。Wherein, the connection interface includes a power pin and a data pin, the first trigger circuit is connected to the power pin of the connection interface, the first selection switch is connected to the data pin of the connection interface and the Between the second selection switch and the first functional module, it is used to select and connect the data pin of the connection interface to the second selection switch or the first functional module.
其中,所述控制器在电源引脚为高电平时,产生第一模块连接触发信号,而触发第一选择开关选通连接接口与第一功能模块之间的连接;所述控制器并控制所述第一触发电路切换产生开关连接触发信号,而触发第一选择开关将连接接口切换至与所述第二选择开关进行连接,同时控制器控制第二触发电路产生第二模块连接触发信号,触发第二选择开关选通第一选择开关与第二模组模块之间的连接,从而建立连接接口的数据引脚与第二功能模块之间的连接。Wherein, the controller generates the first module connection trigger signal when the power supply pin is at a high level, and triggers the connection between the first selection switch and the first functional module; the controller also controls the The switch of the first trigger circuit generates a switch connection trigger signal, and triggers the first selection switch to switch the connection interface to connect with the second selection switch, and at the same time, the controller controls the second trigger circuit to generate a second module connection trigger signal, triggering The second selection switch gates the connection between the first selection switch and the second module, so as to establish the connection between the data pin of the connection interface and the second function module.
其中,所述控制器在外部设备与第二功能模块之间通信成功时,保持所述第一选择开关及第二选择开关的连接状态,从而保持第二功能模块与连接接口的数据引脚的连接,此时,第二功能模块启动而与外部设备进行连接通信。Wherein, when the communication between the external device and the second functional module is successful, the controller maintains the connection state of the first selection switch and the second selection switch, thereby maintaining the connection between the second functional module and the data pin of the connection interface. connection, at this time, the second function module starts to connect and communicate with the external device.
其中,所述控制器并在外部设备与第二功能模块之间通信失败时,控制第一触发电路切换产生第一模块连接触发信号,触发第一选择开关选通连接接口与第一功能模块3之间的连接,此时,第一功能模块启动而与外部设备进行连接通信。Wherein, when the communication between the external device and the second functional module fails, the controller controls the first trigger circuit to switch to generate the first module connection trigger signal, and triggers the first selection switch to strobe the connection interface and the first functional module 3 At this time, the first functional module starts to connect and communicate with the external device.
其中,所述控制器并在电源引脚为低电平时,控制第一触发电路产生开关连接触发信号,而触发第一选择开关选通连接接口与所述第二选择开关之间的连接,同时控制器控制第二触发电路产生第三模块连接触发信号,触发第二选择开关选通第一选择开关与第三功能模块之间的连接,从而建立连接接口与第三功能模块之间的连接,此时,第三功能模块启动而与外部设备进行连接通信。Wherein, the controller controls the first trigger circuit to generate a switch connection trigger signal when the power supply pin is at a low level, and triggers the connection between the first selection switch strobe connection interface and the second selection switch, and at the same time The controller controls the second trigger circuit to generate a third module connection trigger signal, triggers the second selection switch to select the connection between the first selection switch and the third functional module, thereby establishing a connection between the connection interface and the third functional module, At this time, the third functional module starts to communicate with the external device.
其中,所述第一功能模块为USB模块,所述第二功能模块为快充模块,所述第三功能模块为UART模块。Wherein, the first functional module is a USB module, the second functional module is a fast charging module, and the third functional module is a UART module.
其中,所述连接接口的数据引脚包括正数据引脚及负数据引脚,所述第一选择开关包括第一、第二数据输入引脚、第一、第二、第三、第四数据输出引脚以及第一信号输入引脚,所述第二选择开关包括第三、第四数据输入引脚、第五、第六、第七、第八数据输出引脚以及第二信号输入引脚;响应第一信号输入引脚的输入信号,所述第一选择开关的第一、第二数据输入引脚被选择分别与第一、第二数据输出引脚连接或者分别与第三、第四数据输出引脚连接,响应第二信号输入引脚的输入信号,所述第二选择开关的第三、第四数据输入引脚被选择分别与第五、第六数据输出引脚连接或者分别与第七、第八数据输出引脚连接。Wherein, the data pins of the connection interface include positive data pins and negative data pins, and the first selection switch includes first and second data input pins, first, second, third, and fourth data input pins, Output pins and first signal input pins, the second selection switch includes third and fourth data input pins, fifth, sixth, seventh, eighth data output pins and second signal input pins ; In response to the input signal of the first signal input pin, the first and second data input pins of the first selection switch are selected to be respectively connected to the first and second data output pins or respectively connected to the third and fourth The data output pin is connected, and in response to the input signal of the second signal input pin, the third and fourth data input pins of the second selection switch are selected to be respectively connected to the fifth and sixth data output pins or respectively connected to the The seventh and eighth data output pins are connected.
其中,所述第一选择开关的第一、第二数据输入引脚分别与所述连接接口的正数据引脚、负数据引脚连接,所述第一选择开关的第一、第二数据输出引脚分别与USB模块连接,所述第一选择开关的第三、第四数据输出引脚分别与第二选择开关的第三、第四数据输入引脚连接;所述第二选择开关的第五、第六数据输出引脚与快充模块连接,所述第二选择开关的第七、第八数据输出引脚与UART模块连接。Wherein, the first and second data input pins of the first selection switch are respectively connected to the positive data pin and the negative data pin of the connection interface, and the first and second data output pins of the first selection switch The pins are respectively connected to the USB module, the third and fourth data output pins of the first selection switch are respectively connected to the third and fourth data input pins of the second selection switch; 5. The sixth data output pin is connected to the fast charging module, and the seventh and eighth data output pins of the second selection switch are connected to the UART module.
其中,所述第一触发电路包括并联于第一选择开关的信号输入引脚以及地之间的第一电阻及开关管,其中,所述第一电阻连接于所述第一选择开关的信号输入引脚以及地之间,所述开关管的漏极与信号输入引脚连接,源极接地,所述开关管的漏极还与所述连接接口的电源引脚连接。Wherein, the first trigger circuit includes a first resistor and a switch tube connected in parallel between the signal input pin of the first selection switch and the ground, wherein the first resistor is connected to the signal input pin of the first selection switch Between the pin and the ground, the drain of the switch tube is connected to the signal input pin, the source is grounded, and the drain of the switch tube is also connected to the power pin of the connection interface.
其中,所述第二触发电路包括串联于所述第二选择开关的信号输入引脚及地之间的第二电阻及第三电阻。Wherein, the second trigger circuit includes a second resistor and a third resistor connected in series between the signal input pin of the second selection switch and the ground.
其中,所述控制器包括第一控制端及第二控制端,所述第一控制端与所述第一触发电路的开关管的栅极连接,所述第二控制端与所述第二触发电路的第二电阻及第三电阻之间的连接节点连接。Wherein, the controller includes a first control terminal and a second control terminal, the first control terminal is connected to the gate of the switching tube of the first trigger circuit, and the second control terminal is connected to the second trigger circuit The connection node between the second resistor and the third resistor of the circuit is connected.
其中,所述第一触发电路产生的第一模块连接触发信号为高电平信号,开关连接触发信号为低电平信号,所述开关管为高电平导通开关,在连接接口未连接外部设备时,所述控制器控制第一控制端输出低电平信号而控制所述开关管截止,当连接接口电源引脚为高电平时,则第一选择开关的信号输入引脚收到高电平的第一模块连接触发信号,而选通第一、第二数据输入引脚与第一、第二数据输出引脚的连接,此时,与第一、第二数据输出引脚连接的USB模块与连接接口的正数据引脚及负数据引脚连接。Wherein, the first module connection trigger signal generated by the first trigger circuit is a high-level signal, the switch connection trigger signal is a low-level signal, the switch tube is a high-level conduction switch, and the connection interface is not connected to an external equipment, the controller controls the first control terminal to output a low-level signal and controls the switch tube to be cut off. When the power supply pin of the connection interface is at a high level, the signal input pin of the first selection switch receives a high The flat first module connects the trigger signal, and selects the connection between the first and second data input pins and the first and second data output pins. At this time, the USB connected to the first and second data output pins The module is connected to the positive data pin and the negative data pin of the connection interface.
其中,所述第二触发电路产生的第二模块连接触发信号为高电平信号,所述控制器并在外部设备被识别为设备后,控制所述第一控制端输出高电平信号,控制所述开关管导通,从而,所述第一选择开关的信号输入引脚通过所述导通的开关管接地而接收到低电平的开关连接触发信号,所述第一选择开关在接收到开关连接触发信号后,选通第一、第二数据输入引脚与第三、第四数据输出引脚的连接,从而,将连接接口的正数据引脚及负数据引脚分别连接至第二选择开关的第三、第四数据输入引脚;所述控制器并通过所述第二控制端输出高电平信号至所述第二电阻及第三电阻的连接节点,从而所述第二选择开关的第二信号输入端接收到高电平的第二模块连接触发信号,而选通所述第二选择开关的第三、第四数据输入引脚与第五、第六数据输出引脚之间的连接,此时,与第五、第六数据输出引脚连接的快充模块与连接接口的正数据引脚及负数据引脚连接,外部设备被识别为快充充电设备。Wherein, the second module connection trigger signal generated by the second trigger circuit is a high-level signal, and the controller controls the first control terminal to output a high-level signal after the external device is identified as a device, and controls The switch tube is turned on, so that the signal input pin of the first selection switch receives a low-level switch connection trigger signal through the ground of the switched switch tube, and the first selection switch receives After the switch is connected with the trigger signal, the connection between the first and second data input pins and the third and fourth data output pins is selected, so that the positive data pin and the negative data pin of the connection interface are respectively connected to the second Select the third and fourth data input pins of the switch; the controller outputs a high-level signal to the connection node of the second resistor and the third resistor through the second control terminal, so that the second selection The second signal input terminal of the switch receives a high-level second module connection trigger signal, and gates the connection between the third and fourth data input pins and the fifth and sixth data output pins of the second selection switch. At this time, the fast charging module connected to the fifth and sixth data output pins is connected to the positive data pin and negative data pin of the connection interface, and the external device is identified as a fast charging device.
其中,所述控制器还包括接收端,所述接收端与所述快充模块连接,用于接收快充模块与外部设备的通信结果,如果快充模块与外部设备通信成功,则控制器维持所述第一控制端以及第二控制端均输出高电平信号;如果快充模块与外部设备通信失败,所述控制通过第一控制端输出低电平信号或不输出信号,使得所述开关管截止,从而,所述第一触发电路恢复输出高电平的第一模块触发信号,则第一选择开关的信号输入引脚收到高电平的第一模块连接触发信号,而选通第一、第二数据输入引脚与第一、第二数据输出引脚的连接,此时,与第一、第二数据输出引脚连接的USB模块与连接接口的正数据引脚及负数据引脚连接,正式进入USB通信模式。Wherein, the controller also includes a receiving end, the receiving end is connected to the fast charging module, and is used to receive the communication result between the fast charging module and the external device. If the fast charging module communicates with the external device successfully, the controller maintains Both the first control terminal and the second control terminal output a high-level signal; if the fast charging module fails to communicate with the external device, the control outputs a low-level signal or no signal through the first control terminal, so that the switch The tube is turned off, so that the first trigger circuit resumes outputting the high-level trigger signal of the first module, then the signal input pin of the first selection switch receives the high-level first module connection trigger signal, and the gate of the first module 1. The connection between the second data input pin and the first and second data output pins. At this time, the USB module connected to the first and second data output pins is connected to the positive data pin and the negative data pin of the connection interface. Pin connection, formally enter the USB communication mode.
其中,当所述连接接口的电源引脚为低电平,所述控制器控制第一控制端维持输出低电平信号或不输出信号,开关管截止,第一选择开关的信号输入引脚从所述电源引脚收到低电平的开关连接触发信号,而选通第一、第二数据输入引脚与第三、第四数据输出引脚的连接,所述控制器并通过所述第二控制端输出低电平信号至所述第二电阻及第三电阻的连接节点,从而所述第二选择开关的第二信号输入端接收到低电平的第三模块连接触发信号,而选通所述第二选择开关的第三、第四数据输入引脚与第七、第八数据输出引脚之间的连接,此时,与第七、第八数据输出引脚连接的UART模块与连接接口的正数据引脚及负数据引脚连接,进入UART通信模式。Wherein, when the power supply pin of the connection interface is at a low level, the controller controls the first control terminal to maintain a low-level signal output or not output a signal, the switch tube is cut off, and the signal input pin of the first selection switch changes from The power supply pin receives a low-level switch connection trigger signal, and selects the connection between the first and second data input pins and the third and fourth data output pins, and the controller passes through the first The second control terminal outputs a low-level signal to the connection node of the second resistor and the third resistor, so that the second signal input terminal of the second selection switch receives a low-level third module connection trigger signal, and the selection switch Through the connection between the third and fourth data input pins of the second selection switch and the seventh and eighth data output pins, at this time, the UART module connected with the seventh and eighth data output pins is connected with the Connect the positive data pin and negative data pin of the interface to enter the UART communication mode.
其中,所述开关管为NPN三极管或NMOS场效应管。Wherein, the switch transistor is an NPN transistor or an NMOS field effect transistor.
另一方面,提供一种终端设备,包括连接接口、第一功能模块、第二功能模块、第三功能模块以及前述的接口电路。In another aspect, a terminal device is provided, including a connection interface, a first functional module, a second functional module, a third functional module, and the foregoing interface circuit.
其中,所述连接接口为USB接口,包括电源引脚、正数据引脚及负数据引脚。Wherein, the connection interface is a USB interface, including a power supply pin, a positive data pin and a negative data pin.
其中,所述第一功能模块为USB模块,所述第二功能模块为快充模块,所述第三功能模块为UART模块。Wherein, the first functional module is a USB module, the second functional module is a fast charging module, and the third functional module is a UART module.
从以上技术方案可以看出,本发明实施例具有以下优点:通过简单的接口电路,可选择将连接接口连接至USB模块作为普通USB接口,或选择将连接接口连接至快充模块作为快充接口,或选择将连接接口连接至UART模块作为UART接口使用,实现了通过一个连接接口复用多个功能的目的。It can be seen from the above technical solutions that the embodiments of the present invention have the following advantages: through a simple interface circuit, you can choose to connect the connection interface to the USB module as a common USB interface, or choose to connect the connection interface to the fast charging module as a fast charging interface , or choose to connect the connection interface to the UART module and use it as a UART interface, realizing the purpose of multiplexing multiple functions through one connection interface.
附图说明Description of drawings
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简要介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域的普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings that need to be used in the description of the embodiments will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present invention. For Those of ordinary skill in the art can also obtain other drawings based on these drawings without any creative effort.
图1为本发明一实施例中的终端设备的功能模块示意图。FIG. 1 is a schematic diagram of functional modules of a terminal device in an embodiment of the present invention.
图2为本发明一实施例中的终端设备的具体电路图。FIG. 2 is a specific circuit diagram of a terminal device in an embodiment of the present invention.
图3为本发明一实施例中的终端设备中的第一选择开关及第二选择开关的内部结构示意图。FIG. 3 is a schematic diagram of the internal structure of a first selection switch and a second selection switch in a terminal device according to an embodiment of the present invention.
具体实施方式detailed description
为了使本发明的目的、技术方案和优点更加清楚,下面将结合附图对本发明作进一步地详细描述,显然,所描述的实施例仅仅是本发明一部份实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其它实施例,都属于本发明保护的范围。In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, rather than all embodiments . Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.
请参阅图1,为本发明一实施例中的终端设备100的功能模块示意图。所述终端设备100包括连接接口1、接口电路2、第一功能模块3、第二功能模块4以及第三功能模块5。Please refer to FIG. 1 , which is a schematic diagram of functional modules of a terminal device 100 in an embodiment of the present invention. The terminal device 100 includes a connection interface 1 , an interface circuit 2 , a first functional module 3 , a second functional module 4 and a third functional module 5 .
所述连接接口1用于接入一外部设备200。The connection interface 1 is used for connecting an external device 200 .
如图1所示,所述接口电路2包括第一选择开关21、第二选择开关22、第一触发电路23、第二触发电路24及控制器25。As shown in FIG. 1 , the interface circuit 2 includes a first selection switch 21 , a second selection switch 22 , a first trigger circuit 23 , a second trigger circuit 24 and a controller 25 .
所述第一选择开关21连接于所述连接接口1以及所述第二选择开关22、第一功能模块3之间,用于选择将所述连接接口1连接至所述第二选择开关22或所述第一功能模块3。The first selection switch 21 is connected between the connection interface 1, the second selection switch 22, and the first functional module 3, and is used to select whether to connect the connection interface 1 to the second selection switch 22 or The first functional module 3 .
所述第二选择开关22连接于所述第一选择开关21及所述第二功能模块4、第三功能模块5之间,用于选择将所述第一选择开关21连接至第二功能模块4或第三功能模块5。The second selector switch 22 is connected between the first selector switch 21 and the second function module 4 and the third function module 5, and is used to select and connect the first selector switch 21 to the second function module 4 or the third functional module 5 .
所述第一触发电路23连接于所述连接接口1、所述第一选择开关21及控制器25之间,所述第二触发电路24连接于所述第二选择开关22及控制器25之间。The first trigger circuit 23 is connected between the connection interface 1, the first selection switch 21 and the controller 25, and the second trigger circuit 24 is connected between the second selection switch 22 and the controller 25. between.
所述控制器25用于至少基于所述第一触发电路23从连接接口1接收的电平信号而控制第一触发电路23及第二触发电路24产生相应的触发信号,以分别触发第一选择开关21及第二选择开关22的选择连通,从而选择建立第一功能模块3、第二功能模块4以及第三功能模块5中的其中一个与连接接口1的通信连接。相应的,选择建立与连接接口1连接的外部设备200与第一功能模块3、第二功能模块4以及第三功能模块5中的其中一个的通信连接。The controller 25 is configured to control the first trigger circuit 23 and the second trigger circuit 24 to generate corresponding trigger signals based on at least the level signal received by the first trigger circuit 23 from the connection interface 1, so as to respectively trigger the first selection The selection of the switch 21 and the second selection switch 22 is connected, so that one of the first functional module 3 , the second functional module 4 and the third functional module 5 is selected to establish a communication connection with the connection interface 1 . Correspondingly, a communication connection between the external device 200 connected to the connection interface 1 and one of the first functional module 3 , the second functional module 4 and the third functional module 5 is selected.
具体的,所述连接接口1包括电源引脚P以及数据引脚D。在本实施例中,所述连接接口1为USB(Universal Serial Bus,通用串行总线)接口。所述第一选择开关21连接于所述连接接口1的数据引脚D以及所述第二选择开关22、第一功能模块3之间,用于选择将所述连接接口1的数据引脚D连接至所述第二选择开关22或所述第一功能模块3。Specifically, the connection interface 1 includes a power pin P and a data pin D. In this embodiment, the connection interface 1 is a USB (Universal Serial Bus, Universal Serial Bus) interface. The first selection switch 21 is connected between the data pin D of the connection interface 1 and the second selection switch 22 and the first functional module 3, and is used to select the data pin D of the connection interface 1 connected to the second selection switch 22 or the first functional module 3 .
所述第一触发电路23与所述连接接口1的电源引脚Vbus连接,在连接接口1接入外部设备200时的电源引脚Vbus为高电平时,产生第一模块连接触发信号,而触发第一选择开关21选通连接接口1的数据引脚D与第一功能模块3之间的连接。The first trigger circuit 23 is connected to the power supply pin Vbus of the connection interface 1, and when the power supply pin Vbus is at a high level when the connection interface 1 is connected to the external device 200, a first module connection trigger signal is generated, and the trigger The first selection switch 21 selects the connection between the data pin D of the connection interface 1 and the first functional module 3 .
所述控制器25用于在第一触发电路23产生第一模块连接触发信号后,控制所述第一触发电路23产生开关连接触发信号,而触发第一选择开关21选通连接接口1的数据引脚D与所述第二选择开关22之间的连接,同时控制器25控制第二触发电路24产生第二模块连接触发信号,触发第二选择开关22选通第一选择开关21与第二模组模块4之间的连接,从而建立连接接口1的数据引脚D与第二功能模块4之间的连接。所述第二功能模块4与连接接口1的数据引脚D连接后通过连接接口1的数据引脚D与外部设备200进行连接通信。The controller 25 is used to control the first trigger circuit 23 to generate a switch connection trigger signal after the first trigger circuit 23 generates the first module connection trigger signal, and trigger the first selection switch 21 to strobe the data of the connection interface 1 The connection between the pin D and the second selection switch 22, while the controller 25 controls the second trigger circuit 24 to generate the second module connection trigger signal, and triggers the second selection switch 22 to strobe the first selection switch 21 and the second selection switch 21. The connection between the module modules 4 establishes the connection between the data pin D of the connection interface 1 and the second functional module 4 . The second functional module 4 is connected to the data pin D of the connection interface 1 and communicates with the external device 200 through the data pin D of the connection interface 1 .
所述控制器25在外部设备200与第二功能模块4之间通信成功时,保持所述第一选择开关21及第二选择开关22的连接状态,从而保持第二功能模块4与连接接口1的数据引脚D的连接。此时,第二功能模块4启动而与外部设备200进行连接通信。When the communication between the external device 200 and the second function module 4 is successful, the controller 25 keeps the connection state of the first selection switch 21 and the second selection switch 22, thereby keeping the second function module 4 and the connection interface 1 connection of the data pin D. At this time, the second function module 4 is activated to communicate with the external device 200 .
所述控制器25并在外部设备200与第二功能模块4之间通信失败时,控制第一触发电路23切换产生第一模块连接触发信号,触发第一选择开关21选通连接接口1与第一功能模块3之间的连接,此时,第一功能模块3启动而与外部设备200进行连接通信。The controller 25 controls the first trigger circuit 23 to switch to generate a first module connection trigger signal when the communication between the external device 200 and the second functional module 4 fails, and triggers the first selection switch 21 to strobe the connection interface 1 and the second functional module 4. A connection between the functional modules 3 , at this time, the first functional module 3 starts to communicate with the external device 200 .
所述第一触发电路23在连接接口1接入外部设备200时的电源引脚P1为低电平时,产生开关连接触发信号,而触发第一选择开关21选通连接接口1与所述第二选择开关22之间的连接,同时控制器25控制第二触发电路24产生第三模块连接触发信号,触发第二选择开关22选通第一选择开关21与第三功能模块5之间的连接,从而建立连接接口1与第三功能模块5之间的连接。此时,第三功能模块5启动而与外部设备200进行连接通信。The first trigger circuit 23 generates a switch connection trigger signal when the power supply pin P1 is at a low level when the connection interface 1 is connected to the external device 200, and triggers the first selection switch 21 to select the connection interface 1 and the second Select the connection between the switches 22, and at the same time, the controller 25 controls the second trigger circuit 24 to generate a third module connection trigger signal, triggering the second selection switch 22 to select the connection between the first selection switch 21 and the third functional module 5, Thus, the connection between the connection interface 1 and the third functional module 5 is established. At this time, the third functional module 5 is started to communicate with the external device 200 .
在一实施例中,所述第一功能模块3包括USB模块31,所述USB模块31为用于实现USB数据通信等的功能芯片/电路。所述第二功能模块4包括快充模块41,所述快充模块41为实现快速充电功能的功能芯片/电路。所述第三功能模块5包括UART模块51,所述UART模块51为实现UART数据通信的功能芯片/电路。所述外部设备200可为USB设备,例如具有USB接口的电脑等设备,或可为快充充电器,也可为具有UART设备,即具有UART接口的终端设备。In one embodiment, the first functional module 3 includes a USB module 31, which is a functional chip/circuit for implementing USB data communication and the like. The second functional module 4 includes a fast charging module 41, and the fast charging module 41 is a functional chip/circuit for realizing a fast charging function. The third functional module 5 includes a UART module 51, and the UART module 51 is a functional chip/circuit for realizing UART data communication. The external device 200 can be a USB device, such as a computer with a USB interface, or a fast charging charger, or a UART device, that is, a terminal device with a UART interface.
其中,第二功能模块4启动而与外部设备200进行连接通信为:当外部设备为快充充电器时,所述快充模块41启动而与外部设备200进行连接通信,进入快速充电模式,此时连接接口1作为快充接口使用。第一功能模块3启动而与外部设备200进行连接通信为:当外部设备200为其他终端设备的USB接口时,所述USB模块31启动而与外部设备200进行连接通信,进入普通USB连接模式,此时连接接口1作为普通USB接口使用。第三功能模块5启动而与外部设备200进行连接通信为:当外部设备为其他终端设备的UART接口时,所述UART模块51启动而与外部设备200进行连接通信,进入UART连接模式,此时连接接口1作为UART连接接口使用。Wherein, the second functional module 4 starts to connect and communicate with the external device 200 as follows: when the external device is a fast charging charger, the fast charging module 41 starts to connect and communicate with the external device 200, and enters the fast charging mode. When connected to interface 1, it is used as a fast charging interface. The first functional module 3 is started to connect and communicate with the external device 200: when the external device 200 is a USB interface of other terminal equipment, the USB module 31 is started to connect and communicate with the external device 200, and enters the normal USB connection mode, At this time, the connection interface 1 is used as a normal USB interface. The third function module 5 starts and connects and communicates with the external device 200 as: when the external device is the UART interface of other terminal equipment, the UART module 51 starts and connects and communicates with the external device 200, and enters the UART connection mode. Connection interface 1 is used as a UART connection interface.
请参阅图2,为本发明一实施例中的终端设备100的具体电路示意图。所述连接接口1包括电源引脚Vbus、数据引脚D以及接地引脚G,数据引脚D包括正数据引脚D+及负数据引脚D-。Please refer to FIG. 2 , which is a schematic circuit diagram of a terminal device 100 in an embodiment of the present invention. The connection interface 1 includes a power supply pin Vbus, a data pin D and a ground pin G, and the data pin D includes a positive data pin D+ and a negative data pin D−.
所述第一选择开关21包括两个数据输入引脚D11、D12、四个数据输出引脚O11-O14以及信号输入引脚S1。所述第二选择开关22包括两个数据输入引脚D21、D22、四个数据输出引脚O21-O24以及信号输入引脚S2。The first selection switch 21 includes two data input pins D11, D12, four data output pins O11-O14 and a signal input pin S1. The second selection switch 22 includes two data input pins D21, D22, four data output pins O21-O24 and a signal input pin S2.
请一并参阅图3,为第一选择开关21及第二选择开关22的内部结构示意图。其中,所述第一选择开关21及第二选择开关22可为数控型双刀双掷开关,所述信号输入引脚S1及S2分别为第一选择开关21及第二选择开关22的受控端。响应信号输入引脚S1的输入信号,所述第一选择开关21的两个数据输入引脚D11、D12可分别与数据输出引脚O11、O12连接或者分别与数据输出引脚O13、O14连接。响应信号输入引脚S2的输入信号,所述第二选择开关22的两个数据输入引脚D21、D22可分别与数据输出引脚O21、O22连接或者分别与数据输出引脚O23、O24连接。Please also refer to FIG. 3 , which is a schematic diagram of the internal structure of the first selection switch 21 and the second selection switch 22 . Wherein, the first selector switch 21 and the second selector switch 22 can be digitally controlled double-pole double-throw switches, and the signal input pins S1 and S2 are controlled by the first selector switch 21 and the second selector switch 22 respectively. end. In response to the input signal of the signal input pin S1, the two data input pins D11, D12 of the first selection switch 21 can be respectively connected to the data output pins O11, O12 or respectively connected to the data output pins O13, O14. In response to the input signal of the signal input pin S2, the two data input pins D21, D22 of the second selection switch 22 can be respectively connected to the data output pins O21, O22 or respectively connected to the data output pins O23, O24.
所述第一选择开关21的两个数据输入引脚D11、D12分别与所述连接接口1的正数据引脚D+、负数据引脚D-连接。所述第一选择开关21的其中两个数据输出引脚O11、O12与USB模块31连接,所述第一选择开关21的另外两个数据输出引脚O13、O14分别与第二选择开关22的两个数据输入引脚D21、D22连接。所述第二选择开关22的其中两个数据输出引脚O21、O22与快充模块41连接,所述第二选择开关22的另外两个数据输出引脚O23、O24与UART模块51连接。The two data input pins D11 and D12 of the first selection switch 21 are respectively connected to the positive data pin D+ and the negative data pin D− of the connection interface 1 . Two of the data output pins O11 and O12 of the first selection switch 21 are connected to the USB module 31, and the other two data output pins O13 and O14 of the first selection switch 21 are respectively connected to the second selection switch 22. The two data input pins D21 and D22 are connected. Two of the data output pins O21 and O22 of the second selection switch 22 are connected to the fast charging module 41 , and the other two data output pins O23 and O24 of the second selection switch 22 are connected to the UART module 51 .
所述第一触发电路23包括并联于第一选择开关21的信号输入引脚S1以及地之间的第一电阻R1及开关管Q1。其中,所述第一电阻R1连接于所述第一选择开关21的信号输入引脚S1以及地之间,所述开关管Q1的漏极与信号输入引脚S1连接,源极接地。所述开关管Q1的漏极还与所述连接接口1的电源引脚Vbus连接。The first trigger circuit 23 includes a first resistor R1 and a switch Q1 connected in parallel between the signal input pin S1 of the first selection switch 21 and the ground. Wherein, the first resistor R1 is connected between the signal input pin S1 of the first selection switch 21 and the ground, the drain of the switching transistor Q1 is connected to the signal input pin S1 , and the source is grounded. The drain of the switching tube Q1 is also connected to the power supply pin Vbus of the connection interface 1 .
所述第二触发电路24包括串联于所述第二选择开关22的信号输入引脚S2及地之间的第二电阻R2及第三电阻R3。The second trigger circuit 24 includes a second resistor R2 and a third resistor R3 connected in series between the signal input pin S2 of the second selection switch 22 and ground.
所述控制器25包括第一控制端C1及第二控制端C2,所述第一控制端C1与所述第一触发电路23的开关管Q1的栅极连接,所述第二控制端C2与所述第二触发电路24的第二电阻R2及第三电阻R3之间的连接节点N1连接。The controller 25 includes a first control terminal C1 and a second control terminal C2, the first control terminal C1 is connected to the gate of the switching tube Q1 of the first trigger circuit 23, and the second control terminal C2 is connected to the gate of the switching tube Q1 of the first trigger circuit 23. The connection node N1 between the second resistor R2 and the third resistor R3 of the second trigger circuit 24 is connected.
其中,所述第一触发电路23产生的第一模块连接触发信号为高电平信号,所述第一触发电路23产生的开关连接触发信号为低电平信号。所述开关管Q1为高电平导通开关,例如为NPN三极管管。在连接接口1未连接外部设备200时,所述控制器25控制第一控制端C1输出低电平信号而控制所述开关管Q1截止。当连接接口1连接外部设备200时,若所述连接接口1的电源引脚Vbus为高电平,则第一选择开关21的信号输入引脚S1收到高电平的第一模块连接触发信号,而选通数据输入引脚D11、D12与数据输出引脚O11、O12的连接。此时,与数据输出引脚O11、O12连接的USB模块31与连接接口1的正数据引脚D+及负数据引脚D-连接,外部设备200被识别为USB设备。Wherein, the first module connection trigger signal generated by the first trigger circuit 23 is a high-level signal, and the switch connection trigger signal generated by the first trigger circuit 23 is a low-level signal. The switch tube Q1 is a high-level conduction switch, for example, an NPN transistor. When the connection interface 1 is not connected to the external device 200, the controller 25 controls the first control terminal C1 to output a low level signal and controls the switch tube Q1 to be turned off. When the connection interface 1 is connected to the external device 200, if the power supply pin Vbus of the connection interface 1 is at a high level, then the signal input pin S1 of the first selection switch 21 receives a high level first module connection trigger signal , and select the connection between the data input pins D11, D12 and the data output pins O11, O12. At this time, the USB module 31 connected to the data output pins O11 and O12 is connected to the positive data pin D+ and the negative data pin D− of the connection interface 1, and the external device 200 is recognized as a USB device.
所述控制器25并在外部设备200被识别为USB设备后,控制所述第一控制端C1输出高电平信号,控制所述开关管Q1导通,从而,所述第一选择开关21的信号输入引脚S1通过所述导通的开关管Q1接地而接收到低电平的开关连接触发信号。所述第一选择开关21在接收到开关连接触发信号后,选通数据输入引脚D11、D12与数据输出引脚O13、O14的连接,从而,将连接接口1的正数据引脚D+及负数据引脚D-分别连接至第二选择开关22的数据输入引脚D21、D22。The controller 25 controls the first control terminal C1 to output a high-level signal after the external device 200 is identified as a USB device, and controls the switch tube Q1 to be turned on, so that the first selection switch 21 The signal input pin S1 receives a low-level switch connection trigger signal through the turned-on switch transistor Q1 being grounded. After the first selection switch 21 receives the switch connection trigger signal, it selects the connection between the data input pins D11, D12 and the data output pins O13, O14, thereby connecting the positive data pin D+ and the negative data pin D+ of the interface 1. The data pins D− are respectively connected to the data input pins D21 and D22 of the second selection switch 22 .
其中,所述第二触发电路24产生的第二模块连接触发信号为高电平信号,所述第二触发电路24产生的第三模块连接触发信号为低电平信号。所述控制器25并通过所述第二控制端C2输出高电平信号至所述第二电阻R2及第三电阻R3的连接节点N1,从而所述第二选择开关22的信号输入端S2接收到高电平的第二模块连接触发信号,而选通所述第二选择开关22的两个数据输入引脚D21、D22与两个数据输出引脚O21、O22之间的连接。此时,与数据输出引脚O21、O22连接的快充模块41与连接接口1的正数据引脚D+及负数据引脚D-连接,外部设备200被识别为快充充电设备。Wherein, the second module connection trigger signal generated by the second trigger circuit 24 is a high level signal, and the third module connection trigger signal generated by the second trigger circuit 24 is a low level signal. The controller 25 outputs a high-level signal to the connection node N1 of the second resistor R2 and the third resistor R3 through the second control terminal C2, so that the signal input terminal S2 of the second selection switch 22 receives The second module connection trigger signal to a high level gates the connection between the two data input pins D21 , D22 and the two data output pins O21 , O22 of the second selection switch 22 . At this time, the fast charging module 41 connected to the data output pins O21 and O22 is connected to the positive data pin D+ and the negative data pin D− of the connection interface 1, and the external device 200 is identified as a fast charging device.
所述控制器25还包括接收端P1,所述接收端P1与所述快充模块41连接,用于接收快充模块41与外部设备200的通信结果。如果快充模块41与外部设备200通信成功,则维持所述第一控制端C1以及第二控制端C2均输出高电平信号。此时,快充模块41通过第一选择开关21及第二选择开关22与连接接口1的正数据引脚D+及负数据引脚D-连接,并通过连接接口1的正数据引脚D+及负数据引脚D-与外部设备200连接,而启动快速充电功能,进入快速充电模式。The controller 25 also includes a receiving terminal P1 connected to the fast charging module 41 for receiving the communication result between the fast charging module 41 and the external device 200 . If the communication between the fast charging module 41 and the external device 200 is successful, then both the first control terminal C1 and the second control terminal C2 are maintained to output high-level signals. At this time, the fast charging module 41 is connected to the positive data pin D+ and the negative data pin D- of the connection interface 1 through the first selection switch 21 and the second selection switch 22, and is connected to the positive data pin D+ and the negative data pin D- of the connection interface 1. The negative data pin D- is connected to the external device 200 to start the fast charging function and enter the fast charging mode.
如果快充模块41与外部设备200通信失败,所述控制器25通过第一控制端C1输出低电平信号或不输出信号(高阻状态),使得所述开关管Q1截止。从而,所述第一触发电路23恢复输出高电平的第一模块触发信号,则第一选择开关21的信号输入引脚S1收到高电平的第一模块连接触发信号,而选通数据输入引脚D11、D12与数据输出引脚O11、O12的连接。此时,与数据输出引脚O11、O12连接的USB模块31与连接接口1的正数据引脚D+及负数据引脚D-连接,外部设备200被识别为USB设备而正式进入USB通信模式。If the communication between the fast charging module 41 and the external device 200 fails, the controller 25 outputs a low-level signal or no signal (high-impedance state) through the first control terminal C1, so that the switch tube Q1 is turned off. Therefore, the first trigger circuit 23 resumes outputting the high-level first module trigger signal, then the signal input pin S1 of the first selection switch 21 receives the high-level first module connection trigger signal, and the data is selected. Connection of input pins D11, D12 and data output pins O11, O12. At this time, the USB module 31 connected to the data output pins O11 and O12 is connected to the positive data pin D+ and the negative data pin D- of the connection interface 1, and the external device 200 is recognized as a USB device and officially enters the USB communication mode.
若所述连接接口1的电源引脚Vbus为低电平,所述控制器25控制第一控制端C1维持输出低电平信号或不输出信号,开关管Q1截止,第一选择开关21的信号输入引脚S1从所述电源引脚Vbus收到低电平的开关连接触发信号,而选通数据输入引脚D11、D12与数据输出引脚O13、O14的连接。此时,连接接口1的正数据引脚D+及负数据引脚D-分别连接至第二选择开关22的数据输入引脚D21、D22。If the power supply pin Vbus of the connection interface 1 is at a low level, the controller 25 controls the first control terminal C1 to maintain an output low level signal or not to output a signal, the switch tube Q1 is cut off, and the signal of the first selection switch 21 The input pin S1 receives a low-level switch connection trigger signal from the power supply pin Vbus, and gates the connection between the data input pins D11, D12 and the data output pins O13, O14. At this time, the positive data pin D+ and the negative data pin D− of the connection interface 1 are respectively connected to the data input pins D21 and D22 of the second selection switch 22 .
所述控制器25并通过所述第二控制端C2输出低电平信号至所述第二电阻R2及第三电阻R3的连接节点N1,从而所述第二选择开关22的信号输入端S2接收到低电平的第三模块连接触发信号,而选通所述第二选择开关22的两个数据输入引脚D21、D22与两个数据输出引脚O23、O24之间的连接。此时,与数据输出引脚O23、O24连接的UART模块41与连接接口1的正数据引脚D+及负数据引脚D-连接,外部设备200被识别为UART设备而进入UART通信模式。The controller 25 outputs a low-level signal to the connection node N1 of the second resistor R2 and the third resistor R3 through the second control terminal C2, so that the signal input terminal S2 of the second selection switch 22 receives The trigger signal connected to the low level third module gates the connection between the two data input pins D21 , D22 and the two data output pins O23 , O24 of the second selection switch 22 . At this time, the UART module 41 connected to the data output pins O23 and O24 is connected to the positive data pin D+ and the negative data pin D- of the connection interface 1, and the external device 200 is recognized as a UART device and enters the UART communication mode.
其中,所述控制器25还包括侦测端T1,所述侦测端T1与所述连接接口1的电源引脚Vbus连接,所述控制端25在所述侦测端T1侦测端侦测到高电平时判断连接接口1有外部设备200接入。而当所述电源引脚Vbus为低电平,则不论连接接口1是否接入外部设备200,所述控制器25控制第一控制端C1维持输出低电平信号或不输出信号,以及控制第二控制端C1输出低电平,使得所述UART模块51与所述连接接口1的正电源引脚D+、负电源引脚D-连接。即,默认为UART通信模式。Wherein, the controller 25 also includes a detection terminal T1, the detection terminal T1 is connected to the power supply pin Vbus of the connection interface 1, and the control terminal 25 detects When it reaches a high level, it is judged that there is an external device 200 connected to the connection interface 1 . And when the power supply pin Vbus is at a low level, no matter whether the connection interface 1 is connected to the external device 200, the controller 25 controls the first control terminal C1 to maintain a low level signal or not to output a signal, and controls the second The second control terminal C1 outputs a low level, so that the UART module 51 is connected to the positive power supply pin D+ and the negative power supply pin D− of the connection interface 1 . That is, the default is UART communication mode.
从而,本发明中,通过所述较为简单的接口电路2,可选择将连接接口1连接至USB模块31作为普通USB接口,或选择将连接接口1连接至快充模块41作为快充接口,或选择将连接接口1连接至UART模块51作为UART接口51使用,实现了通过一个连接接口1复用多个功能的目的。Therefore, in the present invention, through the relatively simple interface circuit 2, you can choose to connect the connection interface 1 to the USB module 31 as an ordinary USB interface, or choose to connect the connection interface 1 to the fast charging module 41 as a fast charging interface, or Choosing to connect the connection interface 1 to the UART module 51 as the UART interface 51 achieves the purpose of multiplexing multiple functions through one connection interface 1 .
其中,在其他实施例中,所述开关管Q1也可为NMOS场效应管等。Wherein, in other embodiments, the switching transistor Q1 may also be an NMOS field effect transistor or the like.
值得注意的是,上述终端设备实施例中,所包括的各个单元/模块只是按照功能逻辑进行划分的,但并不局限于上述的划分,只要能够实现相应的功能即可;另外,各功能单元/模块的具体名称也只是为了便于相互区分,并不用于限制本发明的保护范围。It is worth noting that in the above terminal device embodiments, the units/modules included are only divided according to functional logic, but are not limited to the above division, as long as the corresponding functions can be realized; in addition, each functional unit The specific names of the /modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of the present invention.
以上仅为本发明较佳的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明实施例揭露的技术范围内,可轻易想到的变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应该以权利要求的保护范围为准。The above are only preferred specific implementation modes of the present invention, but the scope of protection of the present invention is not limited thereto. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed in the embodiments of the present invention. , should be covered within the protection scope of the present invention. Therefore, the protection scope of the present invention should be determined by the protection scope of the claims.
Claims (20)
1.一种接口电路,用于将一终端设备的连接接口选择连接至终端设备的第一功能模块、第二功能模块及第三功能模块中的一个,其特征在于,所述接口电路包括:第一选择开关、第二选择开关、第一触发电路、第二触发电路及控制器;1. An interface circuit for selectively connecting a connection interface of a terminal device to one of the first functional module, the second functional module and the third functional module of the terminal device, wherein the interface circuit comprises: a first selection switch, a second selection switch, a first trigger circuit, a second trigger circuit and a controller; 所述第一选择开关连接于所述连接接口以及所述第二选择开关、第一功能模块之间,用于选择将所述连接接口连接至所述第二选择开关或所述第一功能模块;The first selection switch is connected between the connection interface, the second selection switch, and the first functional module, and is used to select and connect the connection interface to the second selection switch or the first functional module ; 所述第二选择开关连接于所述第一选择开关及所述第二功能模块、第三功能模块之间,用于选择将所述第一选择开关连接至第二功能模块或第三功能模块;The second selector switch is connected between the first selector switch and the second functional module and the third functional module, and is used to select to connect the first selector switch to the second functional module or the third functional module ; 所述第一触发电路连接于所述连接接口、所述第一选择开关及控制器之间,所述第二触发电路连接于所述第二选择开关及控制器之间;The first trigger circuit is connected between the connection interface, the first selection switch and the controller, and the second trigger circuit is connected between the second selection switch and the controller; 所述控制器用于至少基于所述第一触发电路从连接接口接收的电平信号而控制第一触发电路及第二触发电路产生相应的触发信号,以分别触发第一选择开关及第二选择开关的选择连通,从而选择建立第一功能模块、第二功能模块以及第三功能模块中的其中一个与连接接口的通信连接。The controller is used to control the first trigger circuit and the second trigger circuit to generate corresponding trigger signals based at least on the level signal received by the first trigger circuit from the connection interface, so as to respectively trigger the first selection switch and the second selection switch The selection is connected, so that one of the first functional module, the second functional module and the third functional module is selected to establish a communication connection with the connection interface. 2.根据权利要求1所述的接口电路,其特征在于,所述连接接口包括电源引脚、数据引脚,所述第一触发电路与所述连接接口的电源引脚连接,所述第一选择开关连接于所述连接接口的数据引脚以及所述第二选择开关、第一功能模块之间,用于选择将所述连接接口的数据引脚连接至所述第二选择开关或所述第一功能模块。2. The interface circuit according to claim 1, wherein the connection interface includes a power pin and a data pin, the first trigger circuit is connected to the power pin of the connection interface, and the first The selection switch is connected between the data pin of the connection interface and the second selection switch and the first functional module, and is used for selecting to connect the data pin of the connection interface to the second selection switch or the The first functional module. 3.根据权利要求2所述的接口电路,其特征在于,所述控制器在电源引脚为高电平时,产生第一模块连接触发信号,而触发第一选择开关选通连接接口与第一功能模块之间的连接;所述控制器并控制所述第一触发电路切换产生开关连接触发信号,而触发第一选择开关将连接接口切换至与所述第二选择开关进行连接,同时控制器控制第二触发电路产生第二模块连接触发信号,触发第二选择开关选通第一选择开关与第二模组模块之间的连接,从而建立连接接口的数据引脚与第二功能模块之间的连接。3. The interface circuit according to claim 2, characterized in that, when the power supply pin is at a high level, the controller generates the first module connection trigger signal, and triggers the first selection switch to strobe the connection interface with the first module. The connection between the functional modules; the controller controls the switching of the first trigger circuit to generate a switch connection trigger signal, and triggers the first selection switch to switch the connection interface to connect with the second selection switch, and at the same time the controller Controlling the second trigger circuit to generate a second module connection trigger signal, triggering the second selection switch to select the connection between the first selection switch and the second module module, thereby establishing a connection between the data pin of the connection interface and the second functional module Connection. 4.根据权利要求3所述的接口电路,其特征在于,所述控制器在外部设备与第二功能模块之间通信成功时,保持所述第一选择开关及第二选择开关的连接状态,从而保持第二功能模块与连接接口的数据引脚的连接,此时,第二功能模块启动而与外部设备进行连接通信。4. The interface circuit according to claim 3, wherein the controller maintains the connection state of the first selection switch and the second selection switch when the communication between the external device and the second functional module succeeds, Therefore, the connection between the second functional module and the data pins of the connection interface is maintained, and at this time, the second functional module starts to communicate with the external device. 5.根据权利要求4所述的接口电路,其特征在于,所述控制器并在外部设备与第二功能模块之间通信失败时,控制第一触发电路切换产生第一模块连接触发信号,触发第一选择开关选通连接接口与第一功能模块之间的连接,此时,第一功能模块启动而与外部设备进行连接通信。5. The interface circuit according to claim 4, wherein, when the communication between the external device and the second functional module fails, the controller controls the first trigger circuit to switch to generate the first module connection trigger signal, triggering The first selection switch selects the connection between the connection interface and the first functional module, and at this time, the first functional module starts to communicate with the external device. 6.根据权利要求2所述的接口电路,其特征在于,所述控制器并在电源引脚为低电平时,控制第一触发电路产生开关连接触发信号,而触发第一选择开关选通连接接口与所述第二选择开关之间的连接,同时控制器控制第二触发电路产生第三模块连接触发信号,触发第二选择开关选通第一选择开关与第三功能模块之间的连接,从而建立连接接口与第三功能模块之间的连接,此时,第三功能模块启动而与外部设备进行连接通信。6. The interface circuit according to claim 2, wherein the controller controls the first trigger circuit to generate a switch connection trigger signal when the power supply pin is at a low level, and triggers the first selector switch to strobe and connect connection between the interface and the second selection switch, and at the same time, the controller controls the second trigger circuit to generate a third module connection trigger signal, triggering the second selection switch to strobe the connection between the first selection switch and the third functional module, Therefore, a connection between the connection interface and the third functional module is established, and at this time, the third functional module starts to communicate with the external device. 7.根据权利要求2-6任一项所述的接口电路,其特征在于,所述第一功能模块为USB模块,所述第二功能模块为快充模块,所述第三功能模块为UART模块。7. The interface circuit according to any one of claims 2-6, wherein the first functional module is a USB module, the second functional module is a fast charging module, and the third functional module is a UART module. 8.根据权利要求7所述的接口电路,其特征在于,所述连接接口的数据引脚包括正数据引脚及负数据引脚,所述第一选择开关包括第一、第二数据输入引脚、第一、第二、第三、第四数据输出引脚以及第一信号输入引脚,所述第二选择开关包括第三、第四数据输入引脚、第五、第六、第七、第八数据输出引脚以及第二信号输入引脚;响应第一信号输入引脚的输入信号,所述第一选择开关的第一、第二数据输入引脚被选择分别与第一、第二数据输出引脚连接或者分别与第三、第四数据输出引脚连接,响应第二信号输入引脚的输入信号,所述第二选择开关的第三、第四数据输入引脚被选择分别与第五、第六数据输出引脚连接或者分别与第七、第八数据输出引脚连接。8. The interface circuit according to claim 7, wherein the data pins of the connection interface include positive data pins and negative data pins, and the first selection switch includes first and second data input pins. Pins, first, second, third, fourth data output pins and first signal input pins, the second selection switch includes third, fourth data input pins, fifth, sixth, seventh , the eighth data output pin and the second signal input pin; in response to the input signal of the first signal input pin, the first and second data input pins of the first selection switch are selected to be connected with the first and second data input pins respectively The two data output pins are connected or respectively connected with the third and fourth data output pins, and in response to the input signal of the second signal input pin, the third and fourth data input pins of the second selection switch are selected respectively It is connected with the fifth and sixth data output pins or respectively connected with the seventh and eighth data output pins. 9.根据权利要求8所述的接口电路,其特征在于,所述第一选择开关的第一、第二数据输入引脚分别与所述连接接口的正数据引脚、负数据引脚连接,所述第一选择开关的第一、第二数据输出引脚分别与USB模块连接,所述第一选择开关的第三、第四数据输出引脚分别与第二选择开关的第三、第四数据输入引脚连接;所述第二选择开关的第五、第六数据输出引脚与快充模块连接,所述第二选择开关的第七、第八数据输出引脚与UART模块连接。9. The interface circuit according to claim 8, wherein the first and second data input pins of the first selection switch are respectively connected to the positive data pin and the negative data pin of the connection interface, The first and second data output pins of the first selection switch are respectively connected to the USB module, and the third and fourth data output pins of the first selection switch are respectively connected to the third and fourth data output pins of the second selection switch. The data input pins are connected; the fifth and sixth data output pins of the second selection switch are connected to the fast charging module, and the seventh and eighth data output pins of the second selection switch are connected to the UART module. 10.根据权利要求9所述的接口电路,其特征在于,所述第一触发电路包括并联于第一选择开关的信号输入引脚以及地之间的第一电阻及开关管,其中,所述第一电阻连接于所述第一选择开关的信号输入引脚以及地之间,所述开关管的漏极与信号输入引脚连接,源极接地,所述开关管的漏极还与所述连接接口的电源引脚连接。10. The interface circuit according to claim 9, wherein the first trigger circuit comprises a first resistor and a switch tube connected in parallel between the signal input pin of the first selection switch and the ground, wherein the The first resistor is connected between the signal input pin of the first selection switch and the ground, the drain of the switch tube is connected to the signal input pin, and the source is grounded, and the drain of the switch tube is also connected to the ground. Connect the power pin connections of the interface. 11.根据权利要求10所述的接口电路,其特征在于,所述第二触发电路包括串联于所述第二选择开关的信号输入引脚及地之间的第二电阻及第三电阻。11. The interface circuit according to claim 10, wherein the second trigger circuit comprises a second resistor and a third resistor connected in series between the signal input pin of the second selection switch and ground. 12.根据权利要求11中所述的接口电路,其特征在于,所述控制器包括第一控制端及第二控制端,所述第一控制端与所述第一触发电路的开关管的栅极连接,所述第二控制端与所述第二触发电路的第二电阻及第三电阻之间的连接节点连接。12. The interface circuit according to claim 11, wherein the controller includes a first control terminal and a second control terminal, and the first control terminal is connected to the gate of the switching tube of the first trigger circuit. The second control terminal is connected to the connection node between the second resistor and the third resistor of the second trigger circuit. 13.根据权利要求7所述的接口电路,其特征在于,所述第一触发电路产生的第一模块连接触发信号为高电平信号,开关连接触发信号为低电平信号,所述开关管为高电平导通开关,在连接接口未连接外部设备时,所述控制器控制第一控制端输出低电平信号而控制所述开关管截止,当连接接口电源引脚为高电平时,则第一选择开关的信号输入引脚收到高电平的第一模块连接触发信号,而选通第一、第二数据输入引脚与第一、第二数据输出引脚的连接,此时,与第一、第二数据输出引脚连接的USB模块与连接接口的正数据引脚及负数据引脚连接。13. The interface circuit according to claim 7, wherein the first module connection trigger signal generated by the first trigger circuit is a high-level signal, the switch connection trigger signal is a low-level signal, and the switch tube It is a high-level conduction switch. When the connection interface is not connected to an external device, the controller controls the first control terminal to output a low-level signal to control the switch tube to be cut off. When the power supply pin of the connection interface is at a high level, Then the signal input pin of the first selector switch receives a high-level first module connection trigger signal, and selects the connection between the first and second data input pins and the first and second data output pins. , the USB module connected to the first and second data output pins is connected to the positive data pin and the negative data pin of the connection interface. 14.根据权利要求13所述的接口电路,其特征在于,所述第二触发电路产生的第二模块连接触发信号为高电平信号,所述控制器并在外部设备被识别为设备后,控制所述第一控制端输出高电平信号,控制所述开关管导通,从而,所述第一选择开关的信号输入引脚通过所述导通的开关管接地而接收到低电平的开关连接触发信号,所述第一选择开关在接收到开关连接触发信号后,选通第一、第二数据输入引脚与第三、第四数据输出引脚的连接,从而,将连接接口的正数据引脚及负数据引脚分别连接至第二选择开关的第三、第四数据输入引脚;所述控制器并通过所述第二控制端输出高电平信号至所述第二电阻及第三电阻的连接节点,从而所述第二选择开关的第二信号输入端接收到高电平的第二模块连接触发信号,而选通所述第二选择开关的第三、第四数据输入引脚与第五、第六数据输出引脚之间的连接,此时,与第五、第六数据输出引脚连接的快充模块与连接接口的正数据引脚及负数据引脚连接,外部设备被识别为快充充电设备。14. The interface circuit according to claim 13, characterized in that, the second module connection trigger signal generated by the second trigger circuit is a high-level signal, and after the external device is recognized as a device by the controller, Control the first control terminal to output a high-level signal, and control the switch tube to be turned on, so that the signal input pin of the first selection switch receives a low-level signal through the grounded switch tube. The switch connection trigger signal, the first selection switch gates the connection between the first and second data input pins and the third and fourth data output pins after receiving the switch connection trigger signal, so that the connection interface The positive data pin and the negative data pin are respectively connected to the third and fourth data input pins of the second selection switch; the controller outputs a high level signal to the second resistor through the second control terminal and the connection node of the third resistor, so that the second signal input terminal of the second selection switch receives a high-level second module connection trigger signal, and the third and fourth data of the second selection switch are selected The connection between the input pin and the fifth and sixth data output pins. At this time, the fast charging module connected to the fifth and sixth data output pins is connected to the positive data pin and negative data pin of the connection interface. , the external device is recognized as a fast charging device. 15.根据权利要求14所述的接口电路,其特征在于,所述控制器还包括接收端,所述接收端与所述快充模块连接,用于接收快充模块与外部设备的通信结果,如果快充模块与外部设备通信成功,则控制器维持所述第一控制端以及第二控制端均输出高电平信号;如果快充模块与外部设备通信失败,所述控制通过第一控制端输出低电平信号或不输出信号,使得所述开关管截止,从而,所述第一触发电路恢复输出高电平的第一模块触发信号,则第一选择开关的信号输入引脚收到高电平的第一模块连接触发信号,而选通第一、第二数据输入引脚与第一、第二数据输出引脚的连接,此时,与第一、第二数据输出引脚连接的USB模块与连接接口的正数据引脚及负数据引脚连接,正式进入USB通信模式。15. The interface circuit according to claim 14, wherein the controller further comprises a receiving end connected to the fast charging module for receiving a communication result between the fast charging module and an external device, If the fast charging module communicates successfully with the external device, the controller maintains that both the first control terminal and the second control terminal output high-level signals; if the fast charging module fails to communicate with the external device, the control passes through the first control terminal Outputting a low-level signal or not outputting a signal, so that the switch tube is turned off, so that the first trigger circuit resumes outputting a high-level first module trigger signal, and the signal input pin of the first selection switch receives a high The first module of the level is connected to the trigger signal, and the connection between the first and second data input pins and the first and second data output pins is selected. At this time, the first and second data output pins are connected The USB module is connected to the positive data pin and the negative data pin of the connection interface, and officially enters the USB communication mode. 16.根据权利要求15所述的接口电路,其特征在于,当所述连接接口的电源引脚为低电平,所述控制器控制第一控制端维持输出低电平信号或不输出信号,开关管截止,第一选择开关的信号输入引脚从所述电源引脚收到低电平的开关连接触发信号,而选通第一、第二数据输入引脚与第三、第四数据输出引脚的连接,所述控制器并通过所述第二控制端输出低电平信号至所述第二电阻及第三电阻的连接节点,从而所述第二选择开关的第二信号输入端接收到低电平的第三模块连接触发信号,而选通所述第二选择开关的第三、第四数据输入引脚与第七、第八数据输出引脚之间的连接,此时,与第七、第八数据输出引脚连接的UART模块与连接接口的正数据引脚及负数据引脚连接,进入UART通信模式。16. The interface circuit according to claim 15, characterized in that, when the power supply pin of the connection interface is at a low level, the controller controls the first control terminal to maintain a low level signal output or not output a signal, The switch tube is turned off, the signal input pin of the first selection switch receives a low-level switch connection trigger signal from the power supply pin, and the first and second data input pins and the third and fourth data output pins are selected pin connection, the controller outputs a low-level signal to the connection node of the second resistor and the third resistor through the second control terminal, so that the second signal input terminal of the second selection switch receives The third module connected to the low level trigger signal, and the connection between the third and fourth data input pins and the seventh and eighth data output pins of the second selector switch is selected. The UART module connected to the seventh and eighth data output pins is connected to the positive data pin and the negative data pin of the connection interface, and enters the UART communication mode. 17.根据权利要求10-16所述的接口电路,其特征在于,所述开关管为NPN三极管或NMOS场效应管。17. The interface circuit according to claims 10-16, characterized in that, the switch transistor is an NPN transistor or an NMOS field effect transistor. 18.一种终端设备,其特征在于,包括连接接口、第一功能模块、第二功能模块、第三功能模块以及如权利要求1-17任一项所述的接口电路。18. A terminal device, characterized by comprising a connection interface, a first functional module, a second functional module, a third functional module, and the interface circuit according to any one of claims 1-17. 19.根据权利要求18所述的终端设备,其特征在于,所述连接接口为USB接口,包括电源引脚、正数据引脚及负数据引脚。19. The terminal device according to claim 18, wherein the connection interface is a USB interface, including a power supply pin, a positive data pin and a negative data pin. 20.根据权利要求19所述的终端设备,其特征在于,所述第一功能模块为USB模块,所述第二功能模块为快充模块,所述第三功能模块为UART模块。20. The terminal device according to claim 19, wherein the first functional module is a USB module, the second functional module is a fast charging module, and the third functional module is a UART module.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610648360.1A CN106301342B (en) | 2016-08-09 | 2016-08-09 | Interface circuit and terminal equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610648360.1A CN106301342B (en) | 2016-08-09 | 2016-08-09 | Interface circuit and terminal equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106301342A true CN106301342A (en) | 2017-01-04 |
CN106301342B CN106301342B (en) | 2019-02-05 |
Family
ID=57667298
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610648360.1A Active CN106301342B (en) | 2016-08-09 | 2016-08-09 | Interface circuit and terminal equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106301342B (en) |
Cited By (12)
* Cited by examiner, † Cited by third partyPublication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107613126A (en) * | 2017-09-26 | 2018-01-19 | 广东欧珀移动通信有限公司 | UART (Universal asynchronous receiver transmitter) and USB (Universal Serial bus) multiplexing circuit and mobile terminal |
CN107635069A (en) * | 2017-09-27 | 2018-01-26 | 广东欧珀移动通信有限公司 | UART and USB multiplexing circuit and mobile terminal |
CN109086233A (en) * | 2018-06-30 | 2018-12-25 | 惠州华阳通用电子有限公司 | A kind of communication type automatic identification and switching device and method |
CN109743501A (en) * | 2019-01-15 | 2019-05-10 | 上海曼恒数字技术股份有限公司 | A kind of polyphaser synchronous trigger method, device, equipment and storage medium |
CN109960180A (en) * | 2017-12-22 | 2019-07-02 | 泰科电子(上海)有限公司 | Programmable Learning Electronic Components and Sensors |
CN110442541A (en) * | 2019-09-09 | 2019-11-12 | Oppo(重庆)智能科技有限公司 | Terminal device and USB interface-based data transmission method |
CN111123810A (en) * | 2020-02-11 | 2020-05-08 | 南京工程学院 | Cold-chain logistics environment monitoring device and method based on narrowband Internet of things standard |
CN111522766A (en) * | 2020-04-27 | 2020-08-11 | 浙江大华技术股份有限公司 | Communication system, method, device, equipment and storage medium thereof |
CN111864854A (en) * | 2020-08-03 | 2020-10-30 | 珠海智融科技有限公司 | Pin multiplexing circuit and working method thereof, and quick charging chip and working method thereof |
CN112968695A (en) * | 2021-02-18 | 2021-06-15 | 上海节卡机器人科技有限公司 | Dual-port circuit, digital output port circuit and robot |
CN114372013A (en) * | 2021-12-31 | 2022-04-19 | 深圳微步信息股份有限公司 | USB interface expansion circuit and terminal |
CN115347641A (en) * | 2022-08-19 | 2022-11-15 | 深圳罗马仕科技有限公司 | Charging and discharging equipment, system and method |
Citations (4)
* Cited by examiner, † Cited by third partyPublication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100161860A1 (en) * | 2008-12-24 | 2010-06-24 | Wen-Ying Chien | Pin sharing device and method thereof for a universal asynchronous receiver/transmitter module and a universal serial bus module |
CN101931674A (en) * | 2010-09-01 | 2010-12-29 | 惠州Tcl移动通信有限公司 | Method and device for sharing Micro-USB interface |
CN102546869A (en) * | 2012-01-06 | 2012-07-04 | 海能达通信股份有限公司 | USB (Universal Serial Bus) interface multiplexing interphone and control method thereof |
CN103678226A (en) * | 2012-09-24 | 2014-03-26 | 炬力集成电路设计有限公司 | General purpose input/output (GPIO) port reuse circuit and method of chip |
-
2016
- 2016-08-09 CN CN201610648360.1A patent/CN106301342B/en active Active
Patent Citations (4)
* Cited by examiner, † Cited by third partyPublication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100161860A1 (en) * | 2008-12-24 | 2010-06-24 | Wen-Ying Chien | Pin sharing device and method thereof for a universal asynchronous receiver/transmitter module and a universal serial bus module |
CN101931674A (en) * | 2010-09-01 | 2010-12-29 | 惠州Tcl移动通信有限公司 | Method and device for sharing Micro-USB interface |
CN102546869A (en) * | 2012-01-06 | 2012-07-04 | 海能达通信股份有限公司 | USB (Universal Serial Bus) interface multiplexing interphone and control method thereof |
CN103678226A (en) * | 2012-09-24 | 2014-03-26 | 炬力集成电路设计有限公司 | General purpose input/output (GPIO) port reuse circuit and method of chip |
Cited By (17)
* Cited by examiner, † Cited by third partyPublication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107613126B (en) * | 2017-09-26 | 2020-03-10 | Oppo广东移动通信有限公司 | UART (Universal asynchronous receiver transmitter) and USB (Universal Serial bus) multiplexing circuit and mobile terminal |
CN107613126A (en) * | 2017-09-26 | 2018-01-19 | 广东欧珀移动通信有限公司 | UART (Universal asynchronous receiver transmitter) and USB (Universal Serial bus) multiplexing circuit and mobile terminal |
CN107635069A (en) * | 2017-09-27 | 2018-01-26 | 广东欧珀移动通信有限公司 | UART and USB multiplexing circuit and mobile terminal |
CN107635069B (en) * | 2017-09-27 | 2019-08-09 | Oppo广东移动通信有限公司 | UART (Universal asynchronous receiver transmitter) and USB (Universal Serial bus) multiplexing circuit and mobile terminal |
CN109960180A (en) * | 2017-12-22 | 2019-07-02 | 泰科电子(上海)有限公司 | Programmable Learning Electronic Components and Sensors |
CN109086233B (en) * | 2018-06-30 | 2020-12-08 | 惠州华阳通用电子有限公司 | Communication type automatic identification and switching device and method |
CN109086233A (en) * | 2018-06-30 | 2018-12-25 | 惠州华阳通用电子有限公司 | A kind of communication type automatic identification and switching device and method |
CN109743501A (en) * | 2019-01-15 | 2019-05-10 | 上海曼恒数字技术股份有限公司 | A kind of polyphaser synchronous trigger method, device, equipment and storage medium |
CN110442541A (en) * | 2019-09-09 | 2019-11-12 | Oppo(重庆)智能科技有限公司 | Terminal device and USB interface-based data transmission method |
CN111123810A (en) * | 2020-02-11 | 2020-05-08 | 南京工程学院 | Cold-chain logistics environment monitoring device and method based on narrowband Internet of things standard |
CN111522766A (en) * | 2020-04-27 | 2020-08-11 | 浙江大华技术股份有限公司 | Communication system, method, device, equipment and storage medium thereof |
CN111864854A (en) * | 2020-08-03 | 2020-10-30 | 珠海智融科技有限公司 | Pin multiplexing circuit and working method thereof, and quick charging chip and working method thereof |
CN111864854B (en) * | 2020-08-03 | 2021-04-06 | 珠海智融科技有限公司 | Pin multiplexing circuit and working method thereof, and quick charging chip and working method thereof |
CN112968695A (en) * | 2021-02-18 | 2021-06-15 | 上海节卡机器人科技有限公司 | Dual-port circuit, digital output port circuit and robot |
CN114372013A (en) * | 2021-12-31 | 2022-04-19 | 深圳微步信息股份有限公司 | USB interface expansion circuit and terminal |
CN114372013B (en) * | 2021-12-31 | 2023-12-12 | 深圳微步信息股份有限公司 | USB interface expansion circuit and terminal |
CN115347641A (en) * | 2022-08-19 | 2022-11-15 | 深圳罗马仕科技有限公司 | Charging and discharging equipment, system and method |
Also Published As
Publication number | Publication date |
---|---|
CN106301342B (en) | 2019-02-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106301342A (en) | 2017-01-04 | Interface circuit and terminal equipment |
US8095714B2 (en) | 2012-01-10 | Electronic device capable of automatically switching between a master mode and a slave mode |
EP3416062B1 (en) | 2020-02-05 | Method and terminal device for establishing connection between devices with universal serial bus usb type-c interface |
US10311000B2 (en) | 2019-06-04 | Integrated universal serial bus (USB) type-C switching |
JP2015103256A (en) | 2015-06-04 | System and method for detecting universal serial bus device |
US20090037622A1 (en) | 2009-02-05 | Method and system for changing operation modes of an interface device |
CN105867593A (en) | 2016-08-17 | USB Type-C interface circuit and control device thereof |
US8289002B2 (en) | 2012-10-16 | Mother board adapted to rapidly charge handheld multimedia device |
CN106786960B (en) | 2019-10-25 | Charging control method, device and terminal |
US20150214734A1 (en) | 2015-07-30 | Control Chip, Control Method and Connection Device Utilizing the Same |
JP4988671B2 (en) | 2012-08-01 | Serial bus system and hang-up slave reset method |
US20120001862A1 (en) | 2012-01-05 | Capacitive touch switch display control system and method |
WO2018032503A1 (en) | 2018-02-22 | Power adapter, terminal device, charging system, and charging method |
KR20210091225A (en) | 2021-07-21 | Control circuit, liquid crystal display driving module and liquid crystal display device |
CN105071484A (en) | 2015-11-18 | Charging method and apparatus of terminal having data exchange function |
KR101399257B1 (en) | 2014-05-27 | Processing device and processing system |
TW201933129A (en) | 2019-08-16 | Universal serial bus device and operating method thereof |
CN111615029A (en) | 2020-09-01 | Wireless headset reset circuit, wireless headset and reset method |
CN104810868B (en) | 2017-05-10 | Charging system and charging method thereof |
US10289590B2 (en) | 2019-05-14 | Electronic device and method of auto switching linking path giving priority to a priority port |
US8996894B2 (en) | 2015-03-31 | Method of booting a motherboard in a server upon a successful power supply to a hard disk driver backplane |
US20060015670A1 (en) | 2006-01-19 | Apparatus for detecting connection of a peripheral unit to a host system |
US8248037B2 (en) | 2012-08-21 | Mother board |
CN101853232A (en) | 2010-10-06 | Expansion adapter card |
CN105098854A (en) | 2015-11-25 | Charging method and electronic device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
2017-01-04 | C06 | Publication | |
2017-01-04 | PB01 | Publication | |
2017-02-01 | C10 | Entry into substantive examination | |
2017-02-01 | SE01 | Entry into force of request for substantive examination | |
2018-12-28 | CB02 | Change of applicant information | |
2018-12-28 | CB02 | Change of applicant information |
Address after: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong Applicant after: OPPO Guangdong Mobile Communications Co., Ltd. Address before: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong Applicant before: Guangdong OPPO Mobile Communications Co., Ltd. |
2019-02-05 | GR01 | Patent grant | |
2019-02-05 | GR01 | Patent grant |