Dynamic delay calibration of devices attached to a bus system using time-multiplexed clock and data lines

By introducing an automatic adjustment process and multiple stabilization modes into the bus system, the problems of delay uncertainty and poor signal quality in high-speed communications are solved, and low-cost, low-power synchronization effects are achieved.

CN110858787BActive Publication Date: 2024-10-01GOOGLE LLC
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN201910778732.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2019-06-27
Filing Date
2019-08-22
Publication Date
2024-10-01
Estimated Expiration
2039-08-22

AI Technical Summary

Technical Problem

When implementing high-speed communication with the existing technology, it is difficult to achieve synchronization between devices at low cost and low power, and there is a problem of delay uncertainty leading to poor signal quality or transmission failure.

Method used

By introducing an automatic adjustment process into the bus system, enabling the device to self-calibrate, utilizing time-multiplexed clock and data protocols, estimating and adjusting delays, reducing the variability of readback values, and switching between different stabilization modes to optimize delay calibration .

Benefits of technology

It achieves high-speed communication synchronization between devices at low cost and low power, reduces delay uncertainty, improves signal quality, and avoids transmission failures.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN110858787B_ABST
    Figure CN110858787B_ABST
Patent Text Reader

Abstract

A system and method for performing dynamic adaptation and correction of internal delays in devices connected to a common time multiplexed bus. The method allows devices to operate reliably at higher bus frequencies by correcting for inherent and unknown delays within components and systems by measuring the actual delays using multiple reads utilizing this bus. Inherent noise and jitter are utilized to increase the accuracy of the measurements, thus essentially using this uncertainty as self-jitter for increasing resolution in the measurements. During adaptation, delays can be adjusted in multiple steps for faster adaptation times.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] CROSS-REFERENCE TO RELATED APPLICATIONS

[0002] This application claims the benefit of and priority to U.S. Provisional Patent Application No. 62 / 721,412, filed on August 22, 2018; U.S. Provisional Patent Application No. 62 / 791,607, filed on January 11, 2019; U.S. Provisional Patent Application No. 62 / 824,985, filed on March 27, 2019; and U.S. Provisional Patent Application No. 62 / 853,654, filed on May 28, 2019, each of which is incorporated herein by reference in its entirety. Technical Field

[0003] The present application generally relates to systems and methods for synchronization between multiple devices attached to a common bus utilizing time multiplexing of clock information and data on the common line. Background Art

[0004] Many modern communication systems enable data to be transferred between two or more connected devices (e.g., a headset and a host processing system) via a bus system. To save pin count and for physical constraints, it is often advantageous to combine two or more signals on a common bus to enable signal sharing between devices. When these signals are time-multiplexed, the various devices use a common synchronization source, which is usually provided by a clock line and a frame start marker to identify the start of the data.

[0005] The device coupled to the bus that sends out clock and frame start information will be referred to as the master device in this article, and the receiver of this information will be referred to as the slave device in this article. The source of the clock and frame start can be another device, and / or a subcircuit that can provide this information to the bus for overall use. Assuming that the master device conveys information to the slave device, it is common for the slave device to receive data from the master device at high speed, because the clock and data will incur equal delays in the system. However, depending on the internal propagation delays and external delays in the circuits involved (such as determined by the physical parameters and bus diameter of this bus system), there may be large uncertainties in the arrival time of the signal being propagated from the slave device and received at the master device. If the transmission speed is low, this is not a problem, but for high-speed links, this uncertainty causes the receiver eye diagram opening size to decrease, resulting in either poor signal quality or complete transmission failure at higher transmission speeds.

[0006] It is possible to mitigate this problem to some extent by making the circuits very high precision, with an associated increase in production cost and silicon area and / or trimming of the various parts, which also increases production cost. Even with efforts to reduce this variability in delays from various parts, there are still variations caused by process, voltage and temperature (PVT). Therefore, while it is possible to increase transmission speeds through precise design and trimming, any PVT variations will significantly limit performance at higher speeds.

[0007] In view of the foregoing, there remains a need in the art for a low-cost, low-power bus system that facilitates high-speed communications between connected devices. Summary of the invention

[0008] The present disclosure discloses bus systems and methods that include an automatic adjustment process to enable devices to achieve self-calibration. The methods disclosed herein enable the production of low-cost devices due to the elimination of precision circuitry or precision trimming within these devices.

[0009] In various embodiments, a method includes controlling a bus to facilitate communication between a plurality of devices, wherein the communication is synchronized based at least in part on a time multiplexed clock and data protocol, initializing the bus to a first value using a first device, receiving a second value on the bus from a second device that is different from the first value, and transmitting a response to the second device based at least in part on the second value, the response being configured to control a delay of the second device to calibrate communication on the bus from the second device.

[0010] The method may also include estimating, by the first device, the delay of the second device, and adjusting the delay of the second device to cause fluctuations in the value read by the first device. In some embodiments, the method includes reading back the second value written by the second device before the second value stabilizes on the bus. The second value may be written multiple times by the second device and the first device may filter the read to reduce variability in the estimate of the current readback value on the bus. The first device may generate a command requesting one or more devices coupled to the bus to respond with a reply and adjusting a delay to the device based at least in part on the reply, wherein the reply includes multiple replies from each responding device. The method may include adjusting an average value of the value read from the bus to have a probability between zero and one, and adjusting the delay accordingly to avoid reading back the same value.

[0011] In some embodiments, the method further comprises providing a bus keeper in the bus circuit configured to suppress leakage current that may cause an undefined state, wherein the bus keeper maintains a current state of the bus when not driven.

[0012] The method may also include providing a first stable mode for obtaining an estimate of a correct delay position using a first delay step size during an initial calibration, and providing a second stable mode for obtaining a more accurate delay position for a final adjustment of the delay, the second stable mode using a second delay step size that is smaller than the first delay step size and stabilizing more slowly than the first stable mode, and switching between the first stable mode and the second stable mode based on a plurality of readback values. Switching between the first stable mode and the second stable mode may also include switching to the first stable mode when there has not been a change in the value within the N read ranges, and switching to the second stable mode when there has been one or more changes in the value within the N read ranges. The method may also include providing an adaptive mode with a plurality of adaptive speeds, determining whether the value being read back is equal to a previous value and increasing the adaptive speed up to a particular upper limit, and determining whether the value being read back is different from the previous value and decreasing the adaptive speed to a particular lower limit.

[0013] In various embodiments, a system includes: a first device coupled to a bus, the first device configured to control the bus to synchronize communications between multiple devices based at least in part on a time multiplexed clock and data protocol and initialize the bus to a first value, and a second device communicatively coupled to the bus, the second device configured to transmit a second value different from the first value on the bus. The first device may be configured to read the second value from the bus and transmit a response to the second device based at least in part on the second value, and the response may be configured to control the delay of the second device to calibrate communications on the bus from the second device. The system may be configured to include constraints for aligning the calculated multiple delay values ​​with actual hardware values.

