Periodic calibration for communication channels by drift tracking

11664907 · 2023-05-30

Assignee

Inventors

Cpc classification

International classification

Abstract

A method and system that provides for execution of a first calibration sequence, such as upon initialization of a system, to establish an operation value, which utilizes an algorithm intended to be exhaustive, and executing a second calibration sequence from time to time, to measure drift in the parameter, and to update the operation value in response to the measured drift. The second calibration sequence utilizes less resources of the communication channel than does the first calibration sequence. In one embodiment, the first calibration sequence for measurement and convergence on the operation value utilizes long calibration patterns, such as codes that are greater than 30 bytes, or pseudorandom bit sequences having lengths of 2.sup.N−1 bits, where N is equal to or greater than 7, while the second calibration sequence utilizes short calibration patterns, such as fixed codes less than 16 bytes, and for example as short as 2 bytes long.

Claims

1. A component comprising: a transmitter circuit to transmit data, the transmitter circuit to operate according to parameter values respectively pertaining to a driver strength and a termination resistance of the transmitter circuit; and circuitry to perform a first calibration operation, to establish initial values for the parameter values, wherein, during normal operation, the circuitry is to periodically perform one or more second calibration operations based on a timer, the parameter values to be updated based on the one or more second calibration operations, wherein at least one instance of the parameter values is to be updated in response to a switch between a first mode of operation and a second mode of operation, wherein the second mode of operation is a different speed mode of operation than the first mode of operation.

2. The component of claim 1 wherein the component is to execute an initialization sequence and wherein the circuitry is to execute the first calibration operation automatically in association with the initialization sequence.

3. The component of claim 1, wherein the transmitter circuit is to transfer a first calibration pattern as part of the first calibration operation and a second calibration pattern as part of the one or more second calibration operations, and wherein the first calibration pattern is longer than the second calibration pattern.

4. The component of claim 1, wherein the transmitter circuit is to transfer a first pattern comprising first number of bits as part of the first calibration operation and a second pattern comprising a second number of bits as part of the one or more second calibration operations, and wherein the first pattern is longer than the second pattern.

5. The component of claim 1, wherein the transmitter circuit is to transfer a first number of bits as part of the first calibration operation and a second number of bits as part of the one or more second calibration operations, and wherein the first number is greater than the second number.

6. The component of claim 1, wherein the transmitter circuit is to transfer a first pattern, comprising number of bits, as part of the first calibration operation, a greater number of times than a pattern of bits is transmitted in connection with the one or more second calibration operations.

7. The component of claim 1, wherein the circuitry is to perform the first calibration operation a second time, and is to perform the one or more second calibration operations on a basis that is more frequent than the first calibration operation.

8. The component of claim 1, wherein the circuitry is to perform the first calibration operation in a manner that tests a range of values and is to select the initial value dependent on the testing of the range of values, and wherein the circuitry is to perform the one or more second calibration operations in a manner that tests incrementing and decrementing the parameter values, to track drift.

9. The component of claim 1, wherein the circuitry is also to perform at least one of the one or more second calibration operations upon detection of a predetermined event, and wherein the predetermined event comprises at least one of a temperature condition and a voltage condition.

10. A method of operation in a component, the method comprising: transmitting data according to parameter values respectively pertaining to a driver strength and a termination resistance of a transmitter circuit; performing a first calibration operation, to establish respective initial values for the parameter values; and periodically performing one or more second calibration operations in response to a timer, wherein the parameter values are updated based on the one or more second calibration operations, wherein at least one instance of the parameter values is to be updated in response to a switch between a first mode of operation and a second mode of operation, and wherein the second mode of operation is a different speed mode of operation than the first mode of operation.

11. The method of claim 10 wherein the method further comprises executing an initialization sequence and automatically performing the first calibration operation in association with the initialization sequence.

12. The method of claim 10, wherein the method further comprises transferring a first calibration pattern as part of the first calibration operation and a second calibration pattern as part of the one or more second calibration operations, and wherein the first calibration pattern is longer than the second calibration pattern.

13. The method of claim 10, wherein the method further comprises transferring a first pattern comprising first number of bits as part of the first calibration operation and a second pattern comprising a second number of bits as part of the one or more second calibration operations, and wherein the first pattern is longer than the second pattern.

14. The method of claim 10, wherein the method further comprises transferring a first number of bits as part of the first calibration operation and a second number of bits as part of the one or more second calibration operations, and wherein the first number is greater than the second number.

15. The method of claim 10, wherein the method further comprises transferring a first pattern, comprising number of bits, as part of the first calibration operation, a greater number of times than a pattern of bits is transmitted in connection with the one or more second calibration operations.

16. The method of claim 10, wherein the method further comprises performing the first calibration operation a second time, and performing the one or more second calibration operations on a basis that is more frequent than the first calibration operation.

17. The method of claim 10, wherein the method further comprises performing the first calibration operation in a manner to test a range of values and selecting the initial value dependent on the testing of the range of values, and performing the one or more second calibration operations in a manner that tests incrementing and decrementing of the parameter values, so as to track drift.

18. The method of claim 10, wherein the method further comprises performing at least one of the second calibration operations upon detection of a predetermined event, and wherein the predetermined event comprises at least one of a temperature condition and a voltage condition.

19. A component comprising: means for transmitting data according to a parameter values respectively pertaining to a driver strength and a termination resistance of the transmitter circuit; and means for performing calibration operations, including a first calibration operation, to establish an initial value for the parameter values, wherein, during normal operation, said means for performing calibration operations is to periodically perform one or more second calibrations operation in response to a timer, the parameter values to be updated based on the one or more second calibration operations, wherein at least one instance of the parameter values is to be updated in response to a switch between a first mode of operation and a second mode of operation, and wherein the second mode of operation is a different speed mode of operation than the first mode of operation.

20. The component of claim 19, further comprising means for executing an initialization sequence, wherein said means for performing is to execute the first calibration operation automatically in association with the initialization sequence.

Description

BRIEF DESCRIPTION OF THE DRAWINGS

(1) FIG. 1 is a simplified diagram of two components interconnected by a communication channel.

(2) FIG. 2 is a timing diagram illustrating timing parameters for a communication channel like that shown in FIG. 1.

(3) FIG. 3 illustrates an embodiment of the present invention where both a transmitter drive point and a receiver sample point are adjustable.

(4) FIG. 4 illustrates an embodiment of the present invention where only a receiver sample point is adjustable.

(5) FIG. 5 illustrates an embodiment of the present invention where only a transmitter drive point is adjustable.

(6) FIG. 6 is a chart illustrating measurement of an operation value and measurement of drift for a transmit clock parameter TX of a communication channel using long and short calibration patterns.

(7) FIG. 7 is a chart illustrating measurement of an operation value and measurement of drift for a receive clock parameter RX of a communication channel using long and short calibration patterns.

(8) FIG. 8 is a flow chart illustrating calibration steps for a transmitter on a unidirectional link for a transmitter drive point.

