Communication device
阅读说明:本技术 一种通信装置 (Communication device ) 是由 金玮 冀晋 于 2020-05-22 设计创作,主要内容包括:一种通信装置,包括:主控芯片,包括发送端;被控芯片,包括接收端,发送端与接收端之间通过差分信号线相耦接,差分信号线包括正端和负端;正端状态检测单元,耦接正端以检测正端的单端信号;负端状态检测单元,耦接负端以检测负端的单端信号;控制单元,分别与所述正端状态检测单元、负端状态检测单元和接收端耦接,所述控制单元根据检测到的信号状态组合唤醒或睡眠所述接收端,其中,所述信号状态组合为所述正端的单端信号和负端的单端信号的信号状态组合。通过本发明方案,主控芯片和被控芯片之间无需边带信号或额外的低功耗电路既能唤醒或睡眠对端,利于降低器件成本和减小尺寸,且实现简单并能够通过信号状态的切换传递更多信息。(A communication device, comprising: the main control chip comprises a sending end; the controlled chip comprises a receiving end, the transmitting end is coupled with the receiving end through a differential signal line, and the differential signal line comprises a positive end and a negative end; the positive end state detection unit is coupled with the positive end to detect a single-ended signal of the positive end; the negative terminal state detection unit is coupled with the negative terminal to detect a single-ended signal of the negative terminal; and the control unit is respectively coupled with the positive end state detection unit, the negative end state detection unit and the receiving end, and awakens or sleeps the receiving end according to the detected signal state combination, wherein the signal state combination is the signal state combination of the single-ended signal of the positive end and the single-ended signal of the negative end. According to the scheme of the invention, the opposite end can be awakened or sleeped without a sideband signal or an additional low-power consumption circuit between the main control chip and the controlled chip, so that the cost of the device and the size are reduced, the realization is simple, and more information can be transmitted through switching of signal states.)
1. A communications apparatus, comprising:
the main control chip comprises a sending end;
the controlled chip comprises a receiving end, the transmitting end is coupled with the receiving end through a differential signal line, and the differential signal line comprises a positive end and a negative end;
a positive terminal state detection unit coupled to the positive terminal to detect a single-ended signal of the positive terminal;
a negative terminal state detection unit coupled to the negative terminal to detect a single-ended signal of the negative terminal;
and the control unit is respectively coupled with the positive end state detection unit, the negative end state detection unit and the receiving end, and awakens or sleeps the receiving end according to the detected signal state combination, wherein the signal state combination is the signal state combination of the single-ended signal of the positive end and the single-ended signal of the negative end.
2. The communication apparatus according to claim 1, wherein the signal states of the single-ended signal of the positive terminal and the single-ended signal of the negative terminal in the signal state combination for waking up or sleeping the receiving terminal are the same.
3. The apparatus according to claim 1 or 2, wherein the controlling unit combines waking up or sleeping the receiving end according to the detected signal states comprises:
when the signal state combination is 11, the control unit wakes up the receiving end, and when the signal state combination is 00, the control unit sleeps the receiving end; alternatively, the first and second electrodes may be,
and when the signal state combination is 00, the control unit wakes up the receiving end, and when the signal state combination is 11, the control unit sleeps the receiving end.
4. The communication apparatus according to claim 1, wherein the positive and negative terminal state detection units enter an inactive state after the receiving terminal is awakened.
5. The apparatus according to claim 4, wherein the positive and negative terminal state detecting units are kept in an operating state after the receiving terminal is put to sleep.
6. The communication apparatus according to claim 1 or 4, wherein the receiving end receives the signals of the positive terminal and the negative terminal respectively, and determines the start timing and the end timing of the present data transmission according to the signal status combination of the positive terminal and the negative terminal.
7. The communications apparatus as claimed in claim 6, wherein the determining, by the receiving end, the start timing and the end timing of the data transmission according to the signal status combination of the positive terminal and the negative terminal comprises:
and when the signal state combination of the positive terminal and the negative terminal is 10, the receiving terminal determines that the data transmission starts after a preset time length, and when the signal state combination of the positive terminal and the negative terminal is 01, the receiving terminal determines that the data transmission is finished.
8. The communication apparatus according to claim 1, wherein the swing amplitudes of the signals transmitted by the positive and negative terminals for waking up or sleeping the receiving terminal are larger than the swing amplitudes of the signals transmitted by the positive and negative terminals during data transmission.
9. The communication apparatus according to claim 1, wherein the positive side state detection unit includes a first comparator for detecting whether a single-ended signal of the positive side is 1 or 0; the negative terminal state detection unit includes a second comparator for detecting whether a single-ended signal of the negative terminal is 1 or 0.
10. The communication apparatus according to claim 1, wherein the main control chip further comprises:
a first control switch for switching the signal state of the positive terminal and/or the signal state of the negative terminal.
11. The communication device according to claim 1, wherein the controlled chip comprises a second control switch for switching the signal state when the positive terminal and/or the negative terminal reversely transmit;
the communication apparatus includes: the reverse positive end state detection unit is coupled with the positive end to detect a single-ended signal when the positive end reversely transmits; the reverse negative terminal state detection unit is coupled with the negative terminal to detect a single-ended signal when the negative terminal reversely transmits;
the transmitting end is coupled to the reverse positive end state detection unit and the reverse negative end state detection unit respectively to obtain a reverse signal state combination, wherein the reverse signal state combination is a signal state combination of a single-ended signal when the positive end reversely transmits and a single-ended signal when the negative end reversely transmits.
12. The communication apparatus according to claim 11, wherein during reverse transmission, the positive terminal state detection unit monitors the signal state of the positive terminal and/or the negative terminal state detection unit monitors the signal state of the negative terminal to determine whether there is a state conflict on the differential signal lines.
13. The communication device according to claim 1, wherein the master chip is an application processor and the controlled chip is a modem.
14. The communications device of claim 13, further comprising:
a shared memory module coupled to and directly accessible by the application processor, the modem coupled to the application processor via the differential signal line and indirectly accessible to the shared memory via the application processor.
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a communications apparatus.
Background
In order to meet the diversified demands of users, communication devices such as mobile phones and the like gradually expand diversified functions such as camera shooting and games in addition to the function of realizing communication. These applications may be controlled and implemented based on independent systems.
Therefore, for a communication device capable of implementing multiple applications, there are usually at least two integrated circuit chips, one of which is a modem (modem) for implementing a cellular communication function, which can be understood as a communication system; the other chip is an Application Processor (AP) for implementing functions such as shooting, displaying, 2D/3D engine, and may be understood as an Application processing system.
Generally, an application processor is used as a Master chip (Master IC) to control a Slave IC (Slave IC) modem, and a serial bus coupling is adopted between the Master IC and the Slave IC for data transmission. For example, the prior art typically employs differential signal lines to connect the application processor and the modem to achieve efficient data interaction.
However, in the existing protocols, for example, a Low Power (LP) mode (LP mode) of a Mobile Industry Processor Interface (MIPI) is used to wake up or sleep an opposite receiving end by transmitting a High voltage different from a swing amplitude of a High Speed (HS) signal as a control word. This requires additional provision of an LP circuit in the communication device or implementation by a side band (side band) signal.
Disclosure of Invention
The technical problem to be solved by the invention is to provide an improved communication device, so that the opposite end can be woken up or sleeped without a sideband signal or an additional low-power-consumption circuit between a main control chip and a controlled chip.
To solve the above technical problem, an embodiment of the present invention provides a communication apparatus, including: the main control chip comprises a sending end; the controlled chip comprises a receiving end, the transmitting end is coupled with the receiving end through a differential signal line, and the differential signal line comprises a positive end and a negative end; a positive terminal state detection unit coupled to the positive terminal to detect a single-ended signal of the positive terminal; a negative terminal state detection unit coupled to the negative terminal to detect a single-ended signal of the negative terminal; and the control unit is respectively coupled with the positive end state detection unit, the negative end state detection unit and the receiving end, and awakens or sleeps the receiving end according to the detected signal state combination, wherein the signal state combination is the signal state combination of the single-ended signal of the positive end and the single-ended signal of the negative end.
Optionally, in the signal state combination for waking up or sleeping the receiving end, the signal state of the single-ended signal of the positive end is the same as that of the single-ended signal of the negative end.
Optionally, the combining, waking up or sleeping the receiving end by the control unit according to the detected signal states includes: when the signal state combination is 11, the control unit wakes up the receiving end, and when the signal state combination is 00, the control unit sleeps the receiving end; or, when the signal state combination is 00, the control unit wakes up the receiving end, and when the signal state combination is 11, the control unit sleeps the receiving end.
Optionally, after the receiving end is awakened, the positive terminal state detection unit and the negative terminal state detection unit enter a non-working state.
Optionally, after the receiving end is put to sleep, the positive end state detection unit and the negative end state detection unit are kept in a working state.
Optionally, the receiving end receives the signals of the positive terminal and the negative terminal respectively, and determines the start timing and the end timing of the data transmission according to the signal state combination of the positive terminal and the negative terminal.
Optionally, the determining, by the receiving end, the start timing and the end timing of the data transmission according to the signal state combination of the positive terminal and the negative terminal includes: and when the signal state combination of the positive terminal and the negative terminal is 10, the receiving terminal determines that the data transmission starts after a preset time length, and when the signal state combination of the positive terminal and the negative terminal is 01, the receiving terminal determines that the data transmission is finished.
Optionally, the swing amplitudes of the signals transmitted by the positive terminal and the negative terminal for waking up or sleeping the receiving terminal are greater than the swing amplitudes of the signals transmitted by the positive terminal and the negative terminal during data transmission.
Optionally, the positive end state detection unit includes a first comparator, and the first comparator is configured to detect whether a single-ended signal of the positive end is 1 or 0; the negative terminal state detection unit includes a second comparator for detecting whether a single-ended signal of the negative terminal is 1 or 0.
Optionally, the main control chip further includes: a first control switch for switching the signal state of the positive terminal and/or the signal state of the negative terminal.
Optionally, the controlled chip includes a second control switch for switching a signal state when the positive terminal and/or the negative terminal reversely transmit; the communication apparatus includes: the reverse positive end state detection unit is coupled with the positive end to detect a single-ended signal when the positive end reversely transmits; the reverse negative terminal state detection unit is coupled with the negative terminal to detect a single-ended signal when the negative terminal reversely transmits; the transmitting end is coupled to the reverse positive end state detection unit and the reverse negative end state detection unit respectively to obtain a reverse signal state combination, wherein the reverse signal state combination is a signal state combination of a single-ended signal when the positive end reversely transmits and a single-ended signal when the negative end reversely transmits.
Optionally, during reverse transmission, the positive terminal state detection unit monitors the signal state of the positive terminal, and/or the negative terminal state detection unit monitors the signal state of the negative terminal, so as to determine whether there is a state conflict on the differential signal lines.
Optionally, the master control chip is an application processor, and the controlled chip is a modem.
Optionally, the communication device further includes: a shared memory module coupled to and directly accessible by the application processor, the modem coupled to the application processor via the differential signal line and indirectly accessible to the shared memory via the application processor.
Compared with the prior art, the technical scheme of the embodiment of the invention has the following beneficial effects:
an embodiment of the present invention provides a communication apparatus, including: the main control chip comprises a sending end; the controlled chip comprises a receiving end, the transmitting end is coupled with the receiving end through a differential signal line, and the differential signal line comprises a positive end and a negative end; a positive terminal state detection unit coupled to the positive terminal to detect a single-ended signal of the positive terminal; a negative terminal state detection unit coupled to the negative terminal to detect a single-ended signal of the negative terminal; and the control unit is respectively coupled with the positive end state detection unit, the negative end state detection unit and the receiving end, and awakens or sleeps the receiving end according to the detected signal state combination, wherein the signal state combination is the signal state combination of the single-ended signal of the positive end and the single-ended signal of the negative end.
Compared with the existing awakening/sleeping mechanism between the master chip and the slave chip, the communication device adopting the scheme of the embodiment can awaken or sleep the opposite terminal without a sideband signal or an additional low-power-consumption circuit between the master chip and the slave chip, is beneficial to reducing the cost of devices and the size, is simple to realize and can transmit more information through switching of signal states. Specifically, the edge deletion of the differential single-terminal voltage amplitude is used as a judgment sign for state switching. Furthermore, the embodiment controls the receiving end and the transmitting end according to a single end, so that more signal states can be obtained and more messages can be transmitted.
Further, in the signal state combination for waking up or sleeping the receiving end, the signal state of the single-ended signal of the positive end is the same as that of the single-ended signal of the negative end. Therefore, two signal states of double-end high/double-end low are added on the basis of the original differential signal. That is, the control word is transmitted by using two abnormal states of the high-speed differential signal line, so that the sleep or wake-up control of the receiving end is realized. Further, because of the peer-to-peer control implemented using the differentially driven abnormal state, little or no additional circuitry support is required within the communication device. Further, more information can be transferred by switching of the abnormal state.
Drawings
Fig. 1 is a schematic diagram of a first communication device according to an embodiment of the present invention;
fig. 2 is a schematic diagram of signal swing when the communication device transmits signals through differential signal lines according to the embodiment of the present invention;
fig. 3 is a schematic diagram of a second communication device according to an embodiment of the present invention.
Detailed Description
As described in the background, in the existing communication apparatus, an LP circuit needs to be additionally provided or wake-up or sleep control between a master chip and a slave chip is realized through a sideband (sideband) signal.
To solve the above technical problem, an embodiment of the present invention provides a communication apparatus, including: the main control chip comprises a sending end; the controlled chip comprises a receiving end, the transmitting end is coupled with the receiving end through a differential signal line, and the differential signal line comprises a positive end and a negative end; a positive terminal state detection unit coupled to the positive terminal to detect a single-ended signal of the positive terminal; a negative terminal state detection unit coupled to the negative terminal to detect a single-ended signal of the negative terminal; and the control unit is respectively coupled with the positive end state detection unit, the negative end state detection unit and the receiving end, and awakens or sleeps the receiving end according to the detected signal state combination, wherein the signal state combination is the signal state combination of the single-ended signal of the positive end and the single-ended signal of the negative end.
By adopting the communication device of the scheme of the embodiment, the opposite end can be awakened or sleeped without a sideband signal or an additional low-power circuit between the main control chip and the controlled chip, the cost of the device is reduced, the size is reduced, and the communication device is simple to realize and can transmit more information through switching of signal states. Specifically, the edge deletion of the differential single-terminal voltage amplitude is used as a judgment sign for state switching. Furthermore, the embodiment controls the receiving end and the transmitting end according to a single end, so that more signal states can be obtained and more messages can be transmitted.
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in detail below.
Fig. 1 is a schematic diagram of a first communication device according to an embodiment of the present invention.
The communication device can be a user equipment such as a mobile phone.
Specifically, referring to fig. 1, the communication apparatus 1 according to the present embodiment may include: the
Further, the communication apparatus 1 may further include a controlled
Further, the
In one implementation, the transmitter 111 and the
The
In one implementation, with continued reference to fig. 1, the communication device 1 may further include: the positive terminal
For example, the positive terminal
Further, the positive terminal
In one implementation, with continued reference to fig. 1, the communication device 1 may further include: the negative terminal
For example, the negative terminal
Further, the negative terminal
In one implementation, with continued reference to fig. 1, the communication device 1 may further include: a
Thus, the communication device 1 according to the present embodiment uses the edge deletion of the differential single-terminal voltage amplitude as the determination flag for the state switching. Specifically, both the transmitting end and the receiving end (i.e., the transmitting end 111 and the receiving end 121) are controlled by a single end, and the controlled
In one implementation, the
Further, the
In one implementation, in the combination of signal states for waking up or sleeping the receiving
Specifically, since the positive terminal Vp and the negative terminal Vn of the
Therefore, two signal states of double-end high/double-end low are added on the basis of the original differential signal. That is, the control word is transmitted by using the two abnormal states of the high-speed
In one embodiment, the
In a variation, when the signal state combination is 00, the
In one embodiment, the receiving
Specifically, the signal transmitted by the
For example, when the signal states of the positive terminal Vp and the negative terminal Vn are combined to be 10, the receiving
The preset duration may be a value configured by the protocol, such as 200 ns.
TABLE 1
In a typical application scenario, referring to fig. 1 and table 1, assuming that the controlled chip 12 (or at least the receiving
First, the transmitting terminal 111 of the
The positive terminal
In response to the received signal status of the positive terminal Vp and the signal status of the negative terminal Vn being both 1, the
Further, after the receiving
Further, after sending the double-ended high signal, the
In response to receiving the DiFP signal, the receiving
Further, after the preset duration, the
After the data transmission is completed, the transmitting end 111 of the
In response to receiving the din signal, the receiving
Further, the
In response to both the received signal state of the positive terminal Vp and the signal state of the negative terminal Vn being 0, the
Further, after the receiving
The application scenario can realize the fusion of a wake-up/sleep mechanism and a burst mode.
In one implementation, in the data transmission phase, a high-speed signal may be transmitted between the transmitting end 111 and the receiving
For example, referring to fig. 2, the Swing amplitude (Signal Swing) of the signals transmitted by the positive terminal Vp and the negative terminal Vn for waking up or sleeping the receiving
Therefore, the
In a specific implementation, the
For example, the first control switch can switch the signal states of the positive terminal Vp and the negative terminal Vn simultaneously.
For another example, the number of the first control switches may be two and used for switching the signal states of the positive terminal Vp and the negative terminal Vn, respectively.
In one embodiment, the controlled
Further, the communication apparatus 1 may include: a reverse positive terminal status detecting unit (not shown) coupled to the positive terminal Vp for detecting a single-ended signal when the positive terminal Vp is in reverse transmission; a reverse negative terminal state detection unit (not shown) coupled to the negative terminal Vn for detecting a single-ended signal when the negative terminal Vn transmits in a reverse direction. Wherein, the aforementioned description about the positive terminal
Further, the transmitting end 111 is coupled to the reverse positive end state detection unit and the reverse negative end state detection unit respectively to obtain a reverse signal state combination, where the reverse signal state combination is a signal state combination of a single-ended signal when the positive end Vp reversely transmits and a single-ended signal when the negative end Vn reversely transmits.
Further, different reverse signal state combinations may be used to convey different messages.
For example, the inverse signal state combinations include: 00. 01, 10 and 11. I.e. double ended low level, positive side low level negative side high level, positive side high level negative side low level and double ended high level.
Thus, by adding a simple switch (switch) to the receiving
In one implementation, during reverse transmission, the positive terminal
For example, when the
In one implementation, referring to fig. 3, the communication device 1 may further include: a shared memory module 14, the application processor (i.e. the master chip 11) is coupled with the shared memory module 14 and can directly access the shared memory module 14, and the modem (i.e. the slave chip 12) is coupled with the application processor through the
For example, the application processor executes the aforementioned wake mechanism (e.g., sending a two-terminal high control word) to wake up the modem, and the woken up modem accesses the shared memory module 14 through the application processor to read/write data. The read/write data is transmitted at high speed between the application processor and the modem via differential signal lines 13.
After the data read/write is completed, the application processor executes the sleep mechanism (e.g., sending dual-ended low control word) to put the modem into a sleep state.
By adopting the scheme of the embodiment, the
The "logic high level" (i.e., high level) and the "logic low level" (i.e., low level) are relative logic levels in this embodiment. "logic high level" refers to a level range that can be recognized as a digital signal "1", and "logic low level" refers to a level range that can be recognized as a digital signal "0", and the specific level range thereof is not particularly limited.
Although the present invention is disclosed above, the present invention is not limited thereto. Various changes and modifications may be effected therein by one skilled in the art without departing from the spirit and scope of the invention as defined in the appended claims.
- 上一篇:一种医用注射器针头装配设备
- 下一篇:用于设计程序下载器的方法和程序下载器系统