[0014] In some embodiments, the first device is configured to adjust the delay of the second device so that the value being read by the first device will fluctuate between two or more values. The first device may also be configured to read the value written by the second device multiple times and perform filtering of the values; wherein the filter is configured to reduce the variability of the estimate of the current readback value on the bus. The first device may be configured to set the bus to a known value and then leave the bus undriven by disabling an output driver, after which the second device may change the state of the bus.

[0015] The bus may include circuitry including a bus keeper configured to eliminate issues with leakage current that may result in an indeterminate state, wherein the bus keeper maintains a current state of the bus when not driven.

[0016] In some embodiments, the first device is configured to write an initial delay value to the plurality of connected devices before the plurality of connected devices are configured to drive the bus, and wherein the initial delay value is a previous delay value from the last time the system was operating to update the initial value of other connected devices. The system may also be configured to adjust the average of the values ​​read from the bus to have a probability between zero and one, and adjust delays accordingly and avoid reading back the same value.

[0017] The system can be configured to include a first stable mode and a second stable mode, wherein the first stable mode is for use during adjustment of the delay to obtain an estimate of the correct delay position, the second stable mode is configured to determine a more accurate delay position for final adjustment of the delay, the second stable mode having a smaller delay step size than the first stable mode during subsequent calibration. The system can also be configured to switch between the first stable mode and the second stable mode based on a plurality of readback values.

[0018] The system may also be configured to include an adaptive mode having multiple adaptive speeds, wherein the adaptive speed is incrementally increased up to a particular upper limit when the value read back is the same as the previous value, and the adaptive speed is incrementally decreased to a particular lower limit when the value read back is different from the previous value. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] Various aspects of the present disclosure and its advantages may be better understood with reference to the following drawings and the detailed description that follows. It should be appreciated that the same reference numerals are used to identify the same elements illustrated in one or more of the drawings, wherein the illustrations in the drawings are for the purpose of illustrating embodiments of the present disclosure, not for the purpose of limiting the embodiments of the present disclosure. The components in the drawings are not necessarily to scale, but instead the emphasis is placed on clearly illustrating the principles of the present disclosure.

[0020] Figure 1 is an example illustrating a master device and two slave devices connected to a common bus, with delays within the devices and on the bus itself, in accordance with one or more embodiments of the present disclosure.

[0021] Figure 2 is an example of an eye diagram of a calibrated slave device according to one or more embodiments of the present disclosure.

[0022] Figure 3A , 3B, 3C, and 3D are examples of illustrating timing information from a slave device according to one or more embodiments of the present disclosure.

[0023] Figure 4 Illustrated is the time slots of an example time multiplexed bus system having sixteen time slots in a row, including two time slots for timing information, in accordance with one or more embodiments of the present disclosure.

[0024] Figure 5 An example of a slave device writing various delays (too small, calibrated, and too large) to a master device according to one or more embodiments of the present disclosure is illustrated.

[0025] Figure 6 is an example illustrating the variability of individual samples obtained from a slave device due to jitter and noise on the bus according to one or more embodiments of the present disclosure.

[0026] Figure 7 is a flow chart illustrating example programming of slave device delays using one or more commands issued by a master device to a bus according to one or more embodiments of the present disclosure.

[0027] Figure 8 is an example of internal logic from a slave device attached to a time multiplexed bus with embedded clock information in accordance with one or more embodiments of the present disclosure.

[0028] Fig. 9 is an example of a clock recovery circuit according to one or more embodiments of the present disclosure, which is used to adjust the delay of one or more slave devices by correcting timing events within a row or frame.

[0029] Fig.10 is an example of a circuit that uses analog integration of return delay information from a master device to adjust an internal delay of a slave device according to one or more embodiments of the present disclosure.

[0030] Fig.11 is an example of a delay circuit configured to adjust an internal delay of a slave device circuit using a digital-to-analog converter and a digital control algorithm that controls a delay element according to one or more embodiments of the present disclosure.

[0031] Fig.12 is an example of an algorithm configured to control internal delay of a slave device using a linear search according to one or more embodiments of the present disclosure.

[0032] Fig.13 is an example of an algorithm configured to control internal delay of a slave device using a linear search method with two step sizes according to one or more embodiments of the present disclosure.

[0033] Fig.14 is an example of an algorithm configured to control internal delay of a slave device using an adaptive two-step linear search method according to one or more embodiments of the present disclosure.

[0034] Fig.15 is an example of an algorithm configured to control internal delay of a slave device using an adaptive multi-step linear search method according to one or more embodiments of the present disclosure.

[0035] Fig.16 According to one or more embodiments of the present disclosure Fig.12 An example of a modification of an algorithm comprising multiple read measurements prior to each delay adjustment.

[0036] Fig.17 is an example of an adjustment process in which a slave device self-adjusts its internal delay using multiple read-write sequences according to one or more embodiments of the present disclosure.

[0037] Fig.18 is an example of a master device according to one or more embodiments of the present disclosure, the master device being configured to read the delay of both the falling edge and the rising edge by performing two reads on alternating events. DETAILED DESCRIPTION

[0038] According to various embodiments of the present disclosure, systems and methods are described for achieving synchronization between multiple devices connected to a common bus where clock and data information is combined.

[0039] In order to synchronize between multiple devices connected to a bus system, one device will send out a synchronization pattern that is received by other devices connected to the same bus system and used as a time reference. The internal delays within these other devices connected to the bus may be unknown. Embodiments disclosed herein include systems and methods for calibrating time references and delays between various devices.

[0040] A method for self-calibration is described herein that enables individual devices to perform their own time adjustments based on data written to a bus by the devices and copied by a device providing a time reference. In this context, the device providing the time reference will be referred to as a master device, and the device attempting to correct its own timing will be referred to as a slave device. In various embodiments, the process of performing calibration will include the following: (i) the master device sends out a time reference (e.g., a synchronization pattern) to which the slave devices can lock; and (ii) based on the information, the slave devices can be able to read information from the master device to the slave devices, because both the synchronization pattern and any commands from the master device will incur the same delay and can therefore be reliably received.

[0041] However, the delay from the slave device to the master device is unknown until it has been measured, and therefore, in order to promote fast bus operation and avoid bus conflicts, the bus is configured to optimize the timing of data transfer from the slave device to the master device. In some embodiments, this problem will be solved by having the slave device write a value to the master device, and this value will change the current value of the bus state, and the master device will write the value it has read to the bus for the slave device to use as an indicator of internal delay.

[0042] The slave device is configured to adjust the internal delay based on the value that has been read back from the master device. For example, the value that has been read back is close to a certain probability, such as 50% of zero and one, thereby indicating that this particular delay value will cause the slave device transmitter to turn on at the optimal time, and from then on the master device may be able to reliably read the value from the master device after one time unit, where one time unit is defined by the time base of the clock system.