(9) FIG. 9 illustrates timing for iteration steps for calibrating a transmitter drive point.

(10) FIG. 10 is a flow chart illustrating calibration steps for a receiver on a unidirectional link for a sample point.

(11) FIG. 11 illustrates timing for iteration steps for calibrating a receiver sample point.

(12) FIG. 12 illustrates an embodiment of the present invention where transmitter drive points and receiver sample points on components of a bidirectional link are adjustable.

(13) FIG. 13 illustrates an embodiment of the present invention where receiver sample points on components of a bidirectional link are adjustable.

(14) FIG. 14 illustrates an embodiment of the present invention where both components have adjustable transmitter drive points.

(15) FIG. 15 illustrates an embodiment of the present invention where a transmitter drive point and a receiver sample point of only one component on a bidirectional link are adjustable.

(16) FIG. 16 is a flow chart illustrating calibration steps for a transmitter drive point for a bidirectional link.

(17) FIG. 17 is a flow chart illustrating calibration steps for a receiver sample point for a bidirectional link.

(18) FIG. 18 illustrates an embodiment of the present invention where a transmitter drive point and a receiver sample point of one component on a bidirectional link are adjustable with a plurality of parameter sets, and wherein the bidirectional link is coupled to a plurality of other components corresponding to the plurality of parameter sets.

DETAILED DESCRIPTION

(19) A detailed description of embodiments of the present invention is provided with reference to the Figures.

(20) Transmitter and Receiver Timing Parameters

(21) FIG. 1 shows two components 10, 11 connected with an interconnection medium, referred to as Link 12. One has a transmitter circuit 13 which drives symbols (bits) on Link 12 typically in response to rising-edge timing events on the internal CLKT signal 14. This series of bits forms signal DATAT. The other component 11 has a receiver circuit 15 which samples symbols (bits) on Link 12 typically in response to rising-edge timing events on the internal CLKR signal 16. This series of bits forms signal DATAR. The DATAT and DATAR signals are related; DATAR is an attenuated, time-delayed copy of DATAT. The attenuation and time-delay occur as the signal wavefronts propagate along the interconnection medium of Link 12. The communication channel comprising transmitter 13, link 12 and receiver 15 can be characterized by a plurality of parameters that have an operation value during normal operation of the channel. Representative parameters of the channel include timing parameters specifying the drive times and sample times, voltage levels for drivers and comparators, resistance values such as link termination resistances, driver strength, adaptive equalization coefficients, noise cancellation coefficients, parameters that cause overshoot and undershoot of signals such as driver switching power or speed, and so on. These parameters are affected by or contribute to, drifting flight times, output delays for transmitters, receiver mismatches, input delays, and so on.

(22) FIG. 2 illustrates timing parameters for a mesosynchronous channel, including the transmit clock CLKT signal 14 on trace 20, the transmitter signal DATAT on trace 21, the receive clock CLKR signal 16 on trace 22, and the receiver signal DATAR on trace 23. The transmitter eye 24 and the receiver eye 25 are also illustrated.

(23) The transmitter circuit 13 will begin driving a bit (labeled “a”) no later than a time t.sub.Q,MAX after a rising edge 30 of CLKT, and will continue to drive it until at least a time t.sub.V,MIN after the next rising edge 31. t.sub.Q,MAX and t.sub.V,MIN are the primary timing parameters of the transmitter circuit 13. These two values are specified across the full range of operating conditions and processing conditions of the communication channel. As a result, t.sub.Q,MAX will be larger than t.sub.Q,MIN, and the difference will represent the dead time or dead band 32 of the transmitter circuit 13. The transmitter dead band 32 (t.sub.DEAD,T) is the portion of the bit timing window (also called bit time or bit window) that is consumed by the transmitter circuit 13:
t.sub.DEAD,T=t.sub.Q,MAX−t.sub.V,MIN

(24) The edges of the timing window around transition 31 can be defined by:
t.sup.−1+t.sub.Q,MAX, and
t+t.sub.V,MIN,
where t.sup.−1 is transition 30 one clock cycle earlier than the transition 31, and t is the transition 31.

(25) The receiver circuit 15 will begin sampling a bit (labeled “a”) no earlier than a time t.sub.S,MIN before a rising edge 35 (or 36) of CLKR, and will continue to sample until no later than a time t.sub.H,MIN after the rising edge 35. t.sub.S,MIN and t.sub.H,MIN are the primary timing parameters of the receiver circuit. These two values are specified across the full range of operating conditions and processing conditions of the circuit. The sum of t.sub.S,MIN and t.sub.H,MIN will represent the dead time or dead band 37, 38 of the receiver. The receiver dead band 37, 38 (t.sub.DEAD,R) is the portion of the bit timing window (also called bit time or bit window) that is consumed by the receiver circuit:
t.sub.DEAD,R=t.sub.S,MIN+t.sub.H,MIN

(26) The edges of the timing window around transition 35 can be defined by:
t−t.sub.S,MIN, and
t+t.sub.H,MIN,
where t is transition 35.

(27) In this example, the bit timing window is one t.sub.CYCLE minus the t.sub.DEAD,T and t.sub.DEAD,R values, each of which is about ⅓ of one t.sub.CYCLE in this example. The remaining ⅓ t.sub.CYCLE would account for other uncertainty. Such uncertainty could include, for example, variation in the placement of the rising edges of CLKT and CLKR. In some systems, this variation might be specified as part of the t.sub.DEAD,T and t.sub.DEAD,R definition. Other uncertainty could include variation in the propagation delay across the interconnection medium.

(28) Unidirectional Link Alternatives

(29) FIG. 3 shows two components 100 (transmit component) and 101 (receive component) connected with an interconnection medium referred to as Link 102. The link is assumed to carry signals in one direction only (unidirectional), so one component 100 has a transmitter circuit 103 coupled to a signal source 110 labeled “normal path,” and one component 101 has a receiver circuit 104 coupled to a destination 111 labeled “normal path”. There are additional circuits present to permit periodic adjustment of the drive point and sample point in between periods of normal system operation. These adjustments compensate for changes in the system operating conditions.

(30) The transmitter component includes a block 105 labeled “pattern”, which can consist of pattern storage, pattern generation circuitry or both, and which is used as a source of transmit calibration patterns for the first and second calibration sequences used according to the present invention. The first calibration sequence in other embodiments is provided by host software across the “normal” data path, while the second calibration sequence is provided by a “pattern” block in the transmitter, and vice versa. Generally, the pattern source can be the same or different, for the first exhaustive calibration sequence and second drift calibration sequence.

(31) In the embodiment shown, a multiplexer block 106 labeled “mux,” implemented for example using a logical layer or physical layer switch, enables the transmit calibration pattern set to be driven onto the link by the transmitter circuit. The transmitter drive point can be adjusted by the block 107 labeled “adjust”. A sideband communication channel 113 is shown coupled between the component 101 and the component 100, by which the results of analysis of received calibration patterns at the component 101 are supplied to the adjust block 107 of the component 100.

