CN116303184A - TYPE-C interface circuit, control method and device and terminal equipment - Google Patents

TYPE-C interface circuit, control method and device and terminal equipment Download PDF

Info

Publication number
CN116303184A
CN116303184A CN202310469134.7A CN202310469134A CN116303184A CN 116303184 A CN116303184 A CN 116303184A CN 202310469134 A CN202310469134 A CN 202310469134A CN 116303184 A CN116303184 A CN 116303184A
Authority
CN
China
Prior art keywords
path
negotiation
type
interface circuit
pin
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
Application number
CN202310469134.7A
Other languages
Chinese (zh)
Inventor
李燕兵
祁中兵
王正坤
田晓明
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Seuic Technologies Co Ltd
Original Assignee
Seuic Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Seuic Technologies Co Ltd filed Critical Seuic Technologies Co Ltd
Priority to CN202310469134.7A priority Critical patent/CN116303184A/en
Publication of CN116303184A publication Critical patent/CN116303184A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/382Information transfer, e.g. on bus using universal interface adapter
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/40Bus structure
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Abstract

The application provides a TYPE-C interface circuit, a control method, a control device and terminal equipment. The TYPE-C interface circuit comprises: a TYPE-C interface; a channel configuration path for electrically connecting with the source device through the CC pin; a first DP path electrically connected to the source device via a DP0 pin; a second DP path electrically connected to the source device through a DP1 pin; an audio transmission path electrically connected to the source device through an AUX pin for transmitting an audio signal; the control circuit is used for sending/receiving a DP negotiation message to the source equipment through the channel configuration path, and carrying out PD negotiation with the source equipment when the pull-up resistor is identified through the channel configuration path so as to carry out quick charge for the terminal equipment through the source equipment; the control circuit is further used for receiving/transmitting a DP negotiation message when the pull-up resistor is identified, performing DP negotiation with the source device through the channel configuration path, and performing PD negotiation with the source device when the DP negotiation is completed.

Description

TYPE-C interface circuit, control method and device and terminal equipment
Technical Field
The present application relates to the field of electronic technologies, and in particular, to a TYPE-C interface circuit, a control method, a device, and a terminal device.
Background
Along with the continuous development of terminal technology, more and more USB interfaces of terminal equipment adopt TYPE-C interfaces, and the TYPE-C interfaces have the characteristics of small size and no distinction between positive and negative, and can support multiple functions, including charging, USB data transmission, audio and video transmission and the like, can satisfy multiple demands of terminal equipment in the use process, so that a plurality of terminal equipment manufacturers gradually tend to only set one TYPE-C interface for connection of the terminal equipment with external equipment or a charger. However, since there is only one interface, the terminal device cannot support both DP signaling and fast charging, and for a scenario where charging and DP signaling are required at the same time, the terminal device having only one TYPE-C interface is limited.
Disclosure of Invention
The embodiment of the application provides a TYPE-C interface circuit, a control method, a control device and terminal equipment, which can enable the terminal equipment to support simultaneous fast charging and DP transmission.
In a first aspect, the present application provides a TYPE-C interface circuit, applied to a terminal device, where the terminal device is configured to be electrically connected to a source device through a TYPE-C transmission line by using the TYPE-C interface circuit, and includes:
the TYPE-C interface is configured with a CC pin, a DP0 pin, a DP1 pin and an AUX pin;
the channel configuration path is used for being electrically connected with the source equipment through the CC pin, transmitting a DP negotiation message and transmitting a PD negotiation signal;
the first DP path is used for being electrically connected with the main control module of the terminal equipment, is used for being electrically connected with the source equipment through the DP0 pin and is used for transmitting a DP signal;
the second DP path is used for being electrically connected with the main control module of the terminal equipment, is used for being electrically connected with the source equipment through the DP1 pin and is used for transmitting a DP signal;
the audio transmission path is used for being electrically connected with the main control module of the terminal equipment, is used for being electrically connected with the source equipment through the AUX pin and is used for transmitting audio signals;
the control circuit is used for sending/receiving a DP negotiation message to the source equipment through the channel configuration path and controlling the first DP path, the second DP path and the audio transmission path to be conducted when the DP negotiation is completed; the PD negotiation is carried out with the source equipment when the pull-up resistor is identified through the channel configuration path, so that the terminal equipment is charged quickly through the source equipment;
and the control circuit is also used for receiving/transmitting a DP negotiation message when the pull-up resistor is identified, carrying out DP negotiation with the source equipment through the channel configuration path, and carrying out PD negotiation with the source equipment when the DP negotiation is completed.
In one embodiment, the TYPE-C interface is further configured with an SSTX pin and an SSRX pin; the TYPE-C interface circuit further comprises:
the data transmission path is electrically connected with the source equipment through the SSTX pin and is used for supporting USB high-speed data transmission;
a data receiving path, which is electrically connected with the source equipment through the SSRX pin and is used for supporting USB high-speed data receiving;
the control circuit is also used for controlling the data transmission path and the data receiving path to be conducted when the pull-down resistor is detected through the channel configuration path.
In one embodiment, the TYPE-C interface is further configured with a DP2 pin and a DP3 pin; the TYPE-C interface circuit further comprises:
the third DP path is used for being electrically connected with the main control module of the terminal equipment and also used for being electrically connected with the source equipment through the DP2 pin and supporting DP signal transmission;
the fourth DP path is used for being electrically connected with the main control module of the terminal equipment and also used for being electrically connected with the source equipment through the DP3 pin and used for supporting DP signal transmission;
the first DP path is also used for supporting USB high-speed data transmission;
the second DP path is also used for supporting USB high-speed data transmission;
the control circuit is further configured to control the first DP path and the second DP path to establish a USB high-speed data transmission link with the source device and control the third DP path and the fourth DP path to be turned on when the pull-down resistor is detected through the channel configuration path and negotiation with the source device DP is completed, so as to support dual-channel DP signal transmission.
In one embodiment, the control circuit is further configured to control the first DP path, the second DP path, the third DP path, and the fourth DP path to be turned on simultaneously when negotiation with the source DP is completed and no pull-down resistor is detected, so as to support four-channel DP signal transmission.
In one embodiment, the TYPE-C interface is further configured with a USB2.0 pin; the TYPE-C interface circuit further comprises:
and the low-speed transmission path is used for being electrically connected with the source equipment through the USB2.0 pin and supporting USB2.0 data transceiving.
In a second aspect, the present application provides a terminal device, including:
a TYPE-C interface circuit as in any one of the embodiments above;
and the main control module is used for establishing a fast charging channel and/or a DP transmission channel with the source equipment through the TYPE-C interface circuit and the TYPE-C transmission line.
In a third aspect, the present application provides a control method of a TYPE-C interface circuit, which is applied to a control circuit in a TYPE-C interface circuit according to any one of the foregoing embodiments, where the method includes:
if the DP negotiation message is received and the pull-up resistor is identified, when the DP negotiation is completed, the first DP path, the second DP path and the audio transmission path are controlled to be conducted;
performing PD negotiation;
if PD negotiation is completed, a fast charge mode is started.
In a fourth aspect, the present application provides a control method of a TYPE-C interface circuit, which is applied to a control circuit in a TYPE-C interface circuit according to any one of the foregoing embodiments, where the method includes:
generating a DP negotiation message;
sending the DP negotiation message to source equipment to carry out DP negotiation;
when the DP negotiation is completed, the first DP path, the second DP path and the audio transmission path are controlled to be conducted;
if the pull-up resistor is identified, PD negotiation is executed;
if PD negotiation is completed, a fast charge mode is started.
In a fifth aspect, the present application provides a control device for a TYPE-C interface circuit, which is applied to a control circuit in a TYPE-C interface circuit according to any one of the foregoing embodiments, where the device includes:
the first control module is used for controlling the first DP path, the second DP path and the audio transmission path to be conducted when the DP negotiation is completed after receiving the DP negotiation message and identifying the pull-up resistor;
the PD negotiation module is used for executing PD negotiation;
and the fast charging starting module is used for starting a fast charging mode when the PD negotiation is completed.
In a sixth aspect, the present application provides a control device for a TYPE-C interface circuit, which is applied to a control circuit in a TYPE-C interface circuit according to any one of the foregoing embodiments, where the device includes:
the message generation module is used for generating a DP negotiation message;
the message sending module is used for sending the DP negotiation message to the source equipment to carry out DP negotiation;
the second control module is used for controlling the conduction of the first DP path, the second DP path and the audio transmission path when the DP negotiation is completed;
the PD negotiation module is used for executing PD negotiation when the pull-up resistor is identified;
and the fast charging starting module is used for starting a fast charging mode when the PD negotiation is completed.
From the above technical solutions, the embodiments of the present application have the following advantages:
according to the TYPE-C interface circuit, the terminal equipment and the control method and the device of the TYPE-C interface circuit, the channel configuration path is utilized to realize the transmission of the DP negotiation message and the PD negotiation signal between the control circuit and the source equipment through the CC pin, the control circuit carries out the DP negotiation and the PD negotiation with the source equipment through the channel configuration path, the first DP path, the second DP path and the audio transmission path are controlled to be conducted when the DP negotiation is completed, so that the transmission channels of the DP signal and the audio signal between the source equipment and the terminal equipment are established, when the PD negotiation is completed, the terminal equipment is quickly charged through the source equipment, if the pull-up resistor is recognized when the source equipment is accessed, the DP negotiation message is received or required to be sent, the DP negotiation is carried out firstly, then the PD negotiation is carried out after the DP negotiation is completed, the DP negotiation is avoided, the transmission of the DP negotiation message is not required to be carried out in the quick charging process, the PD negotiation is carried out, the transmission conflict with the DP transmission is avoided, and the quick charging is simultaneously realized.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described below, it being obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive faculty for a person skilled in the art.
FIG. 1 is a schematic diagram of an application environment of a TYPE-C interface circuit in one embodiment;
FIG. 2 is one of the block diagrams of the TYPE-C interface circuit in one embodiment;
FIG. 3 is a second block diagram of a TYPE-C interface circuit in accordance with one embodiment;
FIG. 4 is a third block diagram of a TYPE-C interface circuit in accordance with one embodiment;
FIG. 5 is a fourth block diagram of a TYPE-C interface circuit in one embodiment;
FIG. 6 is a flow chart of a control method of a TYPE-C interface circuit according to one embodiment;
FIG. 7 is a flow chart of a control method of a TYPE-C interface circuit according to another embodiment;
FIG. 8 is a block diagram of a control device of a TYPE-C interface circuit in one embodiment;
FIG. 9 is a block diagram of a control device for a TYPE-C interface circuit according to another embodiment;
fig. 10 is a schematic diagram of an internal structure of a terminal device in one embodiment.
Detailed Description
The following description of the embodiments of the present application will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are only some, but not all, of the embodiments of the present application. All other embodiments, which can be made by one of ordinary skill in the art without undue burden from the present disclosure, are within the scope of the present disclosure.
An application environment of an embodiment of the present application is shown in fig. 1. The TYPE-C interface circuit 100 provided by the present application is applied to the terminal device 10, and connects the terminal device 10 and the source device 30 through the TYPE-C transmission line 20. The terminal device 10 may be, but not limited to, various notebook computers, smart phones, tablet computers, internet of things devices and portable wearable devices, and the internet of things devices may be smart speakers, smart televisions, smart air conditioners, smart vehicle devices and the like. The source device 30 may be a charger, a display, a personal computer, a notebook computer, or the like. If the source device 30 supports the PD fast charging protocol, the fast charging may be provided for the terminal device 10 when accessing the terminal device 10; if the source device 30 supports DP video transmission, the audio and video may be transmitted to the terminal device 10 through a DP transmission mode when the terminal device 10 is accessed, or the audio and video sent by the terminal device 10 may be received through a DP transmission mode. In some embodiments, source device 30 may perform USB data transfer with terminal device 10 upon access to terminal device 10.
As shown in fig. 2, the embodiment of the present application provides a TYPE-C interface circuit 100, where the TYPE-C interface circuit 100 includes a TYPE-C interface, a channel configuration path 102, a first DP path 103, a second DP path 104, an audio transmission path 105, and a control circuit 101. The TYPE-C interface is configured with a CC pin, a DP0 pin, a DP1 pin and an AUX pin; the channel configuration path 102 is used for electrically connecting with the source device through a CC pin, transmitting a DP negotiation message and transmitting a PD negotiation signal; the first DP path 103 is configured to be electrically connected to a main control module of the terminal device, and to be electrically connected to the source device through a DP0 pin, and to transmit a DP signal; the second DP path 104 is configured to be electrically connected to the main control module of the terminal device, and to be electrically connected to the source device through a DP1 pin, and to transmit a DP signal; the audio transmission channel 105 is used for being electrically connected with a main control module of the terminal equipment, is used for being electrically connected with the source equipment through an AUX pin, and is used for transmitting audio signals; the control circuit 101 is configured to send or receive a DP negotiation message to the source device through the channel configuration path 102, and control the first DP path 103, the second DP path 104, and the audio transmission path 105 to be turned on when the DP negotiation is completed; the method is also used for carrying out PD negotiation with the source equipment when the pull-up resistor is identified through the channel configuration path 102 so as to carry out quick charging for the terminal equipment through the source equipment; the control circuit 101 is further configured to perform DP negotiation with the source device through the channel configuration path 102 when receiving/transmitting the DP negotiation message while recognizing the pull-up resistor, and perform PD negotiation with the source device when the DP negotiation is completed.
When the TYPE-C interface circuit 100 accesses the source device 30 through the TYPE-C transmission line 20, if a pull-up resistor is detected through the CC pin, the TYPE-C transmission line is a transmission line packaged with an E-MARKER chip, when the source device supports PD fast charging, PD negotiation can be performed between the terminal device and the source device, and after the negotiation is completed, fast charging can be performed. If the pull-down resistor is detected through the CC pin, the terminal equipment performs USB enumeration, and after the enumeration is successful, USB data communication is established with the source equipment. It will be appreciated that the TYPE-C interface circuit and TYPE-C transmission line include pins necessary for proper operation, such as GND pins, VBUS pins, etc., in addition to the pins described in the embodiments of the present application. In addition, all pins of the TYPE-C interface are arranged in pairs, so that the TYPE-C pins can be used without distinguishing between positive and negative. The TYPE-C interface of the terminal equipment is a female interface, and the interface of the source equipment for being connected with the TYPE-C transmission line is a female interface.
The first DP path 103 can establish a DP transmission channel between the main control module of the terminal device and the source device when the first DP path 103 is turned on, and the second DP path 104 can establish a DP transmission channel between the main control module of the terminal device and the source device when the second DP path 104 is turned on, and according to the DP negotiation result, video data with 1080P resolution can be transmitted only through the first DP path 103 or the second DP path 104, video data with 1080P resolution can be transmitted through the first DP path 103 and the second DP path 104 respectively, and dual DP channel transmission can be realized through the first DP path 103 and the second DP path 104, so as to support video data transmission with 2560×1600 resolution.
The audio transmission channel 105 can establish an audio transmission channel between the main control module of the terminal device and the source device when being conducted, so as to transmit audio data.
The switching of the first DP path 103, the second DP path 104 and the audio transmission path 105 in this embodiment may be implemented by a multiplexer, that is, different pins in the first DP path 103, the second DP path 104, the audio transmission path 105 and the TYPE-C interface may be switched by the multiplexer to conduct. If all the interfaces are 24P full-function interfaces, the on-off switching can be directly performed through the electronic switch.
The TYPE-C interface circuit provided in this embodiment can utilize the channel configuration path 102 to implement transmission of a DP negotiation message and a PD negotiation signal between the control circuit 101 and the source device through the CC pin, where the control circuit 101 performs DP negotiation and PD negotiation with the source device through the channel configuration path 102, and controls the first DP path 103, the second DP path 104 and the audio transmission path 105 to be turned on when the DP negotiation is completed, so as to establish transmission channels of a DP signal and an audio signal between the source device and the terminal device, and when the PD negotiation is completed, perform fast charging for the terminal device through the source device, if the pull-up resistor is recognized when the PD negotiation is completed, and meanwhile, receive or need to transmit the DP negotiation message, perform DP negotiation first, and perform PD negotiation after the DP negotiation is completed, so that no transmission conflict between the DP signal and the audio signal is required to be implemented through the channel configuration path 102 after the DP negotiation is completed, and the DP negotiation is performed again, and the fast charging will not be transmitted with the DP transmission, thereby being able to implement both DP transmission and fast charging.
As shown in FIG. 3, in one embodiment, the TYPE-C interface is also configured with SSTX and SSRX pins; TYPE-C interface circuit 100 further includes a data transmit path 106 and a data receive path 107, data transmit path 106 being configured to electrically connect to a source device via an SSTX pin, for supporting USB high-speed data transmission; the data receiving path 107 is used for being electrically connected with the source device through an SSRX pin and used for supporting USB high-speed data receiving; the control circuit 101 is also configured to control the data transmission path 106 and the data reception path 107 to be turned on when the pull-down resistor is detected through the channel configuration path 102.
When the data transmission path 106 in this embodiment is turned on, it is used to establish a connection between the USB Host module of the terminal device and the source device, so as to support the terminal device to perform high-speed transmission of USB data to the source device. The data receiving path 107 is configured to establish a connection between the USB Host module of the terminal device and the source device when turned on, so that the terminal device can support high-speed transmission of USB data from the source device. The embodiment can enable the terminal equipment to simultaneously carry out DP dual-channel transmission, USB data high-speed transmission and quick charging, and can be realized only by adopting a TYPE-C transmission line with corresponding pins.
As shown in FIG. 4, in one embodiment, the TYPE-C interface is also configured with a DP2 pin and a DP3 pin; the TYPE-C interface circuit 100 further includes a third DP path 108 and a fourth DP path 109, where the third DP path 108 is configured to be electrically connected to the main control module of the terminal device, and further configured to be electrically connected to the source device through a DP2 pin, and configured to support DP signal transmission; the fourth DP path 109 is configured to be electrically connected to the main control module of the terminal device, and further configured to be electrically connected to the source device through a DP3 pin, and to support DP signal transmission; the first DP path 103 is also used for supporting USB high-speed data transmission; the second DP path 104 is also used for supporting USB high-speed data transmission; the control circuit 101 is further configured to control, when the pull-down resistor is detected through the channel configuration path 102 and the negotiation with the source device DP is completed, the first DP path 103 and the second DP path 104 to establish a USB high-speed data transmission link with the source device, and control the third DP path 108 and the fourth DP path to be turned on, so as to support dual-channel DP signal transmission.
In one embodiment, the control circuit 101 is further configured to control the first DP path 103, the second DP path 104, the third DP path 108, and the fourth DP path 109 to be simultaneously turned on to support four-channel DP signal transmission when the negotiation with the source DP is completed and the pull-down resistor is not detected.
In this embodiment, since the TYPE-C interface is configured with four DP pins, four-channel DP signal transmission can be supported at most. If the control circuit 101 detects a pull-down resistor through the channel configuration path 102, that is, a high-speed data transmission channel needs to be established with the source device, at this time, the DP0 pin and the DP1 pin need to be used for USB high-speed data transmission, the first DP path 103 and the second DP path 104 are used as USB high-speed data transmission channels between the terminal device and the source device, and the first DP path 103 and the second DP path 104 are used for providing paths for a USB Host module of the terminal device and the source device; only single-channel DP signal transmission or dual-channel DP signal transmission can be simultaneously supported at this time, i.e. a DP transmission link between the terminal device and the source device is established through the third DP path 108 and the fourth DP path 109. If the control circuit 101 does not detect the pull-down resistor, that is, no high-speed data transmission channel is required to be established at this time, the first DP path 103, the second DP path 104, the third DP path 108 and the fourth DP path 109 may be used for DP signal transmission, so that after the terminal device and the source device DP negotiate, the first DP path 103, the second DP path 104, the third DP path 108 and the fourth DP path 109 are controlled to be simultaneously turned on to support DP signal transmission of the highest four channels.
As shown in FIG. 5, in one embodiment, the TYPE-C interface is also configured with a USB2.0 pin; TYPE-C interface circuit 100 further includes a low speed transmission path 110, low speed transmission path 110 being configured to electrically connect to a source device via a USB2.0 pin, and to support USB2.0 data transceiving.
The low-speed transmission path 110 is used for establishing a USB low-speed data transmission link between a USB Host module of the terminal device and the source device, and enumerating through a USB2.0 pin after accessing the source device. After enumeration is successful, the low-speed transmission path 110 is conducted, so that USB2.0 data transmission can be performed between the terminal equipment and the source equipment.
The embodiment of the application also provides a terminal device, which comprises the TYPE-C interface circuit and the main control module, wherein the TYPE-C interface circuit and the main control module are used for establishing a fast charging channel and/or a DP transmission channel with a source device through a TYPE-C transmission line by the TYPE-C interface circuit.
In one embodiment, the control circuit of the TYPE-C interface circuit may be integrated in the main control module, i.e. the function of the control circuit is implemented by using the main control module. In some embodiments, the master module includes a GPU chip.
As shown in fig. 6, the embodiment of the present application further provides a control method of a TYPE-C interface circuit, which is applied to the control circuit in the TYPE-C interface circuit according to any one of the foregoing embodiments, where the method includes:
step S601, if a DP negotiation message is received and a pull-up resistor is identified, when the DP negotiation is completed, the first DP path, the second DP path and the audio transmission path are controlled to be conducted;
step S602, PD negotiation is executed;
in step S603, if the PD negotiation is completed, the fast charging mode is started.
In this embodiment, the terminal device is used as a DP sink terminal, the source device is used as a DP source terminal, the source device sends a DP negotiation message to the terminal device, the terminal device needs to perform DP negotiation when receiving the DP negotiation message, if the terminal device identifies a pull-up resistor when accessing the source device, the terminal device indicates that the source device can also support PD fast charging, the terminal device performs DP negotiation with the source device at this time, controls the first DP path, the second DP path and the audio transmission path to be turned on after DP negotiation is completed, and then performs PD negotiation with the source device, and starts a fast charging mode after PD negotiation is completed, so that the source device performs fast charging for the terminal device.
As shown in fig. 7, an embodiment of the present application provides a control method of a TYPE-C interface circuit, which is applied to the control circuit of the TYPE-C interface circuit according to any one of the foregoing embodiments, where the method includes:
step S701, generating a DP negotiation message;
step S702, a DP negotiation message is sent to source equipment to carry out DP negotiation;
step S703, when DP negotiation is completed, controlling the first DP path, the second DP path and the audio transmission path to be turned on;
step S704, if the pull-up resistor is identified, PD negotiation is executed;
in step S705, if the PD negotiation is completed, the fast charging mode is started.
In this embodiment, the terminal device is used as a DP source terminal, the source device is used as a DP sink terminal, if the terminal device wishes to transmit a DP signal to the source device, a DP negotiation message is generated and sent to the source device to perform DP negotiation, if the terminal device identifies a pull-up resistor when accessing the source device, this indicates that the source device can also support PD fast charging, the source device performs DP negotiation first at this time, after DP negotiation is completed, the first DP channel, the second DP channel and the audio transmission channel are controlled to be turned on, then PD negotiation can be performed with the source device, and after PD negotiation is completed, a fast charging mode is started, and the source device performs fast charging for the terminal device.
It should be understood that, although the steps in the flowcharts related to the embodiments described above are sequentially shown as indicated by arrows, these steps are not necessarily sequentially performed in the order indicated by the arrows. The steps are not strictly limited to the order of execution unless explicitly recited herein, and the steps may be executed in other orders. Moreover, at least some of the steps in the flowcharts described in the above embodiments may include a plurality of steps or a plurality of stages, which are not necessarily performed at the same time, but may be performed at different times, and the order of the steps or stages is not necessarily performed sequentially, but may be performed alternately or alternately with at least some of the other steps or stages.
The following describes a control device of a TYPE-C interface circuit provided in an embodiment of the present application, and the control device of the TYPE-C interface circuit described below and the control method of the TYPE-C interface circuit described above may be referred to correspondingly to each other.
As shown in fig. 8, an embodiment of the present application provides a control device 800 for a TYPE-C interface circuit, which is applied to a control circuit in a TYPE-C interface circuit according to any one of the foregoing embodiments, and the device includes:
the first control module 801 is configured to control, when receiving the DP negotiation message and identifying the pull-up resistor, the first DP path, the second DP path, and the audio transmission path to be turned on when the DP negotiation is completed;
a PD negotiation module 802 for performing PD negotiation;
the fast charging start module 803 is configured to start a fast charging mode when the PD negotiation is completed.
As shown in fig. 9, an embodiment of the present application provides a control device 900 of a TYPE-C interface circuit, which is applied to a control circuit in a TYPE-C interface circuit according to any one of the foregoing embodiments, where the device includes:
the message generating module 901 is configured to generate a DP negotiation message;
a message sending module 902, configured to send the DP negotiation message to a source device for DP negotiation;
the second control module 903 is configured to control the first DP path, the second DP path, and the audio transmission path to be turned on when the DP negotiation is completed;
a PD negotiation module 904 configured to perform PD negotiation when the pull-up resistor is identified;
the fast charging start module 905 is configured to start a fast charging mode when the PD negotiation is completed.
The division of the modules in the control device of the TYPE-C interface circuit is merely for illustration, and in other embodiments, the control device of the TYPE-C interface circuit may be divided into different modules as needed to complete all or part of the functions of the control device of the TYPE-C interface circuit. The respective modules in the control device of the TYPE-C interface circuit described above may be implemented in whole or in part by software, hardware, and combinations thereof. The above modules may be embedded in hardware or may be independent of a processor in the computer device, or may be stored in software in a memory in the computer device, so that the processor may call and execute operations corresponding to the above modules.
In one embodiment, the present application also provides a storage medium having stored therein computer readable instructions that, when executed by one or more processors, cause the one or more processors to perform the steps of:
if the DP negotiation message is received and the pull-up resistor is identified, when the DP negotiation is completed, the first DP path, the second DP path and the audio transmission path are controlled to be conducted;
performing PD negotiation;
if PD negotiation is completed, a fast charge mode is started.
In one embodiment, the present application also provides a storage medium having stored therein computer readable instructions that, when executed by one or more processors, cause the one or more processors to perform the steps of:
generating a DP negotiation message;
sending the DP negotiation message to source equipment to carry out DP negotiation;
when the DP negotiation is completed, the first DP path, the second DP path and the audio transmission path are controlled to be conducted;
if the pull-up resistor is identified, PD negotiation is executed;
if PD negotiation is completed, a fast charge mode is started.
In one embodiment, the present application also provides a computer device having computer readable instructions stored therein, which when executed by the one or more processors, perform the steps of:
if the DP negotiation message is received and the pull-up resistor is identified, when the DP negotiation is completed, the first DP path, the second DP path and the audio transmission path are controlled to be conducted;
performing PD negotiation;
if PD negotiation is completed, a fast charge mode is started.
In one embodiment, the present application also provides a computer device having computer readable instructions stored therein, which when executed by the one or more processors, perform the steps of:
generating a DP negotiation message;
sending the DP negotiation message to source equipment to carry out DP negotiation;
when the DP negotiation is completed, the first DP path, the second DP path and the audio transmission path are controlled to be conducted;
if the pull-up resistor is identified, PD negotiation is executed;
if PD negotiation is completed, a fast charge mode is started.
In one embodiment, a terminal device is provided, the internal structure of which may be as shown in fig. 10. The terminal device comprises a processor, a memory, a communication interface, a display screen and an input device which are connected through a system bus. Wherein the processor of the terminal device is adapted to provide computing and control capabilities. The memory of the terminal device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The communication interface of the terminal device is used for carrying out wired or wireless communication with an external terminal, and the wireless mode can be realized through WIFI, a mobile cellular network, NFC (near field communication) or other technologies. The computer program, when executed by a processor, implements a method of controlling a TYPE-C interface circuit. The display screen of the terminal equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the terminal equipment can be a touch layer covered on the display screen, can also be keys, a track ball or a touch pad arranged on the shell of the terminal equipment, and can also be an external keyboard, a touch pad or a mouse and the like.
It will be appreciated by those skilled in the art that the structure shown in fig. Y is merely a block diagram of a portion of the structure associated with the present application and is not limiting of the terminal device to which the present application is applied, and that a particular terminal device may include more or fewer components than shown, or may combine some of the components, or have a different arrangement of components.
Those skilled in the art will appreciate that implementing all or part of the above described methods may be accomplished by way of a computer program stored on a non-transitory computer readable storage medium, which when executed, may comprise the steps of the embodiments of the methods described above. Any reference to memory, database, or other medium used in the various embodiments provided herein may include at least one of non-volatile and volatile memory. The nonvolatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical Memory, high density embedded nonvolatile Memory, resistive random access Memory (ReRAM), magnetic random access Memory (Magnetoresistive Random Access Memory, MRAM), ferroelectric Memory (Ferroelectric Random Access Memory, FRAM), phase change Memory (Phase Change Memory, PCM), graphene Memory, and the like. Volatile memory can include random access memory (Random Access Memory, RAM) or external cache memory, and the like. By way of illustration, and not limitation, RAM can be in the form of a variety of forms, such as static random access memory (Static Random Access Memory, SRAM) or dynamic random access memory (Dynamic Random Access Memory, DRAM), and the like. The processors referred to in the embodiments provided herein may be general purpose processors, central processing units, graphics processors, digital signal processors, programmable logic units, quantum computing-based data processing logic units, etc., without being limited thereto.
Finally, it is further noted that relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Furthermore, the terms "first," "second," and the like, are used for descriptive purposes only and are not to be construed as indicating or implying a relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defining "a first" or "a second" may explicitly or implicitly include at least one such feature. For example, a first DP path may be referred to as a second DP path, and similarly, a second DP path may be referred to as a first DP path, without departing from the scope of the present application. The first DP path and the second DP path are both DP paths, but are not the same path. In the description of the present application, the meaning of "plurality" is at least two, such as two, three, etc., unless explicitly defined otherwise. Also, the term "and/or" as used in this specification includes any and all combinations of the associated listed items.
It will be understood that when an element is referred to as being "connected" to another element, it can be directly connected to the other element or be connected to the other element through intervening elements. In addition, in the embodiments of the present application, "connected" is understood to mean "electrically connected", "communicatively connected", and the like, if the connected circuits, modules, units, and the like have electrical signals or data transferred therebetween.
In the present specification, each embodiment is described in a progressive manner, and each embodiment focuses on the difference from other embodiments, and may be combined according to needs, and the same similar parts may be referred to each other.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the application. Thus, the present application is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