[0043] Although the method described herein will be illustrated by example on a single-ended bus system, one of ordinary skill in the art will appreciate that the method can be applied to a differential bus, where both the master and slave devices will contain differential transmitter and receiver circuits.

[0044] Now refer to Figure 1 Components of a system 100 are described for performing bus communications between multiple components attached to a bus 120 using time multiplexed communications with delay adjustment by the devices' embedded clocks. The system 100 includes at least one master device 102, which may include a port 104 for external or internal communications, a bus control unit 106, a transmitter output port 108 connected to a common bus, and a receive input port 110 also connected to the common port. The master device may include a clock generation circuit or external clock source (not shown), but it may be placed in other parts of the system.

[0045] The bus system may include one or more slave devices, such as slave device 1 (130). This device will include a receiver input port 132, a clock or timing recovery circuit 134, an optional input time adjustment circuit 136, an output transmitter port 138, an output timing adjustment circuit 140, a bus control circuit 142, and various ports 144 for communication. In addition to slave device 1, a similar device (slave device 2 (150)) is shown with similar circuits (e.g., a receiver input port 152, a clock or timing recovery circuit 154, an optional input time adjustment circuit 156, an output transmitter port 158, an output timing adjustment circuit 160, a bus control circuit 162, and various ports 164 for communication), but the two devices may not be identical, nor is it required that both devices be attached to the bus. In some embodiments, in addition to slave devices 1 and 2, multiple devices are located on the bus. The slave devices may use, for example, a DLL (delay locked loop) or a PLL (phase locked loop) for synchronization with the master device synchronization information. In some cases, these subcircuits may include a timing gate to remove any random data on the bus that interferes with the operation of the PLL and DLL circuits.Such a timing gate (not shown) may be first employed after the slave device has acquired lock on the bus.

[0046] Any clock and data signal from the master device to the attached slave device will incur the same delay. Therefore, the slave device can use the clock reference as a stable timing to recover any data. However, the internal delay in both the master device and the slave device unit is unknown, and there are unknown external factors (such as bus delays). Therefore, there will be significant uncertainty in the arrival of data in the direction from the slave device to the master device. In order to optimize this timing, a process for obtaining very accurate delay calibration at low cost will be described. This process will not require the addition of additional special circuits to the system. Factors such as jitter and noise that are generally considered harmful to system operation will be used here to improve the timing resolution of the system, so that the master device and the slave device can obtain accurate timing information, even if only two voltage levels are used in the transmission and reception of information. The large jitter associated with very low power systems will result in variability in the values ​​of the received samples near the transition point, but this variability will be constructively used to improve the timing estimate of the total path delay. It is possible to adjust the reception of data within the master device, but for the highest possible bandwidth, it may be better to adjust the actual transmission event within one or more attached slave devices. In this way, any data from the slave devices can be closely aligned for the highest possible bandwidth on the bus system.

[0047] The range of delay adjustments required will depend on component tolerances, bus diameter, and internal delays governed by specific technology considerations. As an example, it is currently feasible to manufacture slave receiver circuits with a variation in output settling point of +5 nanoseconds (ns) compared to the input edge (internal delay) and a total variation of + / - 10 ns about -5 ns to +15 ns (static delay, jitter not included).

[0048] The master device includes its own timing reference, and in some contemplated implementations, the variation within this device can be in the range of -1 ns to +5 ns. For bus diameters between 0 cm and 200 cm (e.g., a relatively long bus system), we would get delays between 0 ns and 12 ns (assuming a slow propagation speed of about 16 cm / ns). The total variation of these factors results in a total timing variation of between -6 ns and 32 ns. To obtain a high speed, low power signaling system, it is desirable to limit the number of clock transitions, but this will increase jitter in the slave device receiver circuits.

[0049] For cost and system considerations, it is desirable to properly align the slave data locations regardless of manufacturing tolerances. For the lowest possible power consumption, jitter in the receiver clock recovery circuit will increase, so it is desirable to limit the bandwidth loss due to poor alignment of the master and slave data patterns. For approximately 0.3 ns to 1.5 ns (actual) rms jitter, in many implementations we will have a worst-case variation of + / - 2.1 ns to 10.5 ns (for 10 -12 error probability, factor 7).

[0050] For the calibration to be considered successful, in some embodiments, it is desirable for the slave device data to be aligned within 1-2 ns of the optimal value, since this factor is a small portion of the total error budget. This value may be so small that it is not practical to program or control it through a one-time factory programming. Therefore, embodiments are described herein to dynamically measure and control delays within a device for optimal timing control.

[0051] The control of the slave device delay timing can occur either in the master device, in the slave device, or in another device connected to the bus or assembly in another manner. The advantage of the master device controlling the timing is that all slave devices will not require control circuitry, so a single circuit can control all devices for a potentially simpler system. However, it is also possible for a slave device to control its own timing, provided it knows what value the master device has read from it.

[0052] One way this can be addressed is by having the master write back the value it has read from the slave during the calibration phase. An advantage over previous approaches is that the master only needs to write back a single bit, which allows bandwidth requirements to be reduced during the calibration phase. The slave itself can be fully responsible for calibration and will not need to rely on any special features of the control algorithm located within the master. Alternatively, the master can signal the slave to adjust its internal delay (e.g., do not change the delay, increase the delay, or decrease the delay) rather than providing an absolute delay control value to the slave.

[0053] Figure 2 The eye diagram of data transmitted by a slave device is shown, which is operating at a relatively high frequency (e.g., 75MHz) and using delay adjustment that is accurate to within + / -1ns. From the figure, it can be seen that there is + / -4.5ns left for the noise and noise jitter of the entire system, and the data will still be readable. For an error probability of 10 -12 This is equivalent to a root mean square (rms) jitter of 643 picoseconds (ps). Without adjustment and using the required earlier adjustment values ​​in the range of -10 ns to +30 ns, the data is randomly scattered across the eye.

[0054] Figure 3A -D shows an example of events involved in sampling latency information from a slave to a master. Figure 3A , which shows the events involved in measuring system delay. First, the master sends a low-high transition to signal the start of a synchronization event. The master will then float the bus, after which the slave can change the level of the bus. Finally, the time it takes before the bus changes again (from high to low in this example) is an indication of the system delay (i.e., from the master to the slave to the master). Optionally and not shown in the accompanying drawings, the master can send a copy of the value it has read from the bus either in the same frame or row or in a later row or frame, so that the slave does not have to perform any delay adjustment by itself without any other interaction from the master. The timing diagram is shown from the perspective of the master. A bus holder can be included in the system to keep the bus value constant when no device is driving the bus. The output impedance of the bus holder will likely be significantly higher than the impedance of the bus (transmission line), and significantly higher than the output impedance of each output driver. The bus holder can be located in one or more components, or it may not be needed at all for systems with small leakage currents and high operating frequencies.