(32) The receiver component 101 includes a block 108 labeled “pattern”, which can consist of host software, pattern storage or pattern generation circuitry, and which is used as a source of expected patterns. A block 109 labeled “compare” enables the received pattern set to be compared to the expected pattern set, analyzes the result and causes an adjustment to be made to either the transmitter or receiver. The receiver sample point can be adjusted by the block 112 labeled “adjust”.

(33) FIG. 4 shows two components 100, 101 connected with a unidirectional link 102, in which components of FIG. 3 are given like reference numerals. In the embodiment of FIG. 4, only the receiver sample point can be adjusted; the transmitter drive point remains fixed during system operation. Thus, there is no adjust block 107 in the component 100, nor is there a need for sideband communication channel 113 of FIG. 4.

(34) FIG. 5 shows two components 100, 101 connected with a unidirectional link 102, in which components of FIG. 3 are given like reference numerals. In the embodiment of FIG. 5, only the transmitter drive point can be adjusted; the receiver sample point remains fixed during system operation. Thus, there is no adjust block 112 in the component 101 of FIG. 5.

(35) In general, periodic timing calibration can be performed on all three examples, since timing variations due to condition drift can be compensated at either the transmitter end or the receiver end. In practice, it is cheaper to put the adjustment circuitry at only one end of the link, and not at both ends, so systems of FIG. 4 or 5 would have an advantage. Also, it should be noted that the system of FIG. 4 does not need to communicate information from the “compare” block 109 in the receiver component 101 back to the transmitter component 100, and thus might have implementation benefits over the system of FIG. 5. In practical applications, it is generally preferable to calibrate the receiver first and then use this setting to perform transmitter calibration. One method of breaking the chicken-and-egg problem is to load a known transmit pattern via a sideband interface to both sides of the channel. Having matching patterns on both sides, we can now perform an receive sample point calibration. Then, after the receiver offset is set to a reliable value, we can perform initial transmit drive point calibration.

(36) FIG. 6 is a chart illustrating the measured values of a transmit drive timing point parameter using an exhaustive calibration sequence, as compared to the measured values of the same parameter using a short calibration sequence as discussed above. In FIG. 6, the conditions causing drift are plotted on the vertical axis, while the changes in the parameter are plotted on the horizontal axis. In the example illustrated, the condition causing drift is temperature, and the parameter being measured is the phase of the transmit drive point TX. As illustrated, the exhaustive calibration sequence computes edge values TXA and TXB on traces 200 and 201, so that the operation value TX as shown on trace 202 can be computed as a function of the edge values. In this case, the exhaustive calibration sequence utilizes a long calibration pattern including a pseudorandom bit sequence having a length 2.sup.N−1, where N is at least 7, and N is 15 in one embodiment. Using a long pseudorandom bit sequence, the exhaustive center of the edge values TXA, TXB and the operation value TX are determined. In FIG. 6, the short calibration sequences are used to track drift, where the short sequences comprise a simple two-byte code or set of two byte (16 bit) codes, such as AAAA, 5555 or 0F0F (hexadecimal). As can be seen, the edge values TXAS and TXBS as measured using the short calibration sequences are plotted on traces 203 and 204. The operation value TXS, if it were based simply on the edge values TXAS and TXBS for the short calibration sequences would be on the trace 205. However, as shown in FIG. 6, the relationship between the condition on the vertical axis and the edge values TXAS, TXBS for the short calibration patterns along the horizontal axis has the same slope as the relationship between the condition and the operation value TX determined using the long calibration patterns. As shown in FIG. 6, if at calibration point C1, the operation value is established at TX, the edge value for TXAS determined using the short patterns has the value represented by point 206. At calibration point C2, the edge value TXAS drifts from point 206 on the horizontal axis by a drift value ΔTXAS. Likewise, the operation value TX drifts by a drift value ΔTX. To the extent the slope of trace 202 for the value TX is the same as, or otherwise correlates with, the slope of trace 203 for the value TXAS, the drift value ΔTXAS can be applied directly to estimate the drift ΔTX, and to update the operation value TX without executing an exhaustive calibration sequence. A similar relationship exists in the graph of FIG. 6, between TXAB and TX, and between TXS and TX. That is the drift of TX is a function of the drift of TXAS alone, TXBS alone, or of a combination of TXAS and TXBS. Thus, by measuring changes in one or both of the edge values of the parameter using a short calibration pattern, and applying those changes to changing the operation value computed using a long calibration pattern, the operational center for the parameter can be adjusted to account for drift utilizing less resources of the communication channel.

(37) FIG. 7 is a chart illustrating the measured values of a receive sample timing point parameter using an exhaustive calibration sequence, as compared to the measured values of the same parameter using a short calibration sequence. In FIG. 7, the conditions causing drift are plotted on the vertical axis, while the changes in the parameter are plotted on the horizontal axis. In the example illustrated, the condition causing drift is temperature, and the parameter being measured is the phase of the transmit drive point RX. As illustrated, the exhaustive calibration sequence computes edge values RXA and RXB on traces 210 and 211, so that the operation value RX as shown on trace 212 can be computed as a function of the edge values. In this case, the exhaustive calibration sequence utilizes a long calibration pattern including a pseudorandom bit sequence having a length 2.sup.N−1, where N is at least 7, and N is 15 in one embodiment. Using a long pseudorandom bit sequence, the exhaustive center of the edge values RXA, RXB and the operation value RX are determined. In FIG. 7, the short calibration sequences are used to track drift, where the short sequences comprise a simple two-byte code or set of two byte (16 bit) codes, such as AAAA, 5555 or 0F0F (hexadecimal). As can be seen, the edge values RXAS and RXBS as measured using the short calibration sequences are plotted on traces 213 and 214. The operation value RXS, if it were based simply on the edge values RXAS and RXBS for the short calibration sequences would be on the trace 215. However, as shown in FIG. 7, the relationship between the condition on the vertical axis and the edge values RXAS, RXBS for the short calibration patterns along the horizontal axis has the same slope as the relationship between the condition and the operation value RX determined using the long calibration patterns. As shown in FIG. 7, if at calibration point C1, the operation value is established at RX, the edge value for RXAS determined using the short patterns has the value represented by point 216. At calibration point C2, the edge value RXAS drifts from point 216 on the horizontal axis by a drift value ΔRXAS. Likewise, the operation value RX drifts by an drift value ΔRX. To the extent the slope of trace 212 for the value RX is the same as, or otherwise correlates with, the slope of trace 213 for the value RXAS, the drift value ΔRXAS can be applied directly to estimate the drift ΔRX, and to update the operation value RX without executing an exhaustive calibration sequence. A similar relationship exists in the graph of FIG. 7, between RXAB and RX, and between RXS and RX. That is the drift of RX is a function of the drift of RXAS alone, RXBS alone, or of a combination of RXAS and RXBS. Thus, by measuring changes in one or both of the edge values of the parameter using a short calibration pattern, and applying those changes to changing the operation value computed using a long calibration pattern, the operational center for the parameter can be adjusted to account for drift utilizing less resources of the communication channel.