1. A TYPE-C interface circuit, characterized by being applied to a terminal device for being electrically connected to a source device through a TYPE-C transmission line by the TYPE-C interface circuit, comprising:
the TYPE-C interface is configured with a CC pin, a DP0 pin, a DP1 pin and an AUX pin;
the channel configuration path is used for being electrically connected with the source equipment through the CC pin, transmitting a DP negotiation message and transmitting a PD negotiation signal;
the first DP path is used for being electrically connected with the main control module of the terminal equipment, is used for being electrically connected with the source equipment through the DP0 pin and is used for transmitting a DP signal;
the second DP path is used for being electrically connected with the main control module of the terminal equipment, is used for being electrically connected with the source equipment through the DP1 pin and is used for transmitting a DP signal;
the audio transmission path is used for being electrically connected with the main control module of the terminal equipment, is used for being electrically connected with the source equipment through the AUX pin and is used for transmitting audio signals;
the control circuit is used for sending/receiving a DP negotiation message to the source equipment through the channel configuration path and controlling the first DP path, the second DP path and the audio transmission path to be conducted when the DP negotiation is completed; the PD negotiation is carried out with the source equipment when the pull-up resistor is identified through the channel configuration path, so that the terminal equipment is charged quickly through the source equipment;
and the control circuit is also used for receiving/transmitting a DP negotiation message when the pull-up resistor is identified, carrying out DP negotiation with the source equipment through the channel configuration path, and carrying out PD negotiation with the source equipment when the DP negotiation is completed.
2. The TYPE-C interface circuit of claim 1, wherein the TYPE-C interface is further configured with SSTX pins and SSRX pins; the TYPE-C interface circuit further comprises:
the data transmission path is electrically connected with the source equipment through the SSTX pin and is used for supporting USB high-speed data transmission;
a data receiving path, which is electrically connected with the source equipment through the SSRX pin and is used for supporting USB high-speed data receiving;
the control circuit is also used for controlling the data transmission path and the data receiving path to be conducted when the pull-down resistor is detected through the channel configuration path.
3. The TYPE-C interface circuit of claim 1, wherein the TYPE-C interface is further configured with a DP2 pin and a DP3 pin; the TYPE-C interface circuit further comprises:
the third DP path is used for being electrically connected with the main control module of the terminal equipment and also used for being electrically connected with the source equipment through the DP2 pin and supporting DP signal transmission;
the fourth DP path is used for being electrically connected with the main control module of the terminal equipment and also used for being electrically connected with the source equipment through the DP3 pin and used for supporting DP signal transmission;
the first DP path is also used for supporting USB high-speed data transmission;
the second DP path is also used for supporting USB high-speed data transmission;
the control circuit is further configured to control the first DP path and the second DP path to establish a USB high-speed data transmission link with the source device and control the third DP path and the fourth DP path to be turned on when the pull-down resistor is detected through the channel configuration path and negotiation with the source device DP is completed, so as to support dual-channel DP signal transmission.
4. The TYPE-C interface circuit of claim 3 wherein the control circuit is further configured to control the first DP path, the second DP path, the third DP path, and the fourth DP path to be simultaneously turned on to support four-channel DP signaling when negotiation with the source DP is completed and no pull-down resistor is detected.
5. The TYPE-C interface circuit according to any one of claims 1 to 4, wherein the TYPE-C interface is further configured with a USB2.0 pin; the TYPE-C interface circuit further comprises:
and the low-speed transmission path is used for being electrically connected with the source equipment through the USB2.0 pin and supporting USB2.0 data transceiving.
6. A terminal device, comprising:
a TYPE-C interface circuit as claimed in any one of claims 1 to 5;
and the main control module is used for establishing a fast charging channel and/or a DP transmission channel with the source equipment through the TYPE-C interface circuit and the TYPE-C transmission line.
7. A control method of a TYPE-C interface circuit, applied to the control circuit in the TYPE-C interface circuit according to any one of claims 1 to 5, the method comprising:
if the DP negotiation message is received and the pull-up resistor is identified, when the DP negotiation is completed, the first DP path, the second DP path and the audio transmission path are controlled to be conducted;
performing PD negotiation;
if PD negotiation is completed, a fast charge mode is started.
8. A control method of a TYPE-C interface circuit, applied to the control circuit in the TYPE-C interface circuit according to any one of claims 1 to 5, the method comprising:
generating a DP negotiation message;
sending the DP negotiation message to source equipment to carry out DP negotiation;
when the DP negotiation is completed, the first DP path, the second DP path and the audio transmission path are controlled to be conducted;
if the pull-up resistor is identified, PD negotiation is executed;
if PD negotiation is completed, a fast charge mode is started.
9. A control apparatus for a TYPE-C interface circuit, characterized by being applied to a control circuit in a TYPE-C interface circuit as claimed in any one of claims 1 to 5, the apparatus comprising:
the first control module is used for controlling the first DP path, the second DP path and the audio transmission path to be conducted when the DP negotiation is completed after receiving the DP negotiation message and identifying the pull-up resistor;
the PD negotiation module is used for executing PD negotiation;
and the fast charging starting module is used for starting a fast charging mode when the PD negotiation is completed.
10. A control apparatus for a TYPE-C interface circuit, characterized by being applied to a control circuit in a TYPE-C interface circuit as claimed in any one of claims 1 to 5, the apparatus comprising:
the message generation module is used for generating a DP negotiation message;
the message sending module is used for sending the DP negotiation message to the source equipment to carry out DP negotiation;
the second control module is used for controlling the conduction of the first DP path, the second DP path and the audio transmission path when the DP negotiation is completed;
the PD negotiation module is used for executing PD negotiation when the pull-up resistor is identified;
and the fast charging starting module is used for starting a fast charging mode when the PD negotiation is completed.
CN202310469134.7A 2023-04-26 2023-04-26 TYPE-C interface circuit, control method and device and terminal equipment Pending CN116303184A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310469134.7A CN116303184A (en) 2023-04-26 2023-04-26 TYPE-C interface circuit, control method and device and terminal equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310469134.7A CN116303184A (en) 2023-04-26 2023-04-26 TYPE-C interface circuit, control method and device and terminal equipment