[0055] See also Figure 3B, there is some uncertainty in the exact time the bus changes level after the master has idled the bus. This uncertainty is mainly caused by jitter from the slave clock recovery circuit. Although there will also be a little uncertainty in the exact master timing, this timing will be more stable due to the direct connection to the reference clock.

[0056] See also Figure 3C , if the master reads the bus value significantly later than the slave has changed the bus value, the value read will always be the same. In the case shown on the figure, the master will always read a low value or zero. This is an indication that the delay value that has been set within the slave is too low, as it may take up more bandwidth than is actually required for correct operation.

[0057] See also Figure 3D , if the master reads the bus value significantly earlier than the slave changes the bus value, it will always read the same value. In this case, the master will always read high or one. This is an indication that the delay value has been set too large because the master cannot receive any information from the slave in this time slot.

[0058] Figure 4 An embodiment of a time multiplexing system is shown that contains 16 time slots in each row. Each row also uses two time slots to communicate synchronization information from the master to the slave. All other time slots can be used to transfer data between the master and the slave or to allow the direction of data transmission to be changed. The master will read data from the slave in the middle of the time slot and at the edge of the time slot for delay information (i.e., ½ clock cycle early).

[0059] Referring to the figure, the last time slot (15) is used to pre-define the bus to a low level as the start of the synchronization pulse. The next time slot (numbered 0) is used to set the bus high, and the boundary between the low to high transitions is used by the clock recovery circuit of the slave device to obtain correct synchronization between the master and slave devices. Time slot 1 is used to set the bus to idle and allow the bus direction to change from master to slave to write to the bus. Based on internal delays in the slave device and external delays unknown to the slave device, it may change the output level somewhere within time slot 1. The master device can read back the bus level at the transition between time slot 1 and time slot 2. This reading will be used for delay correction. Finally, the value of the bus located in the middle of time slot 2 will be used as the return value from the slave device for the actual transmission of data, because here the bus has time to stabilize and this scheme allows maximum tolerance for jitter and noise (i.e., the sampling point is in the middle of the "data eye"). Time slots 3-14 are shown as idle in the figure, but can involve the transmission of actual data between devices as long as the data does not interfere with the delay measurement.

[0060] Figure 5The details of the delay measurement are shown in more detail. The first timing diagram at the top shows a slave device where the delay correction has been set too low, with the result that the master device will always read back a change in the bus level, even at the test sampling point between time slot 1 and time slot 2. In the second timing diagram, the master device will read alternating zero and one values ​​(i.e., sometimes it will see a change in the bus level, and sometimes it will not). Due to jitter and noise, the values ​​being read back will randomly alternate. Finally, the last timing diagram at the bottom of the figure shows a slave device where the delay correction has been set too long, causing it to respond too late to the required change. When the master device measures the bus level at the transition between time slot 1 and time slot 2, it will never see a change in the bus level. Finally, the actual value that will be used for communication between the slave device and the master device will be the value sampled ½ time slot after the test value (i.e., in the middle of time slot 2).

[0061] Figure 6 It is shown that the measurement of the value written by the slave by the master will be modulated by noise and timing jitter. However, this variability can be used to obtain more than two levels when combining multiple samples for more precise adjustments. Due to the requirement of very low power consumption in the slave, the timing jitter will be quite large. However, in this application, this will be used to our advantage because it allows us to form an average of multiple measured values ​​and together they will bring us information about the transition region where we will not only be able to determine whether the value is before or after the transition, but in many embodiments, accurately use the average to adjust the delay setting to the optimal value, resulting in an average return value of about 50% (50% low and 50% high) of any read value. If less than 50% of the returned bus values ​​show no change, this means that the delay should be smaller for better signal integrity, while if more than 50% show change, this means that the delay should be set to a smaller value to optimize bus bandwidth. The master can either adjust the timing within the slave itself, or can simply write back the read value and let the slave adjust itself. If the master were to adjust its own receiver timing, the slaves would not require any adjustments, but while this approach is simpler, it would result in suboptimal use of bandwidth since the slaves could interfere with each other unless extra bandwidth was allocated for the changes. Therefore, it is recommended to adjust the transmitter timing rather than the receiver timing.

[0062] exist Figure 7An example of one or more commands issued by a master device to a bus system to perform optimal correction and reading of slave device delays according to one or more embodiments is shown in FIG. The issuance of commands to the bus is performed in the following manner. First, the master device will issue synchronization information for a long enough time that all devices attached to the bus will obtain synchronization through their clock receiver circuits. Now, they can read commands and data from the master device, but their own transmitter circuits will not yet be properly calibrated for internal and external delays.

[0063] The commands and process as shown in algorithm 700 will show an example of the overall steps involved. First, in step 702, the master will issue a command to select what device to time correct. In step 704, the master will set the initial delay in the slave device (this step can be skipped in some embodiments). Then, in step 706, the master will initialize the bus to a known value and leave it undriven. Note that this event can be combined with the naturally occurring sync pulse being sent in each row. ( Figure 4 and 5 5 and 0 in the time slots 15 and 0 in the slave device). In step 708, the selected device will respond by changing the current bus value based on the internal timing of the slave device. In step 710, the master device will then read back the current value from the bus based on the master device's own timing. In step 712, if the purpose is to let the slave device adjust the internal timing itself, the master device can optionally write back the value it has read from the bus. Note that the slave device can reliably read data from the master device because the command and synchronization pulses from the master device are equally delayed. In optional step 714, the data is averaged before any time correction is made. In step 716, consider whether the value is reliable at this delay position, otherwise return to step 706. In step 718, consider whether the delay estimate is complete, if so, change the delay setting and continue with the new delay value 720, otherwise inform the slave device that more reading is required in step 719. If the delay value is the optimal value, this should be used for the slave device 722 and when all devices attached to the bus have been calibrated in step 724, the algorithm is complete.

[0064] Figure 8An example embodiment of a circuit 800 for performing internal delay correction within a slave device based on a DLL topology is illustrated. In this example, delay cells are used to obtain lock by a master device and control the transmission of data from the slave device. If the clock recovery circuit is based on a DLL topology, it may be advantageous to use this circuit for delay correction, after which the two circuits (clock recovery and delay correction) can be combined into a single circuit. As illustrated, the circuit 800 includes an input receive buffer 802 for receiving bus data; a timing gate 804 for filtering bus traffic from synchronization pulses once the slave device has locked to the master device; a bus synchronization circuit 806 that ensures safe synchronization with the master device and controls the timing gate; delay cells 808 (eight are shown, the number may vary with the application) controlled by the bus synchronization circuit and used to divide a single line of data into individual time slots; a multiplexer 810 for selecting, delaying and controlling output timing; a transmit register 812 for containing the next data to be transmitted by the slave device and a transmit output buffer 814 to be connected to the bus. Based on the measured delay values, either the master or slave will control the settings of the multiplexer and thereby adjust the timing to the optimal value. This control can be performed once the system is started or on a continuous basis to correct for environmental changes (e.g., changes in temperature that may affect internal and external delays in the bus system). Therefore, by continuously monitoring and correcting these delays, these device changes can be corrected and the system can continue to work in an optimal manner. In the case where the required time adjustment exceeds the time adjustment supported by a single time slot, the slave can be configured to transmit pulses in different time slots to accommodate these larger delay adjustments (delay adjustments as shown support delay adjustments within a single time slot).