(38) The function of the drift in the edge value measured using the short calibration pattern, and the drift in the operation value using the long calibration pattern in the examples of FIG. 6 and FIG. 7, are linear, or approximately linear. In other examples, the function may be more complex, and/or the value measured using the short patterns may be different than those shown. However, so long as the drift in the value measured using the short calibration pattern, and the drift in the operation value using the long calibration pattern, are correlated, whether causally or not, then the values measured using the short calibration pattern can be applied for adjustment of the operation value of parameter.

(39) Accordingly, the operation value of the parameter can be established, such as by using an exhaustive calibration routine based on long calibration patterns, during startup or initialization of the system. Adjustments in the operation value due to drift, however, can be made based upon shorter calibration sequences adapted to determine a drift value, such as those based on short calibration patterns. The shorter drift calibration sequences can be executed from time to time, such as on a set periodic basis, when signaled by an external monitor of the conditions of operation, or at times depending on other conditions of use of the communication channel, without utilizing as much of the resources of the communication channel as are needed for the more exhaustive calibration routine utilized less frequently, such as only during startup.

(40) Calibration Steps for Transmitter for Unidirectional Link

(41) FIG. 8 shows calibration steps for the example system shown in FIG. 5.

(42) (Step 300) Execute a first calibration sequence on initialization or other event to establish an operation value for the transmit drive point, based on long calibration patterns or more exhaustive routines.

(43) (Step 301) Periodically, or upon an event indicating that a drift measurement is due, suspend transmit and receive operations that are in progress.

(44) (Step 302) Change the drive point of the transmit component from the “TX” operation value (used for normal operations) to either the “TXAS” or “TXBS” edge value (used for drift calibration operations) in the “adjust” block. It may be necessary to impose a settling delay at this step to allow the new drive point to become stable.
(Step 303) Change “mux” block of the transmit component so that the “pattern” block input is enabled.
(Step 304) A pattern set is created in the “pattern” block of the transmit component and is transmitted onto the “link” using the TXAS or TXBS drive point.
(Step 305) The pattern set is received in the receive component. Note that the sample point of the receiver is fixed relative to the reference clock of the system and is not adjusted.
(Step 306) The received pattern set is compared in the “compare” block to the expected pattern set produced by the “pattern” block in the receive component. The two pattern sets will either match or not match. As a result of this comparison (and possibly other previous comparisons) a pass or fail determination will be made.
(Step 307) Adjust either the “TXAS” or “TXBS” edge value in the transmit component as a result of the pass or fail determination. The drift in the “TX” operation value in the transmit component is indicated by a function of the adjusted TXAS and TXBS values. The “TX” value is also adjusted based on that function. This adjustment may only be made after a calibration sequence including transmission of two or more of calibration patterns has been executed, in order to ensure some level of repeatability. Also, “low pass” filtering may be applied to measurements of drift or of the operation value, to prevent dithering of the operation value.
(Step 308) Change the drive point of the transmitter from the “TXAS” or “TXBS” edge value (used for calibration operations) to new “TX” operation value (used for normal operations) in the “adjust” block of the transmit component. It may be necessary to impose a settling delay at this step to allow the new drive point to become stable.
(Step 309) Change “mux” block of the transmit component so that the “normal path” input is enabled.
(Step 310) Resume normal transmit and receive operations.

(45) The first calibration sequence in one embodiment is an iteration just like that discussed above with respect to steps 301-310, with the exception that the calibration pattern for the first cycle is a long pattern, and the calibration pattern for the second calibration sequence is a short pattern. For example, a pseudorandom bit sequence having a length 2.sup.N−1, with N equal to 7 or N equal to 15, can be used as the long calibration pattern for the first calibration sequence. In another example, the long calibration pattern is a set of short patterns intended to be an exhaustive set for conditions, such as inter-symbol interference patterns, of the communication channel. The short calibration pattern on the other hand, may be a simple two-byte code or set of two byte (16 bit) codes, such as AAAA, 5555 or 0F0F (hexadecimal).

(46) In some embodiments, the exhaustive calibration sequence may use the same codes as the simpler calibration sequence, but apply shorter algorithms for computing adjustments. For, example, the values may be adjusted without requiring repeatability, or requiring less repeatability, when measuring drift than when measuring the exhaustive operation value.

(47) Timing for Iteration Step for Transmit

(48) FIG. 9 includes the timing waveforms used by the exhaustive calibration steps to determine an operation value, similar to the calibration sequence shown in FIG. 8 for determining drift in a system like that of FIG. 5. These timing waveforms are similar to those from FIG. 1, except that the drive point is adjusted to straddle the sampling window of the receiver in order to track the edges of the valid window of the transmitter, and illustrate one example calibration procedure. During a drift calibration sequence, the edge values of FIG. 9, (t.sub.PHASET(TXA) and t.sub.PHASER(TXB)) are replaced by correlated values determined using the short calibration sequences.

(49) The “adjust” block in the transmit component maintains three values in storage: TXA, TX, and TXB. The TX value is the operation value used for normal operation. The TXA and TXB are the “edge” values, which track the left and right extremes of the bit window of the transmitter. Typically, the TX value is initially derived from the average of the TXA and TXB values as determined using an exhaustive calibration sequence, but other relationships are possible.

(50) As described above, drift in the TX value is determined by a function of the TXAS and TXBS values determined during the calibration sequences that use short patterns. The function of TXAS and TXBS used depends on how the parameter drifts as measured by the exhaustive calibration patterns, as compared with how it drifts as measured by the short patterns. So long as this relationship correlates, then the short pattern technique for measuring drift is straight forward. In some systems, the drift in the short pattern measurements is very close to the drift in the long pattern measurements, so that any determined drift can be applied directly to adjust the operation value of the parameter.

(51) The “adjust” block in the transmit component maintains three values in storage: TXA, TX, and TXB for the purposes of the exhaustive calibration sequence illustrated here. For drift calculation, TXAS and TXBS are also stored. The TX value is the operation value used for normal operation. The TXA and TXB are the “edge” values, which track the left and right extremes of the bit window of the transmitter. Typically, the TX value is initially derived from the average of the TXA and TXB values, but other relationships are possible. The TXA and TXB values can be maintained by the calibration operations, which from time to time, and periodically in some embodiments, interrupt normal operations for exhaustive calibration sequences. However, in embodiments of the present invention, storage of TXA and TXB may not be needed to track drift.

(52) In FIG. 9, the position of the rising edge of CLKT has an offset of T.sub.PHASET relative to a fixed reference (typically a reference clock that is distributed to all components).

