N/A.
Communication links are prevalent in modern electronics. Some communication links are unidirectional (data flows in only one direction), while other links are bidirectional (data flows in both directions). Depending on the distances involved, a signal re-driver may be useful to boost the signal to thereby ensure the signal is properly and accurately received and decoded at the destination location along the communication link.
In some embodiments, a re-driver circuit includes a first channel comprising a receiver to receive an input signal from a first port to the re-driver circuit and a driver to receive a signal from the receiver and drive an output signal of the re-driver circuit through a second port. A second channel is also provided and is in parallel with the first channel and includes a bidirectional path switch. A channel control unit determines whether the input signal is indicative of a higher speed mode or of a lower speed mode and enables one of the first and second channels while disabling the other of the channels based on the determined mode. The first and second channels share the first and second ports.
For a detailed description of exemplary embodiments of the invention, reference will now be made to the accompanying drawings in which:
The following discussion is directed to various embodiments of the invention. Although one or more of these embodiments may be preferred, the embodiments disclosed should not be interpreted, or otherwise used, as limiting the scope of the disclosure, including the claims. In addition, one skilled in the art will understand that the following description has broad application, and the discussion of any embodiment is meant only to be exemplary of that embodiment, and not intended to intimate that the scope of the disclosure, including the claims, is limited to that embodiment.
Some communication links include provisions for both unidirectional signaling and bidirectional signaling. For example, the Mobile Industry Processor Interface (MIPI) standards body has promulgated a D-PHY Specification that provides a flexible, low-cost high-speed communication path for use in a mobile device such as a camera. The D-PHY interface may be used to connect the camera's sensing device to a processor internal to the camera. The high-speed communication path is unidirectional and typically conveys image data from the camera's sensor to the processor.
The D-PHY interface also includes a lower speed bi-directional communication path. This lower-speed, bi-directional communication path is referred to as a “low power” (LP) signal path, and may be particularly useful for transmitting control signals. The lower-speed, bi-directional communication path shares the same conductors (e.g., wires) as the higher-speed communication path.
The distances involved in transmitting data within a device such as a camera or smart phone are short enough that a re-driver is not needed. However, problems occur when attempting to extend the D-PHY or similar interfaces to larger devices over longer distances. For example, the distance involved from a laptop computer's camera, which is typically at the top center of the display, through the display, through the hinge, and to the computer's main system board is large enough that a signal re-driver may be needed. A signal re-driver that works to properly drive a higher-speed signal in one direction, however, is likely not usable for the lower-speed mode which shares the same signal conductors as the higher-speed mode.
In accordance with the preferred embodiments, a re-driver circuit is provided which provides a receiver and driver combination for a high-speed mode, and a bypass path for the lower-speed mode. The bypass path for the lower-speed mode bypasses the receiver/driver path. The re-driver detects whether signaling commensurate with the higher-speed mode or with the lower-speed mode is occurring or is about to occur. If the signaling commensurate with the higher-speed is occurring or is about to occur, the re-driver enables the higher-speed communication path and disables the bypass communication path. Conversely, if the signaling commensurate with the lower-speed is occurring or is about to occur, the re-driver disables the higher-speed communication path and enables the bypass communication path.
As indicated in the example of
The higher-speed channel 118 is unidirectional and includes a receiver 130 coupled to a driver 132. The receiver 130 receives an input signal from first ports 122 and 124. The driver 132 receives a signal from the receiver 130 and drives an output signal of the re-driver circuit through second signal ports 134, 136. The higher-speed channel 118 preferably is a differential communication path as shown.
The lower-speed channel 128 preferably is bidirectional and bypasses the receiver 130 and driver 132 of the higher-speed channel. The lower-speed channel 128 includes a pair of bidirectional path (BDP) switches 160 and 162. Switch 160 is coupled to the signal line of the AP-BP signal, and switch 162 is coupled to the signal line of the AN-BN signal. Due to the bidirectional nature of the lower-speed channel 128, a signal may be transmitted through the re-driver circuit 120 in either direction—from ports 122, 124 to ports 134, 136, or vice versa—through the switches 160 and 162.
The higher-speed channel 118 and the lower-speed channel 128 share the same ports 122, 124, 134, and 136 for their signaling.
To implement the re-driver functionality for the higher-speed channel signaling while still permitting bidirectional signaling on the lower-speed channel, a channel control unit 150 is provided. The channel control unit 150 determines whether higher-speed signaling is occurring or is about occur, or whether lower-speed signaling is occurring or is about to occur. As a result of that determination, the channel control unit 150 enables the corresponding higher-speed or lower-speed channel. Thus, if higher-speed signaling is occurring or is about occur, the channel control unit 150 enables the higher-speed channel 118 while disabling the lower-speed channel 128, but if lower-speed signaling is occurring or is about occur, the channel control unit 150 enables the lower-speed channel 128 while disabling the higher-speed channel 118.
The channel control unit 150 examines the signals on the AP and AN ports 122 and 124 to determine whether higher-speed signaling is occurring or is about occur, or whether lower-speed signaling is occurring or is about to occur. Thus, the channel control unit 150 determines whether an input signal is indicative of a higher speed mode or of a lower speed mode and enables one of the first and second channels while disabling the other of the channels based on the determined mode. A buffer 140 is coupled to port 122 and provides a signal to the channel control unit 150 indicative of signal AP. A buffer 142 is coupled to port 122 and provides a signal to the channel control unit 150 indicative of signal AP. The channel control unit 150 examines the outputs of buffers 140 and 142 (indicative of signals AP and AN) to detect the occurrence of the higher speed mode or the lower speed mode.
In some embodiment, the higher-speed signaling mode is characterized by low common mode voltage and small voltage swings (e.g., less than 450 mV), while the lower-speed signaling mode is characterized by larger voltage swings (e.g., greater than 450 mV) and higher common mode voltage. For example, a voltage threshold is provided as an input to each buffer 140/142, and the buffers 140, 142 function as comparators to compare their signal input (AP, AN) to a threshold voltage. The threshold voltages for buffers 140, 142 may be the same or different. Thus, the buffers 140, 142 and channel control unit 150 implements protocol detection logic to compare the AP and AN signals to threshold voltage to detect which mode is present. In one example, the voltage thresholds are defined by the MIPI D-PHY Specification (“MIPI® Alliance Specification for D-PHY Version 1.1—7 Nov. 2011). In one embodiment, the threshold voltage is set to a value of 450 mV.
Upon determining whether the higher-speed mode or the lower-speed mode is occurring, or about to occur, the channel control unit 150 asserts control signals on lines 152, 154, and 156 to enable and disable the corresponding channels 118 and 128. If the channel control unit 150 determines that the higher-speed mode is occurring or is about to occur, the channel control unit asserts a signal on line 152 to enable the driver 132 of the higher speed channel 118 to thereby pass a higher-speed signal through the higher-speed channel 118 from ports 122, 124 to ports 134, 136. The channel control unit 150 also asserts signals on lines 154 and 156 to switches 160 and 162, respectively, to disable the switches and thus to disables the lower-speed channel 128.
If the channel control unit 150 determines that the lower-speed mode is occurring or is about to occur, the channel control unit asserts a signal lines 154 and 156 to enable BDP switches 160, 162 to enable the lower-speed channel 128. The channel control unit 150 also asserts a signal on line 152 to disable the driver 132 of the higher speed channel 118 to thereby disable the higher-speed channel 118. Thus, only one of the channels 118, 128 is enabled at a time, and which channel is enabled depends on whether the channel control unit 10 detects signaling consistent with the higher-speed mode or the lower-speed mode. With the protocol level mode detection, the high speed signal conditioning provided by the receiver 130 and driver 132 preferably is activated only when needed during high-speed signaling and thus does not interfere during low speed signaling.
A delay port (BDLY) 138 is also provided and is connected to driver 132. An external resistor may be connected to the delay port 138 to tune the timing of the channel. The resistor provides a variable bias current for the delay cell in the data paths that controls the propagation delay through it.
Tuning resistors are also shown connected to the DLY ports (B0DLY, B1DLY, . . . ,BnDLY). The resistors are provided to allow a system designer to compensate for channel mismatch by tuning the individual channel timing.
The above discussion is meant to be illustrative of the principles and various embodiments of the present invention. Numerous variations and modifications will become apparent to those skilled in the art once the above disclosure is fully appreciated. It is intended that the following claims be interpreted to embrace all such variations and modifications.