[0065] Fig. 9 An example system 900 for performing internal delay correction within a slave device based on a digital correction unit according to one or more embodiments is shown. The system 900 includes a clock recovery circuit 902, which may include a PLL locked to a synchronization pattern provided by a master device, a synchronization circuit, and a timing gate (not shown), which is provided to eliminate the effect of data on clock recovery. This timing gate may be activated first after the device has obtained a lock on the original synchronization pattern to ensure lock. A timing counter 903 and an adder (time correction unit) 904 that changes the time of the transmission event will be included; as well as a comparator 906 for detecting the start of the transmission of data; a register 908 for outputting data from the device and an actual transmission output buffer 910. In some cases, the actual timing event may be programmed instead of adding a delay to the start of the data. In this way, there will be no need for the adder 904, and the comparator 906 will be provided with the correct start of the data instead.

[0066] The timing accuracy can be improved by almost a factor of two by utilizing both edges of the clock for timing adjustments. As an example, by having an internal high-speed clock of 250 MHz, a timing correction of 2 ns is possible by utilizing both edges. Therefore, for the optimal delay setting, the error is at most 1 ns (i.e., + / - 1.0 ns). The reason why the timing is limited to less than a factor of two in this case is due to the imperfect 50% clock duty cycle in a real system.

[0067] Fig.10 An example system 1000 is shown for performing internal delay correction within a slave device based on an integrator 1002, a delay unit 1004 controlled by the output of the slave integrator, and a transmitter output buffer 1006. Delay calibration is performed here on a continuous basis by adding up the return values ​​and using an integrated version thereof to control the delay unit. Note that due to internal leakage and other factors, this circuit may require delay measurements to be made on a regular basis, otherwise it may drift from an optimal position.

[0068] Fig.11 An example circuit 1100 for performing internal delay correction in a slave device based on a DAC (digital-to-analog converter) 1102, a delay unit 1104, and an output transmission buffer 1106 is shown. This circuit will use the optimal delay value calculated digitally to control the DAC, and the analog output from the DAC will control the delay of the delay unit. This in turn controls the output transmission buffer. The advantage of this circuit over system 1000 is that there is a relatively small drift and internal leakage current will not significantly move it away from the optimal delay position. The disadvantage is the need for a DAC, although it does not need to be highly accurate, as long as it is monotonic and has a sufficient number of steps to control the delay unit. Therefore, in some applications, as little as 6 bits of resolution can be sufficient to control the delay. For systems that encounter significant drift with temperature, it may be necessary to continuously run the calibration algorithm.

[0069] The four methods for obtaining the delay between the master and slave devices are respectively Figure 12-15 There are other methods that can be used to control these devices, for example, a half search or a binary search. However, the method described here has the advantage that we can ensure in a simple way that the step size adopted is small enough so that we do not run the risk that the slave device will start to overwrite any information provided by the master device or other devices attached to the bus. In addition, the algorithm described here is quite noise-robust to noise affecting the delay through the choice of appropriate parameters.

[0070] Fig.12An example embodiment of a flow chart of a first algorithm is shown. This method 1200 includes a linear search algorithm. For each cycle, the master will set the bus and the slave will respond by changing the bus value. Based on the value read by the master, the delay within the slave will either increase or decrease by a small amount of time. In other words, if the slave writes to the bus too late, the delay within the slave will decrease by a small amount after the write to the master is performed, and similarly, if the slave writes too early (for example, when more than half of all values ​​read by the master are seen to have changed), the delay value will increase. This method will ensure good control of the jitter of the delay by changing the delay in small steps (for example, 0.05 ns), but this also means that for large delay changes (for example, 20 ns), the algorithm may go through hundreds of steps (iterations) before reaching the ideal delay. Therefore, this method is a compromise between fast settling time and good convergence, and for a given low jitter requirement, this will result in a long settling time. The method works in detail as described below.

[0071] The algorithm starts at step 1202 (entry point of the adjustment process). Then, at step 1204 the master will set the bus to a known value, and in step 1206 the slave will change the value on the bus. After the master has read the current value from the bus, it can optionally write back the value it read from the bus in step 1209, and the slave can use this value for self-adjustment. If the master is controlling the slave delay, this step may not be needed. Note that in steps 1204 and 1208 the master is operating based on its own timing, and similarly the slave will perform step 1206 based on the slave internal timing. In general, these timing references will be different, and therefore a correction in timing may need to be made. A decision is made in step 1210 based on the return value from the bus (read in step 1208). If the value has changed, we know - statistically speaking, because the return value is heavily affected by jitter and noise - that the delay is too large. Therefore, if this is the case, the current delay will be adjusted slightly upward, for example +0.05 ns. Otherwise (i.e., no change in bus value is detected), the delay is too large (again in a statistical sense), and we will make a small correction in the opposite direction, such as -0.05ns. These values ​​are just examples and many other values ​​can be used. If we choose a larger value, the search time to find the best delay will be faster, but the final output jitter due to random changes will be larger, so this is a trade-off. In step 1216, we will ensure that the output delay is within the system limit, that is, we will not increase the value beyond the so-called maximum value that we can correct, nor will we reduce the value beyond the minimum value that the circuit can handle. Then in step 1218, the integrated delay value is mapped from the internal register to the actual delay setting (for example, the number of actual delay settings can be less than the precision used to calculate the value), and in step 1220, the actual slave timing is corrected. Finally, in step 1220, it is determined whether the algorithm is completed. If the algorithm is not completed, it will continue from step 1204. The decision whether the algorithm is completed can be made either using the known maximum number of iterations that the algorithm can take or by using the average of the number of zeros and ones returned. Once this average reaches 0.50 over a number of iterations (e.g., 100), we have reached the optimal delay timing correction. To allow for some tolerance, the algorithm may exit once the average has reached a value in the range of, say, 0.47-0.53. In another embodiment, in step 1209, the master may adjust the slave delay (e.g., do not change the delay, increase the delay, or decrease the delay).

[0072] Fig.13A flow chart 1300 of a second algorithm is shown. This method is a linear search algorithm that has been improved by including two adaptation speeds. Initially, the method will make a large delay adjustment (e.g., 1-2 ns), and after the first transition has been found (by measuring by the master a value from the slave that is different from the previous value sampled by the master from the slave), it will change to a slower tracking mode (with a time step of about 0.05 ns) to ensure that jitter is controlled. This will significantly improve the settling time of the simple method one, but only a single noise measurement will cause the method to change to the slow mode, and then the adaptation will be slower. This method has slightly higher jitter as compared to method one. The method works in detail as described below.