(53) When the TX value is selected (t.sub.PHASET(TX) in the middle trace 401 showing CLKT timing waveform) for operation, the rising edge 402 of CLKT causes the DATAT window 403 containing the value “a” to be aligned so that the DATAR signal (not shown but conceptually overlapping with the DATAT signal) at the receiving component is aligned with the receiver clock, successfully received, and ideally centered on the receiver eye.

(54) When the TXA value is selected (t.sub.PHASET(TXA) in the top trace 405 showing CLKT timing waveform), the rising edge of CLKT is set to a time that causes the right edges of the DATAT window 406 (containing “a”) and the receiver set/hold window 410 (shaded) to coincide. The t.sub.S setup time and t.sub.H hold time surround the CLKR rising edge, together define the set/hold window 410 (not to be confused with the receiver eye of FIG. 2) in which the value of DATAR must be stable for reliable sampling around a given CLKR rising edge 404. Since the DATAT window, and the resulting DATAR window, are larger than this set/hold window 410, the transmitter has timing margin. However, in the case shown on trace 405 with the transmit clock rising edge at offset t.sub.PHASET(TXA), all the timing margin is on the left side of the transmitter eye for the set/hold window 410, adding delay after the t.sub.Q timing parameter. There is essentially no margin for the t.sub.V timing parameter in the trace 405, so that the offset defines the left edge of the calibration window.

(55) The calibration process for TXA will compare the received pattern set to the expected pattern set, and determine if they match. If they match (pass) then the TXA value will be decremented (the t.sub.PHASET(TXA) offset becomes smaller shifting the transmit window 406 to the left in FIG. 9) or otherwise adjusted, so there is less margin for the t.sub.V timing parameter relative to the receiver window 410. If they do not match (fail) then the TXA value will be incremented (the t.sub.PHASET(TXA) offset becomes larger shifting the transmit window 406 to the right in FIG. 9) or otherwise adjusted, so there is more margin for the t.sub.V timing parameter.

(56) As mentioned earlier, the results of a sequence including transmission of two or more calibration patterns may be accumulated before the TXA value is adjusted. This would improve the repeatability of the calibration process. For example, the calibration pattern could be repeated “N” times with the number of passes accumulated in a storage element. If all N passes match, then the TXA value is decremented. If any of the N passes do not match, then the TXA value is determined to have reached the edge of the window and is incremented. In another alternative, after the Nth pattern, the TXA value could be incremented if there are fewer than N/2 (or some other threshold number) passes, and decremented if there are N/2 or more passes.

(57) When TXA is updated, the TX value will also be updated. In this example, the TX value will updated by half the amount used to update TXA, since TX is the average of the TXA and TXB values. If TX has a different relationship to TXA and TXB, the TX update value will be different. Note that in some embodiments, the TX value will need slightly greater precision than the TXA and TXB values to prevent round-off error. In alternate embodiments, the TX value can be updated after pass/fail results of TXA and TXB values have been determined. In some cases, these results may cancel and produce no change to the optimal TX value. In other cases these results may be accumulated and the accumulated results used to determine an appropriate adjustment of the TX setting. According to this embodiment, greater precision of the TX setting relative to the TXA and TXB settings may not be required.

(58) When the TXB value is selected (t.sub.PHASET(TXB) in the bottom trace 407 showing a CLKT timing waveform) for calibration, the rising edge of CLKT is set to a time that causes the left edge of the transmitter valid window 408 (containing “a”) and the receiver set/hold window 410 (shaded) to coincide. In this case with the transmit clock rising edge at t.sub.PHASER(TXB), all the timing margin is on the right side of the transmit window 408, providing more room than required by the t.sub.V timing parameter. This means that there will be essentially no margin for the to timing parameter on the left side of the window 408, defining the right edge of the calibration window.

(59) The calibration process will compare the received pattern set to the expected pattern set, and determine if they match. If they match (pass) then the TXB value will be incremented (the offset becomes larger) or otherwise adjusted, so there is less margin for the t.sub.Q timing parameter. If they do not match (fail) then the TXB value will be decremented (the offset becomes smaller) or otherwise adjusted, so there is more margin for the t.sub.Q timing parameter.

(60) As mentioned earlier, the results of transmission of two or more calibration patterns may be accumulated before the TXB value is adjusted. For example, transmission of the patterns could be repeated “N” times with the number of passes accumulated in a storage element. After the Nth sequence the TXB value could be decremented if there are fewer than N/2 passes and incremented if there are N/2 or more passes. This would improve the repeatability of the calibration process.

(61) When TXB is updated, the TX value will also be updated. In this example, the TX value will updated by half the amount used to update TXB, since TX is the average of the TXA and TXB values. If TX has a different relationship to TXA and TXB, the TX update value will be different. Note that the TX value will need slightly greater precision than the TXA and TXB values if it is desired to prevent round-off error.

(62) Determination of drift may be made using a similar process, although with different calibration patterns, as explained above.

(63) Calibration Steps for Receiver for Unidirectional Link

(64) FIG. 10 shows, for a system like the example from FIG. 4, the steps needed to perform a timing calibration update for a receiver. Note that only steps (Block 502), (Block 507), and (Block 508) are different relative to the steps in FIG. 8.

(65) (Step 500) Execute a first calibration sequence on initialization or other event to establish an operation value “RX” for the receive sample point, based on long calibration patterns that are intended to be exhaustive.

(66) (Step 501) Periodically, or upon an event indicating that a drift measurement is due, suspend normal transmit and receive operations that are in progress.

(67) (Step 502) Change the sample point of the receive component from the “RX” operation value (used for normal operations) to either the “RXAS” or “RXBS” edge value (used for calibration operations) in the “adjust” block. It may be necessary to impose a settling delay at this step to allow the new sample point to become stable.
(Step 503) Change “mux” block of the transmit component so that the “pattern” block input is enabled.
(Step 504) A pattern set is created in the “pattern” block of the transmit component and is transmitted onto the “link” using the TX drive point. The pattern set includes one or more short codes, for example one or more 2-byte codes.
(Step 505) The pattern set is received in the receive component.
(Step 506) The received pattern set is compared in the “compare” block to the expected pattern set produced by the “pattern” block in the receive component. The two pattern sets will either match or not match. As a result of this comparison (and possibly other previous comparisons) a pass or fail determination will be made.
(Step 507) Adjust either the “RXAS” or “RXBS” edge value in the receive component as a result of the pass or fail determination. The drift in the “RX” operation value in the transmit component is indicated by a function of the adjusted RXAS and RXBS values. The “RX” value is also adjusted based on that function. This adjustment may only be made after two or more of these calibration sequences have been executed, in order to ensure some level of repeatability.
(Step 508) Change the sample point of the receiver from the “RXAS” or “RXBS” edge value (used for calibration operations) to “RX” operation value (used for normal operations) in the “adjust” block of the receive component. It may be necessary to impose a settling delay at this step to allow the new drive point to become stable.
(Step 509) Change “mux” block of the transmit component so that the “normal path” input is enabled.
(Step 510) Resume normal transmit and receive operations.