Publications (1)

Publication Number Publication Date
CN116303184A true CN116303184A (en) 2023-06-23

Family

ID=86778221

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310469134.7A Pending CN116303184A (en) 2023-04-26 2023-04-26 TYPE-C interface circuit, control method and device and terminal equipment

Country Status (1)

Country Link
CN (1) CN116303184A (en)

Similar Documents

Publication Publication Date Title
US11550748B2 (en) Method and apparatus for providing interface
US9949047B2 (en) Method for controlling audio signal and electronic device supporting the same
US10127181B2 (en) Port disconnect charging function for USB hub
US11340676B2 (en) Method of identifying external electronic device based on power information and electronic device and storage medium for supporting same
CN102968334B (en) The user interface of adaptive remote desktop main frame
US10311000B2 (en) Integrated universal serial bus (USB) type-C switching
US9860659B2 (en) Method and apparatus for identifying foreign substances in connectors
CN107391419B (en) Support general sequence busbar concentrator of many host computers and automobile-used host computer
JP5988449B2 (en) Serial communication via communication control pin
JP6228716B2 (en) Interface circuit, state switching method and apparatus
WO2018014471A1 (en) Terminal, terminal peripheral, signal sending and receiving method, and data transmission system
CN107111564B (en) Adapter for connecting connectors in series
KR102405773B1 (en) Method for communicating multi devices using usb type c interface and electronic device for the same
CN105700732A (en) Apparatus, system and method for communication of touch sensor information
JP2018073392A (en) Flexible mobile device connectivity to automotive systems with usb hubs
CN108369567A (en) Increased data flow in universal serial bus (USB) cable
CN109062846B (en) Universal serial bus device and operation method thereof
CN110879792A (en) Electronic equipment and interface control method thereof
CN117254568B (en) Charging method, electronic equipment and related device
CN107544019B (en) Chip testing device and chip testing method
CN116303184A (en) TYPE-C interface circuit, control method and device and terminal equipment
KR101727588B1 (en) USB interface module for vehicle and AVN system having the same
CN109557846B (en) Detection identification circuit, detection identification method thereof and electronic equipment
US10515025B2 (en) Communication protocol adapter
US20220131393A1 (en) Method and electronic device for providing fast charging

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