[0073] The algorithm starts at step 1302 and sets a flag equal to zero (first transition) in step 1304. This flag is used to find the point at which the read value returned after the slave device responds is different from the previously read bus value. In step 1306, the master device will set the bus to a known value and then release the bus, while the value can be maintained by the bus holder. In step 1308, the slave device will change the bus based on its internal timing, and in step 1310, the master device will read the bus based on the master device internal timing. In step 1312, the master device can optionally write back the value it has read from the bus so that the slave device can self-calibrate its own timing. If the master device is directly setting the timing value of the slave device, this optional step is not required, but if the slave device will control the timing itself, this optional step can be included. In another embodiment, the master device can also control the slave device timing by issuing a change to the current delay value (e.g., no change, increase delay, decrease delay) in step 1312.

[0074] In step 1314, it is determined whether the bus value read back by the master is the same as the previous value read back by the master (note that in the first sequence of running this algorithm, it should be assumed that the two values ​​are the same, because no information is available and the "first transition" flag will remain zero). If the two values ​​are the same, the "first transition" flag will remain zero, but if the two values ​​are different, it will now be set to one or true in step 1316. This flag is used to perform a fast search initially, and once a transition has been found, a slower and more accurate search is performed. In step 1318, a decision is made based on the value of the "first transition" flag. If there is no change in value, we will continue with a fast search 1322, but once a single transition has been found, we will continue with a slower and more accurate delay correction as defined in step 1320. The value of the delay value in fast forward mode can be, for example, 0.75 ns, but will depend on the application, while the value of the slow and more accurate step can be, for example, 0.125 ns (depending on the application). These values ​​can be easily represented using binary arithmetic. The process performed in steps 1324 to 1336 may be identical to steps 1210 to 1222 described in method one and will not be repeated. This algorithm has the advantage of faster search time while maintaining the same jitter performance as algorithm one.

[0075] The third algorithm is Fig.14 is an evolution of the second algorithm, where the algorithm can always change between slow mode and fast mode based on the previous N values. If all N previous read values ​​are the same (i.e., we are adapting in the same direction), the larger of the two time steps will be taken ( T LARGE If there are any differences between the last N values ​​read, a smaller time step will be taken ( T SMALL ). This method is less sensitive to noise and jitter than method 2, and achieves faster settling time with slightly larger jitter than method 2. The method works in detail as described below.

[0076] The algorithm 1400 starts in step 1402, and then in step 1404 the master sets the bus to a known value and releases the bus. When no device uses a medium output impedance (e.g., in the range of 1-2 kΩ) to drive the bus, a bus keeper may exist and maintain the bus state. In step 1406, the slave changes the bus value, and in step 1408, the master reads the bus value back based on its own timing. In step 1410, the master may optionally write the read value back to the bus for the slave to use for self-adjustment. If the master is controlling the delay of the slave, this step is not required, and the master can control the delay of the slave either by issuing an exact delay value or by controlling the current value (e.g., no change, increase delay, decrease delay). In step 1412, a decision is made based on the past N samples read by the master. If there has been no change in the last N samples, we will use process 1414, where a large adaptive value is used. The value of the fast adaptation value (process 1414) may be 0.75 ns, while the value of the slow adaptation value (process 1416) may be 0.125 ns. In various embodiments, the value of N may be 8 to ensure that there is no oscillation between the high and low adaptation values ​​even in the presence of significant noise. Steps 1418-1432 are equivalent to steps 1210-1224, and therefore will not be described again. This algorithm works well even in the presence of significant noise, and while there may be some step sizes that are taken too slowly, generally it will adapt as quickly as possible using only two step values.

[0077] The fourth algorithm is Fig.15 As shown in Fig.14 The third algorithm shown in the figure is a further evolution. Here, we will increase the time delay change whenever the master samples the same value twice on the bus, and decrease the delay otherwise. At a certain point a balance will be reached, giving an average read value close to 50% of the two possible return values ​​(low or high, zero and one) depending on the update factor. In other words, for a change in value, the length of the next delay adjustment will be as follows: ,in Will typically be in the range 1.05 to 1.2. It may be advantageous to choose numbers that are easily representable without rounding errors in binary arithmetic that can be implemented as coefficients using addition rather than multiplication (e.g. 1 + 1 / 8 = 1.125).

[0078] If there is no change in value, the length of the next delay adjustment will be as follows: ,in will typically be in the range of 0.8 to 0.95. It may be advantageous to choose numbers that are easily representable without rounding errors in binary arithmetic (e.g., 1-1 / 8 = 0.875) that can be implemented as coefficients using addition rather than multiplication. This method works fastest due to the adaptive step size and has almost the same jitter performance as method one (jitter can be further reduced by increasing the settling time slightly). To ensure the stability of the algorithm, there will be limits on the minimum and maximum values ​​of the delay change, thereby implementing a minimum step size and a maximum step size in the delay. The method works in detail as described below.

[0079] The algorithm 1500 starts in step 1502. The master sets the bus to a known value in step 1504, and the slave changes the bus value based on its own timing in step 1506. The master reads the value on the bus based on the master's timing in step 1508. The master writes back the value it has read in optional step 1510. This step is only needed if the slave will self-adjust its internal timing. If the master is controlling the delay of the slave, this step is not needed. In this case, the master will control the timing of the slave either by writing an absolute delay value or by issuing a change to the current delay value (e.g., no change, increase delay, decrease delay). In step 1512, if the previous two values ​​read from the bus by the master are the same, then a decision is being made. In the first iteration of this algorithm, a default initial delay value, such as 0.75 ns, will be used in step 1514. If the two returned values ​​are the same, this is an indication that we are in the range of delay adjustment (where there is a small noise). This means that we should try to move faster. This is accomplished by multiplying the delay adjustment value by a factor greater than one (e.g., 1.125). However, if the two values ​​differ, a smaller step size is used (step 1516) because this is an indication that we are in a noisy region in the middle of a transition (where we will often fluctuate between zero and one). The delay adjustment correction factor will now be less than one (e.g., 0.875). From this point on, in step 1518, due to the limited precision in arithmetic, we will now limit the time adjustment to a specific range (e.g., 1 / 128 ns - 1.0 ns) and to avoid overwriting data from other devices. Steps 1520-1534 may be equivalent to steps 1210-1224 and will therefore not be described again.

[0080] Finally, the average of the returned values ​​can be used as an indicator of when the algorithm has ended (e.g., by forming a weighted average, such as average = 0.99*average + 0.01 x (last read value)). In some applications, a fixed and finite number of iterations may be used instead based on known information about noise and jitter levels and known stable characteristics, e.g., after 40 iterations, the algorithm may be considered complete.

[0081] Each of these methods can be supplemented to form an average of two or more values ​​sampled on the bus, which can be particularly effective if the master device is controlling the slave devices, because in this case it may be beneficial to perform multiple read operations before each write operation, as a write operation will take longer than reading a single bit.

[0082] An initial guess for the delay is used for practical implementation. Since there is a known range of delays, e.g., from -10 ns to +30 ns, within which the entire system will have to converge, it may be reasonable to choose an initial value equal to the midpoint of this range. However, to avoid issues with overwriting other device outputs (including overwriting the master device output), it may be advantageous to increase the starting point slightly, e.g., in the example above, using an initial delay value = 15 ns. This may mean that it will take slightly longer to converge to the maximum negative delay as compared to the maximum positive delay setting (i.e., it will take longer to converge to -10 ns than to converge to +30ns). In the most conservative design approach, the maximum delay would be chosen as the initial value for maximum protection against overwriting earlier values ​​from other devices.

[0083] exist Fig.16 An example of extending Algorithm 1 to use multiple read samples before performing delay adjustment is shown in FIG. In addition to averaging multiple samples before performing adjustment, Algorithm 1600 can be similar to Fig.12 For example, steps 1606, 1608, 1610, 1612, and 1614 correspond to steps 1204, 1206, 1208, 1209, and 1210, respectively. Some changes include initializing the value to zero (step 1604) and forming a sum based on past values ​​read from the bus in steps 1616 and 1618, and repeating the read from the bus K times based on the decision made in step 1622 and forming a final delay correction in step 1624. Steps 1620, 1626, 1628, and 1630 may correspond to Fig.12 Steps 1216, 1218, 1220 and 1222 in.

[0084] The second, third, and fourth algorithms can similarly be extended to use multiple samples before performing delay adjustments. However, when the control algorithm is located within the slave device, it may be better to dynamically change the delay value between each read and write operation because the slave device itself can change multiple bits within the device based on a single bit read from the bus. Therefore, the update operation will require less bandwidth and is therefore potentially more efficient. In another embodiment, the master device will issue changes to the current value rather than updating the absolute delay value in the slave device to reduce the bandwidth required for the adjustment.

[0085] In addition to these methods, for example, methods using half search and binary search can be used. However, due to the problem of adjusting the delay too negatively so that the slave output data begins to conflict with the master value and the associated unknown value, it is recommended to use these methods with some restriction on the maximum step size to be included to avoid this situation.

[0086] By using computer simulations, we can compare the four algorithms more accurately. The simulations are based on the following specific settings for the algorithms: Typical jitter level is 1.2 ns (rms), Gaussian noise. For a real circuit, this would typically be in the 0.3-1.5 ns range after being received and controlled from within the device.

[0087] The first algorithm ( Fig.12 ): The step size is set to 0.05 ns and the delay adjustment precision is set to 0.1 ns.

[0088] The second algorithm ( Fig.13 ): The step size is set to 0.125 ns and 0.75 ns. The delay adjustment precision is set to 0.1ns. The initial step value is the larger step size (0.75 ns).

[0089] The third algorithm ( Fig.14 ): The step size is set to 0.125ns and 0.75ns. The delay adjustment accuracy is set to 0.1ns. If the level read back from the master does not change in N = 8 consecutive measurements, the step size is set to 0.75 ns. If there is any change before 8 measurements of the same value have been completed, the value is changed back to the lower value (0.05 ns). The initial step value is the larger step size.

[0090] The fourth algorithm ( Fig.15): The delay size is set between 1 / 128 ns and 1 ns. The delay adjustment precision is set to 0.1 ns or 2.0 ns, see table. The initial delay step size is 0.75 ns. If the previous delay value is the same as the current value read by the master, the delay step size change is changed by a factor of 1.125. If there is a difference between the previous value and the current value read by the master, the delay step size is multiplied by 0.875. Note that this multiplication by 1.125 and 0.875 can be implemented as a simple addition using binary arithmetic: either (1+1 / 8) or (1-1 / 8). The actual delay is updated based on the current read value, if that value is low, the last delay value is incremented by the delay step value. If the current read value is high, the actual delay is decremented by the current delay step value.

[0091]

[0092] In this example, the error probability is 10 -12 And the lock search time and the change of lock time are based on 12 simulations. A delay jitter of 0.1 dt means an output resolution of 100 ps on the delay adjustment, while 2.0 dt means an output resolution of 2.0 ns on the delay adjustment.

[0093] Fig.17 An example algorithm or bus command to be used to adjust the delay of a slave device according to one or more embodiments is shown. Algorithm 1700 begins in step 1702, where the master device selects what device should respond. In step 1704, the master device may set an initial delay value in the slave device. Note that this step is optional. The slave device may have already adapted a good delay value, and the algorithm may only run for small adjustments. In addition, the slave device may have an initial internal value that will not require any adjustment. Again, in this case, the master device will not need to set the initial value in the slave device.

[0094] In step 1706, the master will set the bus to a known value based on the master's internal timing. By changing the known value (e.g., alternating between low or high) that the master issues to the bus in step 1706 before the slave changes the value on the bus, the adjusted delay can be based on both falling and rising data edges from both the master and slave, thereby forming a more accurate average.

[0095] In step 1708, the slave will respond by writing a different value back to the bus based on its own internal timing. In step 1710, the master will read back the value on the bus based on its own timing. Typically, this read event will occur ½ time slot before the data from the slave should have fully settled. In step 1712, the master will write back the read value to the bus. This may be in the same row as the read event (e.g., in a Figure 4-5 Alternatively, the master device may control the absolute delay or issue a change to the current delay in the slave device.

[0096] In step 1714, the slave device will adjust its own internal delay based on the value written back by the master device. This can be shown in four algorithms (as shown in Figure 12-15 ) to perform delay adaptation and adjustment.

[0097] A determination is made in step 1716 whether the adjustment process is complete. This can be based on a finite and known number of iterations (e.g., 32 delay adjustments may be used per delay adjustment command) or based on convergence of the delays (based on approximately equal numbers of received logical zeros and ones causing the readback values ​​to reach an average of approximately 0.50, or causing the position to not change for a certain time). If the number of steps is not finite, then the master or slave will need to provide feedback to tell the algorithm when it is complete, otherwise continue with the adjustment from step 1706. Finally, a determination is made in step 1708 whether all devices have been properly adjusted. If this is not the case, then we will continue with step 1702. The determination of when the algorithm is complete can be based on the current step size, the number of iterations used, or when the average read value is within a given interval (e.g., 0.4-0.6) and when a certain number of iterations have been reached, or if the adjustment delay value has not changed for a given number of iterations.

[0098] In other embodiments, in step 1712, the master device will adjust the internal timing of the slave device by issuing a change to the current delay value (eg, no change, increase, or decrease).

[0099] In some embodiments, two slave devices can adjust the delay between the two devices in a similar manner as between a master device and a slave device. In this case, the receiving slave device will read the change in the current bus value and adjust the timing of the transmitting slave device either by reflecting the read value back or by adjusting the actual delay in the other slave device.

[0100] In some embodiments, a slave device may adjust its own timing without any interaction from any other device, in which case the timing may be closely aligned with the received synchronization pattern, but will not include adjustments to the bus diameter and other delays in the system.

[0101] Fig.18 An example of a master device reading two slave device values ​​according to one or more embodiments is shown. Here, the slave device will respond with both a falling and rising transition. If the measurement of delay is based on an unknown or uncalibrated time step within the slave device, this can be used to find out how many time steps are required for a given time unit by finding the number or delay number between two settings. By dividing this value by 2, we can find the number of delay units that equals half a clock cycle. In addition, this final method can allow the master device to obtain a measurement of both rising and falling edge delays.

[0102] Where applicable, hardware, software, or a combination of hardware and software may be used to implement the various embodiments provided by the present disclosure. In addition, where applicable, the various hardware components and / or logic components set forth herein may be combined into composite components including software, hardware, and / or both thereof without departing from the scope of the present disclosure. Where applicable, the various hardware components and / or logic components set forth herein may be divided into subcomponents including software, hardware, or both thereof without departing from the scope of the present disclosure. In addition, where applicable, it is contemplated that software components may be implemented as hardware components, and vice versa.

[0103] The foregoing disclosure is not intended to limit the disclosure to the precise form disclosed or to the specific field of use. Thus, it is contemplated that various alternative embodiments and / or modifications to the disclosure (whether explicitly described or implied herein) are possible in accordance with the disclosure. Having thus described embodiments of the disclosure, it will be appreciated by those of ordinary skill in the art that changes may be made in form and detail without departing from the scope of the disclosure. Therefore, the disclosure is limited only by the claims.

Claims

1. A method for controlling a bus to facilitate communications between a plurality of devices, wherein the communications are synchronized based at least in part on a time multiplexed clock and data protocol, the method comprising: Initializing the bus to a first value using a first device; receiving, at the first device, a second value on the bus from a second device, wherein initializing the bus to the first value and receiving the second value at the first device are repeated such that a plurality of second values ​​are received; transmitting a response to the second device based at least in part on whether the first value is different from the second value, the response configured to control a delay of the second device to calibrate communications on the bus from the second device; as well as The delay value is adjusted based on the plurality of second values ​​read from the bus to avoid receiving the same value during consecutive reading steps.

2. The method of claim 1, further comprising: generating a command requesting one or more devices coupled to the bus to respond with a reply and adjusting a delay to the device based at least in part on the reply received from the responding device, The reply includes multiple replies from each responding device.

3. The method of claim 1, further comprising providing a bus keeper in the bus circuit configured to suppress leakage current that may cause an undefined state, wherein the bus keeper maintains a current state of the bus when not driven.

4. The method of claim 1, further comprising: Provides adaptive mode with multiple adaptive speeds; determining whether the second value being received is equal to the previously received second value and increasing the adaptation speed up to a certain upper limit; as well as It is determined whether the second value being received is different from the previously received second value and the adaptation speed is reduced to a certain lower limit.

5. A method for controlling a bus to facilitate communications between a plurality of devices, wherein the communications are synchronized based at least in part on a time multiplexed clock and data protocol, the method comprising: Initializing the bus to a first value using a first device; receiving, at the first device, a second value on the bus from a second device; transmitting a response to the second device based at least in part on whether the first value is different from the second value, the response configured to control a delay of the second device to calibrate communications on the bus from the second device, The method further comprises: providing a first stable mode for obtaining an estimate of a correct delay position using a first delay step size during an initial calibration; as well as providing a second stabilization mode for obtaining a more accurate delay position for final adjustment of the delay, the second stabilization mode using a second delay step size that is smaller than the first delay step size and stabilizing more slowly than the first stabilization mode; and Switching between the first stable mode and the second stable mode is performed based on a plurality of readback values.

6. The method of claim 5, wherein switching between the first stable mode and the second stable mode further comprises: When there is no change in the value within the N reading ranges, switching to the first stable mode; as well as When there has been one or more changes in the values ​​within the N reading ranges, a switch is made to the second stable mode.

7. A system for controlling a bus to facilitate communication between a plurality of devices, comprising: a master device coupled to the bus, the master device configured to control the bus to synchronize communications between a plurality of devices based at least in part on a time multiplexed clock and data protocol and to initialize the bus to a first value; as well as a slave device communicatively coupled to the bus, the slave device configured to transmit a second value on the bus; wherein the master device is further configured to read the second value from the bus and transmit a response to the slave device based at least in part on whether the first value is different from the second value; wherein the response is configured to control a delay of the slave device to calibrate communications on the bus from the slave device, and wherein the master device is configured to repeatedly initialize the bus to a first value and repeatedly read a plurality of second values ​​written by the slave device, and Wherein the system is further configured to adjust a delay value based on the plurality of second values ​​read from the bus to avoid reading the same value during consecutive reads.

8. The system of claim 7, wherein the master device is configured to set the bus to a known value and then to make the bus undriven by disabling output drivers, after which slave devices may change the state of the bus.

9. The system of claim 7, wherein the bus includes circuitry including a bus keeper configured to eliminate issues with leakage current that may result in an indeterminate state, wherein the bus keeper maintains a current state of the bus when not driven.

10. The system of claim 7, wherein the master device is configured to write an initial delay value to the plurality of connected devices before the plurality of connected devices are configured to drive the bus, and wherein the initial delay value is a previous delay value from the last time the system was operating as an initial value for updating other connected devices.

11. The system of claim 7, wherein the system is further configured to include an adaptive mode having a plurality of adaptive speeds, wherein when a second value read from the bus is the same as a previous second value read from the bus, the adaptive speed is incrementally increased up to a specific upper limit; and Wherein when the second value read from the bus is different from the previous second value read from the bus, the adaptation speed is decreased to a specific lower limit.

12. The system of claim 7, wherein the system is further configured to include limits for a plurality of delay values ​​to align with hardware characteristics of the system.

13. A system for controlling a bus to facilitate communication between a plurality of devices, comprising: a master device coupled to the bus, the master device configured to control the bus to synchronize communications between a plurality of devices based at least in part on a time multiplexed clock and data protocol and to initialize the bus to a first value; as well as a slave device communicatively coupled to the bus, the slave device configured to transmit a second value on the bus; wherein the master device is further configured to read the second value from the bus and transmit a response to the slave device based at least in part on whether the first value is different from the second value; wherein the response is configured to control a delay of the slave device to calibrate communications on the bus from the slave device, wherein the system is further configured to include a first stable mode and a second stable mode, wherein the first stable mode is for use during adjustment of the delay to obtain an estimate of the correct delay position, the second stable mode is configured to determine a more accurate delay position for final adjustment of the delay, the second stable mode having a smaller delay step size during initial correction than the first stable mode; and Wherein the system is further configured to switch between the first stable mode and the second stable mode based on a plurality of readback values.