(68) The first calibration sequence in one embodiment is an iteration just like that discussed above with respect to steps 501-510, with the exception that the calibration pattern for the first cycle is a long pattern, and the calibration pattern for the second calibration sequence is a short pattern. For example, a pseudorandom bit sequence having a length 2.sup.N−1, with N equal to 7 or N equal to 15, can be used as the long calibration pattern for the first calibration sequence. In another example, the long calibration pattern is a set of short patterns intended to be an exhaustive set for conditions, such as inter-symbol interference patterns, of the communication channel. The short calibration pattern on the other hand, may be a simple two-byte code or set of two-byte codes, such as AAAA, 5555 or 0F0F.

(69) Timing for Iteration Step for Receive

(70) FIG. 11 shows the exhaustive calibration steps to determine an operation value, similar to the calibration sequence shown in FIG. 8 for determining drift of the operation value, in a system like that of FIG. 4. These timing waveforms are similar to those from FIG. 1, except that the sampling point is adjusted within the bit window in order to track the edges of the window. During a drift calibration sequence, the edge values of FIG. 11, (t.sub.PHASET(RXA) and t.sub.PHASER(RXB)) are replaced by correlated values determined using the short calibration sequences.

(71) The “adjust” block in the receive component maintains three values in storage: RXA, RX, and RXB for the purpose of the exhaustive calibration sequence. The RX value is the operation value used for normal operation. The RXA and RXB are the “edge” values, which track the left and right extremes of the bit window. The RX value is derived from the first exhaustive calibration sequence, and based on the average of the RXA and RXB values determined in the first calibration sequence, but other relationships are possible. The RXAS and RXBS values are determined in the second calibration sequence using the short calibration patterns, and maintained by the calibration operations which periodically interrupt normal operations. Changes in the RXAS and RXBS values, or in only one of them, are used to determine a drift in the RX values. The RX value is updated based on that drift.

(72) In the timing diagrams, the position of the rising edge of CLKR has an offset of t.sub.PHASER relative to a fixed reference (not shown, typically a reference clock that is distributed to all components). This offset is determined by the RXA, RX, and RXB values that are stored.

(73) When the RX value is selected (t.sub.PHASER(RX) in the middle trace 601 showing a CLKR timing waveform) for use in receiving data, the rising edge 602 of CLKR is approximately centered in the receiver eye of the DATAR signal containing the value “a”. The DATAR signal is the DATAT signal transmitted at the transmitter after propagation across the link, and can be conceptually considered to be the same width as DATAT as shown in FIG. 11. The receiver eye is shown in FIG. 2. The t.sub.S setup time is the minimum time before the clock CLKR rising edge which must be within the DATAR window 603, and the t.sub.H hold time is the minimum time after the clock CLKR rising edge that must be within the DATAR window 603, together defining the set/hold window 604 (not to be confused with the receiver eye of FIG. 2) in which the value of DATAR must be stable for reliable sampling around a given CLKR rising edge. Since the valid window 604 of the DATAR signal is larger than this set/hold window 604, the receiver has timing margin in both directions.

(74) When the RXA value is selected (t.sub.PHASER(RXA) in the top trace 605 showing a CLKR timing waveform), the rising edge of CLKR is approximately a time t.sub.S later than the left edge (the earliest time) of the DATAR window 603 containing the value “a”. In this case, the CLKR rising edge is on the left edge of the receiver eye, and all the timing margin is on the right side of the set/hold window 604, providing more room than is required by the t.sub.H timing parameter. This means that there will be essentially no margin for the t.sub.S timing parameter, defining the left edge of the calibration window.

(75) The calibration process will compare the received pattern set to the expected pattern set, and determine if they match. If they match (pass) then the RXA value will be decremented (the offset becomes smaller) or otherwise adjusted, so there is less margin for the t.sub.S timing parameter. If they do not match (fail) then the RXA value will be incremented (the offset becomes larger) or otherwise adjusted, so there is more margin for the t.sub.S timing parameter.

(76) As mentioned earlier, the results of transmission and reception of two or more calibration patterns may be accumulated before the RXA value is adjusted. For example, the patterns could be repeated “N” times with the number of passes accumulated in a storage element. After the Nth sequence the RXA value could be incremented if there are fewer than N/2 passes and decremented if there are N/2 or more passes. This would improve the repeatability of the calibration process.

(77) When RXA is updated, the RX value will also be updated. In this example, the RX value will updated by half the amount used to update RXA, since RX is the average of the RXA and RXB values. If RX has a different relationship to RXA and RXB, the RX update value will be different. Note that in some embodiments, the RX value will need slightly greater precision than the RXA and RXB values to prevent round-off error. In alternate embodiments, the RX value can be updated after pass/fail results of RXA and RXB values have been determined. In some cases, these results may cancel and produce no change to the optimal RX value. In other cases these results may be accumulated and the accumulated results used to determine an appropriate adjustment of the RX setting. According to this embodiment, greater precision of the RX setting relative to the RXA and RXB settings may not be required.

(78) When the RXB value is selected (t.sub.PHASER(RXB) in the bottom trace 606 showing a CLKR timing waveform), the rising edge of CLKR is approximately a time t.sub.H earlier than the right edge (the latest time) of the DATAR window 603 containing the value “a”. In this case, the CLKR rising edge is on the right edge of the receiver eye, and all the timing margin is on the left side of the window 604, providing more room that required by the t.sub.S timing parameter. This means that there will be essentially no margin for the t.sub.H timing parameter, defining the right edge of the calibration window.

(79) The calibration process will compare the received pattern set to the expected pattern set, and determine if they match. If they match (pass) then the RXB value will be incremented (the offset becomes larger) or otherwise adjusted, so there is less margin for the tH timing parameter. If they do not match (fail) then the RXB value will be decremented (the offset becomes smaller) or otherwise adjusted, so there is more margin for the t.sub.H timing parameter.

(80) As mentioned earlier, the results of transmission and reception of two or more calibration patterns may be accumulated before the RXB value is adjusted. For example, the sequence could be repeated “N” times with the number of passes accumulated in a storage element. After the Nth sequence the RXB value could be decremented if there are fewer than N/2 passes and incremented if there are N/2 or more passes. This would improve the repeatability of the calibration process.

(81) When RXB is updated, the RX value will also be updated. In this example, the RX value will updated by half the amount used to update RXB, since RX is the average of the RXA and RXB values. If RX has a different relationship to RXA and RXB, the RX update value will be different. Note that the RX value will need slightly greater precision than the RXA and RXB values if it is desired to prevent round-off error.

(82) Determination of drift may be made using a similar process, although with different calibration patterns, as explained above.

(83) Bidirectional Link Alternatives

(84) FIG. 12 shows an example of a bidirectional link. In this case, component A (700) and component B (701) each contain a transmitter and receiver connected to the link, so that information may be sent either from A to B or from B to A. The elements of the unidirectional example in FIG. 3 are replicated (two copies) to give the bidirectional example in FIG. 11. FIG. 11 shows two bidirectional components 700, 701 connected with an interconnection medium referred to as Link 702. Normal path 710 acts as a source of data signals for normal operation of component 700 during transmit operations. Normal path 731 acts as a destination of data signals for component 700 during normal receive operations. Likewise, normal path 730 acts as a source of data signals for normal operation of component 701 during transmit operations. Normal path 711 acts as a destination of data signals for component 701 during normal receive operations.

(85) The first bidirectional component includes a block 705 labeled “pattern”, which can consist of pattern storage, pattern generation circuitry, or both, and which is used as a source of transmit calibration patterns for both the exhaustive calibration sequences and the calibration sequences used to measure drift. A multiplexer block 706 labeled “mux,” implemented for example using a logical layer or physical layer switch, enables the transmit calibration pattern set to be driven onto the link by the transmitter circuit 703. The transmitter drive point can be adjusted by the block 707 labeled “adjust”. A sideband communication channel 713 is shown coupled between the component 701 and the component 700, by which the results of analysis of received calibration patterns at the component 701 are supplied to the adjust block 707 of the component 700. Component 700 also has support for calibrating receiver 724, including a block 728 labeled “pattern”, which can consist of pattern storage, pattern generation circuitry, or both, and which is used as a source of expected patterns for comparison with received patterns. A block 729 labeled “compare” enables the received pattern set to be compared to the expected pattern set, and causes an adjustment to be made to either the transmitter or receiver. The receiver sample point can be adjusted by the block 732 labeled “adjust”.

(86) The second bidirectional component 701 includes complementary elements supporting transmitter 723 and receiver 704. For the receiver operations, a block 708 labeled “pattern”, which can consist of pattern storage, pattern generation circuitry, or both, is used as a source of expected patterns. A block 709 labeled “compare” enables the received pattern set to be compared to the expected pattern set, and causes an adjustment to be made to either the transmitter or receiver. The receiver sample point can be adjusted by the block 712 labeled “adjust”. The second bidirectional component 701 supports transmission operations, with elements including a block 725 labeled “pattern”, which can consist of pattern storage or pattern generation circuitry, and which is used as a source of transmit calibration patterns. A multiplexer block 726 labeled “mux,” implemented for example using a logical layer or physical layer switch, enables the transmit calibration pattern set to be driven onto the link by the transmitter circuit 723. The transmitter drive point can be adjusted by the block 727 labeled “adjust”. A sideband communication channel 733 is shown coupled between the component 700 and the component 701, by which the results of analysis of received calibration patterns at the component 700 are supplied to the adjust block 727 of the component 701.

(87) FIG. 12 allows both receive sample points and both transmit drive points to be adjusted. However, the benefit of adjustable timing will be realized if there is only one adjustable element in each direction.

(88) The example of FIG. 13 (using the same reference numerals as FIG. 12) shows an example in which only the receiver sample points are adjustable. Thus, elements 707 and 727 of FIG. 12 are not included in this embodiment. This is equivalent to two copies of the elements of example in FIG. 4.

(89) The example of FIG. 14 (using the same reference numerals as FIG. 12) shows an example in which only the transmitter drive points are adjustable. Thus, elements 712 and 732 of FIG. 12 are not included in this embodiment. This is equivalent to two copies of the elements of example in FIG. 5.

(90) Example of FIG. 15 (using the same reference numerals as FIG. 12) shows an example in which the receiver sample point and transmitter drive point of the first bidirectional component 700 are adjustable. Thus, elements 712, 708, 709, 727, 726, 725 are not included in this embodiment. A storage block 750 is added between the receiver and a “mux” block 751. The “mux” block 751 is used to select between a normal source of signals 730 and the storage block 750. Also, the compare block 752 is used for analysis of both transmit and receive calibration operations, and is coupled to both the adjust block 707 for the transmitter, and adjust block 732 for the receiver. This alternative is important because all the adjustment information can be kept within one component, eliminating the need for sideband signals for the calibration process. If component 701 were particularly cost sensitive, this could also be a benefit, since only one of the components must bear the cost of the adjustment circuitry.

(91) Calibration Steps for Transmitter for Bidirectional Link

(92) The calibration steps for bidirectional examples in FIGS. 12, 13 and 14 will be essentially identical to the calibration steps already discussed for unidirectional examples in FIGS. 4 and 5. However, the asymmetry in bidirectional example of FIG. 15 will introduce some additional calibration steps, and will receive further discussion.

(93) FIG. 16 includes the steps needed to perform a timing calibration update for a system like that of FIG. 15.

(94) (Step 800) Execute a first calibration sequence on initialization or other event to establish an operation value “TX” for the transmit drive point, based on long calibration patterns that are intended to be exhaustive, or to provide results usable in the intended conditions for the system.
(Step 801) Periodically, or upon an event indicating that a drift measurement is due, suspend normal transmit and receive operations that are in progress.
(Step 802) Change the drive point of the transmit component (A) from the “TX” operation value (used for normal operations) to either the “TXAS” or “TXBS” edge value (used for calibration operations) in the “adjust” block. It may be necessary to impose a settling delay at this step to allow the new drive point to become stable.
(Step 803) Change “mux” block of the transmit component (A) so that the “pattern” block input is enabled.
(Step 804) A pattern set is created in the “pattern” block of the transmit component (A) and is transmitted onto the “link” using the TXAS or TXBS drive point.
(Step 805) The pattern set is received in the receive component (B). Note that the sample point of the receiver is fixed relative to the reference clock of the system and is not adjustable. The received pattern set is held in the “storage” block in component B.
(Step 806) The “mux” block input connected to the “storage” block in component B is enabled. The pattern set is re-transmitted onto the link by component B.
(Step 807) The pattern set is received by component B from the link.
(Step 808) The received pattern set is compared in the “compare” block to the expected pattern set produced by the “pattern” block in the receive component (A). The two pattern sets will either match or not match. As a result of this comparison (and possibly other previous comparisons) a pass or fail determination will be made.
(Step 809) Adjust either the “TXAS” or “TXBS” edge value in the transmit component (A) as a result of the pass or fail determination to determine a drift value. The “TX” operation value in the transmit component (A) is also adjusted as a result of the determined drift value. This adjustment may only be made after two or more of these calibration sequences have been executed, in order to ensure some level of repeatability.
(Step 810) Change the drive point of the transmitter from the “TXAS” or “TXBS” edge value (used for calibration operations) to “TX” operation value (used for normal operations) in the “adjust” block of the transmit component (A). It may be necessary to impose a settling delay at this step to allow the new drive point to become stable.
(Step 811) Change “mux” block of the transmit component (A) so that the “normal path” input is enabled.
(Step 812) Resume normal transmit and receive operations.
Calibration Steps for Receiver for Bidirectional Link

(95) The calibration steps for the bidirectional examples of FIGS. 12, 13, and 14 will be essentially identical to the calibration steps already discussed for the unidirectional examples of FIGS. 4 and 5. However, the asymmetry in bidirectional example of FIG. 15 will introduce some additional calibration steps, and will receive further discussion.

(96) FIG. 17 includes the steps needed to perform a receiver timing calibration update for a system like that of FIG. 15.

(97) (Step 900) Execute a first calibration sequence on initialization or other event to establish an operation value “RX” for the receive sample point, based on long calibration patterns.

(98) (Step 901) Periodically, or upon an event indicating that a drift measurement is due, suspend normal transmit and receive operations that are in progress.

(99) (Step 902) Change the sample point of the receive component (A) from the “RX” operation value (used for normal operations) to either the “RXAS” or “RXBS” edge value (used for calibration operations) in the “adjust” block. It may be necessary to impose a settling delay at this step to allow the new drive point to become stable.
(Step 903) Change “mux” block of the transmit component (A) so that the “pattern” block input is enabled.
(Step 904) A pattern set is created in the “pattern” block of the transmit component (A) and is transmitted onto the “link”. The normal transmit drive point is used.
(Step 905) The pattern set is received in the receive component (B). Note that the sample point of the receiver in component (B) is fixed relative to the reference clock of the system and is not adjustable. The received pattern set is held in the “storage” block in component B.
(Step 906) The “mux” block input connected to the “storage” block in component B is enabled. The pattern set is re-transmitted onto the link by component B.
(Step 907) The pattern set is received by component A from the link using either the RXAS or RXBS value to determine the receiver sample point.
(Step 908) The received pattern set is compared in the “compare” block to the expected pattern set produced by the “pattern” block in the receive component (A). The two pattern sets will either match or not match. As a result of this comparison (and possibly other previous comparisons) a pass or fail determination will be made.
(Step 909) Adjust either the “RXAS” or “RXBS” edge value in the receive component (A) as a result of the pass or fail determination to determine a drift value. The “RX” operation value in the receive component (A) is also adjusted based on this drift value. This adjustment may only be made after two or more of these calibration sequences have been executed, in order to ensure some level of repeatability.
(Step 910) Change the sample point of the receiver from the “RXAS” or “RXBS” edge value (used for calibration operations) to “RX” operation value (used for normal operations) in the “adjust” block of the receive component (A). It may be necessary to impose a settling delay at this step to allow the new drive point to become stable.
(Step 911) Change “mux” block of the transmit component (A) so that the “normal path” input is enabled.
(Step 912) Resume normal transmit and receive operations.

(100) FIG. 18 illustrates an example like that of FIG. 15, with the exception that the point to point bidirectional link of FIG. 15 is replaced with a multidrop link, coupling component 1000 to a plurality of components 1051, 1052. The multidrop link configuration can be applied in other configurations. In the representative example shown in FIG. 18, a first bidirectional component 1000 and a plurality of other bidirectional components 1051, 1052 are connected in a point to multi-point configuration, or multipoint to multipoint configuration, with an interconnection medium referred to as Link 1002. Normal path 1010 acts as a source of data signals for normal operation of component 1000 during transmit operations. Normal path 1031 acts as a destination of data signals for component 1000, during normal receive operations. The calibration operations are interleaved, and re-ordered, in this embodiment with normal communications, as described above to improve throughput and utilization of the communication medium.

(101) The first bidirectional component 1000 includes a block 1005 labeled “pattern”, which can consist of pattern storage or pattern generation circuitry, and which is used as a source of transmit calibration patterns. A multiplexer block 1006 labeled “mux,” implemented for example using a logical layer or physical layer switch, enables the transmit calibration pattern set to be driven onto the link by the transmitter circuit 1003. The transmitter drive point can be adjusted by the block 1007 labeled “adjust”. In this embodiment, the adjust block 1007 includes storage for multiple parameter sets which are applied depending on the one of the other components 1051, 1052, . . . on the link to which the transmission is being sent. Component 1000 also has support for calibrating receiver 1024, including a block 1028 labeled “pattern”, which can consist of pattern storage or pattern generation circuitry, and which is used as a source of expected patterns for comparison with received patterns. A block 1029 labeled “compare” enables the received pattern set to be compared to the expected pattern set, and causes an adjustment to be made to either the transmitter or receiver. The receiver sample point can be adjusted by the block 1032 labeled “adjust”. In this embodiment, the adjust block 1007 includes storage for multiple parameter sets which are applied depending on the one of the other components 1051, 1052, . . . on the link from which the communication is being received. In the first component 1000, the compare block 1029 is used for analysis of both transmit and receive calibration operations, and is coupled to both the adjust block 1007 for the transmitter, and adjust block 1032 for the receiver. In the example of FIG. 18, the receiver sample point and transmitter drive point of the first bidirectional component 1000 are adjustable. The other components 1051, 1052, . . . are implemented as described with reference to FIG. 15 without adjustment resources, in this example, and not described here. In alternative embodiments, the components 1051, 1052, . . . on the link may be provided with adjustment and calibration resources, as described for other embodiments above.

(102) The embodiments described above involve calibration of timing parameters. Other embodiments of the invention are applied to calibration of other parameters of the communication channel, including voltage levels for drivers and comparators, resistance values such as link termination resistances, driver strength, adaptive equalization coefficients, noise cancellation coefficients, parameters that cause overshoot and undershoot of signals such as driver switching power or speed, and so on. These parameters are reflected in drifting flight times, output delays for transmitters, receiver mismatches and input delays. Also, drift occurs due to spread spectrum clocking.

(103) The calibration sequences used for tracking drift are executed from time to time. In some embodiments of the invention, the calibration sequences for tracking drift are initiated in response to a timer, or upon sensing a change in a condition that could cause drift such as ambient temperature, temperature of a component or printed circuit board, power supply voltage variations, system state changes like switches between low and higher speed or power modes of operation, host system or system management commands, and so on. The timing for the calibration sequences is selected in preferred systems depending on time constants expected for the drifting conditions likely to have an effect on the parameters being calibrated.

(104) According to the present invention, communication systems are provided that support periodic calibration to track drift, while conserving resources of the communication channels being calibrated. The invention reduces the hardware and storage requirements needed for calibration, reduces the impact on bandwidth and throughput across the communication channel, and maintains accuracy of the operation values of the parameters being calibrated while using less of the resources of the communication channel. The calibration sequences tracking drift can be run more often, because overhead is smaller, than prior art schemes. Also, the techniques of the present invention improve overall latency characteristics of the communication channel in changing operating conditions.

(105) While the present invention is disclosed by reference to the preferred embodiments and examples detailed above, it is to be understood that these examples are intended in an illustrative rather than in a limiting sense. It is contemplated that modifications and combinations will readily occur to those skilled in the art, which modifications and combinations will be within the spirit of the invention and the scope of the following claims.