CN113054716B - Charging chip, charging device and mobile terminal - Google Patents
Charging chip, charging device and mobile terminal Download PDFInfo
- Publication number
- CN113054716B CN113054716B CN202110396553.3A CN202110396553A CN113054716B CN 113054716 B CN113054716 B CN 113054716B CN 202110396553 A CN202110396553 A CN 202110396553A CN 113054716 B CN113054716 B CN 113054716B
- Authority
- CN
- China
- Prior art keywords
- interface
- charging
- data
- processor
- charging chip
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 230000006854 communication Effects 0.000 claims description 17
- 238000004891 communication Methods 0.000 claims description 16
- 238000006243 chemical reaction Methods 0.000 abstract description 9
- 238000000034 method Methods 0.000 description 12
- 238000010586 diagram Methods 0.000 description 7
- 238000001514 detection method Methods 0.000 description 3
- 239000002131 composite material Substances 0.000 description 2
- 230000008054 signal transmission Effects 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 1
- 238000012790 confirmation Methods 0.000 description 1
- 238000004146 energy storage Methods 0.000 description 1
- 230000001939 inductive effect Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02J—CIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
- H02J7/00—Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
- H02J7/00032—Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries characterised by data exchange
Abstract
The application relates to a charging chip, a charging device and a mobile terminal, wherein the charging chip comprises a first interface and a second interface; the first interface is used for communicating with the processor; the second interface is used for communicating with the power adapter; wherein the second interface is a universal asynchronous receiving and transmitting bus interface; the charging device is arranged in a mobile terminal and is used for charging a rechargeable battery of the mobile terminal, and comprises: a charging chip and a processor; the mobile terminal comprises a charging chip. According to the charging chip, the charging device and the mobile terminal, the universal asynchronous receiving and transmitting bus interface is integrated in the charging chip, so that the circuit board area occupied by the level conversion circuit and the universal asynchronous receiving and transmitting bus interface of the processor are omitted, the resource expenditure and the wiring quantity are effectively reduced, and the cost is reduced.
Description
Technical Field
The application relates to the technical field of charging, in particular to a charging chip, a charging device and a mobile terminal.
Background
In general implementation, two communication modes of the intelligent terminal and the power adapter are mainly adopted: the intelligent terminal and the power adapter in the communication mode are communicated through a charging confirmation signal of a C-type USB interface, and the C-type USB interface or a non-standard interface is used; the second type is to communicate through the differential signal (D+, D-) of the USB interface, this communication mode has no requirement on USB interface, the power adapter can adopt standard A type USB interface, can use C type USB interface, the intelligent terminal side can use miniature USB interface, can use C type USB interface, the data link is also general.
In general implementation, the processor of the intelligent terminal is in communication with the power adapter by combining a universal asynchronous receiver/transmitter (UART) on the basis of realizing the communication between the intelligent terminal and the power adapter through differential signals (D+ and D-) of a USB interface, but the processor of the intelligent terminal usually adopts a 1.8V CMOS level which is easy to be interfered in the communication process, and a level conversion chip is required to convert the 1.8V CMOS level into a 3.3V CMOS level or a 5VTTL level or an RS232 level, as shown in figure 1.
In the course of conception and implementation of the present application, the inventors found that at least the following problems exist: in the implementation, the level conversion circuit occupies the area of the circuit board, increases the manufacturing cost, and occupies the universal asynchronous receiving and transmitting bus interface of the processor, for example, under the condition that the universal asynchronous receiving and transmitting bus interface resource of the processor is insufficient, the level conversion circuit cannot communicate with the power adapter, and cannot realize quick charging.
The foregoing description is provided for general background information and does not necessarily constitute prior art.
Disclosure of Invention
Aiming at the technical problems, the application provides a charging chip, a charging device and a mobile terminal, which save the circuit board area occupied by a level conversion circuit and the universal asynchronous receiving and transmitting bus interface of a processor, reduce the resource expense and the wiring quantity and reduce the cost.
In order to solve the technical problems, the application provides a charging chip, which comprises a first interface and a second interface; the first interface is used for communicating with the processor; the second interface is used for communicating with the power adapter; wherein the second interface is a universal asynchronous receiving and transmitting bus interface.
Optionally, the second interface is connected with a first signal line and a second signal line; the first signal line is used for sending a first signal to the power adapter; the second signal line is used for receiving a second signal sent by the power adapter.
Optionally, the charging chip further comprises a buffer register; the buffer register is used for storing first data sent to the charging chip by the power adapter so that the processor can read the first data; the buffer register is further used for storing second data written into the charging chip by the processor, so that the charging chip sends the second data to the power adapter.
Optionally, after receiving the first data, the charging chip sends an interrupt request to the processor, and sets a corresponding interrupt flag bit.
The application also provides a charging device which is arranged in the mobile terminal and is used for charging a rechargeable battery of the mobile terminal, and the charging device comprises: a charging chip and a processor; the charging chip comprises a first interface and a second interface; the charging chip is communicated with the processor through the first interface; the charging chip is communicated with the power adapter through the second interface; wherein the second interface is a universal asynchronous receiving and transmitting bus interface.
Optionally, the second interface is connected with a first signal line and a second signal line; the charging chip sends a first signal to the power adapter through the first signal line; and the charging chip receives a second signal sent by the power adapter through the second signal wire.
Optionally, the charging chip further comprises a buffer register; the buffer register is used for storing first data sent to the charging chip by the power adapter so that the processor can read the first data; the buffer register is further used for storing second data written into the charging chip by the processor, so that the charging chip sends the second data to the power adapter.
Optionally, after receiving the first data, the charging chip sends an interrupt request to the processor, and sets a corresponding interrupt flag bit; the processor acquires the interrupt request and identifies the interrupt flag bit, and reads the first data when the interrupt flag bit meets a preset condition.
Optionally, the second interface is connected with a charging interface of the mobile terminal, and is connected with the power adapter through the charging interface.
Optionally, the charging interface is a universal serial bus interface; the first signal line is connected to a positive electrode pin of a data line of the charging interface; the second signal line is connected to the negative electrode pin of the data line of the charging interface.
Optionally, the processor includes a third interface and a fourth interface; the third interface is connected with the first interface; and the fourth interface is connected with the charging interface of the mobile terminal.
Optionally, the fourth interface and the charging interface are universal serial bus interfaces; the data line positive electrode pin of the fourth interface is connected with the data line positive electrode pin of the charging interface; and the negative electrode pin of the data line of the fourth interface is connected with the negative electrode pin of the data line of the charging interface.
Optionally, the processor acquires and identifies the type of an external device connected with a charging interface of the mobile terminal, and selects an interface for communication with the charging interface according to the type of the external device; the external equipment comprises quick charging equipment and USB equipment.
Optionally, the charging device further comprises a signal switch, and the signal switch is used for selecting an interface for communicating with the charging interface.
The application further provides a mobile terminal, which comprises the charging chip.
As described above, the charging chip, the charging device and the mobile terminal provided by the application can effectively reduce the resource expense and the wiring quantity and lower the cost by integrating the universal asynchronous receiving and transmitting bus interface in the charging chip, and omitting the circuit board area occupied by the level conversion circuit and the universal asynchronous receiving and transmitting bus interface of the processor.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the application and together with the description, serve to explain the principles of the application. In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the description of the embodiments will be briefly described below, and it will be obvious to those skilled in the art that other drawings can be obtained from these drawings without inventive effort.
FIG. 1 is a schematic diagram of a charging device in a general implementation;
fig. 2 is a schematic structural diagram of a charging device according to a first embodiment of the present application;
fig. 3 is a schematic structural diagram of a charging device according to a second embodiment of the present application;
fig. 4 is a schematic structural diagram of a charging device according to a third embodiment of the present application.
The achievement of the objects, functional features and advantages of the present application will be further described with reference to the accompanying drawings, in conjunction with the embodiments. Specific embodiments of the present application have been shown by way of the above drawings and will be described in more detail below. The drawings and the written description are not intended to limit the scope of the inventive concepts in any way, but rather to illustrate the inventive concepts to those skilled in the art by reference to the specific embodiments.
Detailed Description
Reference will now be made in detail to exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numbers in different drawings refer to the same or similar elements, unless otherwise indicated. The implementations described in the following exemplary examples do not represent all implementations consistent with the application. Rather, they are merely examples of apparatus and methods consistent with aspects of the application as detailed in the accompanying claims.
It should be noted that, in this document, 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, the element defined by the phrase "comprising one … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element, and furthermore, elements having the same name in different embodiments of the application may have the same meaning or may have different meanings, the particular meaning of which is to be determined by its interpretation in this particular embodiment or by further combining the context of this particular embodiment.
It should be understood that although the terms first, second, third, etc. may be used herein to describe various information, these information should not be limited by these terms. These terms are only used to distinguish one type of information from another. For example, first information may also be referred to as second information, and similarly, second information may also be referred to as first information, without departing from the scope herein. The word "if" as used herein may be interpreted as "at … …" or "at … …" or "responsive to a determination", depending on the context. Furthermore, as used herein, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context indicates otherwise. It will be further understood that the terms "comprises," "comprising," "includes," and/or "including" specify the presence of stated features, steps, operations, elements, components, items, categories, and/or groups, but do not preclude the presence, presence or addition of one or more other features, steps, operations, elements, components, items, categories, and/or groups. The terms "or", "and/or", "including at least one of", and the like, as used herein, may be construed as inclusive, or mean any one or any combination. For example, "including at least one of: A. b, C "means" any one of the following: a, A is as follows; b, a step of preparing a composite material; c, performing operation; a and B; a and C; b and C; a and B and C ", again as examples," A, B or C "or" A, B and/or C "means" any of the following: a, A is as follows; b, a step of preparing a composite material; c, performing operation; a and B; a and C; b and C; a and B and C). An exception to this definition will occur only when a combination of elements, functions, steps or operations are in some way inherently mutually exclusive.
It should be understood that, although the steps in the flowcharts in the embodiments of the present application are shown in order as indicated by the arrows, these steps are not necessarily performed in order as indicated by the arrows. The steps are not strictly limited in order and may be performed in other orders, unless explicitly stated herein. Moreover, at least some of the steps in the figures may include multiple sub-steps or stages that are not necessarily performed at the same time, but may be performed at different times, the order of their execution not necessarily occurring in sequence, but may be performed alternately or alternately with other steps or at least a portion of the other steps or stages.
The words "if", as used herein, may be interpreted as "at … …" or "at … …" or "in response to a determination" or "in response to a detection", depending on the context. Similarly, the phrase "if determined" or "if detected (stated condition or event)" may be interpreted as "when determined" or "in response to determination" or "when detected (stated condition or event)" or "in response to detection (stated condition or event), depending on the context.
It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the application.
In the following description, suffixes such as "module", "part" or "unit" for representing elements are used only for facilitating the description of the present application, and have no specific meaning per se. Thus, "module," "component," or "unit" may be used in combination.
First embodiment
Fig. 2 is a schematic structural diagram of a charging device according to an embodiment of the application. The charging device of the present application is provided in a mobile terminal and is used for charging a rechargeable battery of the mobile terminal, and as shown in fig. 2, S11 and S12 denote a first interface and a second interface of the present embodiment, respectively, and the charging device of the present application includes: a charging chip 101 and a processor 102;
the charging chip 101 comprises a first interface and a second interface;
the charging chip 101 communicates with the processor 102 through the first interface;
the charging chip 101 communicates with the power adapter through the second interface, which is a universal asynchronous receiver/transmitter bus (UART) interface.
Optionally, the second interface of the charging chip 101 adopts a 3.3V CMOS level or a 5V TTL level.
The charging chip 101 is used for power conversion and charging state detection and protection in a charging process; the processor 102 is used for controlling the charging chip 101 and the power adapter in the charging process; alternatively, the power conversion function of the charging chip 101 is implemented using an inductive energy storage converter, a charge pump converter, a buck-boost converter, or the like.
Further, a data signal line (SDA) and a clock signal line (SCL) are connected to the first interface of the charging chip 101;
the data signal line is used for transmitting data signals between the charging chip 101 and the processor 102;
the clock signal line is used for the processor 102 to send a clock signal to the charging chip 101.
Further, a first signal line and a second signal line are connected to a second interface of the charging chip 101;
the charging chip 101 transmits a first signal to the power adapter through a first signal line;
the charging chip 101 receives a second signal transmitted from the power adapter through a second signal line.
Wherein the first signal line is also called a transmission data signal line, denoted as TXD; the second signal line is also referred to as a received data signal line, denoted RXD.
Further, the charging chip 101 further includes a buffer register 103;
the buffer register 103 is used for storing the first data sent to the charging chip 101 by the power adapter so that the processor 102 can read the first data;
buffer register 103 is also used to store second data that processor 102 writes to charging chip 101 so that charging chip 101 sends the second data to the power adapter.
It should be noted that, the buffer register 103 is further configured to convert the format of the first data according to the data format specified by the communication protocol between the charging chip 101 and the processor 102; and converting the format of the second data according to the data format specified by the communication protocol of the charging chip 101 and the power adapter.
Alternatively, the buffer register 103 employs a serial buffer register (SBUF).
It should be noted that, the first interface of the charging chip 101 is further connected with an interrupt signal line (INT), after receiving the first data sent by the power adapter, the charging chip 101 sends an interrupt request to the processor 102 through the interrupt signal line of the first interface, and sets a corresponding interrupt flag bit; the processor 102 obtains the interrupt request and identifies an interrupt flag, and reads the first data when the interrupt flag satisfies a preset condition. Optionally, the interrupt flag bit is set to 1, and a preset condition is satisfied.
It should be noted that, the processor 102 is further configured to obtain and identify a type of an external device connected to the charging interface of the mobile terminal, and select an interface for communicating with the charging interface according to the type of the external device; the external device comprises a quick charging device (such as a power adapter, a quick charging charger and the like), and a USB device (such as a mouse, a keyboard, a USB flash disk and the like); the second and third embodiments are specifically described.
According to the charging device provided by the embodiment of the application, the universal asynchronous receiving and transmitting bus interface is integrated in the charging chip, so that the circuit board area occupied by the level conversion circuit and the universal asynchronous receiving and transmitting bus interface of the processor can be saved, the resource expense and the wiring quantity are effectively reduced, and the cost is reduced.
Second embodiment
Fig. 3 is a schematic structural diagram of a charging device according to a second embodiment of the present application. As shown in fig. 3, S21, S22, S23, S24, S25 denote a first interface, a second interface, a third interface, a fourth interface, and a charging interface of the mobile terminal in this embodiment, respectively, and the charging device of the present application includes: a charging chip 201 and a processor 202;
the charging chip 201 comprises a first interface and a second interface;
the processor 202 includes a third interface, a fourth interface;
the first interface of the charging chip 201 is connected with the third interface of the processor 202.
The second interface of the charging chip 201 is a universal asynchronous receiving and transmitting bus interface.
Optionally, the second interface of the charging chip 201 is connected to the charging interface of the mobile terminal, and is connected to the power adapter through the charging interface of the mobile terminal.
Optionally, the charging interface of the mobile terminal is a Universal Serial Bus (USB) interface;
a first signal line on a second interface of the charging chip 201 is connected to a positive (D+) pin of a data line of the charging interface;
a second signal line on the second interface of the charging chip 201 is connected to a negative (D-) pin of the data line of the charging interface.
Optionally, the fourth interface of the processor 202 is connected to a charging interface of the mobile terminal.
Optionally, the fourth interface of the processor 202 and the charging interface of the mobile terminal are Universal Serial Bus (USB) interfaces;
the positive (D+) pin of the data line of the fourth interface of the processor 202 is connected with the positive (D+) pin of the data line of the charging interface of the mobile terminal through the data line;
the data line negative (D-) pin of the fourth interface of the processor 202 is connected to the data line negative (D-) pin of the charging interface of the mobile terminal through a data line.
Optionally, the processor 202 obtains and identifies the type of the external device connected to the charging interface of the mobile terminal, and selects an interface for communication with the charging interface according to the type of the external device; the types of external devices include a fast charging device (such as a power adapter, a fast charging charger, etc.), and a USB device (such as a mouse, a keyboard, a USB disk, etc.).
For example, if the processor 202 obtains and identifies that the external device connected to the charging interface of the mobile terminal is a power adapter, the data line connected to the d+ pin of the fourth interface of the processor 202 is set to be in a high-resistance state, and the second interface of the charging chip 201 is used to communicate with the power adapter; if the processor 202 obtains and recognizes that the external device connected to the charging interface of the mobile terminal is a usb disk, the first signal line and the second signal line connected to the second interface of the charging chip 201 are set to a high-resistance state, and the fourth interface of the processor 202 is selected to communicate with the usb disk.
According to the charging device provided by the second embodiment of the application, the charging interface of the mobile terminal can transmit UART signals and USB signals, and the processor selects an interface for communicating with the charging interface according to the type of external equipment, so that the flexibility and convenience of signal transmission are improved on the basis of reducing the resource expense and the number of wires.
Third embodiment
Fig. 4 is a schematic structural diagram of a charging device according to a third embodiment of the present application. As shown in fig. 4, S31, S32, S33, S34, S35 denote a first interface, a second interface, a third interface, a fourth interface, and a charging interface of the mobile terminal in this embodiment, respectively, and the charging device of the present application includes: a charging chip 301 and a processor 302;
the charging chip 301 includes a first interface and a second interface;
the processor 302 includes a third interface, a fourth interface;
the first interface of the charging chip 301 is connected with the third interface of the processor 302;
the second interface of the charging chip 301 is a universal asynchronous receiving and transmitting bus interface.
Optionally, the processor 302 acquires and identifies the type of the external device connected to the charging interface of the mobile terminal, and selects an interface for communication with the charging interface according to the type of the external device; the types of external devices include a fast charging device (such as a power adapter, a fast charging charger, etc.), and a USB device (such as a mouse, a keyboard, a USB disk, etc.).
Optionally, if the type of the external device connected to the charging interface of the mobile terminal is a fast charging device, a connection between the second interface of the charging chip 301 and the charging interface of the mobile terminal is established, and the power adapter is further connected through the charging interface of the mobile terminal, that is, the second interface of the charging chip 301 is used to communicate with the fast charging device.
Optionally, the charging interface of the mobile terminal is a Universal Serial Bus (USB) interface;
a first signal line on a second interface of the charging chip 301 is connected to a positive (D+) pin of a data line of the charging interface;
a second signal line on the second interface of the charging chip 301 is connected to a negative (D-) pin of the data line of the charging interface.
Optionally, if the type of the external device connected to the charging interface of the mobile terminal is a USB device, a connection between the fourth interface of the processor 302 and the charging interface of the mobile terminal is established, that is, the fourth interface of the processor 302 is used to communicate with the USB device.
Optionally, the fourth interface of the processor 302 and the charging interface of the mobile terminal are Universal Serial Bus (USB) interfaces;
the positive (D+) pin of the data line of the fourth interface of the processor 302 is connected with the positive (D+) pin of the data line of the charging interface of the mobile terminal through the data line;
the data line negative (D-) pin of the fourth interface of the processor 302 is connected to the data line negative (D-) pin of the charging interface of the mobile terminal through a data line.
Optionally, the charging device further includes a signal switch 303, and the interface for communicating with the charging interface can be selected by connecting or disconnecting the second interface of the charging chip 301, the fourth interface of the processor 302, and the charging interface of the mobile terminal through the signal switch 303.
For example, if the type of the external device connected to the charging interface of the mobile terminal is a fast charging device, the signal switch 303 is used to switch on the connection between the second interface of the charging chip 301 and the charging interface of the mobile terminal, and simultaneously disconnect the connection between the fourth interface of the processor 302 and the charging interface of the mobile terminal, so as to select the second interface of the charging chip 301 to communicate with the fast charging device.
If the type of the external device connected with the charging interface of the mobile terminal is a USB device, the signal switch 303 is used to switch on the connection between the fourth interface of the processor 302 and the charging interface of the mobile terminal, and simultaneously disconnect the connection between the second interface of the charging chip 301 and the charging interface of the mobile terminal, so as to select the fourth interface of the processor 302 to communicate with the USB device.
According to the charging device provided by the third embodiment of the application, the processor determines to transmit UART signals or USB signals according to the type of the external equipment, establishes connection between the charging interface and the corresponding interface, selects the interface communicated with the charging interface, and improves the flexibility and convenience of signal transmission on the basis of reducing the resource expense and the number of wires.
The application further provides a mobile terminal comprising the charging chip. Mobile terminals include, but are not limited to, mobile terminals such as cell phones, wearable devices, smart bracelets, pedometers, and stationary terminals such as digital TVs, desktop computers, and the like.
The foregoing embodiment numbers of the present application are merely for the purpose of description, and do not represent the advantages or disadvantages of the embodiments.
In the present application, the same or similar term concept, technical solution and/or application scenario description will be generally described in detail only when first appearing and then repeatedly appearing, and for brevity, the description will not be repeated generally, and in understanding the present application technical solution and the like, reference may be made to the previous related detailed description thereof for the same or similar term concept, technical solution and/or application scenario description and the like which are not described in detail later.
In the present application, the descriptions of the embodiments are emphasized, and the details or descriptions of the other embodiments may be referred to.
The technical features of the technical scheme of the application can be arbitrarily combined, and all possible combinations of the technical features in the above embodiment are not described for the sake of brevity, however, as long as there is no contradiction between the combinations of the technical features, the application shall be considered as the scope of the description of the application.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (e.g. ROM/RAM, magnetic disk, optical disk) as above, comprising instructions for causing a terminal device (which may be a mobile phone, a computer, a server, a controlled terminal, or a network device, etc.) to perform the method of each embodiment of the present application.
The foregoing description is only of the preferred embodiments of the present application, and is not intended to limit the scope of the application, but rather is intended to cover any equivalents of the structures or equivalent processes disclosed herein or in the alternative, which may be employed directly or indirectly in other related arts.
Claims (13)
1. The charging chip is characterized by comprising a first interface, a second interface and a buffer register;
the first interface is used for communicating with the processor;
the second interface is used for communicating with the power adapter;
the buffer register is used for storing first data sent to the charging chip by the power adapter, converting the format of the first data according to a data format specified by a communication protocol between the charging chip and the processor so that the processor can read the first data, storing second data written into the charging chip by the processor, and converting the format of the second data according to a data format specified by a communication protocol between the charging chip and the power adapter so that the charging chip can send the second data to the power adapter;
the first interface is an integrated circuit bus interface, and the second interface is a universal asynchronous receiving and transmitting bus interface.
2. The charging chip of claim 1, wherein the second interface is connected with a first signal line and a second signal line;
the first signal line is used for sending a first signal to the power adapter;
the second signal line is used for receiving a second signal sent by the power adapter.
3. The charging chip of claim 1, wherein after receiving the first data, the charging chip sends an interrupt request to the processor and sets a corresponding interrupt flag.
4. A charging device provided in a mobile terminal for charging a rechargeable battery of the mobile terminal, the charging device comprising: a charging chip and a processor;
the charging chip comprises a first interface, a second interface and a buffer register;
the charging chip is communicated with the processor through the first interface;
the charging chip is communicated with the power adapter through the second interface;
the buffer register is used for storing first data sent to the charging chip by the power adapter, converting the format of the first data according to a data format specified by a communication protocol between the charging chip and the processor so that the processor can read the first data, storing second data written into the charging chip by the processor, and converting the format of the second data according to a data format specified by a communication protocol between the charging chip and the power adapter so that the charging chip can send the second data to the power adapter;
the first interface is an integrated circuit bus interface, and the second interface is a universal asynchronous receiving and transmitting bus interface.
5. The charging device of claim 4, wherein the second interface is connected to a first signal line and a second signal line;
the charging chip sends a first signal to the power adapter through the first signal line;
and the charging chip receives a second signal sent by the power adapter through the second signal wire.
6. The charging device of claim 4, wherein after receiving the first data, the charging chip sends an interrupt request to the processor and sets a corresponding interrupt flag;
the processor acquires the interrupt request and identifies the interrupt flag bit, and reads the first data when the interrupt flag bit meets a preset condition.
7. The charging device of claim 5, wherein the second interface is coupled to a charging interface of the mobile terminal and to the power adapter via the charging interface.
8. The charging device of claim 7, wherein the charging interface is a universal serial bus interface;
the first signal line is connected to a positive electrode pin of a data line of the charging interface;
the second signal line is connected to the negative electrode pin of the data line of the charging interface.
9. The charging device of claim 4, wherein the processor comprises a third interface, a fourth interface;
the third interface is connected with the first interface;
and the fourth interface is connected with the charging interface of the mobile terminal.
10. The charging device of claim 9, wherein the fourth interface and the charging interface are universal serial bus interfaces;
the data line positive electrode pin of the fourth interface is connected with the data line positive electrode pin of the charging interface;
and the negative electrode pin of the data line of the fourth interface is connected with the negative electrode pin of the data line of the charging interface.
11. The charging apparatus of claim 4, wherein the processor obtains and identifies a type of external device connected to a charging interface of the mobile terminal, and selects an interface for communication with the charging interface according to the type of external device; the external equipment comprises quick charging equipment and USB equipment.
12. The charging device of claim 11, further comprising a signal switch for selecting an interface in communication with the charging interface.
13. A mobile terminal, characterized in that it comprises a charging chip according to any of claims 1-3.
Priority Applications (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311192654.4A CN117318221A (en) | 2021-04-13 | 2021-04-13 | Charging chip, charging device and mobile terminal |
CN202110396553.3A CN113054716B (en) | 2021-04-13 | 2021-04-13 | Charging chip, charging device and mobile terminal |
CN202311190302.5A CN117318220A (en) | 2021-04-13 | 2021-04-13 | Charging chip, charging device and mobile terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110396553.3A CN113054716B (en) | 2021-04-13 | 2021-04-13 | Charging chip, charging device and mobile terminal |
Related Child Applications (2)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202311192654.4A Division CN117318221A (en) | 2021-04-13 | 2021-04-13 | Charging chip, charging device and mobile terminal |
CN202311190302.5A Division CN117318220A (en) | 2021-04-13 | 2021-04-13 | Charging chip, charging device and mobile terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113054716A CN113054716A (en) | 2021-06-29 |
CN113054716B true CN113054716B (en) | 2023-08-29 |
Family
ID=76519328
Family Applications (3)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202311190302.5A Pending CN117318220A (en) | 2021-04-13 | 2021-04-13 | Charging chip, charging device and mobile terminal |
CN202110396553.3A Active CN113054716B (en) | 2021-04-13 | 2021-04-13 | Charging chip, charging device and mobile terminal |
CN202311192654.4A Pending CN117318221A (en) | 2021-04-13 | 2021-04-13 | Charging chip, charging device and mobile terminal |
Family Applications Before (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202311190302.5A Pending CN117318220A (en) | 2021-04-13 | 2021-04-13 | Charging chip, charging device and mobile terminal |
Family Applications After (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202311192654.4A Pending CN117318221A (en) | 2021-04-13 | 2021-04-13 | Charging chip, charging device and mobile terminal |
Country Status (1)
Country | Link |
---|---|
CN (3) | CN117318220A (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114967894B (en) * | 2022-07-27 | 2023-01-17 | 荣耀终端有限公司 | Electronic device, device identification method and charging system |
CN115603432B (en) * | 2022-12-12 | 2023-03-21 | 深圳市美矽微半导体有限公司 | Charging control chip and charging control method |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104993565A (en) * | 2015-08-05 | 2015-10-21 | 青岛海信移动通信技术股份有限公司 | Power supply adapter capable of charging directly |
CN107579558A (en) * | 2017-08-28 | 2018-01-12 | 维沃移动通信有限公司 | Charge control method, charger, charging system and computer-readable recording medium |
CN108964187A (en) * | 2018-07-24 | 2018-12-07 | 北京小米移动软件有限公司 | The charging method of terminal and terminal room |
CN111201689A (en) * | 2017-12-11 | 2020-05-26 | 深圳市柔宇科技有限公司 | Electronic equipment and charging control method |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101674366B (en) * | 2009-09-19 | 2012-03-28 | 惠州Tcl移动通信有限公司 | Mobile terminal USB, or charger inserting identification method and identification device thereof |
-
2021
- 2021-04-13 CN CN202311190302.5A patent/CN117318220A/en active Pending
- 2021-04-13 CN CN202110396553.3A patent/CN113054716B/en active Active
- 2021-04-13 CN CN202311192654.4A patent/CN117318221A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104993565A (en) * | 2015-08-05 | 2015-10-21 | 青岛海信移动通信技术股份有限公司 | Power supply adapter capable of charging directly |
CN107579558A (en) * | 2017-08-28 | 2018-01-12 | 维沃移动通信有限公司 | Charge control method, charger, charging system and computer-readable recording medium |
CN111201689A (en) * | 2017-12-11 | 2020-05-26 | 深圳市柔宇科技有限公司 | Electronic equipment and charging control method |
CN108964187A (en) * | 2018-07-24 | 2018-12-07 | 北京小米移动软件有限公司 | The charging method of terminal and terminal room |
Also Published As
Publication number | Publication date |
---|---|
CN113054716A (en) | 2021-06-29 |
CN117318221A (en) | 2023-12-29 |
CN117318220A (en) | 2023-12-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108695921B (en) | Data backup method, wireless charging device, mobile terminal and storage medium | |
CN113054716B (en) | Charging chip, charging device and mobile terminal | |
EP2472733B1 (en) | Bluetooth function providing method and terminal for computer | |
CN107453428B (en) | A kind of method of automatic identification apple and Android device | |
US10998737B2 (en) | Intelligent switch system | |
CN101534349A (en) | Method and apparatus for determining external connection device in mobile terminal | |
CN210692932U (en) | Interface conversion device and converter | |
CN111817097A (en) | Charging control method and data line | |
CN101833526B (en) | Electronic system and method for supporting host function | |
US9444277B2 (en) | Charger integrating network interface conversion apparatus | |
CN102270860A (en) | Fast charging device of intelligent mobile phone | |
CN106877462A (en) | A kind of method and charger for detecting charged state | |
CN210723605U (en) | Interface conversion device and converter | |
CN109861038A (en) | It can automatically switch the USB Port and its control method of connection mode | |
CN102332617A (en) | Portable terminal and method for identifying battery of portable terminal | |
EP2383860B1 (en) | Rapid charging apparatus | |
EP1596306A2 (en) | Universal asynchronous receiver/transmitter circuit for mobile telecommunication terminal | |
KR100651204B1 (en) | System and Method for interfacing with external device in portable terminal | |
US6246600B1 (en) | Multi-use battery | |
CN213124991U (en) | A expander and docking station for Type-C interface adapter that charges | |
CN102236374B (en) | Mainboard | |
CN112713627B (en) | Voltage control method, voltage control device, storage medium, and electronic apparatus | |
CN112199312A (en) | Interface conversion device of communication equipment and communication system | |
CN214795911U (en) | Data type control circuit and circuit board | |
CN219268916U (en) | Interface circuit of mobile electronic device, mobile electronic device and device 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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |