# Patent

## Title
Asynchronous coupling and decoupling of chips

## Abstract

In some embodiments, a chip includes first and second nodes, a variable voltage source, and transmitter and control circuitry. The transmitter includes a driver coupled to the first and second nodes, and first and second resistive structures coupled between the first and second nodes, respectively, and the variable voltage source. The control circuitry selects an impedance level for the first and second resistive structures, and detect coupling of a remote receiver to the transmitter through interconnects and detect decoupling of the remote receiver from the transmitter. Other embodiments are described and claimed.

## Background
RELATED APPLICATION
The present application is a continuation of application Ser. No. 10/334,735, filed Dec. 31, 2002, now U.S. Pat. No. 6,906,549. Application Ser. Nos. 10/334,735 and 10/334,737 entitled “Compliance Testing Through Test Equipment” were filed on the same day, have overlapping specifications. Application Ser. Nos. 10/334,735 and 10/334,751 entitled “Remote Receiver Detection” were filed on the same day and essentially the same specifications.


BACKGROUND
1. Technical Field
The present inventions relate to techniques for a chip to asynchronously couple to and decouple from another chip.
2. Background Art
Various techniques have been developed for chips to communicate with each other. The techniques include those that have been standardized and those that have not been standardized. An example of standardized techniques include versions of the Peripheral Chip Interconnect (PCI) Local Bus Specification, such as a PCI Local Bus Specification rev. 2.2, dated Dec. 18, 1998, by the PCI Special Interest Group (SIG). A PCI Express specification, formerly known as 3GIO (3rd generation input output), is in the process of being defined by the PCI SIG. A PCI Express Base Specification Revision 1.0, Jul. 22, 2002, has been released and is available with the payment of a fee.
Techniques are used to indicate to a first chip that a second chip is coupled to it. For example, presence detect methods involving generating a side band presence detect signal and providing it to the first chip to indicate the second chip is coupled to the first. The presence detect signal can be generated when a card including the second chip is inserted in a slot such that the second chip is coupled to the first chip. A drawback in the presence detect method is that it is not very scalable or versatile.
Another technique to indicate that the second chip is coupled to the first is for the first chip to periodically attempt to train the second chip. If the second chip responds to the training sequence, the first chip learns that it is coupled to the second chip. A drawback with this approach is it takes a relatively large amount of power to regularly try to train a chip that is not present.
Signals are often applied differentially on two conductors (interconnects). The term “common mode” refers to the average voltage on the conductors. A potential danger in connecting one chip with another occurs when the common mode of one chip is significantly higher than that of another. In that case, when the chips are coupled, the gate oxide of the transistors of the receivers might be destroyed through excessive voltage.
Systems have used capacitors in series with conductors to pass the difference between signals on the two conductors, but not the common mode under ordinary operation. However, during a hot plug insertion of a chip, the chips may be exposed to the others common mode, potentially leading to destroying of transistor gate oxide.



BRIEF DESCRIPTION OF THE DRAWINGS
The inventions will be understood more fully from the detailed description given below and from the accompanying drawings of embodiments of the inventions which, however, should not be taken to limit the inventions to the specific embodiments described, but are for explanation and understanding only.
FIG. 1 is a schematic block diagram representation of a system including chips according to some embodiments of the inventions.
FIG. 2 is a schematic block diagram representation of details of FIG. 1 according to some embodiments of the inventions while chip B is not coupled to chip A.
FIG. 3 is a schematic block diagram representation of details of FIG. 1 according to some embodiments of the inventions while chip B is coupled to chip A.
FIG. 4 is a schematic block diagram representation of details included in some embodiments of FIGS. 2 and 3.
FIG. 5 is a schematic block diagram representation of details included in some embodiments of FIGS. 2 and 3.
FIG. 6 is a schematic block diagram representation of details included in some embodiments of FIGS. 2 and 3.
FIG. 7 is a schematic block diagram representation of a receiver including a receiving bias network included in some embodiments of the inventions.
FIG. 8 is a schematic block diagram representation of a system according to some embodiments of the inventions while chip B is not coupled to chip A.
FIG. 9 is a schematic block diagram representation of a system according to some embodiments of the inventions while chip B is coupled to chip A.
FIG. 10 is a schematic block diagram representation of a system using a bi-directional signaling according to some embodiments of the inventions.
FIG. 11 is a schematic block diagram representation of a system using single ended signaling according to some embodiments of the inventions.
FIG. 12 is a timing diagram illustrating data signals D+ and D− that may be used in some embodiments of the inventions.



DETAILED DESCRIPTION
FIG. 1 illustrates a system 10 having a first chip (chip A) and a second chip (chip B) coupled through a link 14. Transmitters TXA1 . . . TXAN of chip A are coupled to remote receivers RXB1 . . . RXBN of chip B through interconnects 30-1, 32-1 . . . 30-N, 32-N of link 14. Likewise, remote transmitters TXB1 . . . TXAM of chip B are coupled to local receivers RXA1 . . . RXAM of chip A through interconnects 36-1, 38-1 . . . 36-M, 38-M of link 14. N may be the same number as or a different number than M. In this description, the terms local and remote are from the perspective of transmitters TXA1 . . . TXAN of chip A.
In an ordinary data transmitting state, logic 24 provides VoutA1+, VoutA1− . . . VoutAN+, VoutAN− signals to transmitters TXA1 . . . TXAN which transmit these as differential signals D+ and D− on interconnects 30-1, 32-1 . . . 30-N, 32-N. Receivers RXB1 . . . RXBN convert the differential signals back to single ended signals VinB1 . . . VinBN for logic 34, although they could be kept as differential signals. Receivers RXB1 . . . RXBN may invert the received signal or not invert it.
Chips A and B may be chips on a card(s), motherboard(s), or other substrate(s). The interconnects include one or more of the following: slots, fingers, traces, and other conductive materials that may be present between the chips. There may be more than one chip on a card, motherboard, or other substrate. Multiple chips may be coupled to one or more than one chip.
FIG. 1 illustrates decoupling capacitors CAC1-1 and CAC2-1, CAC1-N and CAC2-N, CAC3-1 and CAC4-1, CAC3-M and CAC4-M in series in interconnects 30-1 and 32-1, 30-N and 32-N, 36-1 and 38-1, and 36-M and 38-M, respectively. The decoupling capacitors block direct current (DC) voltage but pass higher frequency signals. Decoupling capacitors CAC1-1, CAC2-1, CAC1-N, and CAC2-N are illustrated as being on the interconnect externally from the chip, whilst decoupling capacitors CAC3-1, CAC4-1, CAC3-M, and CAC4-M are illustrated as being in the chip. However, each of the decoupling capacitors could be external. Depending on the capacitance of the decoupling capacitors, it may be impractical to have a decoupling capacitor on die. For example, the decoupling capacitors may be about 75 nanofarads, although they may be more or less than that. The decoupling capacitors may be in the chip package, on a card supporting the chip, on the motherboard or elsewhere. The label 30-1 is intended to be the label for the interconnect on each side of decoupling capacitor CAC1-1. Some embodiments do not include decoupling capacitors (see, for example, FIGS. 8 and 9, discussed below).
In the ordinary data transmitting state, the AC swing of data signals D+ and D− passes through the decoupling capacitors, but the common mode does not. Accordingly, the signals on either side of the decoupling capacitors may be called D+ and D−, but the DC offset of these signals may be different.
The inventions are not restricted to a particular type of signaling. In some embodiments, the signaling may be of the type in which the clock is recovered from the data signals D+ and D− and used to provide a sampling clock in phase with the data. However, other types of signaling may be used. The data signals D+ and D− may represent traditional data as well as command signals, although that is not required. For example, commands may be provided through different interconnects than the data. The command and traditional data may be packetized or time multiplexed, although that is not required. The signaling may be uni-directional or sequential or simultaneous bi-directional (see, for example, FIG. 10, discussed below).
In some embodiments, the link includes lanes, where a lane is formed of interconnects between two opposite pairs of transmitters and receivers. For example, a lane might include interconnects 30-1, 32-1, 36-1, and 38-1, where interconnects 30-1 and 32-1 carry signals from chip A to chip B and interconnects 36-1 and 38-1 carry signals from chip B to chip A. However, the use of such lanes is not required.
The inventions may be implemented in systems that are compliant with a PCI Express specification and also in systems that are not PCI Express compliant.
A. Detection of Whether a Transmitter is Coupled to a Receiver
In some embodiments, the inventions involve techniques for detecting whether chips A and B are coupled through the interconnects. More precisely, the techniques involve inferring whether a receiver is coupled to a transmitter through analyzing a voltage change on a node or nodes and determining whether the voltage change is consistent with a remote receiving being coupled through the interconnects to the transmitter.
Two chips are functionally coupled if (1) they are physically coupled through the interconnect and (2) both chips have power. There are two ways in which one chip (e.g., chip B) can be functionally coupled to or decoupled from another chip (e.g., chip A). First, a powered chip B can be physically coupled to or decoupled from chip A through attachments points and interconnects. Second, an unpowered chip that is physically coupled to the other chip can become powered, or a powered chip can become unpowered. Some chips detect a physically coupled remote receiver only if the receiver is also functionally coupled. Other chips detect a physically coupled remote receivers even if it does not have power.
FIG. 2 illustrates chips A and B not being coupled and FIG. 3 illustrates chips A and B being coupled through interconnects 30-1 and 32-1. A variable voltage source Vbias1 is changed from a first voltage V1 to a second voltage V2 and change detection circuitry 80 detects changes in the voltages of output node 48 (V48) and/or node 50 (V50). In the following discussion, it is assumed that change detection circuitry 80 is monitoring both node 48 and node 50, but it could monitor only node 48 or only node 50. Transmitter TXA1 includes driver 42 and resistive structures 60 and 62. In the ordinary data transmission state, in response to input signals VoutA1+ and VoutA1−, driver 42 provides differential signals D+ and D− on nodes 48 and 50 and interconnects 30-1 and 32-1. In some embodiments, driver 42 includes a current source and two switches controlled by VoutA1+ and VoutA1−. The two switches are coupled between the current source and nodes 48 and 50. However, the inventions are not limited to these details. In some embodiments, in a remote receiver detection state, driver 42 turns off (both switches off) and D+ and D− are pulled to the same value (called an electrical idle state) through resistive structures 60 and 62. As explained below, in some embodiments, during ordinary data transmission state, resistive structures 60 and 62 have low impedances (and match the impedances of the interconnects), and during the remote receiver detection state, resistive structures 60 and 62 have high impedances. In embodiments in which Vbias is greater than ground, driver 42 may terminate to ground. In embodiments in which Vbias is at ground, driver 42 may terminate at higher than ground.
There are various techniques by which change detection circuitry 80 and control circuitry 90 may determine whether the change in V48 and V50 are consistent with the transmitter being coupled to a remote receiver through interconnects. Under one technique, change detection circuitry 80 measures how long it takes after Vbias changes voltage for both V48 and V50 to reach a threshold voltage and compares that length of time with a threshold length of time. The threshold voltage may be V2 or less than V2. Control circuitry 90 concludes from the comparison whether a remote receiver is coupled to the transmitter. For example, if the measured length of time is less than (or less than or equal to depending on the implementation) the threshold length of time, the conclusion would be that the remote receiver is not coupled. If the measured length of time is greater than (or greater than or equal to depending on the implementation) the threshold length of time, the conclusion would be that the remote receiver is coupled.
Under another technique, change detection circuitry 80 measures V48 and V50 at a particular length of time after Vbias changes voltage and compares the measured V48 and V50 with a threshold voltage. The threshold voltages in the two techniques may be the same or different. The threshold voltage may be V2 or less than V2. Control circuitry 90 concludes from the comparison whether a remote receiver is coupled to the transmitter. For example, if the measured voltages are each less than (or less than or equal to depending on the implementation) the threshold voltage, the conclusion would be that the remote receiver is coupled. If the measured voltages are each greater than or (greater than or equal to depending on the implementation) the threshold voltage, the conclusion would be that the remote receiver is not coupled. Still other techniques could be used.
In the example of FIG. 2, control circuitry 90 is operating in a state that assumes receiver RXB1 is not coupled to TXA1. To determine whether a remote receiver (RXB1) has become coupled to TXA1, control circuitry 90 causes Vbias1 to change from a first voltage V1 to a second voltage V2. V1 may be more or less than V2. Merely as an example, voltage V1 is 1.0 volts and voltage V2 is 1.5 volts, although various other voltages could be used for V1 and V2. In the example, prior to the change, Vbias1 has been 1.0 volts and nodes 48 and 50 are at 1.0 volts or essentially 1.0 volts. When Vbias1 changes to 1.5 volts, nodes 48 and 50 change to 1.5 almost instantaneously. The small amount of pad capacitance Cpad1 and Cpad1 is negligible for all practical purposes. There is also some capacitance in decoupling capacitors CAC1-1 and CAC2-1, but since they are not coupled on the other end, they are not significant. The voltages V48 and V50 will rapidly reach the threshold voltage such that control circuitry 90 will conclude the remote receiver is not coupled to TXA1.
Referring to FIG. 3, chips A and B are coupled such that attachment points AP1 meets AP3 and attachment point AP2 meets attachment point AP4. (There may also be attachment points, which are not shown, between chip A and the interconnects.) Initially, control circuitry 90 is in a state that assumes the remote receiver is not coupled to TXA1. To determine whether RXB1 has become coupled to TXA1, control circuitry 90 causes Vbias1 to change from V1 to V2. In the example, before the change, nodes 48 and 50 are at V1 or essentially at V1. When Vbias1 changes to V2, nodes 48 and 50 essentially instantaneously change to intermediate voltage values which may be called the instantaneous voltage Vinst48 and Vinst50, respectively, and then change exponentially from Vinst48 and Vinst50 to V2 as a function of resistance and capacitance. The decoupling capacitors CAC1-1 and CAC2-1 provide most of the capacitance.
For practical purposes, Vinst48 =Vchange R70/(R60+R70), where Vchange=V2−V1, and R60 and R70 are the resistance of resistive structures 60 and 70. For practical purposes, Vinst50=Vchange R72/(R62+R72), where R62 and R72 are the resistance of resistive structures 62 and 72. If R60=R70 (and R62=R72), then Vinst48 and Vinst50 are each (V2−V1)/2. If R60>R70 and R62>R72, then Vinst48 and Vinst50 are each <(V2−V1)/2, and if R60<R70 and R62<R72, then Vinst48 and Vinst50 are each >(V2−V1)/2. For reasons explained below, it is desirable for R60 and R62 to each be much greater than R70 and R72. Under either technique described above, the result of the comparison by change detection circuitry 80 is such that control circuitry 90 concludes the remote receiver (RXA1) is coupled to transmitter TXA1.
Once it is determined that a remote receiver is coupled through the interconnects, TXA1 can proceed to communicate with the remote receiver through additional actions (e.g., training and configuration). At some point, TAX1 changes to the ordinary data transmitting state in which resistive structures have low impedance and driver 42 is on providing differential D+ and D−.
Transmitters in chip B may also check to see if they are coupled to receivers. Transmitters of chip B may be like those of chip A and the receivers of chip A may be like those of chip B.
Resistive structures 60, 62, 70, and 72 may have constant resistance or variable resistance. Some of resistive structures 60, 62, 70, and 72 may have constant resistance and others of resistive structures 60, 62, 70, and 72 may have variable resistance. FIG. 4 illustrates an implementation in which resistive structure 60 has variable resistance. In the example of FIG. 4, resistive structure 60 includes a passive resistive elements 104-1 . . . 104-N and active resistive elements p-type field effect transistor (PFETs) 106-1 . . . 106-N, where N may be the same or different than N in FIG. 1. The PFETs may be metal oxide semiconductor PFETs (PMOSFETs) or some other type of FET. PFETs 106-1 . . . 106-N are turned on or off through control circuitry 90. When all the PFETS 106-1 . . . 106-N are on, the resistance is less than when only one is on. The desired resistance may be achieved through selecting a particular number of transistors. Node 48 is decoupled from Vbias1 when all the PFETS are off. When all the PFETs are off, the impedance of resistive element 60 is extremely high (e.g., several hundred thousands ohms.) In other embodiments, there may be only one passive resistive element (e.g., element 104-1 in series with the parallel PFETs 106-1 . . . 106-N). An example of a constant resistance resistive structure is merely a passive resistive element.
An advantage of having resistive structures 70 and 72 be variable resistance structures like those of FIG. 4 is that when no power is applied, they have a very high impedance (e.g., several hundred thousand ohms). In this way, when no power is applied to chip B, even if it is coupled to chip B, control circuitry 90 will not detect its presence. Resistive structures 70 and 72 may terminate energy on the interconnects.
Referring to FIG. 1, each transmitter (TXA1 . . . TXAN) can separately determine whether it is coupled to a remote receiver through interconnects. Alternatively, the decision can be made for all transmitters or a subset of them if control circuitry 90 concludes one or more remote receivers are coupled. Transmitters may share a variable voltage source Vbias1. There may be more than one variable voltage source in the chip.
FIG. 5 illustrates a way in which Vbias1 can change from V1 to V2 in FIGS. 2 and 3. Voltages V1 and V2 are supplied to a switch 116 which passes either V1 or V2 to Vbias1 under the control of control circuitry 90.
FIG. 6 illustrates resistive structures 60 and 62 and variable voltage source Vbias1 according to some embodiments of the system of FIGS. 2 and 3. The inventions do not require the details of FIG. 6. Variable voltage source Vbias1 is split between sub-voltage sources Vbias1-1 and Vbias1-2. Resistive structure 60 is split between sub-resistive structures 60-1 and 60-2 and resistive structure 62 is split between sub-resistive structures 62-1 and 62-2. Vbias1-2 is provided by switch 116. In some embodiments, in the ordinary data transmitting state, sub-resistive structures 60-1 and 62-1 are on such that the voltage of sub-voltage source Vbias1-1 is passed to nodes 48 and 50. In the remote receiver detection state, sub-resistive structures 60-1 and 62-1 are off thereby effectively decoupling nodes 48 and 50 from Vbias1-1, and sub-resistive structures 60-2 and 62-2 are on such that the voltage of Vbias1-2 is passed to nodes 48 and 50. Resistive structures 60-2 and 62-2 may be turned off in the ordinary data transmitting state or by left on during that state. In some embodiments, the voltage of Vbias1-1 is Vcc, V1 is the DC common mode and V2 is Vcc.
In some embodiments, during the ordinary data transmitting state, resistive structures 60 and 62 have low impedance, and during the remote receiver detection state, resistive structures 60 and 62 have high impedance. One way for this to be accomplished is during the ordinary data transmitting state, for resistive structures 60-1 and 62-1 to have low impedance, and during the remote receiver detection state, for resistive structures 60-2 and 62-2 to have high impedance. Resistive structures 60-2 and 62-2 may stay having high impedance or turn off during the ordinary data transmitting state. If the state resistive structures are used for both low and high impedance, the impedance can be adjusted as described in connection with FIG. 4. Resistive structures 60-1, 62-1, 60-2, and 62-2 may each have only one impedance level while they are on or control circuitry 90 may have the ability to place them each in different impedances.
Referring to FIGS. 2 and 3, RXB1 includes receiving circuitry 44 and resistive structures 70 and 72. In some embodiments, Vbias2 is a ground voltage node. However, generally, Vbias1 may be higher than, equal to, or lower than Vbias2. In some embodiments, Vbias2 is at ground, but receiving circuitry 44 is at another common mode. Referring to FIG. 7, this can be accomplished through a receiver bias network 120 that is coupled between nodes 54 and 56 (see FIGS. 2 and 3) and receiving circuitry 44. Network 120 includes blocking capacitors C1block and C2block to block DC voltages between nodes 54 and 56 and nodes 132 and 134, respectively. Bias resistors 124 and 126 act as voltage dividers between power (Vcc) and ground (Vss) for node 132 and bias resistors 128 and 130 act as voltage dividers between power (Vcc) and ground (Vss) for node 134. Resistors 124 and 126 may have equal resistances leading node 132 to be Vcc/2 or they may be different to provide another voltage for node 132. The same is true with node 134. Resistors 124, 126, 128, and 130 may be active and/or passive components. Node 132 is at the positive input and node 134 is at the negative input of differential receiver circuitry 44. Of course, which is connected to the positive input and which is connected to the negative input can be switched leading to an inverted signal. In some embodiments, C1block and C2block have much greater capacitances than gate-to-source capacitances in the input transistors of receiver circuitry 44.
The common mode is |D++D−|/2. For example on the receiver, if D+ is 400 millivolts (mV) and D− is −400 mV, the common mode is zero volts. As another example, if D+ is 1000 mV and D− is −200 mV, the common mode is 600 mV. In both examples, the differential swing is 800 mV. See FIG. 12. In electrical idle, D+=D− so that the common mode equals D+=D−.
In PCI Express terminology, the system is in a detect.quiet state when control 90 understands a receiver is not coupled to TXA1 through an interconnect. During the detect.quiet state, TXA1 holds a particular common mode for a specified amount of time. TXA1 may be in a high impedance electrical idle state in which D+=D−. In PCI Express, if the transmitter was not in an high impedance state, upon entry it transition to the high impedance state immediately without sending the electrical idle ordered set. A detect.active state is entered after a particular time in the detect.quiet state (e.g., 12 milliseconds (ms)) or when the operating DC common mode voltage is stable and within specification. In detect.active, a receiver detect process is performed as discussed above. If a receiver is not detected, the system returns to the detect.quiet state. If a receiver is detected, the system enters a detect.charge state in which the transmitter is in a high impedance electrical idle state and charges nodes 48 and 50 to the operating common mode. The next state is polling after a 12 ms timeout or when the operating DC common mode voltage is stable and within specifications. As noted, the inventions do not have to be implemented in according to the PCI Express standard.
In some embodiments, decoupling capacitors are not included in the interconnects. For example, FIGS. 8 and 9 include systems very similar to those of FIGS. 2 and 3, except that in FIGS. 8 and 9, the interconnects 30-1 and 32-1 do not include decoupling capacitors. Since the decoupling capacitors slowed the exponential rise, V48 and V50 may reach the threshold voltage quicker in the case of FIG. 9 than in the case of FIG. 3.
FIGS. 2, 3, 8, and 9 illustrate unidirectional signaling. By contrast, FIG. 10 illustrates a system including bi-directional signaling. Referring to FIG. 10, chip A includes transmitter TXA and receiver RXA that share interconnects 172 and 174 with transmitter TXB and receiver RXB of chip B. Transmitter TXA includes resistive structures 152 and 154 and driver 142. Receiver RXA includes resistive structures 152 and 154 and receiving circuitry 146. Transmitter TXB includes resistive structures 156 and 158 and driver 148. Receiver RXB includes resistive structures 156 and 158 and receiving circuitry 144. When transmitter TXA is detecting whether RXB is coupled, voltage Vbias4 may change. When transmitter TXB is detecting whether RXA is coupled, voltage Vbias5 may change. The system may perform sequential (time multiplexed) or simultaneous (e.g., multi-voltage level) bi-directional signaling. Chips A and B may include additional transmitters and receivers.
FIGS. 2, 3, 8, 9, and 10 have included differential interconnect signaling. However, as illustrated in FIG. 11, single ended interconnect signaling may be used. For example, in FIG. 11, chip a includes a transmitter TXA having a single ended driver 162 and a resistive structure 166. TXA can detect whether receiver RXB is coupled by changing the voltage of Vbias1. RXB includes receiving circuitry 164 and resistive structure 168 coupled to voltage Vbias2 (e.g., ground).
The various embodiments may mix and match the different features illustrated in the figures. For example, bi-directional signaling of FIG. 10, may be single ended as in FIG. 11 and/or not include decoupling capacitors as in FIGS. 8 and 9.
B. Asynchronous Coupling and Decoupling of Chips
This section discusses techniques for asynchronous coupling and decoupling chips. In this context “asynchronous” means that one chip (e.g., chip B) may be coupled to another chip (e.g., chip A) or decoupled from the other chip without the other chip having foreknowledge of the coupling or decoupling. This may be called surprise coupling and decoupling or hot plugging. The coupling and decoupling may be physical or functional. Physical coupling may be called insertion and physical decoupling may be called removal.
1. Decoupling
Consider a transition from FIG. 3 to FIG. 2. Assume that following a time when chips A and B are actively communicating with each other that attachment points AP1 . . . AP4 are physically separated. There are various ways in which the knowledge of the decoupling can occur. One way is that control circuitry 90 of logic 24 will notice that the inputs of the local receivers of chip A have sensed an unexpected electrical idle for a particular amount of time (input signal D+=input signal D−). Note that there may be an expected electrical idle during a low power state. Another way is for transmitter TXA1 to periodically perform a detection procedure as is described above. The periodic detection may be particularly useful during a low power state. (Note that in this context, periodically means regularly, but not necessarily equally spaced.) Still another way is through some side band signal (such as a presence detect signal), although as discussed above, some embodiments of the invention do not utilize side band presence detect signals. If chips A and B are decoupled before chip A realizes chip B is physical coupled (for example, because they are not functionally coupled), then in some embodiments, nothing changes because of the decoupling.
Surprise decoupling can occur in at least two possible physical layer states:
(1) When the link is active (the ordinary data transmitter state) at the time of surprise removal, control circuitry 90 may understand that a surprise removal has happened by one or more local receivers sensing an unexpected electrical idle. In some embodiments, all normal electrical idle conditions are initiated by ordered sets, although this is not required. A proposed maximum time limit for detecting the electrical idle (squelch) is 10 ms.
(2) When the system is in electrical idle (i.e., power management state) at the time of surprise removal, the surprise removal may be observed by periodically (e.g., every 100 milliseconds) utilizing the remote receiver detection process, discussed in section “A” of this disclosure.
Once it is has been determined that chip B is decoupled from chip A, control circuitry 90 places transmitter TXA1 in a high impedance state. A reason why transmitter TXA1 is placed into a high impedance state is to avoid having a common mode of transmitter TXA1 be transferred to a remote receiver when it is coupled or if it is physically but not functional coupled. In the high impedance state, driver 42 is off and resistive structures 60 and 62 have high impedance. The discussions of FIGS. 4 and 6 explain ways in which the high impedance in the resistive structures may be achieved. Other ways may be used. In high impedance state, either V1 or V2 may be applied to nodes 48 and 50 when the attachment of AP1 and AP3 and AP2 and AP4 occurs. Nodes 48 (D+) equal node 50 (D−) (electrical idle).
The same process also may apply for the transmitters of chip B realizing, but this discussion is from the perspective of chip A.
High and low impedance (resistance) levels are not limited to particular values. However, low impedance may be chosen to match the interconnect (transmission line) impedance. High impedance should be at least 10 times low impedance. More practically, high impedance would be 100 or more times the low impedance. For example, if low impedance were 50 ohms, high impedance may be 5K to 20K ohms. (Note that the terms resistance and impedance are used interchangeably in this disclosure).
2. Coupling
In many cases, it is desirable that a system be flexible enough to support different common modes between transmitters and receivers. For example, it is sometimes desirable for a system to support a situation in the common mode of the transmitters of chip A is large enough so that if it were applied to the input receivers of chip B, it would harm them.
Consider a transition from FIG. 2 to FIG. 3. In FIG. 2, chips A and B are physically decoupled and chip A realizes it. Transmitter TXA1 is in a high impedance state. Chips A and B then become functionally coupled as in FIG. 3. TXA1 remains in a high impedance state. TXA1 charges nodes 48 and 50 to a common mode voltage (e.g., V1). TXA1 loops into a detection process such as the remote receiver detection state mentioned above. Once a remote receiver is detected, TXA1 goes into a low impedance mode and proceeds with trying to communicate with the receiver (e.g., training and configuration).
Examples of and an appreciation of the benefits of the high impedance state are provided as follows. Assume that attachment points AP1-AP4 are separated as shown in FIG. 2. Further assume, driver 42 is inactive and resistive structures 60 and 62 have a high impedance. Assume nodes 48 and 50 have the common mode voltage. Capacitors CAC1-1 and CAC2-1 leak the voltage from nodes 48 and 50 to the interconnects 30-1 and 32-1 near attachment points AP1 and AP2. Further, assume that the common mode voltage is high enough that if it were directly applied to the input transistors of receiving circuitry 44, they gate oxide of the input transistors would be damaged.
In FIG. 3, when attachments points AP1 and AP2 are first attached to AP3 and AP4, there is an instantaneous voltage divider between resistive structure 60 and 70 and a voltage divider between restive structure 62 and 72. The resistance for resistive structures 60, 62, 70, and 72 are R60, R62, R70, and R72, respectively. Assuming Vbias2 is at ground, the instantaneous voltage drop across resistive structure 70 is Vcommon mode R70/(R60+R70) and the instantaneous voltage drop across resistive structure 72 is Vcommon mode R72/(R62+R72). By making R60 and R62 much larger than R70 and R72, the instantaneous voltage on the interconnects very small. For example, if R60=5K ohms and R70=50 ohms, the instantaneous voltage on interconnect 30-1 is Vcommon mode 50/(50+5000)=0.01 Vcommon mode, which will not be great enough to damage the remote receivers.
Once it is established that RXB1 is coupled to TXA1, then TXA1 can return to a low impedance state and continue trying to communicate with the remote receiver.
Various features described herein, such one or more illustrated in the other figures may be used in the systems described in this section.
Additional Information
An embodiment is an implementation or example of the inventions. Reference in the specification to “an embodiment,” “one embodiment,” “some embodiments,” or “other embodiments” means that a particular feature, structure, or characteristic described in connection with the embodiments is included in at least some embodiments, but not necessarily all embodiments, of the inventions. The various appearances “an embodiment,” “one embodiment,” or “some embodiments” are not necessarily all referring to the same embodiments.
If the specification states a component, feature, structure, or characteristic “may”, “might”, or “could” be included, that particular component, feature, structure, or characteristic is not required to be included. If the specification or claim refers to “a” or “an” element, that does not mean there is only one of the element. If the specification or claims refer to “an additional” element, that does not preclude there being more than one of the additional element.
The inventions are not restricted to the particular details listed herein. Indeed, those skilled in the art having the benefit of this disclosure will appreciate that many other variations from the foregoing description and drawings may be made within the scope of the present inventions. Accordingly, it is the following claims including any amendments thereto that define the scope of the inventions.

## Claims

1. A chip comprising:
first and second nodes;
a variable voltage source;
a transmitter including a driver coupled to the first and second nodes, and first and second resistive structures coupled between the first and second nodes, respectively, and the variable voltage source; and
control circuitry to detect coupling of a remote receiver to the transmitter through interconnects and detect decoupling of the remote receiver from the transmitter.

2. The chip of claim 1, further comprising a local receiver, and wherein when the transmitter is in an ordinary data transmitting state, the control circuitry detects decoupling through detecting that the local receiver senses an unexpected electrical idle for a particular amount of time.

3. The chip of claim 2, wherein during the ordinary data transmitting state the first and second resistive structures have a low impedance, and during a remote receiver detect state the first and second resistive structures have a high impedance.

4. The chip of claim 3, wherein the first and second resistive structures each have first and second sub-resistive structures and wherein during the ordinary data transmitting state, two of the sub-resistive structures are on and have the low impedance and during the remote receiver detect state these two of the sub-resistive structures are off and the other two sub-resistive structures are on and have high impedance.

5. The chip of claim 4, wherein during the ordinary data transmitting state, the other two sub-resistive structures are off.

6. The chip of claim 3, wherein the low impedance is about an impedance of the interconnects and the high impedance at least 10 times the impedance of the low impedance.

7. The chip of claim 3, wherein the low impedance is about an impedance of the interconnects and the high impedance at least 100 times the impedance of the low impedance.

8. The chip of claim 2, further comprising additional local receivers and additional transmitters.

9. The chip of claim 1, wherein when the transmitter is in a power management state, the control circuitry periodically initiates a remote receiver detection state to determine whether the remote receiver is coupled to the remote receiver.

10. The chip of claim 1, further comprising change detection circuitry to detect changes in voltages of the first and second nodes following a change in voltage of the variable voltage source, and to determine whether the changes of the voltages of the first and second nodes are consistent with the transmitter being coupled through interconnects to a remote receiver, and wherein the control circuitry detects coupling with the assistance of the change detection circuitry.

11. A chip comprising:
a first node;
a variable voltage source;
a transmitter including a driver coupled to the first node, and a first resistive structure coupled between the first node and the variable voltage source; and
control circuitry to detect coupling of a remote receiver to the transmitter through an interconnect and detect decoupling of the remote receiver from the transmitter.

12. The chip of claim 11, comprising a second node coupled to the driver.

13. The chip of claim 11, further comprising a local receiver, and wherein when the transmitter is in an ordinary data transmitting state, the control circuitry detects decoupling through detecting that the local receiver senses an unexpected electrical idle for a particular amount of time.

14. The chip of claim 13, wherein during the ordinary data transmitting state the first and second resistive structures have a low impedance, and during a remote receiver detect state the first and second resistive structures have a high impedance.

15. The chip of claim 14, wherein the first and second resistive structures each have first and second sub-resistive structures and wherein during the ordinary data transmitting state, two of the sub-resistive structures are on and have the low impedance and during the remote receiver detect state these two of the sub-resistive structures are off and the other two sub-resistive structures are on and have high impedance.

16. The chip of claim 11, wherein when the transmitter is in a power management state, the control circuitry periodically initiates a remote receiver detection state to determine whether the remote receiver is coupled to the remote receiver.

17. A system comprising:
first and second interconnects; and
a first chip comprising:
(a) first and second nodes;
(b) a variable voltage source;
(c) a transmitter including a driver coupled to the first and second nodes, and first and second resistive structures coupled between the first and second nodes, respectively, and the variable voltage source; and
(d) control circuitry to detect coupling of a remote receiver to the transmitter through interconnects and detect decoupling of the remote receiver from the transmitter.

18. The system of claim 17, wherein the first and second interconnects each include a series AC blocking capacitor.

19. The system of claim 17, further comprising a second chip including the remote receiver, wherein the second chip is selectively coupled to the first and second interconnects, and wherein the second chip includes transmitters and additional receivers.

20. A system comprising:
a first interconnect; and
a first chip comprising:
(a) a first node;
(b) a variable voltage source;
(c) a transmitter including a driver coupled to the first node, and a first resistive structure coupled between the first node and the variable voltage source; and
(d) control circuitry to detect coupling of a remote receiver to the transmitter through an interconnect and detect decoupling of the remote receiver from the transmitter.

21. The system of claim 20, further comprising a second chip including the remote receiver, wherein the second chip is selectively coupled to the first interconnect, and wherein the second chip includes transmitters and additional receivers.

22. The system of claim 20, further comprising a local receiver, and wherein when the transmitter is in an ordinary data transmitting state, the control circuitry detects decoupling through detecting that the local receiver senses an unexpected electrical idle for a particular amount of time.

23. The system of claim 22, wherein during the ordinary data transmitting state the first resistive structure has a low impedance, and during a remote receiver detect state the first and resistive structure has a high impedance.

24. The system of claim 20, wherein when the transmitter is in a power management state, the control circuitry periodically initiates a remote receiver detection state to determine whether the remote receiver is coupled to the remote receiver.