1. Field of the Invention
The present invention relates to sending data from two or more sources to an MIPI (Mobile Industry Processor Interface) receiver and, more particularly, to efficiently switching among the sources.
2. Background Information
Mobile phones are constrained in how many signal lines can be sent between sections of flip, clam shell and slide phones. MIPI interfaces have minimized the signal lines by serializing the transmitted data commonly found in such phones. An MIPI interface, see below, typically has a single clock “lane,” CLK, and two data “lanes,” D1 and D2, that carry serial data. These three lanes carry signals on pairs of wires, the signals often being differential. Since the MIPI is a point-to-point interface, however, a separate GPIO (general purpose I/O) signal is employed with an analog switch if two sources are sending data to an MIPI interface.
“Coupled,” and “connected” are used interchangeably herein and may include other relatively passive components that do not substantially alter the functions being described.
Some issues with the prior art include the use of an additional GPIO interface that must be separately addressed by the processor 8.
The MIPI specification is known to those skilled in the art. That specification is briefly described below to provide an environment framework for the present invention. More detailed information can be obtained by referring to the specification itself.
An MIPI interface has a high speed (HS) operation where D1 and D2 data lanes operate as a differential pair of wires to indicate a logic 1 or 0. An MIPI interface also has a Low Power (LP) and a ULP (Ultra Low Power) state or mode of operation, where each of the two wires, referenced as Dp and Dn, in the data and the clock lanes are driven independently. So in LP or ULP operation there are four possible states of the Dp and Dn wires: 11, 10, 01, and 00. Note in this notation, the values of each Dp and Dn occur at the same time In HS operation, if both the Dp and Dn signals of a data or a clock lane are driven high, for a minimum required time, that lane drives the MIPI into a STOP or CONTROL state.
When in the STOP state the sequence of data on the Dp, Dn wires may define a request to enter into other states. For example a data lane sequence of LP-11>10>00>01>00 will enter the ESCAPE STATE. Once in the ESCAPE mode, an eight bit command may be sent via “Spaced-One-Hot” coding. This coding means that sending a logic 1, termed Mark-1 or a logic 0, termed a Mark-0, is interleaved with a Space state (a zero), where each of the Mark's and Space consists of two parts. That is a Mark-1 is defined as a LP-10 (Dp=1, Dn=0), and a Mark-0 is a LP-01 and a Space is a LP-00. For example, sending a “one” via a LP MIPI interface in the ESCAPE mode would be the following sequence: LP-10>00; and sending a “zero” sequence would be LP-01>00.
In addition a clock lane may enter a STOP mode by driving both Dp and Dn of the clock lane high. From the STOP state the clock may enter the ULPS state by LP-01 or the HS state by LP-10, as discussed below.
The present invention addresses some of the issues of the prior art by interfacing two or more sources to a receiving MIPI interface without an external GPIO or other such interface two select between or among the sources. The present invention recognizes that the clock signals as defined in the MIPI specification may be used to control the selection, illustratively, between two sources.
The present invention provides selecting and connecting one of two sources to an MIPI interface without using a GPIO or other external interface module. Moreover, the selection of which source is connected to the MIPI receiver may be accomplished by decoding only clock signals Illustratively, when an MIPI source, that is a source meant to be connected to an MIPI interface, changes from a high speed state to a low speed state or vice versa, the system must first go into the STOP state, LP-11. In order to accomplish this, the clock signals exhibit a larger voltage swing. That larger voltage swing may be detected and used to select which of two sources should be connected to the MIPI interface.
Illustratively, when the STOP state is entered both of the differential clock signals of each of CLKA and CLKB go high, and, in one embodiment, both are monitored. But in other embodiments, only one of the differential clock signals of CLKA and CLKB may be monitored. The monitor/detector may be a simple logic gate, but a more accurately thresholded comparator may be used.
It will be appreciated by those skilled in the art that although the following Detailed Description will proceed with reference being made to illustrative embodiments, the drawings, and methods of use, the present invention is not intended to be limited to these embodiments and methods of use. Rather, the present invention is of broad scope and is intended to be defined as only set forth in the accompanying claims.
The invention description below refers to the accompanying drawings, of which:
During HS operation, the clock lane exhibits a low voltage differential swing used to clock in data from the data lanes. As noted above, a HS and the ULPS states will always begin and end in a STOP LP-11 state When in a HS state, the system will only allow entry into the STOP state when there are no HS transmissions on any data lane.
Still referring to
In
Referencing
The Q output of the latch 96 is the A signal from
Note that since both the CLKA and CLKB could be high at the same time, both in the STOP state, the latch 96 will remain in the state determined by the last low signal on either X or Y. In the case of
Other logic circuits (not shown), including clocked logic may be employed replacing
Note that the gates 88 and 90 of
The result is that when a Dp or Dn (or both) CLKA signal goes high, sensor B may be connected to the MIPI interface, and when a Dp or Dn (or both) CLKB goes high, sensor A may be connected to the MIPI interface.
It should be understood that above-described embodiments are being presented herein as examples and that many variations and alternatives thereof are possible. Accordingly, the present invention should be viewed broadly as being defined only as set forth in the hereinafter appended claims.
Number | Name | Date | Kind |
---|---|---|---|
3803425 | Carp | Apr 1974 | A |
3956591 | Gates, Jr. | May 1976 | A |
4347510 | Ishigaki et al. | Aug 1982 | A |
5223742 | Schumacher | Jun 1993 | A |
5262681 | Takeda | Nov 1993 | A |
5272393 | Horiguchi et al. | Dec 1993 | A |
5306962 | Lamb | Apr 1994 | A |
5831464 | Lang | Nov 1998 | A |
6335641 | Tougou | Jan 2002 | B1 |
6628146 | Tam | Sep 2003 | B2 |
6693476 | Lin | Feb 2004 | B1 |
6819915 | Lin | Nov 2004 | B2 |
6922091 | Kizer | Jul 2005 | B2 |
6975145 | Vadi et al. | Dec 2005 | B1 |
6980789 | Lin | Dec 2005 | B2 |
7532648 | Sweet | May 2009 | B2 |
7548127 | Morini et al. | Jun 2009 | B2 |
7840819 | Chang et al. | Nov 2010 | B2 |
7894491 | Batty et al. | Feb 2011 | B2 |
7969196 | Bennett et al. | Jun 2011 | B2 |
20030052806 | Hochschild | Mar 2003 | A1 |
20030141911 | Steiss et al. | Jul 2003 | A1 |
20060132190 | Driediger et al. | Jun 2006 | A1 |
20070080735 | Uladzimir | Apr 2007 | A1 |
20080048729 | Ehrenreich | Feb 2008 | A1 |
20080309375 | Schnarr | Dec 2008 | A1 |
20090049206 | Olschner et al. | Feb 2009 | A1 |
20110164663 | Safiri | Jul 2011 | A1 |
Number | Date | Country | |
---|---|---|---|
20100231285 A1 | Sep 2010 | US |