CN116662234A - Data path configuration method and device supporting Type-C interface circuit - Google Patents
Data path configuration method and device supporting Type-C interface circuit Download PDFInfo
- Publication number
- CN116662234A CN116662234A CN202310625633.0A CN202310625633A CN116662234A CN 116662234 A CN116662234 A CN 116662234A CN 202310625633 A CN202310625633 A CN 202310625633A CN 116662234 A CN116662234 A CN 116662234A
- Authority
- CN
- China
- Prior art keywords
- data transmission
- interface
- configuration information
- switch unit
- type
- 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.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 34
- 230000005540 biological transmission Effects 0.000 claims abstract description 277
- 230000003068 static effect Effects 0.000 claims description 49
- 238000004891 communication Methods 0.000 description 8
- 230000009977 dual effect Effects 0.000 description 6
- 238000010586 diagram Methods 0.000 description 5
- 238000007726 management method Methods 0.000 description 5
- 230000002093 peripheral effect Effects 0.000 description 5
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 230000003287 optical effect Effects 0.000 description 3
- 238000011144 upstream manufacturing Methods 0.000 description 3
- 230000009471 action Effects 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 238000012545 processing Methods 0.000 description 2
- 108700025151 PD protocol Proteins 0.000 description 1
- 238000003491 array Methods 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 235000019800 disodium phosphate Nutrition 0.000 description 1
- 238000000802 evaporation-induced self-assembly Methods 0.000 description 1
- 230000010365 information processing Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000011022 operating instruction Methods 0.000 description 1
- 230000008569 process Effects 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 230000011664 signaling Effects 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/38—Information transfer, e.g. on bus
- G06F13/382—Information transfer, e.g. on bus using universal interface adapter
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/38—Information transfer, e.g. on bus
- G06F13/42—Bus transfer protocol, e.g. handshake; Synchronisation
- G06F13/4282—Bus transfer protocol, e.g. handshake; Synchronisation on a serial bus, e.g. I2C bus, SPI bus
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Transfer Systems (AREA)
Abstract
The embodiment of the disclosure provides a data path configuration method and device supporting a Type-C interface circuit, comprising the following steps: obtaining connection state information and connection equipment information corresponding to a controller, wherein the connection state information at least comprises forward connection and reverse connection, and the connection equipment information comprises source equipment and suction equipment; determining configuration information corresponding to the connection state information and the connection device information; the multiplexer module is configured based on the configuration information to form a data transmission path or a data receiving path between the multiplexer module and the Type-C interface, so that the Type-C interface connection is realized on an embedded processor platform without the native support of the Type-C interface, namely, firstly, a processor determines connection equipment information and connection state information of the Type-C interface connection through a controller, and then the processor realizes the data transmission path or the data receiving path between the processor and the Type-C interface based on the multiplexer module.
Description
Technical Field
The embodiment of the disclosure relates to the technical field of Type-C interface circuit configuration and related technical fields, in particular to a data path configuration method and device suitable for supporting a Type-C interface circuit.
Background
USB is used as the most widely used interface of electronic equipment at present, and each time upgrade brings huge communication interface change, and the appearance of USB Type-C standard has satisfied the development demand of electronic equipment interconnection, and current USB Type-C interface has become mainstream selection, and it provides higher data transmission speed and power transmission ability on the basis of traditional USB standard, and redesigned connector is smaller, and it is more convenient to use.
The USB Type-C standard introduces dual role capability, with both ends of each USB Type-C cable being identical, so two devices must communicate with each other to confirm whether the host is a peripheral or a host. The role communication is performed after the cable is connected, and the host port for data communication is called a downstream port (DFP), i.e., an upstream port (UFP). In terms of power supply, the power supply end is called a source end, and the power consumption end is called a suction end. Devices may have Dual Role (DRD) capability on data or Dual Role (DRP) capability on power. And the CC line plays a role in defining the role of power supply during the connection of two devices.
However, some low-end embedded platforms or earlier-pushed processors do not have a native Type-C interface, which is generally required to support the Type-C interface through a bridge conversion scheme, which is relatively costly and does not support the PD protocol of power delivery.
Disclosure of Invention
The embodiments described herein provide a data path configuration method and apparatus supporting a Type-C interface circuit, which solve the problems existing in the prior art.
According to a first aspect of the present disclosure, there is provided a data path configuration method supporting a Type-C interface circuit, including:
obtaining connection state information and connection equipment information corresponding to a controller, wherein the connection state information at least comprises forward connection and reverse connection, and the connection equipment information comprises source equipment and suction equipment;
determining configuration information corresponding to the connection state information and the connection device information;
and configuring the multiplexer module based on the configuration information to form a data transmission path or a data receiving path between the multiplexer module and the Type-C interface.
In some embodiments of the disclosure, the determining configuration information corresponding to the connection status information and the connection device information includes:
determining a data transmission channel corresponding to the connection state information, wherein the data transmission channel comprises a forward data transmission channel and a reverse data transmission channel;
determining a data transmission mode corresponding to the connection equipment information, wherein the data transmission mode comprises receiving data and sending data;
And determining configuration information based on the data transmission channel and the data transmission mode.
In some embodiments of the disclosure, the determining configuration information based on the data transmission channel and the data transmission mode includes:
when the data transmission channel is a forward data transmission channel and the data transmission mode is receiving data, the configuration information is first configuration information;
when the data transmission channel is a forward data transmission channel and the data transmission mode is data transmission, the configuration information is second configuration information;
when the data transmission channel is a reverse data transmission channel and the data transmission mode is receiving data, the configuration information is third configuration information;
and when the data transmission channel is a reverse data transmission channel and the data transmission mode is data transmission, the configuration information is fourth configuration information.
In some embodiments of the disclosure, the configuring the multiplexer module based on the configuration information to form a data transmission path or a data reception path with a Type-C interface includes:
and configuring the conduction mode of a switch unit included in the multiplexer module based on the configuration information so as to form a data transmission path or a data receiving path between the multiplexer module and the Type-C interface.
In some embodiments of the present disclosure, the multiplexer module includes at least a first switching unit and a second switching unit connected in series, the first switching unit including a first moving contact, a first stationary contact, a second stationary contact, a third stationary contact, and a fourth stationary contact, the second switching unit including a second moving contact, a fifth stationary contact, a sixth stationary contact, a seventh stationary contact, and an eighth stationary contact;
the configuring, based on the configuration information, a conduction mode of a switch unit included in the multiplexer module to form a data sending path or a data receiving path between the multiplexer module and a Type-C interface, includes:
when the configuration information is first configuration information, a first movable contact of the first switch unit is electrically connected with a first static contact, and a second movable contact of the second switch unit is electrically connected with a fifth static contact, so that a forward data transmission path between the second switch unit and a Type-C interface is formed;
when the configuration information is second configuration information, the first movable contact of the first switch unit is electrically connected with the third fixed contact, and the second movable contact of the second switch unit is electrically connected with the seventh fixed contact, so that a forward data receiving path between the second switch unit and a Type-C interface is formed;
When the configuration information is third configuration information, the first movable contact of the first switch unit is electrically connected with the second fixed contact, and the second movable contact of the second switch unit is electrically connected with the sixth fixed contact to form a reverse data transmission path with the Type-C interface;
when the configuration information is fourth configuration information, the first movable contact of the first switch unit is electrically connected with the fourth stationary contact, and the second movable contact of the second switch unit is electrically connected with the eighth stationary contact, so that a reverse data receiving path between the second switch unit and the Type-C interface is formed.
In some embodiments of the present disclosure, before the configuring the multiplexer module based on the configuration information to form a data transmission path or a data receiving path with a Type-C interface, the method further includes:
acquiring a data transmission rate corresponding to the connection equipment;
determining a data transmission interface corresponding to the data transmission rate;
the configuring the multiplexer module based on the configuration information to form a data sending path or a data receiving path between the multiplexer module and the Type-C interface comprises the following steps:
and configuring the multiplexer module based on the configuration information and the data transmission interface to form a data transmission path or a data receiving path between the multiplexer module and the Type-C interface.
In some embodiments of the present disclosure, the data transmission interface includes a first transmission interface and a second transmission interface;
the configuring the multiplexer module based on the configuration information and the data transmission interface to form a data transmission path or a data receiving path between the multiplexer module and the Type-C interface includes:
when the configuration information is first configuration information and the data transmission interface is a first transmission interface, the first movable contact of the first switch unit is electrically connected with the first static contact, and the second movable contact of the second switch unit is electrically connected with the fifth static contact, so that a forward high-speed data transmission path between the second switch unit and the Type-C interface is formed;
when the configuration information is first configuration information and the data transmission interface is second transmission interface, the first movable contact of the first switch unit is electrically connected with the first static contact, and the second movable contact of the second switch unit is electrically connected with the fifth static contact, so that a forward low-speed data transmission path between the second switch unit and the Type-C interface is formed;
when the configuration information is second configuration information and the data transmission interface is a first transmission interface, the first movable contact of the first switch unit is electrically connected with the third fixed contact, and the second movable contact of the second switch unit is electrically connected with the seventh fixed contact, so that a forward high-speed data receiving path between the data transmission interface and the Type-C interface is formed;
When the configuration information is second configuration information and the data transmission interface is a second transmission interface, the first movable contact of the first switch unit is electrically connected with the third fixed contact, and the second movable contact of the second switch unit is electrically connected with the seventh fixed contact, so that a forward high-speed data receiving path between the second switch unit and the Type-C interface is formed;
when the configuration information is third configuration information and the data transmission interface is a first transmission interface, the first movable contact of the first switch unit is electrically connected with the second fixed contact, and the second movable contact of the second switch unit is electrically connected with the sixth fixed contact to form a reverse high-speed data transmission path with the Type-C interface;
when the configuration information is third configuration information and the data transmission interface is a second transmission interface, the first movable contact of the first switch unit is electrically connected with the second fixed contact, and the second movable contact of the second switch unit is electrically connected with the sixth fixed contact to form a reverse low-speed data transmission path with the Type-C interface;
when the configuration information is fourth configuration information and the data transmission interface is a first transmission interface, the first movable contact of the first switch unit is electrically connected with the fourth fixed contact, and the second movable contact of the second switch unit is electrically connected with the eighth fixed contact, so that a reverse high-speed data receiving path between the second switch unit and the Type-C interface is formed;
When the configuration information is fourth configuration information and the data transmission interface is second transmission interface, the first movable contact of the first switch unit is electrically connected with the fourth stationary contact, and the second movable contact of the second switch unit is electrically connected with the eighth stationary contact, so that a reverse high-speed data receiving path between the second switch unit and the Type-C interface is formed.
In some embodiments of the present disclosure, the obtaining connection state information and connection device information corresponding to the controller includes:
and after receiving the interrupt signal sent by the controller, acquiring the connection state information and the connection equipment information corresponding to the controller from the controller.
In some embodiments of the disclosure, when configuring the multiplexer module based on the configuration information, the method further includes:
and configuring the power management module.
In a second aspect, according to the present disclosure, there is provided a data path configuration apparatus supporting a Type-C interface circuit, including:
the information acquisition module is used for acquiring connection state information and connection equipment information corresponding to the controller, wherein the connection state information at least comprises forward connection and reverse connection, and the connection equipment information comprises source equipment and suction equipment;
A configuration information determining module, configured to determine configuration information corresponding to the connection status information and the connection device information;
and the configuration module is used for configuring the multiplexer module based on the configuration information so as to form a data transmission path or a data receiving path between the multiplexer module and the Type-C interface.
The data path configuration method and device supporting the Type-C interface circuit provided by the embodiment of the disclosure acquire connection state information and connection equipment information corresponding to a controller, wherein the connection state information at least comprises forward connection and reverse connection, and the connection equipment information comprises source equipment and suction equipment; determining configuration information corresponding to the connection state information and the connection device information; the multiplexer module is configured based on the configuration information to form a data transmission path or a data receiving path between the multiplexer module and the Type-C interface, so that the Type-C interface connection is realized on an embedded processor platform without the native support of the Type-C interface, namely, firstly, a processor determines connection equipment information and connection state information of the Type-C interface connection through a controller, and then the processor realizes the data transmission path or the data receiving path between the processor and the Type-C interface based on the multiplexer module.
The foregoing description is only an overview of the technical solutions of the embodiments of the present application, and may be implemented according to the content of the specification, so that the technical means of the embodiments of the present application can be more clearly understood, and the following specific embodiments of the present application are given for clarity and understanding.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present disclosure, the following brief description of the drawings of the embodiments will be given, it being understood that the drawings described below relate only to some embodiments of the present disclosure, not to limitations of the present disclosure, in which:
fig. 1 is a flow chart of a data path configuration method supporting a Type-C interface circuit according to an embodiment of the present disclosure;
fig. 2 is a schematic structural diagram of a multiplexer module according to an embodiment of the present disclosure;
fig. 3 is a schematic structural diagram of a data path configuration device supporting a Type-C interface circuit according to an embodiment of the present disclosure;
fig. 4 is a schematic structural diagram of a computer device according to an embodiment of the present disclosure.
In the drawings, the last two digits are identical to the elements. It is noted that the elements in the drawings are schematic and are not drawn to scale.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present disclosure more apparent, the technical solutions of the embodiments of the present disclosure will be clearly and completely described below with reference to the accompanying drawings. It will be apparent that the described embodiments are some, but not all, of the embodiments of the present disclosure. All other embodiments, which can be made by those skilled in the art based on the described embodiments of the present disclosure without the need for creative efforts, are also within the scope of the protection of the present disclosure.
Unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art to which the presently disclosed subject matter belongs. It will be further understood that terms, such as those defined in commonly used dictionaries, should be interpreted as having a meaning that is consistent with their meaning in the context of the specification and relevant art and will not be interpreted in an idealized or overly formal sense unless expressly so defined herein. As used herein, a statement that two or more parts are "connected" or "coupled" together shall mean that the parts are joined together either directly or joined through one or more intermediate parts.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment may be included in at least one embodiment of the application. The appearances of the phrase "an embodiment" in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. Those of skill in the art will explicitly and implicitly appreciate that the embodiments described herein may be combined with other embodiments.
The term "and/or" is herein merely an association relationship describing an associated object, meaning that there may be three relationships, e.g., a and/or B, may represent: there are three cases, a, B, a and B simultaneously. In addition, the character "/" herein generally indicates that the front and rear associated objects are an "or" relationship.
Furthermore, in all embodiments of the present disclosure, terms such as "first" and "second" are used merely to distinguish one component (or portion of a component) from another component (or another portion of a component).
In the description of the present application, unless otherwise indicated, the meaning of "plurality" means two or more (including two), and similarly, "plural sets" means two or more (including two).
In order to make the person skilled in the art better understand the solution of the present application, the technical solution of the embodiment of the present application will be clearly and completely described below with reference to the accompanying drawings.
Based on the problems existing in the prior art, fig. 1 is a flow chart of a data path configuration method supporting a Type-C interface circuit according to an embodiment of the present disclosure, and as shown in fig. 1, a specific process of the data path configuration method includes:
s110, obtaining connection state information and connection equipment information corresponding to the controller.
The connection state information at least comprises forward connection and reverse connection, and the connection equipment information comprises source equipment and suction equipment.
The USB Type-C standard introduces dual role capability, with both ends of each USB Type-C cable being identical, so two devices must communicate with each other to confirm whether they are hosting or peripheral. And performing role communication after the external device is accessed to the USB Type-C, and determining whether the accessed external device is source equipment or suction equipment. Among them, in terms of data, a host port for data communication is called a downstream port (DFP), and a peripheral port is an upstream port (UFP). In terms of power supply, the power supply end is called a source end, and the power consumption end is called a sink end. In addition, the device may have Dual Role (DRD) capability on data (i.e., either as an upstream port or a downstream port) or Dual Role (DRP) capability on power (i.e., either as a source or a sink).
The method comprises the steps of determining whether external equipment connected with the USB Type-C interface is original equipment or suction equipment, and determining whether the external equipment connected with the USB Type-C interface is forward connected with the controller or reverse connected with the controller or not.
Specifically, before the DFP is not connected with the UFP, VBUS is not output, after the DFP is connected with the UFP, the CC pin is connected, after the CC pin on the DFP detects the pull-down resistor of the UFP, the DFP is successfully connected with the UFP, then the DFP turns on the FET on the VBUS and outputs VBUS to the UFP, and by measuring the state of the CC pin (including CC1 and CC 2), the connection state information of the external device connected with the USB Type-C interface, that is, whether the external device is connected in the forward direction or in the reverse direction, can be obtained.
For example, when the charger is connected to the mobile phone, the CC1 Pin of the charger is pulled down due to the pull-down of the CC Pin inside the mobile phone, the UFP is inserted upward, otherwise, if the charger detects that the CC2 Pin is pulled down, the UFP is inserted downward, and the mobile phone is the suction end and the charger is the source end.
S120, determining configuration information corresponding to the connection state information and the connection device information.
After detecting, identifying and determining connection state information and connection equipment information of external equipment connected with the USB Type-C interface by the controller, acquiring the connection state information and connection equipment information by the processor through an I2C bus, determining configuration information of a multiplexer module according to the acquired connection state information and connection equipment information, and sending the configuration information to the multiplexer module to realize configuration of the multiplexer module.
In a specific embodiment, determining configuration information corresponding to the connection status information and the connection device information includes:
determining a data transmission channel corresponding to the connection state information, wherein the data transmission channel comprises a forward data transmission channel and a reverse data transmission channel; and determining a data transmission mode corresponding to the connection equipment information, wherein the data transmission mode comprises receiving data and sending data.
The connection state information corresponding to the acquired controller is illustratively forward connection, the connection device information is source device, at this time, the data transmission channel determined based on the connection state information is a forward transmission channel, the data transmission mode determined based on the connection device information is reception data, the connection device information is sink device, at this time, the data transmission channel determined based on the connection state information is a reverse transmission channel, and the data transmission mode determined based on the connection device information is transmission data.
At this time, based on the data transmission channel and the data transmission mode, specific embodiments of determining the configuration information include:
when the data transmission channel is a forward data transmission channel and the data transmission mode is data receiving, the configuration information is first configuration information; when the data transmission channel is a forward data transmission channel and the data transmission mode is data transmission, the configuration information is second configuration information; when the data transmission channel is a reverse data transmission channel and the data transmission mode is data receiving, the configuration information is third configuration information; when the data transmission channel is a reverse data transmission channel and the data transmission mode is data transmission, the configuration information is fourth configuration information.
In a specific embodiment, after receiving an interrupt signal sent by a controller, a processor acquires connection state information and connection device information corresponding to the controller from the controller.
And S130, configuring the multiplexer module based on the configuration information to form a data transmission path or a data receiving path between the multiplexer module and the Type-C interface.
In a specific embodiment, after the processor determines the configuration information based on the connection status information and the connection device information, the multiplexer module is configured based on the configuration information to form a data transmission path or a data reception path between the processor and the USB Type-C interface.
Specifically, based on the configuration information, the conduction mode of the switch unit included in the multiplexer module is configured to form a data transmission path or a data receiving path between the multiplexer module and the Type-C interface.
The multiplexer module at least comprises a first switch unit and a second switch unit, wherein the first switch unit and the second switch unit are connected in series, the first switch unit comprises a first movable contact, a first static contact, a second static contact, a third static contact and a fourth static contact, and the second switch unit comprises a second movable contact, a fifth static contact, a sixth static contact, a seventh static contact and an eighth static contact.
At this time, based on the configuration information, a conduction mode of a switch unit included in the multiplexer module is configured to form a data transmission path or a data receiving path between the multiplexer module and the Type-C interface, including:
when the configuration information is first configuration information, a first movable contact of the first switch unit is electrically connected with a first static contact, and a second movable contact of the second switch unit is electrically connected with a fifth static contact, so that a forward data transmission path between the second switch unit and a Type-C interface is formed;
when the configuration information is second configuration information, the first movable contact of the first switch unit is electrically connected with the third fixed contact, and the second movable contact of the second switch unit is electrically connected with the seventh fixed contact, so that a forward data receiving path between the second switch unit and the Type-C interface is formed;
when the configuration information is third configuration information, the first movable contact of the first switch unit is electrically connected with the second fixed contact, and the second movable contact of the second switch unit is electrically connected with the sixth fixed contact, so that a reverse data transmission path between the second switch unit and the Type-C interface is formed;
when the configuration information is fourth configuration information, the first movable contact of the first switch unit is electrically connected with the fourth static contact, and the second movable contact of the second switch unit is electrically connected with the eighth static contact, so that a reverse data receiving path between the second switch unit and the Type-C interface is formed.
The first static contact of the first switch unit is electrically connected with a forward data receiving port of the USB Type-C interface, the second static contact of the first switch unit is electrically connected with a reverse data receiving port of the USB Type-C interface, the third static contact of the first switch unit is electrically connected with a forward data transmitting port of the USB Type-C interface, and the fourth static contact of the first switch unit is electrically connected with a reverse data transmitting port of the USB Type-C interface; setting a fifth static contact of a second switch unit to be electrically connected with a forward data transmission port of a processor, a sixth static contact of the second switch unit to be electrically connected with a reverse data transmission port of the processor, a seventh static contact of the second switch unit to be electrically connected with a forward data receiving port of the processor, an eighth static contact of the second switch unit to be electrically connected with a reverse data receiving port of the processor, and when a first movable contact of a first switch unit is configured based on first configuration information to be electrically connected with the first static contact, a second movable contact of the second switch unit to be electrically connected with the fifth static contact, a forward data transmission path between the processor and a Type-C interface is formed (namely, the processor transmits data to external equipment connected with the Type-C interface, and the external equipment is forward connected with the Type-C interface); when the first movable contact of the first switch unit is configured to be electrically connected with the second fixed contact based on the third configuration information, the second movable contact of the second switch unit is electrically connected with the sixth fixed contact (namely, the processor sends data to external equipment connected with the Type-C interface, and the external equipment is reversely connected with the Type-C interface); when the first movable contact of the first switch unit is configured to be electrically connected with the third fixed contact based on the second configuration information, the second movable contact of the second switch unit is electrically connected with the seventh fixed contact, and a forward data receiving path between the processor and the Type-C interface is formed (namely, the external equipment connected with the Type-C interface sends data to the processor, and the external equipment is connected with the Type-C interface in the forward direction); when the first movable contact of the first switch unit is configured to be electrically connected with the fourth fixed contact based on the fourth configuration information, the second movable contact of the second switch unit is electrically connected with the eighth fixed contact, and a reverse data receiving path between the processor and the Type-C interface is formed (namely, the external device connected with the Type-C interface sends data to the processor, and the external device is reversely connected with the Type-C interface).
The data path configuration method supporting the Type-C interface circuit provided by the embodiment of the disclosure obtains connection state information and connection equipment information corresponding to a controller, wherein the connection state information at least comprises forward connection and reverse connection, and the connection equipment information comprises source equipment and suction equipment; determining configuration information corresponding to the connection state information and the connection device information; the multiplexer module is configured based on the configuration information to form a data transmission path or a data receiving path between the multiplexer module and the Type-C interface, so that the Type-C interface connection is realized on an embedded processor platform without the native support of the Type-C interface, namely, firstly, a processor determines connection equipment information and connection state information of the Type-C interface connection through a controller, and then the processor realizes the data transmission path or the data receiving path between the processor and the Type-C interface based on the multiplexer module.
As another implementation manner, before configuring the multiplexer module based on the configuration information to form a data transmission path or a data receiving path between the multiplexer module and the Type-C interface, the method further includes:
acquiring a data transmission rate corresponding to the connection equipment; determining a data transmission interface corresponding to the data transmission rate; the multiplexer module is configured based on the configuration information and the data transmission interface to form a data transmission path or a data reception path with the Type-C interface.
Specifically, the data transmission interface comprises a first transmission interface and a second transmission interface;
at this time, the multiplexer module is configured based on the configuration information and the data transmission interface to form a data transmission path or a data reception path with the Type-C interface, including:
when the configuration information is first configuration information and the data transmission interface is a first transmission interface, the first movable contact of the first switch unit is electrically connected with the first static contact, and the second movable contact of the second switch unit is electrically connected with the fifth static contact, so that a forward high-speed data transmission path between the second switch unit and the Type-C interface is formed;
when the configuration information is first configuration information and the data transmission interface is second transmission interface, the first movable contact of the first switch unit is electrically connected with the first static contact, and the second movable contact of the second switch unit is electrically connected with the fifth static contact, so that a forward low-speed data transmission path between the second switch unit and the Type-C interface is formed;
when the configuration information is second configuration information and the data transmission interface is a first transmission interface, the first movable contact of the first switch unit is electrically connected with the third fixed contact, and the second movable contact of the second switch unit is electrically connected with the seventh fixed contact, so that a forward high-speed data receiving path between the data transmission interface and the Type-C interface is formed;
When the configuration information is second configuration information and the data transmission interface is second transmission interface, the first movable contact of the first switch unit is electrically connected with the third fixed contact, and the second movable contact of the second switch unit is electrically connected with the seventh fixed contact, so that a forward high-speed data receiving path between the data transmission interface and the Type-C interface is formed;
when the configuration information is third configuration information and the data transmission interface is a first transmission interface, the first movable contact of the first switch unit is electrically connected with the second fixed contact, and the second movable contact of the second switch unit is electrically connected with the sixth fixed contact, so that a reverse high-speed data transmission path between the second switch unit and the Type-C interface is formed;
when the configuration information is third configuration information and the data transmission interface is second transmission interface, the first movable contact of the first switch unit is electrically connected with the second fixed contact, and the second movable contact of the second switch unit is electrically connected with the sixth fixed contact, so that a reverse low-speed data transmission path between the second switch unit and the Type-C interface is formed;
when the configuration information is fourth configuration information and the data transmission interface is a first transmission interface, the first movable contact of the first switch unit is electrically connected with the fourth fixed contact, and the second movable contact of the second switch unit is electrically connected with the eighth fixed contact, so that a reverse high-speed data receiving path between the second switch unit and the Type-C interface is formed;
When the configuration information is fourth configuration information and the data transmission interface is second transmission interface, the first movable contact of the first switch unit is electrically connected with the fourth fixed contact, and the second movable contact of the second switch unit is electrically connected with the eighth fixed contact, so that a reverse high-speed data receiving path between the data transmission interface and the Type-C interface is formed.
Referring to fig. 2, after determining the data transmission rate between the connection device and the USB Type-C interface, a corresponding data transmission interface (PortB or portc) is determined according to the data transmission rate, that is, before transmitting data or receiving data, the data transmission interface is first determined based on the data transmission rate, that is, a high-speed data transmission interface or a low-speed data transmission interface is selected, and after determining the data transmission interface, a multiplexer module corresponding to the transmission interface is configured based on configuration information. For example, when the data transmission interface is determined to be Port B, and the configuration information is the first configuration information, the first moving contact of the first switch unit is controlled to be electrically connected with the first static contact, the second moving contact of the second switch unit is electrically connected with the fifth static contact, and a forward high-speed data transmission path between the second moving contact and the Type-C interface through the Port B Port is formed.
In a specific implementation, the multiplexer module switches between two differential channels (Port B to Port a or Port C to Port a) through the control pin SEL, meeting the requirements of the high-speed interface for differential signaling of 0-2V common mode voltage range and differential amplitude 1800 mVpp.
In addition, when configuring the multiplexer module based on the configuration information, the method further includes: and configuring the power management module.
Specifically, the power management module supports bus voltage of the USB Type-C system to 20V at the highest, and the communication between the source terminal and the sink terminal about the bus voltage and current is completed by transmitting serial BMC codes on the CC line, and after the processor obtains DFP power supply capability, the BQ25700 input voltage and current mode is set. Synchronous NVDC battery buck/boost charge controller BQ25700 may stabilize the system voltage within the battery voltage range but not below the system minimum voltage. When the load power exceeds the input source rating, the battery may enter a power up mode and prevent system collapse. The battery is supported to be charged from various input sources such as a USB adapter, a high voltage USB PD source, and a conventional adapter. In addition, by the automatic switching function of the controller, if the controller is used as a DFP device, the processor can control the BQ25700 to be in an external output mode, 4.48V to 20.8V is powered from a battery to the USB port, and the controller is compatible with USB PD, and the output current is limited to 6.35A.
In addition, the power management module supports a PD negotiation function, charges an internal battery, and supports external power transmission through the battery when an external device connected with the controller is switched to a DFP device.
In the above embodiment, after the controller completes the access detection and identification, the processor may switch the USB SuperSpeed high-speed signal line through the multiplexer module, so as to implement transmission of the high-speed data signal.
On the basis of the foregoing embodiments, an embodiment of the present disclosure further provides a data path configuration device supporting a Type-C interface circuit, as shown in fig. 3, where the device includes:
an information obtaining module 310, configured to obtain connection state information and connection device information corresponding to the controller, where the connection state information includes at least forward connection and reverse connection, and the connection device information includes source device and suction device;
a configuration information determining module 320, configured to determine configuration information corresponding to the connection status information and the connection device information;
the configuration module 330 is configured to configure the multiplexer module based on the configuration information to form a data transmission path or a data reception path with the Type-C interface.
The data path configuration device supporting the Type-C interface circuit provided by the embodiment of the disclosure acquires connection state information and connection equipment information corresponding to a controller, wherein the connection state information at least comprises forward connection and reverse connection, and the connection equipment information comprises source equipment and suction equipment; determining configuration information corresponding to the connection state information and the connection device information; the multiplexer module is configured based on the configuration information to form a data transmission path or a data receiving path between the multiplexer module and the Type-C interface, so that the Type-C interface connection is realized on an embedded processor platform without the native support of the Type-C interface, namely, firstly, a processor determines connection equipment information and connection state information of the Type-C interface connection through a controller, and then the processor realizes the data transmission path or the data receiving path between the processor and the Type-C interface based on the multiplexer module.
In a specific embodiment, the configuration information determining module includes a data transmission channel determining unit, a data transmission mode determining unit and a configuration information determining unit;
the data transmission channel determining unit is used for determining a data transmission channel corresponding to the connection state information, wherein the data transmission channel comprises a forward data transmission channel and a reverse data transmission channel;
a data transmission mode determining unit, configured to determine a data transmission mode corresponding to the connection device information, where the data transmission mode includes receiving data and sending data;
and the configuration information determining unit is used for determining the configuration information based on the data transmission channel and the data transmission mode.
In a specific embodiment, the specific implementation manner of the configuration information determining unit includes:
when the data transmission channel is a forward data transmission channel and the data transmission mode is data receiving, the configuration information is first configuration information;
when the data transmission channel is a forward data transmission channel and the data transmission mode is data transmission, the configuration information is second configuration information;
when the data transmission channel is a reverse data transmission channel and the data transmission mode is data receiving, the configuration information is third configuration information;
When the data transmission channel is a reverse data transmission channel and the data transmission mode is data transmission, the configuration information is fourth configuration information.
In a specific embodiment, a specific implementation manner of the configuration module includes:
based on the configuration information, the conduction mode of the switch unit included in the multiplexer module is configured to form a data transmission path or a data receiving path between the multiplexer module and the Type-C interface.
As a specific embodiment, the multiplexer module at least includes a first switch unit and a second switch unit, the first switch unit and the second switch unit are connected in series, the first switch unit includes a first movable contact, a first stationary contact, a second stationary contact, a third stationary contact and a fourth stationary contact, and the second switch unit includes a second movable contact, a fifth stationary contact, a sixth stationary contact, a seventh stationary contact and an eighth stationary contact;
based on the configuration information, configuring a conduction mode of a switch unit included in the multiplexer module to form a data sending path or a data receiving path between the multiplexer module and a Type-C interface, wherein the method comprises the following steps:
when the configuration information is first configuration information, a first movable contact of the first switch unit is electrically connected with a first static contact, and a second movable contact of the second switch unit is electrically connected with a fifth static contact, so that a forward data transmission path between the second switch unit and a Type-C interface is formed;
When the configuration information is second configuration information, the first movable contact of the first switch unit is electrically connected with the third fixed contact, and the second movable contact of the second switch unit is electrically connected with the seventh fixed contact, so that a forward data receiving path between the second switch unit and the Type-C interface is formed;
when the configuration information is third configuration information, the first movable contact of the first switch unit is electrically connected with the second fixed contact, and the second movable contact of the second switch unit is electrically connected with the sixth fixed contact, so that a reverse data transmission path between the second switch unit and the Type-C interface is formed;
when the configuration information is fourth configuration information, the first movable contact of the first switch unit is electrically connected with the fourth static contact, and the second movable contact of the second switch unit is electrically connected with the eighth static contact, so that a reverse data receiving path between the second switch unit and the Type-C interface is formed.
In a specific embodiment, the apparatus further comprises:
the data transmission rate acquisition module is used for acquiring the data transmission rate corresponding to the connection equipment;
and the data transmission interface determining module is used for determining a data transmission interface corresponding to the data transmission rate.
In a specific embodiment, the method further comprises:
when the configuration information is first configuration information and the data transmission interface is a first transmission interface, the first movable contact of the first switch unit is electrically connected with the first static contact, and the second movable contact of the second switch unit is electrically connected with the fifth static contact, so that a forward high-speed data transmission path between the second switch unit and the Type-C interface is formed;
When the configuration information is first configuration information and the data transmission interface is second transmission interface, the first movable contact of the first switch unit is electrically connected with the first static contact, and the second movable contact of the second switch unit is electrically connected with the fifth static contact, so that a forward low-speed data transmission path between the second switch unit and the Type-C interface is formed;
when the configuration information is second configuration information and the data transmission interface is a first transmission interface, the first movable contact of the first switch unit is electrically connected with the third fixed contact, and the second movable contact of the second switch unit is electrically connected with the seventh fixed contact, so that a forward high-speed data receiving path between the data transmission interface and the Type-C interface is formed;
when the configuration information is second configuration information and the data transmission interface is second transmission interface, the first movable contact of the first switch unit is electrically connected with the third fixed contact, and the second movable contact of the second switch unit is electrically connected with the seventh fixed contact, so that a forward high-speed data receiving path between the data transmission interface and the Type-C interface is formed;
when the configuration information is third configuration information and the data transmission interface is a first transmission interface, the first movable contact of the first switch unit is electrically connected with the second fixed contact, and the second movable contact of the second switch unit is electrically connected with the sixth fixed contact, so that a reverse high-speed data transmission path between the second switch unit and the Type-C interface is formed;
When the configuration information is third configuration information and the data transmission interface is second transmission interface, the first movable contact of the first switch unit is electrically connected with the second fixed contact, and the second movable contact of the second switch unit is electrically connected with the sixth fixed contact, so that a reverse low-speed data transmission path between the second switch unit and the Type-C interface is formed;
when the configuration information is fourth configuration information and the data transmission interface is a first transmission interface, the first movable contact of the first switch unit is electrically connected with the fourth fixed contact, and the second movable contact of the second switch unit is electrically connected with the eighth fixed contact, so that a reverse high-speed data receiving path between the second switch unit and the Type-C interface is formed;
when the configuration information is fourth configuration information and the data transmission interface is second transmission interface, the first movable contact of the first switch unit is electrically connected with the fourth fixed contact, and the second movable contact of the second switch unit is electrically connected with the eighth fixed contact, so that a reverse high-speed data receiving path between the data transmission interface and the Type-C interface is formed.
In a specific embodiment, the device further comprises a power supply configuration module, which is used for configuring the power supply management module.
The embodiment of the application also provides computer equipment. Referring specifically to fig. 4, fig. 4 is a basic structural block diagram of a computer device according to the present embodiment.
The computer device includes a memory 410 and a processor 420 communicatively coupled to each other via a system bus. It should be noted that only computer devices having components 410-420 are shown in the figures, but it should be understood that not all of the illustrated components are required to be implemented and that more or fewer components may be implemented instead. It will be appreciated by those skilled in the art that the computer device herein is a device capable of automatically performing numerical calculations and/or information processing in accordance with predetermined or stored instructions, the hardware of which includes, but is not limited to, microprocessors, application specific integrated circuits (Application Specific Integrated Circuit, ASICs), programmable gate arrays (fields-Programmable Gate Array, FPGAs), digital processors (Digital Signal Processor, DSPs), embedded devices, etc.
The computer device may be a desktop computer, a notebook computer, a palm computer, a cloud server, or the like. The computer device can perform man-machine interaction with a user through a keyboard, a mouse, a remote controller, a touch pad or voice control equipment and the like.
The memory 410 includes at least one type of readable storage medium including non-volatile memory (non-volatile memory) or volatile memory, such as flash memory (flash memory), hard disk, multimedia card, card memory (e.g., SD or DX memory, etc.), random access memory (random access memory, RAM), read-only memory (ROM), erasable programmable read-only memory (erasable programmable read-only memory, EPROM), electrically erasable programmable read-only memory (electrically erasable programmable read-only memory, EEPROM), programmable read-only memory (programmable read-only memory, PROM), magnetic memory, magnetic disk, optical disk, etc., which may include static RAM or dynamic RAM. In some embodiments, the memory 410 may be an internal storage unit of a computer device, such as a hard disk or memory of the computer device. In other embodiments, the memory 410 may also be an external storage device of a computer device, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash Card (Flash Card), or the like, which are provided on the computer device. Of course, memory 410 may also include both internal storage units of a computer device and external storage devices. In this embodiment, the memory 410 is typically used to store an operating system installed on a computer device and various types of application software, such as program codes of the above-described methods. In addition, the memory 410 may also be used to temporarily store various types of data that have been output or are to be output.
The processor 420 is typically used to perform the overall operations of the computer device. In this embodiment, the memory 410 is used for storing program codes or instructions, the program codes include computer operation instructions, and the processor 420 is used for executing the program codes or instructions stored in the memory 410 or processing data, such as the program codes for executing the above-mentioned method.
Herein, the bus may be an Industry standard architecture (StandardArchitecture, ISA) bus, a peripheral component interconnect (Peripheral Component Interconnect, PCI) bus, or an extended Industry standard architecture (Extended Industry Standard Architecture, EISA) bus, among others. The bus system may be classified as an address bus, a data bus, a control bus, etc. For ease of illustration, the figures are shown with only one bold line, but not with only one bus or one type of bus.
Still another embodiment of the present application provides a computer-readable medium, which may be a computer-readable signal medium or a computer-readable medium. A processor in a computer reads computer readable program code stored in a computer readable medium, such that the processor is capable of performing the functional actions specified in each step or combination of steps in the above-described method; a means for generating a functional action specified in each block of the block diagram or a combination of blocks.
The computer readable medium includes, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared memory or semiconductor system, apparatus or device, or any suitable combination of the foregoing, the memory storing program code or instructions, the program code including computer operating instructions, and the processor executing the program code or instructions of the above-described methods stored by the memory.
The definition of memory and processor may refer to the description of the embodiments of the computer device described above, and will not be repeated here.
In the several embodiments provided by the present application, it should be understood that the disclosed systems, devices, and methods may be implemented in other manners. For example, the apparatus embodiments described above are merely illustrative, e.g., the division of modules or units is merely a logical functional division, and there may be additional divisions when actually implemented, e.g., multiple units or components may be combined or integrated into another system, or some features may be omitted or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, which may be in electrical, mechanical or other form.
The functional units or modules in the embodiments of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The integrated units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be embodied in essence or a part contributing to the prior art or all or part of the technical solution in the form of a software product stored in a storage medium, including several instructions to cause a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor (processor) to execute all or part of the steps of the methods of the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
As used herein and in the appended claims, the singular forms of words include the plural and vice versa, unless the context clearly dictates otherwise. Thus, when referring to the singular, the plural of the corresponding term is generally included. Similarly, the terms "comprising" and "including" are to be construed as being inclusive rather than exclusive. Likewise, the terms "comprising" and "or" should be interpreted as inclusive, unless such an interpretation is expressly prohibited herein. Where the term "example" is used herein, particularly when it follows a set of terms, the "example" is merely exemplary and illustrative and should not be considered exclusive or broad.
Further aspects and scope of applicability will become apparent from the description provided herein. It is to be understood that various aspects of the application may be implemented alone or in combination with one or more other aspects. It should also be understood that the description and specific examples are intended for purposes of illustration only and are not intended to limit the scope of the present disclosure.
While several embodiments of the present disclosure have been described in detail, it will be apparent to those skilled in the art that various modifications and variations can be made to the embodiments of the present disclosure without departing from the spirit and scope of the disclosure. The scope of the present disclosure is defined by the appended claims.
Claims (10)
1. A data path configuration method supporting a Type-C interface circuit is characterized by comprising the following steps:
obtaining connection state information and connection equipment information corresponding to a controller, wherein the connection state information at least comprises forward connection and reverse connection, and the connection equipment information comprises source equipment and suction equipment;
determining configuration information corresponding to the connection state information and the connection device information;
and configuring the multiplexer module based on the configuration information to form a data transmission path or a data receiving path between the multiplexer module and the Type-C interface.
2. The method of claim 1, wherein the determining configuration information corresponding to the connection state information and the connection device information comprises:
determining a data transmission channel corresponding to the connection state information, wherein the data transmission channel comprises a forward data transmission channel and a reverse data transmission channel;
determining a data transmission mode corresponding to the connection equipment information, wherein the data transmission mode comprises receiving data and sending data;
and determining configuration information based on the data transmission channel and the data transmission mode.
3. The method of claim 2, wherein the determining configuration information based on the data transmission channel and the data transmission mode comprises:
when the data transmission channel is a forward data transmission channel and the data transmission mode is receiving data, the configuration information is first configuration information;
when the data transmission channel is a forward data transmission channel and the data transmission mode is data transmission, the configuration information is second configuration information;
when the data transmission channel is a reverse data transmission channel and the data transmission mode is receiving data, the configuration information is third configuration information;
and when the data transmission channel is a reverse data transmission channel and the data transmission mode is data transmission, the configuration information is fourth configuration information.
4. The method of claim 3, wherein configuring the multiplexer module based on the configuration information to form a data transmission path or a data reception path with a Type-C interface comprises:
and configuring the conduction mode of a switch unit included in the multiplexer module based on the configuration information so as to form a data transmission path or a data receiving path between the multiplexer module and the Type-C interface.
5. The method of claim 4, wherein the multiplexer module comprises at least a first switch unit and a second switch unit, the first switch unit and the second switch unit connected in series, the first switch unit comprising a first movable contact, a first stationary contact, a second stationary contact, a third stationary contact, and a fourth stationary contact, the second switch unit comprising a second movable contact, a fifth stationary contact, a sixth stationary contact, a seventh stationary contact, and an eighth stationary contact;
the configuring, based on the configuration information, a conduction mode of a switch unit included in the multiplexer module to form a data sending path or a data receiving path between the multiplexer module and a Type-C interface, includes:
when the configuration information is first configuration information, a first movable contact of the first switch unit is electrically connected with a first static contact, and a second movable contact of the second switch unit is electrically connected with a fifth static contact, so that a forward data transmission path between the second switch unit and a Type-C interface is formed;
when the configuration information is second configuration information, the first movable contact of the first switch unit is electrically connected with the third fixed contact, and the second movable contact of the second switch unit is electrically connected with the seventh fixed contact, so that a forward data receiving path between the second switch unit and a Type-C interface is formed;
When the configuration information is third configuration information, the first movable contact of the first switch unit is electrically connected with the second fixed contact, and the second movable contact of the second switch unit is electrically connected with the sixth fixed contact to form a reverse data transmission path with the Type-C interface;
when the configuration information is fourth configuration information, the first movable contact of the first switch unit is electrically connected with the fourth stationary contact, and the second movable contact of the second switch unit is electrically connected with the eighth stationary contact, so that a reverse data receiving path between the second switch unit and the Type-C interface is formed.
6. The method of claim 2, further comprising, before configuring the multiplexer module based on the configuration information to form a data transmission path or a data reception path with a Type-C interface:
acquiring a data transmission rate corresponding to the connection equipment;
determining a data transmission interface corresponding to the data transmission rate;
the configuring the multiplexer module based on the configuration information to form a data sending path or a data receiving path between the multiplexer module and the Type-C interface comprises the following steps:
and configuring the multiplexer module based on the configuration information and the data transmission interface to form a data transmission path or a data receiving path between the multiplexer module and the Type-C interface.
7. The method of claim 6, wherein the data transmission interface comprises a first transmission interface and a second transmission interface;
the configuring the multiplexer module based on the configuration information and the data transmission interface to form a data transmission path or a data receiving path between the multiplexer module and the Type-C interface includes:
when the configuration information is first configuration information and the data transmission interface is a first transmission interface, the first movable contact of the first switch unit is electrically connected with the first static contact, and the second movable contact of the second switch unit is electrically connected with the fifth static contact, so that a forward high-speed data transmission path between the second switch unit and the Type-C interface is formed;
when the configuration information is first configuration information and the data transmission interface is second transmission interface, the first movable contact of the first switch unit is electrically connected with the first static contact, and the second movable contact of the second switch unit is electrically connected with the fifth static contact, so that a forward low-speed data transmission path between the second switch unit and the Type-C interface is formed;
when the configuration information is second configuration information and the data transmission interface is a first transmission interface, the first movable contact of the first switch unit is electrically connected with the third fixed contact, and the second movable contact of the second switch unit is electrically connected with the seventh fixed contact, so that a forward high-speed data receiving path between the data transmission interface and the Type-C interface is formed;
When the configuration information is second configuration information and the data transmission interface is a second transmission interface, the first movable contact of the first switch unit is electrically connected with the third fixed contact, and the second movable contact of the second switch unit is electrically connected with the seventh fixed contact, so that a forward high-speed data receiving path between the second switch unit and the Type-C interface is formed;
when the configuration information is third configuration information and the data transmission interface is a first transmission interface, the first movable contact of the first switch unit is electrically connected with the second fixed contact, and the second movable contact of the second switch unit is electrically connected with the sixth fixed contact to form a reverse high-speed data transmission path with the Type-C interface;
when the configuration information is third configuration information and the data transmission interface is a second transmission interface, the first movable contact of the first switch unit is electrically connected with the second fixed contact, and the second movable contact of the second switch unit is electrically connected with the sixth fixed contact to form a reverse low-speed data transmission path with the Type-C interface;
when the configuration information is fourth configuration information and the data transmission interface is a first transmission interface, the first movable contact of the first switch unit is electrically connected with the fourth fixed contact, and the second movable contact of the second switch unit is electrically connected with the eighth fixed contact, so that a reverse high-speed data receiving path between the second switch unit and the Type-C interface is formed;
When the configuration information is fourth configuration information and the data transmission interface is second transmission interface, the first movable contact of the first switch unit is electrically connected with the fourth stationary contact, and the second movable contact of the second switch unit is electrically connected with the eighth stationary contact, so that a reverse high-speed data receiving path between the second switch unit and the Type-C interface is formed.
8. The method according to claim 1, wherein the obtaining the connection state information and the connection device information corresponding to the controller includes:
and after receiving the interrupt signal sent by the controller, acquiring the connection state information and the connection equipment information corresponding to the controller from the controller.
9. The method of claim 1, wherein configuring the multiplexer module based on the configuration information further comprises:
and configuring the power management module.
10. A data path configuration apparatus supporting a Type-C interface circuit, comprising:
the information acquisition module is used for acquiring connection state information and connection equipment information corresponding to the controller, wherein the connection state information at least comprises forward connection and reverse connection, and the connection equipment information comprises source equipment and suction equipment;
A configuration information determining module, configured to determine configuration information corresponding to the connection status information and the connection device information;
and the configuration module is used for configuring the multiplexer module based on the configuration information so as to form a data transmission path or a data receiving path between the multiplexer module and the Type-C interface.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310625633.0A CN116662234A (en) | 2023-05-30 | 2023-05-30 | Data path configuration method and device supporting Type-C interface circuit |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310625633.0A CN116662234A (en) | 2023-05-30 | 2023-05-30 | Data path configuration method and device supporting Type-C interface circuit |
Publications (1)
Publication Number | Publication Date |
---|---|
CN116662234A true CN116662234A (en) | 2023-08-29 |
Family
ID=87725497
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202310625633.0A Pending CN116662234A (en) | 2023-05-30 | 2023-05-30 | Data path configuration method and device supporting Type-C interface circuit |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN116662234A (en) |
-
2023
- 2023-05-30 CN CN202310625633.0A patent/CN116662234A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106291210B (en) | USB interface detector, USB interface detection method, USB connector and electronic equipment | |
KR101830691B1 (en) | Low-Power Type-C Receiver with High Idle Noise and DC-Level Rejection | |
CN107491159B (en) | Low power implementation of Type-C connector subsystem | |
CN106571657B (en) | Terminal, converter, and connection conversion system and method | |
EP2669761A2 (en) | System, apparatus, and method of performing charging operation in host mode | |
CN111697663B (en) | Charging circuit and charging cable | |
US10318270B2 (en) | Method for upgrading firmware of adapter, apparatus, and system thereof | |
CN106712179B (en) | Method and device for realizing reverse charging | |
US10311000B2 (en) | Integrated universal serial bus (USB) type-C switching | |
CN108513688B (en) | Switching device, equipment identification method and equipment identification device | |
EP2860638B1 (en) | Serial communication over communication control pin | |
CN108228509B (en) | USB interface switching device and electronic equipment | |
KR102052443B1 (en) | System for performing charging and data communication | |
CN109062846B (en) | Universal serial bus device and operation method thereof | |
CN212112455U (en) | Type-c interface circuit, chip and electronic equipment | |
WO2021227635A1 (en) | Usb interface switching apparatus, usb interface switching method, and terminal device | |
CN110990316B (en) | Method and programmable logic circuit for outputting hot-swap device status | |
CN115237841A (en) | Electronic equipment, quick charging method, device, system and readable storage medium | |
US20170345428A1 (en) | Docking device for providing computing service and method for providing the same | |
CN212846570U (en) | Type-C interface circuit and touch-control all-in-one | |
CN110716891B (en) | Forced downloading method, circuit, terminal equipment and data line | |
CN116662234A (en) | Data path configuration method and device supporting Type-C interface circuit | |
CN116340230A (en) | Hard disk expansion device and method | |
CN112821156B (en) | Electronic tags chip and TYPE-C data line | |
CN219872373U (en) | Type-C interface circuit and system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |