Unit Interval Jitter Improvement in C-PHY Interface
By detecting symbol patterns in the C-PHY interface and adjusting symbol transmission, clock jitter issues caused by signal transition time variability are solved, improving data throughput and decoder reliability.
Patent Information
- Application Number
- CN202180031175.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2021-05-04
- Filing Date
- 2021-05-05
- Publication Date
- 2024-09-27
- Estimated Expiration
- 2041-05-05
AI Technical Summary
Variability and maximum time changes in signal transition times during clock recovery in the C-PHY interface limit data throughput, leading to jitter and signal integrity issues at the receiver.
By detecting symbol patterns at the transmitter, selectively delaying or advancing the transmission of symbols, adjusting the duration of the symbol interval to reduce clock jitter at the receiver, and adjusting the signal delay duration through delay circuits to accommodate manufacturing processes, circuits Supply voltage and temperature changes.
It effectively reduces clock jitter at the receiver, improves data throughput and receiver decoder reliability, and adapts to different operating conditions.
Smart Images

Figure CN115462039B_ABST
Abstract
Description
[0001] CROSS-REFERENCE TO RELATED APPLICATIONS
[0002] This application claims priority to and the benefit of non-provisional patent application serial number 17 / 307770 filed in the United States Patent and Trademark Office on May 4, 2021, and provisional application serial number 63 / 028326 filed in the United States Patent and Trademark Office on May 21, 2020, the entire contents of which are incorporated herein as if fully set forth in their entirety below and for all applicable purposes. Technical Field
[0003] The present disclosure relates generally to high speed data communication interfaces and, more particularly, to improving clock recovery in a receiver through signaling generated at a transmitter. Background Art
[0004] A manufacturer of a mobile device, such as a cellular telephone, may obtain components of the mobile device from a variety of sources, including different manufacturers. For example, an application processor in a cellular telephone may be obtained from a first manufacturer, while an imaging device or camera may be obtained from a second manufacturer, and a display may be obtained from a third manufacturer. The application processor, imaging device, display controller, or other types of devices may be interconnected using a standard-based or proprietary physical interface. In one example, an imaging device may be connected using a camera serial interface (CSI) defined by the Mobile Industry Processor Interface (MIPI) Alliance. In another example, a display may include an interface that complies with the Display Serial Interface (DSI) standard specified by the Mobile Industry Processor Interface (MIPI) Alliance.
[0005] The C-PHY interface is a multi-phase three-wire interface defined by the MIPI Alliance that uses three conductors to send information between devices. Each of the three lines can be in one of three signaling states during the transmission of a symbol. The clock information is encoded in the transmitted symbol sequence, and the receiver generates a clock signal based on the transitions between consecutive symbols. The ability of the clock and data recovery (CDR) circuit to recover the clock information may be limited by the maximum time variation associated with the transitions of the signals sent on different lines of the communication link. The CDR circuit in the C-PHY receiver can adopt a mask that is intended to block all transition detections except the first transition detection between consecutive transmitted symbols. Changes in the timing of the first transition limit the maximum data throughput through the C-PHY interface because jitter on the receive clock is induced, and a mask is required, which significantly reduces the sampling window used to capture symbols at the receiver. For these and other reasons, there has always been a need for an optimized clock generation circuit that can work reliably at higher signaling frequencies. Summary of the invention
[0006] Embodiments disclosed herein provide systems, methods, and apparatus for achieving improved communication over multi-line and / or multi-phase communication links. The communication link may be deployed in an apparatus such as a mobile terminal having multiple integrated circuit (IC) devices. Certain techniques disclosed herein may reduce jitter in a recovered receive clock by detecting certain symbol patterns that may reduce the detected symbol duration of one or more symbols.
[0007] In various aspects of the present disclosure, a transmitter has: a driver circuit configured to drive a three-wire bus based on a symbol received at an input of the driver circuit; a pattern detector configured to receive a sequence of symbols to be transmitted on the three-wire bus in a plurality of transmission symbol intervals; and a selection circuit responsive to a selection signal provided by the pattern detector and configured to select between a delayed version and an undelayed version of a current symbol taken from the sequence of symbols to drive the input of the driver circuit during a corresponding transmission symbol interval. The selection signal may select the delayed version of the current symbol when the pattern detector determines that a transition between the undelayed version of the current symbol and an immediately preceding symbol in the sequence of symbols is expected to cause an early detection of the transition at the receiver. The selection signal may select the delayed version of the current symbol when a combination of the current symbol and the immediately preceding symbol causes the pattern detector to indicate a pattern match.
[0008] In various aspects of the present disclosure, a method for sending information on a three-wire bus includes: receiving a sequence of symbols to be sent on the three-wire bus in multiple transmission symbol intervals; and when transmission of a current symbol in the symbol sequence is initiated during a corresponding transmission symbol interval: sending the current symbol without delay during the corresponding transmission symbol interval when a combination of the current symbol and an immediately preceding symbol causes a pattern detector to indicate no pattern match, and / or delaying transmission of the current symbol within the corresponding transmission symbol interval when a combination of the current symbol and an immediately preceding symbol causes the pattern detector to indicate a pattern match.
[0009] In various aspects of the present disclosure, a processor-readable storage medium has one or more instructions, which, when executed by at least one processor of a processing circuit in a receiver, causes the at least one processor to: receive a sequence of symbols to be sent on a three-wire bus in multiple transmission symbol intervals; and when transmission of a current symbol in the symbol sequence is initiated during a corresponding transmission symbol interval: send the current symbol without delay during the corresponding transmission symbol interval when a combination of the current symbol and an immediately preceding symbol causes a pattern detector to indicate no pattern match; and delay transmission of the current symbol within the corresponding transmission symbol interval when a combination of the current symbol and an immediately preceding symbol causes the pattern detector to indicate a pattern match.
[0010] In various aspects of the present disclosure, a transmitting device includes: a component for receiving a sequence of symbols to be transmitted on a three-wire bus in a plurality of transmission symbol intervals; and a component for transmitting the symbols on the three-wire bus. The component for transmitting the symbols can be configured to transmit a current symbol in the sequence of symbols during a corresponding transmission symbol by: transmitting the current symbol without delay during the corresponding transmission symbol interval when a combination of the current symbol and an immediately preceding symbol causes a pattern detector to indicate no pattern match; and / or delaying transmission of the current symbol within the corresponding transmission symbol interval when a combination of the current symbol and an immediately preceding symbol causes the pattern detector to indicate a pattern match.
[0011] In one aspect, early detection of a transition is expected to occur at a receiver when the signaling state of each line in the three-wire bus defined by the current symbol is different from the signaling state of the corresponding line defined by the immediately preceding symbol. In another aspect, a sequence of symbols is sent on the three-wire bus according to the C-PHY protocol.
[0012] In certain aspects, the duration of a receive symbol interval in which a current symbol is received at a receiver is expected to be less than the duration of a transmit symbol interval in which the current symbol is sent when the immediately preceding symbol is followed in transmission by an undelayed version of the current symbol. The duration of the receive symbol interval can be increased when a delayed version of the current symbol is selected to drive an input of a driver circuit during a corresponding transmit symbol interval. Jitter in a recovered clock signal at a receiver can be reduced when a delayed version of the current symbol is selected to drive an input of a driver circuit during a corresponding transmit symbol interval.
[0013] In some aspects, the delay circuit is configured to generate delayed versions of the three signals representing the current symbol by delaying the three signals by a delay duration, the delay duration being calculated to reduce the difference between the duration of a received symbol interval at the receiver and the duration of a transmitted symbol interval corresponding to the current symbol. The delay duration may be further configured to reduce a signal transition region in the receiver. The controller may be configured to modify the delay duration to accommodate changes in manufacturing processes, circuit supply voltages, and die temperature conditions. BRIEF DESCRIPTION OF THE DRAWINGS
[0014] Figure 1 An apparatus is depicted for employing a data link between IC devices that selectively operates according to one of a plurality of available standards or protocols, which may include the C-PHY protocol.
[0015] Figure 2 A system architecture for an apparatus for employing a data link between IC devices that selectively operates according to one of a plurality of available standards is illustrated.
[0016] Figure 3 The diagram shows a C-PHY 3-phase transmitter.
[0017] Figure 4 The diagram illustrates the signaling in the C-PHY 3-phase encoded interface.
[0018] Figure 5 A C-PHY 3-phase receiver is shown.
[0019] Figure 6 is a state diagram illustrating potential state transitions in a C-PHY 3-phase encoding interface.
[0020] Figure 7 is an example of the effect of signal rise time on transition detection in a C-PHY decoder.
[0021] Figure 8 Transition detection in a C-PHY decoder is illustrated.
[0022] Fig. 9 An example of signal transitions occurring between consecutive pairs of symbols transmitted over a C-PHY interface is illustrated.
[0023] Fig.10 The transition region and eye area in the eye diagram for a C-PHY interface are illustrated.
[0024] Fig.11 Eye diagrams corresponding to nominal or idealized signals output by three differential receivers in a C-PHY 3-phase interface are illustrated.
[0025] Fig.12 Certain aspects of the relationship between clock skew, UI duration, and the mode of consecutively transmitted symbols in a C-PHY interface are illustrated.
[0026] Fig.13 The effect of inter-symbol interference on UI duration in a C-PHY interface is illustrated.
[0027] Fig.14 A transmitting circuit provided according to certain aspects of the present disclosure is illustrated.
[0028] Fig.15 is a block diagram illustrating one example of an apparatus employing processing circuitry that may be adapted according to certain aspects disclosed herein.
[0029] Fig.16 is a flow chart of a first calibration method according to certain aspects disclosed herein.
[0030] Fig.17 is a diagram illustrating a first example of a hardware implementation for an apparatus employing processing circuitry that may be adapted according to certain aspects disclosed herein. DETAILED DESCRIPTION
[0031] The detailed description set forth below in conjunction with the accompanying drawings is intended as a description of various configurations and is not intended to represent the only configuration in which the concepts described herein may be practiced. In order to provide a thorough understanding of the various concepts, the detailed description includes specific details. However, it is apparent to those skilled in the art that these concepts may be practiced without these specific details. In some cases, in order to avoid confusing such concepts, well-known structures and components are shown in block diagram form.
[0032] As used in this application, the terms "component", "module", "system", etc. are intended to include computer-related entities, such as but not limited to hardware, firmware, a combination of hardware and software, software, or software being executed. For example, a component can be but not limited to a process, a processor, an object, an executable file, an execution thread, a program, and / or a computer running on a processor. As an illustration, both an application running on a computing device and a computing device can be a component. One or more components can reside in a process and / or an execution thread, and a component can be located on a computer and / or distributed between more than two computers. In addition, these components can be executed from various computer-readable media having various data structures stored thereon. Components can communicate through local and / or remote processes, such as according to signals having one or more data packets, such as data from a component interacting with another component in a local system, a distributed system, and / or interacting with other systems through a network such as the Internet by means of signals.
[0033] Additionally, the term "or" is intended to mean an inclusive or rather than an exclusive or. That is, unless specified otherwise or clear from the context, the phrase "X employs A or B" is intended to mean any of the natural inclusive permutations. That is, the phrase "X employs A or B" satisfies any of the following: X employs A; X employs B; or X employs A and B. Furthermore, the articles "a" and "an" used in this application and the appended claims should generally be construed to mean "one or more" unless specified otherwise or clear from the context to dictate the singular.
[0034] Overview
[0035] Certain aspects of the present invention may be applicable to the C-PHY interface specified by the MIPI Alliance, which may be deployed to connect electronic devices that are subcomponents of mobile devices such as phones, mobile computing devices, appliances, automotive electronics, avionics systems, etc. Examples of mobile devices include mobile computing devices, cellular phones, smart phones, Session Initiation Protocol (SIP) phones, laptops, notebook computers, netbooks, smartbooks, personal digital assistants (PDAs), satellite radios, global positioning system (GPS) devices, smart home devices, smart lighting, multimedia devices, video devices, digital audio players (e.g., MP3 players), cameras, game consoles, entertainment devices, vehicle components, avionics systems, wearable computing devices (e.g., smart watches, health or fitness trackers, glasses, etc.), appliances, sensors, security devices, vending machines, smart meters, drones, multicopters, or any other similarly functional device.
[0036] The C-PHY interface is a high-speed serial interface that can provide high throughput on bandwidth-limited channels. The C-PHY interface can be deployed to connect application processors to peripheral devices, including displays and cameras. The C-PHY interface encodes data into symbols that are sent through a set of three lines, which can be referred to as a three-way or three-way line. For each symbol transmission interval, a three-phase signal is sent on the three-way line with different phases, wherein the phase of the three-phase signal on each line is defined by the symbol sent in the symbol transmission interval. Each three-way provides a channel on the communication link. The symbol transmission interval can be defined as a time interval in which a single symbol controls the signaling state of the three-way. In each symbol transmission interval, one of the three-way lines is not driven, and the remaining two lines are differentially driven so that one of the two differential drive lines presents a first voltage level, and the other differential drive line presents a second voltage level different from the first voltage level. The undriven line can be floating, driven and / or terminated so that it presents a third voltage level, which is at or close to an intermediate level voltage between the first voltage level and the second voltage level. In one example, the driven voltage levels may be +V and -V, while the undriven voltage is 0 V. In another example, the driven voltage levels may be +V and 0 V, while the undriven voltage is +1 / 2 V. Different symbols are sent in each consecutively sent symbol pair, and different line pairs may be differentially driven in different symbol intervals.
[0037] Certain aspects disclosed herein provide a method for sending information on a three-wire bus. A symbol pattern that can cause a reduction in UI duration at a receiver is detected, and the transmission of one or more symbols can be delayed so that the reduction in UI duration can be avoided or minimized. The method may include receiving a symbol sequence at a transmitting device, wherein the symbol sequence is to be transmitted on a three-wire bus in multiple transmission symbol intervals. The transmission symbol interval may correspond to a cycle of a transmission clock. The transmitter may receive a current symbol in the symbol sequence to be transmitted during a transmission symbol interval to be used to transmit the current symbol. The transmitting device may provide each symbol to the pipeline in sequence, thereby obtaining a copy of at least two symbols, including a first symbol being transmitted and a second symbol to be transmitted next. In the transition between symbol intervals, the second symbol becomes the current symbol and the first symbol becomes the immediately preceding symbol. When the current symbol in the symbol sequence is transmitted during the corresponding transmission symbol interval, the transmitting device may determine whether the transmission of the current symbol will cause an early detection of the transition between the first symbol and the second symbol at the receiving device. The transmitting device may make such a determination by using a pattern detector. In one example, when the combination of the current symbol and the immediately preceding symbol causes the pattern detector to indicate no pattern match, the transmitting device may transmit the current symbol without delay during the corresponding transmission symbol interval. In another example, when the combination of the current symbol and the immediately preceding symbol causes the pattern detector to indicate a pattern match, the transmitting device may delay transmission of the current symbol within the corresponding transmission symbol interval.
[0038] Examples of devices using C-PHY interface
[0039] Figure 1 An example of an apparatus 100 that may be adapted according to certain aspects disclosed herein is depicted. The apparatus 100 may implement one or more communication links using a C-PHY 3-phase protocol. The apparatus 100 may include a processing circuit 102 having a plurality of circuits or devices 104, 106, and / or 108, which may be implemented in one or more ASICs or in a SoC. In one example, the apparatus 100 may be a communication device, and the processing circuit 102 may include a processor 112 provided in the ASIC 104, one or more peripheral devices 106, and a transceiver 108 that enables the apparatus to communicate with a radio access network, a core access network, the Internet, and / or another network via a communication antenna 124.
[0040] ASIC 104 may have one or more processors 112, one or more modems 110, onboard memory 114, bus interface circuit 116, and / or other logic circuits or functions. Processing circuit 102 may be controlled by an operating system, which may provide an application programming interface (API) layer that enables one or more processors 112 to execute software modules residing in onboard memory 114 or processor-readable storage 122 provided on processing circuit 102. Software modules may include instructions and data stored in onboard memory 114 or other processor-readable storage 122. ASIC 104 may access its onboard memory 114, processor-readable storage 122, and / or storage devices external to processing circuit 102. Onboard memory 114, processor-readable storage 122 may include read-only memory (ROM) or random access memory (RAM), electrically erasable programmable ROM (EEPROM), flash memory cards, or any memory device that may be used in processing systems and computing platforms. The processing circuit 102 may include, implement, or have access to a local database or other parameter storage that can maintain operating parameters and other information used to configure and operate the device 100 and / or the processing circuit 102. The local database can be implemented using registers, database modules, flash memory, magnetic media, EEPROM, floppy disks or hard disks, etc. The processing circuit 102 can also be operably coupled to external devices such as an antenna 124, a display 126, operator controls (such as switches or buttons 128, 130) and / or an integrated or external keypad 132 and other components. The user interface module can be configured to operate with the display 126, the external keypad 132, etc. through a dedicated communication link or through one or more serial data interconnects.
[0041] The processing circuit 102 may provide one or more buses 118a, 118b, 120 that enable certain devices 104, 106, and / or 108 to communicate. In one example, the ASIC 104 may include a bus interface circuit 116 that includes a combination of circuits, counters, timers, control logic, and other configurable circuits or modules. In one example, the bus interface circuit 116 may be configured to operate according to a communication specification or protocol. The processing circuit 102 may include or control power management functions that configure and manage the operation of the apparatus 100.
[0042] Figure 2Certain aspects of an apparatus 200 including a plurality of IC devices 202 and 230 are illustrated, and the plurality of IC devices 202 and 230 can exchange data and control information via a communication link 220. The communication link 220 can be used to connect a pair of IC devices 202 and 230, where the IC devices 202 and 203 are in close proximity to each other, or physically located in different parts of the apparatus 200. In one example, the communication link 220 can be provided on a chip carrier, substrate, or circuit board carrying the IC devices 202 and 230. In another example, the first IC device 202 can be located in the keyboard portion of a flip phone, and the second IC device 230 can be located in the display portion of the flip phone. In another example, a portion of the communication link 220 can include a cable or optical connection.
[0043] The communication link 220 may include a plurality of channels 222, 224, and 226. One or more channels 226 may be bidirectional and may operate in half-duplex and / or full-duplex mode. One or more channels 222 and 224 may be unidirectional. The communication link 220 may be asymmetric, providing higher bandwidth in one direction. In one example described herein, the first channel 222 may be referred to as a forward channel 222, and the second channel 224 may be referred to as a reverse channel 224. The first IC device 202 may be designated as a host system or transmitter, and the second IC device 230 may be designated as a client system or receiver, even if both the IC devices 202 and 230 are configured to send and receive on the channel 222. In one example, the forward channel 222 may operate at a higher data rate when transmitting data from the first IC device 202 to the second IC device 230, and the reverse channel 224 may operate at a lower data rate when transmitting data from the second IC device 230 to the first IC device 202.
[0044] IC devices 202 and 230 may each include a processor 206, 236, a controller or other processing and / or computing circuit or device. In one example, the first IC device 202 may perform the core functions of the apparatus 200, including establishing and maintaining wireless communications through the wireless transceiver 204 and the antenna 214, while the second IC device 230 may support a user interface for managing or operating the display controller 232, and may use the camera controller 234 to control the operation of the camera or video input device. Other features supported by one or more of the IC devices 202 and 230 may include a keyboard, a voice recognition component, and other input or output devices. The display controller 232 may include circuits and software drivers that support displays such as liquid crystal display (LCD) panels, touch screen displays, indicators, etc. Storage media 208 and 238 may include transient and / or non-transient storage devices that are suitable for maintaining instructions and data used by the corresponding processors 206 and 236 and / or other components of the IC devices 202 and 230. Communications between each processor 206 , 236 and its corresponding storage medium 208 and 238 , as well as other modules and circuits, may be facilitated via one or more internal buses 212 and 242 and / or channels 222 , 224 , and / or 226 of communication link 220 .
[0045] Reverse channel 224 can operate in the same manner as forward channel 222, and forward channel 222 and reverse channel 224 can be able to send at comparable speeds or at different speeds, wherein speed can be expressed as data transfer rate, symbol transmission rate and / or clock rate. Depending on the application, the forward data rate and the reverse data rate can be substantially the same or can differ by several orders of magnitude. In some applications, a single bidirectional channel 226 can support the communication between the first IC device 202 and the second IC device 230. Forward channel 222 and / or reverse channel 224 can be configured to operate in bidirectional mode when, for example, forward channel and reverse channel 222 and 224 share the same physical connection and operate in a half-duplex mode. In one example, communication link 220 can be operated to transmit control, command and other information between the first IC device 202 and the second IC device 230 according to industry or other standards.
[0046] Figure 2The communication link 220 can be implemented according to the MIPI Alliance specification for C-PHY and can provide a wired bus including multiple signal lines (represented as M lines). The M lines can be configured to carry N-phase encoded data in a high-speed digital interface such as a mobile display digital interface (MDDI). The M lines can facilitate N-phase polarity encoding on one or more of channels 222, 224, and 226. The physical layer drivers 210 and 240 can be configured or adapted to generate N-phase polarity encoded data for transmission on the communication link 220. The use of N-phase polarity encoding provides high-speed data transfer and can consume half or less of the power of other interfaces because fewer drivers are active in the N-phase polarity encoded data link.
[0047] When configured for N-phase polar encoding, the physical layer drivers 210 and 240 may generally encode multiple bits for each transition on the communication link 220. In one example, a combination of three-phase encoding and polar encoding may be used to support a wide video graphics array (WVGA) 80 frames per second LCD driver IC without a frame buffer, thereby delivering pixel data at 810 Mbps for display refresh.
[0048] Figure 3 is a diagram 300 illustrating a 3-wire, 3-phase polar encoder that can be used to implement Figure 2 Certain aspects of the communication link 220 depicted in FIG. The example of 3-wire, 3-phase encoding is selected only to simplify the description of certain aspects of the present invention. The principles and techniques disclosed for 3-wire, 3-phase encoders can be applied to other configurations of M-wire, N-phase polar encoders.
[0049] The signaling states defined for each of the 3 lines in the 3-line, 3-phase polarity encoding scheme may include an undriven state, a positive driven state, and a negative driven state. The positive driven state and the negative driven state may be obtained by providing a voltage difference between two signal lines in signal lines 318a, 318b, and / or 318c, and / or by driving a current through two signal lines connected in series in signal lines 318a, 318b, and / or 318c so that current flows in different directions in the two signal lines 318a, 318b, and / or 318c. The undriven state may be achieved by placing the output of the driver of the signal line 318a, 318b, or 318c in a high impedance mode. Alternatively or additionally, the undriven state can be obtained on the signal line 318a, 318b or 318c by passively or actively causing the "undriven" signal line 318a, 318b or 318c to obtain a voltage level that is substantially halfway between the positive voltage level and the negative voltage level provided on the driven signal line 318a, 318b and / or 318c. Typically, no significant current flows through the undriven signal line 318a, 318b or 318c. Three voltage or current states (+1, -1 and 0) can be used to represent the signaling states defined for the 3-wire, 3-phase polarity encoding scheme.
[0050] The 3-wire, 3-phase polar encoder can use a line driver 308 to control the signaling state of signal lines 318a, 318b, and 318c. The line driver 308 can be implemented as a unit-level current mode or voltage mode driver. In some implementations, each line driver 308 can receive a set of signals 316a, 316b, and 316c that determine the output state of the corresponding signal lines 318a, 318b, and 318c. In one example, each set of the sets of signals 316a, 316b, and 316c can include more than two signals, including a pull-up signal (PU signal) and a pull-down signal (PD signal), which, when they are high, activate the pull-up circuit and the pull-down circuit that drive the signal lines 318a, 318b, and 318c toward a higher level voltage or a lower level voltage, respectively. In this example, when the PU signal and the PD signal are both low, the signal lines 318a, 318b, and 318c can terminate at an intermediate level voltage.
[0051] For each transmitted symbol transmission interval in the M-line, N-phase polarity encoding scheme, at least one signal line 318a, 318b, or 318c is in an intermediate level / undriven (0) voltage or current state, and the number of positively driven (+1 voltage or current state) signal lines 318a, 318b, or 318c is equal to the number of negatively driven (-1 voltage or current state) signal lines 318a, 318b, or 318c, so that the sum of the currents flowing to the receiver is always zero. For each symbol, the signaling state of at least one signal line 318a, 318b, or 318c is changed from the line state transmitted in the previous transmission interval.
[0052] In operation, the mapper 302 can receive 16-bit data 310 and map it to 7 symbols 312. In the 3-wire example, each of the 7 symbols defines the state of the signal lines 318a, 318b, and 318c for one symbol interval. The 7 symbols 312 can be serialized using a parallel-to-serial converter 304 that provides a timing sequence of symbols 314 for each signal line 318a, 318b, and 318c. The symbol sequence 314 is usually timed using a transmission clock. The 3-wire, 3-phase encoder 306 receives the 7 symbol sequences 314 generated by the mapper one symbol at a time, and calculates the state of each signal line 318a, 318b, and 318c for each symbol interval. The 3-wire, 3-phase encoder 306 selects the state of the signal lines 318a, 318b, and 318c based on the current input symbol 314 and the previous state of the signal lines 318a, 318b, and 318c.
[0053] The use of M-line, N-phase encoding allows encoding multiple bits in multiple symbols where the number of bits per symbol is not an integer. In the example of a 3-wire communication link, there are 3 available combinations of 2 lines that can be driven simultaneously, and there are 2 possible polarity combinations on the driven line pairs, resulting in 6 possible states. Since each transition occurs from the current state, 5 of the 6 states are available at each transition. At least one line state needs to be changed at each transition. For the 5 states, each symbol can encode bits. Therefore, the mapper can accept a 16-bit word and convert it into 7 symbols, since 7 symbols, each carrying 2.32 bits, can encode 16.24 bits. In other words, the combination of 7 symbols encoding 5 states has 5 7 (78125) permutations. Therefore, 7 symbols can be used to represent 16 bits of 2 16 (65536) permutations are encoded.
[0054] Figure 4An example of a timing diagram 400 for a signal encoded using a three-phase modulation data encoding scheme based on a ring state diagram 450 is included. Information can be encoded in a sequence of signaling states, where, for example, a line or connector is in one of three phase states S1, S2, and S3 defined by the ring state diagram 450. Each state can be separated from the other states by a 120° phase shift. In one example, data can be encoded in the direction of rotation of the phase state on the line or connector. The phase state in the signal can rotate in a clockwise direction 452 and 452' or a counterclockwise direction 454 and 454'. For example, in the clockwise direction 452 and 452', the phase state can advance in a sequence including one or more of the transitions from S1 to S2, from S2 to S3, and from S3 to S1. In the counterclockwise direction 454 and 454', the phase state can advance in a sequence including one or more of the transitions from S1 to S3, from S3 to S2, and from S2 to S1. The three signal lines 318a, 318b and 318c carry different versions of the same signal, where the versions can be phase-shifted 120° relative to each other. Each signaling state can be represented as a different voltage level on the line or connector and / or the direction of current flowing through the line or connector. During each signaling state sequence in the 3-wire system, each signal line 318a, 318b and 318c is in a signaling state different from the other lines. When more than three signal lines 318a, 318b and 318c are used in a three-phase encoding system, more than two signal lines 318a, 318b and / or 318c can be in the same signaling state in each signaling interval, although each state exists on at least one signal line 318a, 318b and / or 318c in each signaling interval.
[0055] Information may be encoded in the direction of rotation at each phase transition 410, and the three-phase signal may change direction for each signaling state. The direction of rotation may be determined by considering which signal lines 318a, 318b, and / or 318c are in the '0' state before and after the phase transition, since the undriven signal lines 318a, 318b, and / or 318c change at each signaling state in the rotating three-phase signal, regardless of the direction of rotation.
[0056] The encoding scheme may also encode information in the polarity 408 of the two signal lines 318a, 318b, and / or 318c that are actively driven. At any time in a 3-wire implementation, exactly two of the signal lines 318a, 318b, 318c are driven by currents in opposite directions and / or by voltage differences. In one implementation, data may be encoded using a two-bit value 412, where one bit is encoded in the direction of the phase transition 410 and the second bit is encoded in the polarity 408 for the current state.
[0057] Timing diagram 400 illustrates data encoding using both phase rotation direction and polarity. Curves 402, 404, and 406 are associated with signals carried on three signal lines 318a, 318b, and 318c for the polyphase state, respectively. Initially, phase transition 410 is in the clockwise direction and the most significant bit is set to binary '1' until the rotation of phase transition 410 switches to the counterclockwise direction at time 414, as represented by the most significant bit of binary '0'. The least significant bit reflects the polarity 408 of the signal in each state.
[0058] According to certain aspects disclosed herein, one bit of data can be encoded in a phase change or rotation in a 3-wire, 3-phase encoding system, and an additional bit can be encoded in the polarity of the two drive lines. By allowing transitions from the current state to any possible state, additional information can be encoded in each transition of the 3-wire, 3-phase encoding system. Given 3 rotating phases and two polarities for each phase, there are 6 states available in the 3-wire, 3-phase encoding system. Therefore, any current state has 5 states available, and each symbol (transition) can have The bits are encoded, which allows the mapper 302 to accept a 16-bit word and encode it in 7 symbols.
[0059] Figure 5 is a diagram illustrating certain aspects of a 3-wire, 3-phase decoder 500. Differential receivers 502a, 502b, 502c and line state decoder 504 are configured to provide a digital representation 522 of the state of the three transmission lines relative to each other (e.g. Figure 3 518a, 318b and 318c) and detects changes in the states of the three transmission lines compared to the states sent in the previous symbol period. The seven consecutive states are combined by the serial-to-parallel converter 506 to obtain a set of 7 symbols 516 for processing by the demapper 508. The demapper 508 produces 16 bits of data 518, which can be buffered in a first-in-first-out (FIFO) register 510 to provide output data 520.
[0060] The line state decoder 504 can extract a sequence of symbols 514 from the phase-encoded signal received on the signal lines 318a, 318b, and 318c. The symbol 514 is encoded as a combination of phase rotation and polarity as disclosed herein. The line state decoder can include a CDR circuit 524 that extracts a clock 526 that can be used to reliably capture the line state from the signal lines 318a, 318b, and 318c. At each symbol boundary, a transition occurs on at least one of the signal lines 318a, 318b, and 318c, and the CDR circuit 524 can be configured to generate a clock 526 based on the occurrence of one or more transitions. The edge of the clock can be delayed to allow the time for all signal lines 318a, 318b, and 318c to have stabilized, and thereby ensure that the current line state is captured for decoding purposes.
[0061] Figure 6 6, 604, 606, 612, 614, 616 for three wires, with possible transitions from each state illustrated. In the example of a 3-wire, 3-phase communication link, there are 6 states and 30 state transitions available. The possible signaling states 602, 604, 606, 612, 614, and 616 in state diagram 600 include and extend Figure 4 6. As shown in the example of state element 628, each signaling state 602, 604, 606, 612, 614, and 616 in state diagram 600 defines a voltage signaling state of signal lines 318a, 318b, 318c, which are labeled A, B, and C, respectively. For example, in signaling state 602 (+x), line A = +1, line B = -1, and line C = 0, resulting in an output (AB) = +2 for differential receiver 502a, an output (BC) = -1 for differential receiver 502b, and an output (CA) = -1 for differential receiver 502c. The switching decision made by the phase change detection circuit in the receiver is based on the five possible levels produced by differential receivers 502a, 502b, 502c, which include -2, -1, 0, +1, and +2 voltage states.
[0062] The transition in the state diagram 600 can be represented by a flip, rotate, polarity symbol (e.g., FRP symbol 626) having one of the 3-bit binary values in the set: {000, 001, 010, 011, 100}. The rotation bit 622 of the FRP symbol 626 indicates the phase rotation direction associated with the transition to the next state. When the transition to the next state involves a change in polarity, the polarity bit 624 of the FRP symbol 626 is set to binary 1. When the flip bit 620 of the FRP symbol 626 is set to binary 1, the rotation value and the polarity value can be ignored and / or set to zero. Flipping represents a state transition involving only a change in polarity. Therefore, the phase of the three-phase signal is not considered to be rotated when a flip occurs, and the polarity bit is redundant when a flip occurs. The FRP symbol 626 corresponds to a line state change for each transition. The state diagram 600 may be divided into an inner circle 608 including positive polarity signaling states 602 , 604 , 606 and an outer circle 618 containing negative polarity signaling states 612 , 614 , 616 .
[0063] Jitter in 3-Phase Interfaces
[0064] The 3-phase transmitter includes drivers that provide high, low, and medium level voltages onto the transmit channel. This results in some variable transitions between consecutive symbol intervals. The low-to-high and high-to-low voltage transitions may be referred to as full-swing transitions, while the low-to-medium and high-to-medium voltage transitions may be referred to as half-swing transitions. Different types of transitions may have different rise or fall times and may result in different zero crossings at the receiver. These differences may result in "coding jitter," which may affect link signal integrity performance.
[0065] Figure 7 7 is a timing diagram 700 illustrating certain aspects of transition variability at the output of a C-PHY 3-phase transmitter. The variability in signal transition times may be attributed to the presence of different voltage and / or current levels used in the 3-phase signaling. The timing diagram 700 illustrates transition times in a signal received from a single signal line 318a, 318b, or 318c. A first symbol Sym is transmitted in a first symbol interval. n 702, the first symbol interval ends at time 722, at which time the second symbol Sym is sent in the second symbol interval n+1 704. The second symbol interval may end at time 724, when a third symbol Sym is sent in a third symbol interval. n+2 706, the third symbol interval ends at time 726, at which time the fourth symbol Sym is sent in the fourth symbol interval n+3708. A transition from a state determined by the first symbol 702 to a state corresponding to the second symbol 704 may be detectable after a delay 712 due to the time it takes for the voltage in the signal line 318a, 318b, or 318c to reach the threshold voltage 718 and / or 720. The threshold voltage may be used to determine the state of the signal line 318a, 318b, or 318c. A transition from a state determined by the second symbol 704 to a state for the third symbol 706 may be detectable after a delay 714 due to the time it takes for the voltage in the signal line 318a, 318b, or 318c to reach one of the threshold voltages 718 and / or 720. A transition from a state determined by the third symbol 706 to a state for the fourth symbol 708 may be detectable after a delay 716 due to the time it takes for the voltage in the signal line 318a, 318b, or 318c to reach the threshold voltage 718 and / or 720. Delays 712, 714, and 716 may have different durations, which may be due in part to variations in device manufacturing processes and operating conditions, which may have unequal effects on transitions between different voltage or current levels associated with the 3 states and / or different transition amplitudes. These differences may contribute to jitter and other issues in the C-PHY 3-phase receiver.
[0066] Figure 8 Certain aspects of a CDR circuit that may be provided in a receiver in a C-PHY interface 800 are illustrated. Differential receivers 802a, 802b, and 802c are configured to generate a set of difference signals 810a, 810b, 810c by comparing the signaling states of each different pair of signal lines 318a, 318b, and 318c in three paths. In the illustrated example, a first differential receiver 802a provides an AB difference signal 810a representing the difference in signaling states of the A signal line and the B signal lines 318a and 318b, a second differential receiver 802b provides a BC difference signal 810b representing the difference in signaling states of the B signal line and the C signal lines 318b and 318c, and a third differential receiver 802c provides a CA difference signal 810c representing the difference in signaling states of the C signal line and the A signal lines 318c and 318a. Thus, transition detection circuit 804 may be configured to detect the occurrence of a phase change as the output of at least one of differential receivers 802a, 802b, and 802c changes at the end of each symbol interval.
[0067] The transitions between some consecutively transmitted symbol pairs may be detected by a single differential receiver 802a, 802b, or 802c, while other transitions may be detected by more than two of the differential receivers 802a, 802b, and 802c. In one example, the state or relative state of the two lines may not change after the transition, and the output of the corresponding differential receiver 802a, 802b, or 802c may not change after the phase transition. Therefore, the clock generation circuit 806 may include a transition detection circuit 804 and / or other logic to monitor the outputs of all differential receivers 802a, 802b, and 802c to determine when a phase transition has occurred. The clock generation circuit may generate a receive clock signal 808 based on the detected phase transition.
[0068] Changes in the signaling states of the three lines in the three paths may be detected at different times, which may cause the difference signals 810a, 810b, 810c to assume stable states at different times. The states of the difference signals 810a, 810b, 810c may switch after the signaling state of each signal line 318a, 318b, and / or 318c has transitioned to its defined state within a symbol transmission interval but before stability has been achieved. The result of this variability is Figure 8 This is illustrated in the timing diagram 820 of .
[0069] The timing of signaling state change detection can vary depending on the type of signaling state change that has occurred. Marks 822, 824, and 826 represent the occurrence of a transition in the difference signal 810a, 810b, 810c provided to the transition detection circuit 804. Different heights are assigned to marks 822, 824, and 826 in the timing diagram 820 for clarity of illustration only, and the relative heights of marks 822, 824, and 826 are not intended to show a specific relationship with voltage or current levels, polarity, or weight values for clock generation or data decoding. Timing diagram 820 illustrates the impact of the transition timing associated with the symbols sent in phase and polarity on the three signal lines 318a, 318b, and 318c. In timing diagram 820, transitions between some symbols may generate variable capture windows 830a, 830b, 830c, 830d, 830e, 830f, and / or 830g (collectively, symbol capture windows 830) during which symbols may be reliably captured. The number of detected state changes and their relative timing may result in jitter on clock signal 808.
[0070] The throughput of the C-PHY communication link can be affected by the variability and duration of the signal conversion time. The CDR can use a mask to prevent the conversion between symbols reflected in the difference signals 810a, 810b, and 810c from affecting the recovery of the receiving clock. In one example, the mask can be implemented to prevent multiple conversions in the difference signals 810a, 810b, and 810c after detecting the first conversion in the difference signals 810a, 810b, and 810c. In another example, the mask can be implemented by generating a pulse from the first conversion, which has a duration that exceeds the duration of the signal conversion area between symbols. The duration of the effective mask can limit the channel bandwidth for the C-PHY interface. The effective duration of the mask is usually calculated to adapt to the variability of the operation of the conversion detection circuit. The variability in the conversion detection circuit can be caused by manufacturing process tolerances, changes and stability of voltage and current sources, and operating temperature, as well as the electrical characteristics of signal lines 318a, 318b, and 318c. Variability in the detection circuit can also limit the channel bandwidth.
[0071] Fig. 9 Timing diagrams 900 and 920 are included that represent certain examples of transitions from a first signaling state to a second signaling state between certain consecutive symbols. The signaling state transitions illustrated in timing diagrams 900 and 920 are selected for illustrative purposes, and other transitions and combinations of transitions may occur in the MIPI Alliance C-PHY interface. Timing diagrams 900 and 920 relate to an example of a 3-wire, 3-phase communication link in which multiple receiver output transitions may occur at each symbol interval boundary due to differences in rise and fall times between signal levels on the three wires. Reference is also made to Figure 8 , a first timing diagram 900 illustrates the signaling states of the three signal lines 318a, 318b and 318c (A, B and C) before and after the conversion, and a second timing diagram 920 illustrates the output of the differential receivers 802a, 802b and 802c, which provide difference signals 810a, 810b, 810c representing the difference between the signal lines 318a, 318b and 318c. In many instances, the set of differential receivers 802a, 802b and 802c can be configured to capture the conversion by comparing different combinations of two signal lines 318a, 318b and 318c. In one example, these differential receivers 802a, 802b and 802c can be configured to generate outputs by determining the difference of their corresponding input voltages (e.g., by subtraction).
[0072] In each of the examples shown in timing diagrams 900 and 920, the -z state 616 (see Figure 8) is converted to a different symbol. As shown in timing diagrams 902, 904, and 906, signal A is initially in a +1 state, signal B is in a 0 state, and signal C is in a -1 state. Therefore, differential receivers 802a, 802b initially measure a +1 difference 924 and differential receiver 802c measures a -2 difference 926, as shown in timing diagrams 922, 932, 938 for differential receiver outputs.
[0073] In the first example corresponding to the timing diagrams 902, 922, a transition occurs from a symbol representing the -z state 616 to a symbol representing the -x signaling state 612 (see Figure 6 ), where signal A transitions to a -1 state, signal B transitions to a +1 state and signal C transitions to a 0 state, where differential receiver 802a transitions from a +1 difference 924 to a -2 difference 930, differential receiver 802b remains at +1 differences 924, 928, and differential receiver 802c transitions from a -2 difference 926 to a +1 difference 928.
[0074] In the second example corresponding to timing diagrams 904, 932, a transition occurs from a symbol representing a -z signaling state 616 to a symbol representing a +z signaling state 606, where signal A transitions to the -1 state, signal B remains in the 0 state and signal C transitions to the +1 state, where the two differential receivers 802a and 802b transition from a +1 difference 924 to a -1 difference 936, and the differential receiver 802c transitions from a -2 difference 926 to a +2 difference 934.
[0075] In a third example corresponding to timing diagrams 906, 938, a transition occurs from a symbol representing a -z signaling state 616 to a symbol representing a +x signaling state 602, wherein signal A remains in the +1 state, signal B transitions to the -1 state and signal C transitions to the 0 state, wherein differential receiver 802a transitions from a +1 difference 924 to a +2 difference 940, differential receiver 802b transitions from a +1 difference 924 to a -1 difference 942, and differential receiver 802c transitions from a -2 difference 926 to a -1 difference 942.
[0076] These examples illustrate transitions of the measured difference, where the transitions can span 0, 1, 2, 3, 4, and 5 levels. Pre-emphasis techniques used for conventional differential or single-ended serial transmitters were developed for two level transitions and may introduce certain adverse effects if used on MIPI Alliance C-PHY three-phase signals. In particular, pre-emphasis circuits that overdrive the signal during transitions may cause overshoot during transitions that span 1 or 2 levels and may cause false triggering in edge sensitive circuits.
[0077] An M-line, N-phase encoding system, such as a 3-line, 3-phase encoder, can encode a signal with at least one transition at each symbol boundary, and the receiver can use those guaranteed transitions to recover the clock. In some implementations, the receiver requires that the data signal be stable immediately before the first signal transition at a symbol boundary, and must also be able to reliably mask any occurrences of multiple transitions associated with the same symbol boundary. Due to small differences in rise and fall times between signals carried on the M lines (e.g., a three-line), and due to small differences in signal propagation times between combinations of received signal pairs (e.g., Figure 6 AB, BC, and CA outputs of differential receivers 802a, 802b, and 802c), multiple receiver transitions may occur.
[0078] Fig.10 An example of a multi-level eye diagram 1000 generated for the output of a set of three differential receivers, each of which compares two of the three signals received via a C-PHY interface. Figure 8 ) to generate a multi-level eye diagram 1000. The multi-level eye diagram 1000 spans a symbol interval that may be referred to as a unit interval (UI 1002). The UI 1002 may correspond to a period of a transmission clock used to control the transmission of each symbol or a period of a reception clock recovered from signaling received from the C-PHY bus.
[0079] In one example, a fixed, sign-independent flip-flop 1010 may be used to generate a multi-level eye diagram 1000. In the multi-level eye diagram 1000, five nominal voltage levels 1020, 1022, 1024, 1026, 1028 define potential states of the outputs of the differential receivers 802a, 802b, 802c. The multi-level eye diagram 1000 illustrates possible transitions at the outputs of the differential receivers 802a, 802b, 802c for a 3-wire, 3-phase encoded signal. The three voltage levels defined for the 3-wire, 3-phase encoded signal may cause the differential receivers 802a, 802b, and 802c to generate outputs that vary between strong voltage levels 1026, 1028 and weak voltage levels 1022, 1024 for positive and negative polarities. Typically, only one of the signal lines 318a, 318b, and 318c is not driven in any symbol, and the differential receivers 802a, 802b, and 802c do not produce a 0 state output corresponding to a voltage level 1020 of 0 volts.
[0080] The voltage levels 1022, 1024, 1026, 1028 corresponding to the weak and strong levels need not be evenly spaced relative to the 0 volt voltage level 1020. For example, the weak voltage levels 1022, 1024 represent a comparison of voltages, which may include midpoint voltages defined for the signal lines 318a, 318b, and 318c, or voltage levels reached by the undriven signal lines 318a, 318b, and 318c. The multi-level eye diagram 1000 can use a reference time point (e.g., based on a trigger of a transmission clock) to overlap the waveforms generated by the differential receivers 802a, 802b, and 802c. In the receiver, three pairs of difference signals are generated simultaneously to enable data capture at the receiving device. Fig.10 The waveforms illustrated in show the difference signals 810a, 810b, 810c (AB, BC, and CA) generated by the differential receivers 802a, 802b.
[0081] Drivers, receivers, and other devices used in the C-PHY 3-phase decoder can exhibit different switching characteristics, which can be manifested as relative delays between the signals received from the three lines. Due to the differences in rise and fall times between the three signals of the three signal lines 318a, 318b, 318c and due to the differences in signal propagation times between the combinations of signal pairs received from the signal lines 318a, 318b, 318c, multiple receiver output transitions can be observed at each symbol interval boundary 1008 and / or 1014. The multi-level eye diagram 1000 can capture the variation in rise and fall times as relative delays in transitions near each symbol interval boundary 1008 and 1014. In some examples, the variation in rise and fall times may be due to different characteristics of the 3-phase driver. For any given symbol, the difference in rise and fall times can also result in an effective shortening or lengthening of the duration of the observed or effective symbol interval at the receiver.
[0082] The signal transition regions 1004, 1016 represent uncertain times or periods where variable signal rise times prevent reliable decoding. The illustrated signal transition regions 1004, 1016 may begin at symbol interval boundaries 1008, 1014 and terminate at endpoints 1012, 1018 corresponding to the last crossing of the 0 volt voltage level 1020 by the difference signals 810a, 810b, 810c. The signaling state may be reliably determined in an "eye open" or window 1006 representing a time period during which a symbol is stable and can be reliably received and decoded. In one example, the window 1006 may be considered to begin at endpoint 1012 of the signal transition region 1004, and the window 1006 may be considered to be closed at the next symbol interval boundary 1014 of the symbol interval, and / or when the signaling state of the signaling signal lines 318a, 318b, 318c and / or the outputs of the three differential receivers 802a, 802b, and 802c have begun to change to reflect the next symbol.
[0083] The maximum transmission speed of the C-PHY interface may be limited by the duration of the signal transition region 1004, 1016 compared to the window 1006. The receiver may use a mask circuit that blocks transition detection after a first detected transition during the signal transition region 1004, 1016. After the first detected transition, the mask circuit may ignore subsequent transitions for a duration corresponding to the longest expected or measured signal transition region 1004, 1016. The duration of the window 1006 is affected by the duration of the mask.
[0084] Fig.11 Eye diagrams 1100, 1120, 1140, 1160 corresponding to nominal or idealized signals output by three differential receivers in a C-PHY 3-phase interface are illustrated. In one aspect, Fig.11 Three modes of differential output signals associated with possible symbol sequences sent over a C-PHY interface are illustrated. All three modes are overlaid in a first eye diagram 1100, thereby illustrating an effective window 1102 of the C-PHY interface for the signaling rate shown. The effective window 1102 can be characterized by a height (EH) and a width (EW). The height represents the differential signal amplitude range that separates a logic 1 from a logic 0. The width represents the time over which a symbol can be reliably captured.
[0085] Fig.11The second eye diagram 1120 includes the transition combination that is least susceptible to timing jitter. The four signals 1126, 1128, 1130, 1132 change state at each symbol transition 1122, 1124. Two signals 1126, 1128 switch between weak high voltage and weak low voltage, and two signals 1130, 1132 switch between strong high voltage and strong low voltage. As a result, the zero crossings for all four signals 1126, 1128, 1130, 1132 occur very close together.
[0086] Fig.11 The third eye diagram 1140 includes a transition combination that exhibits moderate timing jitter. Two signals 1146, 1148 have a zero crossing at the first symbol transition 1142, and the other two signals 1154, 1156 have a zero crossing at the second symbol transition 1144. The zero crossing occurs in a signal that transitions from a weak low voltage to a strong high voltage or from a weak high voltage to a strong low voltage. At the first symbol transition 1142, four signals 1150, 1152, 1154, 1156 are converted from a strong voltage state to a weak voltage state of the same polarity. At the second symbol transition 1144, two signals 1146, 1148 are converted from a strong voltage state to a weak voltage state of the same polarity, and two signals 1150, 1152 are converted from a weak voltage state to a strong voltage state of the same polarity.
[0087] Fig.11 The fourth eye diagram 1160 includes a conversion combination that provides worst-case timing jitter 1174, 1176 and certain amplitude challenges. All four signals have zero crossings at two symbol transitions 1162, 1164. At the first symbol transition 1162, two signals 1166, 1168 are converted from a weak voltage state of one polarity to a strong voltage state of the other polarity, while two signals 1170, 1172 are converted from a strong voltage state of one polarity to a weak voltage state of the other polarity. At the second symbol transition 1164, two signals 1170, 1172 are converted from a weak voltage state of one polarity to a strong voltage state of the other polarity, while two signals 1166, 1168 are converted from a strong voltage state of one polarity to a weak voltage state of the other polarity. The difference in the starting voltage at each symbol transition 1142, 1144 can result in different zero crossings. At each symbol transition 1142, 1144, all four signaling states can appear at the output of the differential receiver.
[0088] The first detection conversion can be used to generate an edge in the receive clock signal, which is used to capture the signaling state of the difference signals 810a, 810b, 810c. The first detection conversion can vary between consecutive symbol intervals. The difference between the timing of the first detection conversion in consecutive symbols can cause the timing skew between the edges in the receive clock signal. This variability between the edges in the receive clock signal can cause the symbol interval of the symbol stream received in the receiver UI or C-PHY receiver to be non-constant. The duration of the receiver UI can be affected by the timing of the first detection conversion associated with the continuous reception of symbols. In one example, when a symbol with an earlier first detection conversion precedes a symbol with a later first detection conversion, a longer receiver UI or symbol period can be observed. In another example, when a symbol with a later first detection conversion precedes a symbol with an earlier first detection conversion, a shorter receiver UI or symbol period can be observed.
[0089] Fig.12 A timing diagram 1200 is included that illustrates certain aspects of the relationship between clock skew, UI duration, and a pattern of consecutively transmitted symbols in a C-PHY interface. The timing diagram 1200 illustrates three-phase signals 1202, 1204, 1206 transmitted on the A, B, and C lines of the C-PHY bus. The symbols are transmitted according to a transmit clock 1208, which generally defines a constant transmitter UI duration 1240. Each bit in the symbol defines a signaling state of one of the three-phase signals 1202, 1204, 1206. Upon detecting a first transition in one of the difference signals 810a, 810b, 810c, the receiver generates a pulse in the recovered clock signal 1210.
[0090] The first RxUI 1212 may be defined by a first detected transition 1222 between the first symbol and the second symbol and a first detected transition 1224 between the second symbol and the third symbol. The first detected transition 1222 between the first symbol and the second symbol is detected in a difference signal 810b, which indicates the difference that occurs when the relative polarity of the B line and the C line switches. The first detected transition 1224 between the second symbol and the third symbol is detected in a difference signal 810c, which indicates the difference that occurs when the relative polarity of the C line and the A line switches. The timing of the switches in the signaling states associated with these transitions 1222, 1224 are comparable or identical, and the resulting duration of the first RxUI 1212 may closely correspond to the nominal value of the RxUI, which may correspond to the UI duration 1240 defined by the transmit clock 1208.
[0091] The second RxUI 1214 may be defined by a first detection transition 1224 between the second symbol and the third symbol and a first detection transition 1226 between the third symbol and the fourth symbol. Here, the first detection transition 1224 between the second symbol and the third symbol is detected in the difference signal 810c, which indicates the difference that occurs when the signaling states of the C line and the A line are switched. The first detection transition 1226 between the third symbol and the fourth symbol is detected in the difference signal 810c indicating the difference between the signaling state switching of the C line and the A line, and the transition occurs relatively early. In this case, the signaling state of the three-phase signal 1206 transmitted on the C line changes between the maximum level and the minimum level, and may change faster than the signaling state of the three-phase signal 1202 transmitted on the A line. Therefore, the duration of the second RxUI 1214 may be shortened and may correspond to the minimum RxUI duration 1242, which may be less than the duration of the UI duration 1240 defined by the transmit clock 1208.
[0092] The third RxUI 1216 may be defined by a first detected transition 1226 between the third symbol and the fourth symbol and a first detected transition 1228 between the fourth symbol and the fifth symbol. The first detected transition 1226 between the third symbol and the fourth symbol is detected in the difference signal 810c representing the difference between the C-line and the A-line switching, which occurs relatively early. The first detected transition 1228 between the fourth symbol and the fifth symbol is detected in the difference signal 810c representing the difference between the signaling state switching of the C-line and the A-line. In this case, the signal states of the three-phase signals 1202 and 1206 transmitted on the A-line and the C-line change between the maximum level and the minimum level, and the transition may be delayed. Therefore, the duration of the second RxUI 1216 may correspond to the maximum RxUI duration 1244, which may be greater than the duration of the UI duration 1240 defined by the transmit clock 1208. The magnitude of the UI jitter 1246 in the recovered clock signal 1210 may correspond to the difference between the minimum RxUI duration 1242 and the maximum RxUI duration 1244 .
[0093] Examples of a fourth RxUI 1218 and a fifth RxUI 1220 are also illustrated. Variability in the RxUIs 1212, 1214, 1216, 1218, 1220 (i.e., the duration of a received symbol) causes the period of the recovered clock in the receiver to vary. In many cases, the recovered clock may experience large variations in frequency (where period = 1 / frequency). In addition, the mask circuit used by the receiver to prevent transition detection after the first detected transition can affect the maximum data rate that can be obtained from the C-PHY interface. The mask circuit can employ delay elements that are susceptible to variations in the manufacturing process, circuit supply voltage, and die temperature (PVT) conditions. The delay can be increased to ensure that the mask circuit effectively prevents transition detection after the first detected transition. The mask circuit will be used to capture the window 1006 (see Fig.10 The delay introduced by the mask circuit must be less than the minimum RxUI duration 1242 to ensure that the receive clock is reliably recovered.
[0094] In one example, the mask circuit can be configured to mask the second detected transition 1230 associated with the start of the fourth symbol. In this example, the delay introduced by the mask circuit must be sufficient to include the signal transition region 1232 (defined by the time elapsed between the first detected transition 1226 and the second detected transition 1230) and the signal transition regions 1234, 1236 of the other symbols.
[0095] Fig.13 1 is a timing diagram 1300 illustrating the effect of inter-symbol interference (ISI) on UI duration in a C-PHY interface. ISI can describe certain signal distortions that may occur when a first transmitted symbol interferes with one or more subsequent transmitted symbols. In the example shown, during certain symbols, distorted signals 1308, 1310, and 1312 are received from conductors 1302, 1304, 1306 of a C-PHY bus. Distortion can exacerbate differences in the timing of the first detected transitions in one or more symbols, thereby increasing the difference between the minimum RxUI duration 1318 and the maximum RxUI duration 1320. The delay in the mask circuit can be increased to accommodate the difference between the minimum RxUI duration 1318 and the maximum RxUI duration 1320 for the nominal receive clock 1314, and the difference between the minimum RxUI duration 1322 and the maximum RxUI duration 1324 when ISI affects the C-PHY bus. The mask delay 1316 to accommodate ISI is increased. In case the minimum RxUI duration 1322 exceeds the mask period, the receiver can successfully receive and decode the symbols.
[0096] UI jitter can be reduced to some extent by equalization. Equalization can improve the slope of the distorted signals 1308, 1310, and 1312. Generally, equalization cannot accommodate all differences in the transition timing without compromising other characteristics of the difference signals 810a, 810b, 810c.
[0097] Certain aspects of the present disclosure provide systems, devices, methods and techniques that can improve unit interval jitter in a C-PHY interface. In one aspect, a C-PHY transmission circuit is configured to selectively delay the transmission of certain symbols. On the other hand, the symbol for delay is selected based on a pattern in a sequence of symbols presented for transmission. Each symbol in the sequence defines the signaling state of three lines during the symbol transmission interval. In one example, a pattern detection circuit can identify a symbol pair that is expected to produce a short transition duration between symbol transmission intervals. The C-PHY transmission circuit can be configured to delay the transmission of the second transmission symbol in the symbol pair, thereby extending the time window in which the receiver can capture the first transmission symbol in the symbol pair. In other examples, the C-PHY transmission circuit can be configured to advance the transmission of the symbol when a long transition duration is expected. On the other hand, the delay or advance of the entire symbol retains the common mode benefits provided by the C-PHY interface by maintaining the relationship between the transitions of the three lines of the C-PHY interconnect. When the transition on one of the lines in the three paths is advanced or delayed to improve the consistency of the symbol transition time, interference with common mode operation can be expected. Common-mode interference may occur when the sum of the current and / or voltage on the three paths is not zero and / or constant over a switching period.
[0098] Fig.14 An example of a transmit circuit 1400 provided according to certain aspects of the present disclosure is illustrated. The transmit circuit 1400 uses pattern detection to adjust the timing of a three-phase signal 1418 transmitted on a C-PHY bus. The transmit circuit 1400 can be configured to narrow the difference between the minimum UI duration and the maximum UI duration, thereby minimizing UI jitter.
[0099] The transmit circuit 1400 may operate according to the timing provided by the transmitter clock signal 1402. The transmitter clock signal 1402 may be used to clock the symbol data 1404 through a pair of pre-driver circuits 1406, 1408. In one example, each pre-driver circuit 1406, 1408 includes a register or other device to hold the symbol as it passes through the transmit circuit 1400. The output of the first pre-driver circuit 1408 provides the symbol currently being transmitted (Symbol N 1422), and the output of the second pre-driver circuit 1406 provides the next symbol to be transmitted (Symbol N+11420). The currently transmitted symbol and the next symbol to be transmitted are provided to a mode detector 1410 which determines whether the next symbol to be transmitted is to be delayed before initiating transmission.
[0100] The mode detector 1410 may operate according to the timing provided by the transmitter clock signal 1402. In the example shown, the mode detector 1410 provides a selection signal 1428 that selects between the inputs of the multiplexer 1412 to provide an input 1426 to the 3-wire line driver circuit 1416. The selection signal 1428 selects between a delayed version and an undelayed version of a current symbol 1422, which is one of the symbols in the sequence of symbols provided in the symbol data 1404. The undelayed version of the current symbol 1422 is provided by the pre-driver circuit 1408 to a first input of the multiplexer 1412, and the delayed version of the current symbol 1422 is provided by the delay circuit 1414 to a second input of the multiplexer 1412. The multiplexer 1412 drives the input 1426 to the 3-wire line driver circuit 1416.
[0101] In some examples, the pattern detector 1410 is configured to determine when a symbol pair to be transmitted sequentially is represented by a two-symbol pattern that matches a pattern expected to produce a short transition duration between symbol transmission intervals. When a combination of the current symbol and the immediately preceding symbol indicates no pattern match, a non-delayed version of the current symbol may be selected by the pattern detector 1410. When a combination of the current symbol and the immediately preceding symbol indicates a pattern match, a delayed version of the current symbol may be selected by the pattern detector 1410.
[0102] In some examples, the transitions in the select signal 1428 are synchronized by the transmitter clock signal 1402, which is provided to the pattern detector 1410 and also controls the timing of the pre-driver circuits 1406, 1408. In one example, the select signal 1428 is synchronized to the falling edge in the transmitter clock signal 1402, while the pre-driver circuits 1406, 1408 are clocked by the rising edge in the transmitter clock signal 1402. That is, each pattern detection decision is captured at the falling edge of the transmitter clock signal 1402, while the output of each pre-driver in the pre-driver circuits 1406, 1408 captures its corresponding input state at each rising edge of the transmitter clock signal 1402. In this example, the input to the pattern detector 1410 has half a cycle of the transmitter clock signal 1402 to stabilize, and the pattern detection decision has half a cycle of the transmitter clock signal 1402 to stabilize.
[0103] In one example, if all bits of the next symbol to be transmitted are different from the bits of the currently transmitted symbol, the pattern detector 1410 may delay starting the transmission of the next symbol to be transmitted. That is, a delay is applied to the next symbol to be transmitted if the following conditions are met:
[0104] [A N+1 ≠A N ]&[B N+1 ≠B N ]&[C N+1 ≠C N ]
[0105] The delay may be applied by providing the output of the pre-driver circuit 1408 to one input of a multiplexer 1412 and a delay circuit 1414. The output of the delay circuit 1414 is provided to a second input of the multiplexer 1412.
[0106] The delay circuit 1414 may include one or more programmable delay elements. The programmable delay element may be used to configure the delay applied to the next symbol to be transmitted. The delay circuit 1414 may be configured during the manufacture of the transmitting circuit 1400, system integration, and / or during power-on initialization. In some implementations, the delay circuit 1414 may be dynamically configured. In one example, the delay circuit 1414 may be configured during a calibration procedure. In another example, the delay circuit 1414 may be configured to adapt to changes in PVT conditions. In another example, the delay circuit 1414 may be configured in response to a request or command received from a higher layer protocol or application.
[0107] When UI jitter is reduced, the maximum data rate of the C-PHY bus can be increased and the reliability of the decoder at the receiver can be improved. UI jitter appears at the receiver as variable duration UI, including maximum UI and minimum UI (see Fig.12 ). When the first transmitted symbol pair (eg, S N and S N+1 ) are propagated to the difference signals 810a, 810b, 810c at the receiver with minimal detection delay, while the second transmitted symbol pair (e.g., S N+1 and S N+2 ) propagates to the difference signals 810a, 810b, 810c at the receiver with the maximum detection delay, causing the maximum UI. M and S M+1 ) propagates to the difference signals 810a, 810b, 810c at the receiver with a maximum detection delay, while the second transmitted symbol pair (e.g., S M+1 and S M+2) propagates to the difference signal 810a, 810b, 810c at the receiver with minimum detection delay, causing minimum UI.
[0108] The delay circuit 1414 can be configured to minimize UI jitter at the receiver. In one example, the delay circuit 1414 can be used to reduce the difference between the duration of the maximum UI and the duration of the minimum UI by delaying the transmission of the current symbol, which is expected to produce a transition of the difference signal 810a, 810b, 810c that will propagate to the receiver with the minimum detection delay. In one example, the optimal delay introduced by the delay circuit 1414 can be approximately the difference between the minimum detection delay and the maximum detection delay associated with the differential receivers 802a, 802b and 802c. Introducing a delay in the transmission of the current symbol effectively produces an increased minimum detection delay at the receiver.
[0109] The clock recovery circuit at the receiver can be configured to provide a smaller mask delay when the UI jitter is reduced. The mask delay is configured to accommodate the difference between the minimum detection delay and the maximum detection delay. In some implementations, the pattern detector 1410 selectively causes the delay circuit 1414 to delay the transmission of the current symbol that is expected to produce a minimum transition time and / or a minimum detection delay at the receiver and / or based on the detection of a symbol sequence that is expected to cause a minimum UI duration at the receiver.
[0110] Examples of Processing Circuits and Methods
[0111] Fig.15 An example of a hardware implementation for an apparatus 1500 employing a processing circuit 1502 is illustrated, which can be configured to perform one or more functions disclosed herein. According to various aspects of the present disclosure, any combination of elements or any portion of elements as disclosed herein can be implemented using the processing circuit 1502. The processing circuit 1502 may include certain devices, circuits, and / or logic to support the clock recovery techniques disclosed herein.
[0112] The processing circuit 1502 may include one or more processors 1504 controlled by some combination of hardware and software modules. Examples of processors 1504 include microprocessors, microcontrollers, digital signal processors (DSPs), field programmable gate arrays (FPGAs), programmable logic devices (PLDs), state machines, sequencers, gating logic, discrete hardware circuits, and other suitable hardware configured to perform various functionalities described throughout this disclosure. The one or more processors 1504 may include a special-purpose processor that performs a specific function and may be configured, enhanced, or controlled by one of the software modules 1516. The one or more processors 1504 may be configured by a combination of software modules 1516 loaded during initialization, and further configured by loading or unloading one or more software modules 1516 during operation.
[0113] In the illustrated example, the processing circuit 1502 can be implemented using a bus architecture, which is generally represented by a bus 1510. The bus 1510 may include any number of interconnecting buses and bridges, depending on the specific application and overall design constraints of the processing circuit 1502. In one example, the bus 1510 links together various circuits including one or more processors 1504 and a processor-readable storage medium 1506. The processor-readable storage medium 1506 may include a memory device and a mass storage device, and may be referred to as a computer-readable medium and / or a processor-readable medium in this article. The bus 1510 may also link various other circuits, such as timing sources, timers, peripherals, voltage regulators, and power management circuits. The bus interface 1508 may provide an interface between the bus 1510 and one or more transceivers 1512. The transceiver 1512 may be provided for each networking technology supported by the processing circuit. In some instances, multiple networking technologies may share some or all of the circuit systems or processing modules present in the transceiver 1512. Each transceiver 1512 provides a means for communicating with various other devices via a transmission medium. Depending on the nature of the device 1500, a user interface 1518 (e.g., keypad, display, speaker, microphone, joystick) may also be provided and may be communicatively coupled to the bus 1510 directly or via the bus interface 1508.
[0114] The processor 1504 may be responsible for managing the bus 1510 and for general processing, which may include the execution of software stored in a computer-readable medium, which may include a processor-readable storage medium 1506. In this regard, the processing circuit 1502 including the processor 1504 may be used to implement any of the methods, functions, and techniques disclosed herein. The processor-readable storage medium 1506 may be used to store data manipulated by the processor 1504 when executing the software, and the software may be configured to implement any of the methods disclosed herein.
[0115] One or more processors 1504 in the processing circuit 1502 may execute software. Software should be broadly interpreted to mean instructions, instruction sets, codes, code segments, program codes, programs, subroutines, software modules, applications, software applications, software packages, routines, subroutines, objects, executable programs, execution threads, processes, functions, algorithms, etc., whether referring to software, firmware, middleware, microcode, hardware description languages, or otherwise. The software may reside in a processor-readable storage medium 1506 or another external processor-readable medium in a computer-readable form. The processor-readable storage medium 1506 may include a non-transitory computer-readable medium. As examples, non-transitory processor-readable media include magnetic storage devices (e.g., hard disks, floppy disks, magnetic strips), optical disks (e.g., compact disks (CDs) or digital versatile disks (DVDs)), smart cards, flash memory devices (e.g., "flash drives," cards, sticks, or key drives), random access memory (RAM), ROMs, PROMs, erasable PROMs (EPROMs), EEPROMs, registers, removable disks, and any other suitable medium for storing software and / or instructions that can be accessed and read by a computer. As examples, processor-readable storage media 1506 may also include carrier waves, transmission lines, and any other suitable medium for transmitting software and / or instructions that can be accessed and read by a computer. Processor-readable storage media 1506 may reside in processing circuit 1502, in processor 1504, external to processing circuit 1502, or distributed across multiple entities including processing circuit 1502. Processor-readable storage media 1506 may be embodied in a computer program product. As examples, a computer program product may include a computer-readable medium in packaging materials. Those skilled in the art will recognize how to best implement the functionality described throughout this disclosure depending on the particular application and the overall design constraints imposed on the entire system.
[0116] The processor-readable storage medium 1506 may maintain software maintained and / or organized in loadable code segments, modules, applications, programs, etc., which may be referred to herein as software modules 1516. Each of the software modules 1516 may include instructions and data that, when installed or loaded onto the processing circuit 1502 and executed by the one or more processors 1504, facilitate a runtime image 1514 that controls the operation of the one or more processors 1504. When executed, certain instructions may cause the processing circuit 1502 to perform functions in accordance with certain methods, algorithms, and processes described herein.
[0117] Some of the software modules 1516 may be loaded during initialization of the processing circuit 1502, and these software modules 1516 may configure the processing circuit 1502 to enable the various functions disclosed herein to be performed. For example, some of the software modules 1516 may configure the internal devices and / or logic circuits 1522 of the processor 1504, and may manage access to external devices such as the transceiver 1512, the bus interface 1508, the user interface 1518, timers, math coprocessors, etc. The software modules 1516 may include a control program and / or an operating system that interacts with interrupt handlers and device drivers and controls access to various resources provided by the processing circuit 1502. Resources may include memory, processing time, access to the transceiver 1512, the user interface 1518, etc.
[0118] The one or more processors 1504 of the processing circuit 1502 may be multifunctional, whereby some software modules 1516 are loaded and configured to perform different functions or different instances of the same function. For example, the one or more processors 1504 may be additionally adapted to manage background tasks initiated in response to inputs from the user interface 1518, the transceiver 1512, and the device driver. In order to support the execution of multiple functions, the one or more processors 1504 may be configured to provide a multitasking environment, whereby each of the multiple functions is implemented as a set of tasks served by the one or more processors 1504 as needed or as desired. In one example, the multitasking environment may be implemented using a time-sharing program 1520, which transfers control of the processor 1504 between different tasks, whereby each task returns control of the one or more processors 1504 to the time-sharing program 1520 upon completion of any unfinished operations and / or in response to inputs (such as interrupts). When a task has control of the one or more processors 1504, the processing circuit is effectively dedicated to the purpose solved by the function associated with the control task. The time-sharing program 1520 may include an operating system, a main loop that transfers control on a cyclic basis, functionality that allocates control of one or more processors 1504 based on the priority of the functionality, and / or an interrupt-driven main loop that responds to external events by providing control of one or more processors 1504 to processing functions.
[0119] Fig.16 1600 is a flow chart of a method for transmitting information on a three-wire bus. In one example, the three-wire bus may be operated according to a C-PHY protocol. At block 1602, a transmitting device may receive a sequence of symbols to be transmitted on the three-wire bus in a plurality of transmission symbol intervals. The transmission symbol interval may correspond to a period of a transmission clock. The transmitter may receive a current symbol from the sequence of symbols to transmit during a corresponding transmission symbol interval.
[0120] At block 1604, the transmitting device may initiate transmission of a current symbol in the symbol sequence during a corresponding transmission symbol interval. The transmitting device may sequentially provide each symbol to a plurality of pre-driver circuits 1406, 1408 (see FIG. Fig.14) pipeline, thereby obtaining at least two copies of symbols, including a first symbol being sent and a second symbol to be sent next. In the transition between symbol intervals, the second symbol becomes the current symbol, and the first symbol becomes the immediately preceding symbol. When the transmission of the current symbol in the symbol sequence is started at box 1604 during the corresponding transmission symbol interval, the transmitting device can determine at box 1606 whether the transmission of the current symbol will cause early detection of the transition between the first symbol and the second symbol at the receiving device. The transmitting device can make this determination by using a pattern detector. When each bit of the current symbol is different from the corresponding bit in the immediately preceding symbol, the method can continue at box 1610. Otherwise, the method continues at box 1608.
[0121] At block 1608, when the combination of the current symbol and the immediately preceding symbol causes the pattern detector to indicate that there is no pattern match, the transmitting device may transmit the current symbol without delay during the corresponding transmission symbol interval.
[0122] At block 1610, when a combination of a current symbol and an immediately preceding symbol causes a pattern detector to indicate a pattern match, the transmitting device may delay transmission of the current symbol within a corresponding transmission symbol interval.
[0123] In one example, when the signaling state of each line in the three-wire bus defined by the current symbol is different from the signaling state of the corresponding line defined by the immediately previous symbol, the transmitting device may delay transmission of the current symbol within the corresponding transmission symbol interval.
[0124] In some embodiments, the duration of a receive symbol interval in which the current symbol is received at the receiver is expected to be less than the duration of a transmit symbol interval in which the current symbol is sent when the immediately preceding symbol is followed in transmission by an undelayed version of the current symbol. Delaying the transmission of the current symbol within a corresponding transmit symbol interval may increase the duration of the receive symbol interval. Delaying the transmission of the current symbol within a corresponding transmit symbol interval may reduce jitter in a recovered clock signal at the receiver.
[0125] In some implementations, delaying the transmission of the current symbol within the corresponding transmission symbol interval includes delaying three signals representing the current symbol by a delay duration calculated to reduce the difference between the duration of the received symbol interval at the receiver and the duration of the transmission symbol interval corresponding to the current symbol. The delay duration can be further configured to reduce the signal transition area in the receiver. The transmitting device can modify the delay duration to adapt to changes in manufacturing processes, circuit supply voltages, and die temperature conditions. The transmitting device can send a symbol sequence on a three-wire bus according to the C-PHY protocol.
[0126] Fig.17 1700 is a diagram illustrating one example of a hardware implementation of an apparatus 1700 employing a processing circuit 1702. The processing circuit 1702 typically has at least one processor 1716, which may include one or more of a microprocessor, a microcontroller, a digital signal processor, a sequencer, and a state machine. The processing circuit 1702 may be implemented with a bus architecture generally represented by a bus 1720. The bus 1720 may include any number of interconnecting buses and bridges, depending on the specific application and overall design constraints of the processing circuit 1702. The bus 1720 links together various circuits including one or more processors and / or hardware modules, represented by the processor 1716, the modules or circuits 1704, 1706, and 1708, the transmitter circuit 1712 (which generates a difference signal 1722 representing the difference in the signaling state between different pairs of connectors or wires 1714), and the processor readable storage medium 1718. The bus 1720 may also link various other circuits known in the art, such as timing sources, peripheral devices, voltage regulators, and power management circuits, and therefore will not be described in detail.
[0127] The processor 1716 is responsible for general processing, including the execution of software stored on the processor readable storage medium 1718. The software, when executed by the processor 1716, causes the processing circuit 1702 to perform the various functions described above for any particular device. The processor readable storage medium 1718 may also be used to store data manipulated by the processor 1716 when executing the software, including data decoded from symbols sent on the connector or line 1714 (which may be configured as a C-PHY bus). The processing circuit 1702 also includes at least one of the modules 1704, 1706, and 1708. The modules 1704, 1706, and 1708 may be software modules running in the processor 1716, resident / stored in the processor readable storage medium 1718, one or more hardware modules coupled to the processor 1716, or some combination thereof. The modules 1704, 1706, and / or 1708 may include microcontroller instructions, state machine configuration parameters, or some combination thereof.
[0128] In one configuration, the apparatus 1700 may be configured for data communication according to a C-PHY interface protocol. The apparatus 1700 may include a module and / or circuit 1708 configured to select a symbol for transmission in each symbol transmission interval, where, for example, the transmitting device may select between a delayed version and an undelayed version of a current symbol. The selected symbol may be provided to the transmitter circuit 1712 as a 3-bit signal, a 21-bit (7-symbol) word, etc. The apparatus 1700 may include a module and / or circuit 1706 configured to detect certain signaling patterns created at a transition between a current symbol and an immediately preceding symbol. The apparatus 1700 may include a module and / or circuit 1704 for configuring and operating a delay circuit for providing a delayed version of the current symbol.
[0129] In one example, the apparatus 1700 has a driver circuit configured to drive a three-wire bus according to a symbol received at an input of the driver circuit; a pattern detector configured to receive a sequence of symbols to be sent on the three-wire bus in a plurality of transmission symbol intervals; and a selection circuit responsive to a selection signal provided by the pattern detector and configured to select between a delayed version and an undelayed version of a current symbol taken from the sequence of symbols to drive the input of the driver circuit during the corresponding transmission symbol interval. The selection signal may select the delayed version of the current symbol when the pattern detector determines that a transition between the undelayed version of the current symbol and an immediately preceding symbol in the sequence of symbols is expected to cause an early detection of the transition at the receiver.
[0130] In one example, early detection of a transition at the receiver is expected to occur when the signaling state of each line of a three-wire bus defined by a current symbol is different from the signaling state of the corresponding line defined by an immediately preceding symbol.
[0131] In some embodiments, the duration of a receive symbol interval at a receiver during which a current symbol is received is expected to be less than the duration of a transmit symbol interval during which the current symbol is sent when the immediately preceding symbol is followed in transmission by an undelayed version of the current symbol. The duration of the receive symbol interval may be increased when a delayed version of the current symbol is selected to drive an input of a driver circuit during a corresponding transmit symbol interval. Jitter in a recovered clock signal at a receiver may be reduced when a delayed version of the current symbol is selected to drive an input of a driver circuit during a corresponding transmit symbol interval.
[0132] The apparatus 1700 may include a delay circuit configured to generate delayed versions of the three signals representing the current symbol by delaying the three signals by a delay duration, the delay duration being calculated to reduce the difference between the duration of a received symbol interval at the receiver and the duration of a transmitted symbol interval corresponding to the current symbol. The delay duration may also be configured to reduce a signal transition region in the receiver. The apparatus 1700 may also have a controller configured to modify the delay duration to accommodate changes in manufacturing processes, circuit supply voltages, and die temperature conditions.
[0133] A sequence of symbols may be sent on the three-wire bus according to the C-PHY protocol.
[0134] The processor-readable storage medium 1718 may be a non-transitory storage medium and may store instructions and / or code which, when executed by the processor 1716, causes the processing circuit 1702 to: receive a sequence of symbols to be sent on a three-wire bus in a plurality of transmission symbol intervals; and when transmission of a current symbol in the sequence of symbols is initiated during a corresponding transmission symbol interval: send the current symbol without delay during the corresponding transmission symbol interval when a combination of the current symbol and an immediately preceding symbol causes a pattern detector to indicate no pattern match; and / or delay transmission of the current symbol within the corresponding transmission symbol interval when a combination of the current symbol and an immediately preceding symbol causes the pattern detector to indicate a pattern match.
[0135] In one example, the instructions and / or code may further cause the processing circuit 1702 to: delay transmission of the current symbol within a corresponding transmission symbol interval when a signaling state of each line in a three-wire bus defined by the current symbol is different from a signaling state of a corresponding line defined by an immediately preceding symbol. When the immediately preceding symbol is followed in transmission by a non-delayed version of the current symbol, a duration of a receive symbol interval in which the current symbol is received at a receiver may be less than a duration of a transmit symbol interval in which the current symbol is sent. Delaying transmission of the current symbol within the corresponding transmission symbol interval may increase the duration of the receive symbol interval.
[0136] In one example, the instructions and / or code may also cause the processing circuit 1702 to delay the three signals representing the current symbol by a delay duration calculated to reduce the difference between the duration of the received symbol interval at the receiver and the duration of the transmitted symbol interval corresponding to the current symbol. The delay duration may be further configured to reduce the signal transition region in the receiver.
[0137] The instructions and / or code may further cause the processing circuit 1702 to transmit a sequence of symbols on the three-wire bus in accordance with the C-PHY protocol.
[0138] Some implementation examples are described in the following numbered clauses:
[0139] 1. A transmitter, comprising:
[0140] a driver circuit configured to: drive a three-wire bus according to a sign received at an input of the driver circuit;
[0141] a pattern detector configured to: receive a sequence of symbols to be transmitted on the three-wire bus in a plurality of transmission symbol intervals; and
[0142] a selection circuit responsive to a selection signal provided by the mode detector and configured to select between a delayed version and an undelayed version of a current symbol taken from the symbol sequence to drive the input of the driver circuit during a corresponding transmit symbol interval,
[0143] wherein the selection signal selects the non-delayed version of the current symbol when a combination of the current symbol and an immediately preceding symbol causes the pattern detector to indicate no pattern match, and
[0144] Wherein the selection signal selects the delayed version of the current symbol when the combination of the current symbol and the immediately preceding symbol causes the pattern detector to indicate a pattern match.
[0145] 2. A transmitter as described in clause 1, wherein early detection of a transition is expected to occur at a receiver when the signaling state of each line in the three-wire bus defined by the current symbol is different from the signaling state of the corresponding line defined by the immediately preceding symbol.
[0146] 3. A transmitter as described in clause 1 or clause 2, wherein when the immediately preceding symbol is followed by the undelayed version of the current symbol in transmission, the duration of a receive symbol interval for receiving the current symbol at the receiver is expected to be less than the duration of a transmit symbol interval for sending the current symbol.
[0147] 4. A transmitter as described in clause 3, wherein the duration of the receive symbol interval increases when the delayed version of the current symbol is selected to drive the input of the driver circuit during the corresponding transmit symbol interval.
[0148] 5. A transmitter as described in clause 3 or clause 4, wherein jitter in a clock signal recovered at the receiver is reduced when the delayed version of the current symbol is selected to drive the input of the driver circuit during the corresponding transmit symbol interval.
[0149] 6. A transmitter as described in any one of clauses 1 to 5, further comprising:
[0150] A delay circuit is configured to generate delayed versions of the three signals representing the current symbol by delaying the three signals by a delay duration, wherein the delay duration is calculated to reduce the difference between the duration of a received symbol interval at a receiver and the duration of a transmitted symbol interval corresponding to the current symbol.
[0151] 7. A transmitter as described in clause 6, wherein the delay duration is further configured to reduce a signal transition region in the receiver.
[0152] 8. A transmitter as described in clause 6 or clause 7, further comprising:
[0153] A controller is configured to modify the delay duration to accommodate changes in manufacturing process, circuit supply voltage, and die temperature conditions.
[0154] 9. A transmitter as described in any of clauses 1 to 8, wherein the sequence of symbols is transmitted on the three-wire bus according to a C-PHY protocol.
[0155] 10. A method for sending information on a three-wire bus, comprising:
[0156] receiving, in a plurality of transmission symbol intervals, a sequence of symbols to be transmitted on the three-wire bus; and
[0157] When the transmission of a current symbol in the symbol sequence is started during the corresponding transmission symbol interval:
[0158] transmitting the current symbol without delay during the corresponding transmit symbol interval when a combination of the current symbol and an immediately preceding symbol causes a pattern detector to indicate no pattern match; and
[0159] When the combination of the current symbol and the immediately preceding symbol causes the pattern detector to indicate a pattern match, transmission of the current symbol within the corresponding transmit symbol interval is delayed.
[0160] 11. The method as described in clause 10, further comprising:
[0161] When a signaling state of each line of the three-wire bus defined by the current symbol is different from a signaling state of a corresponding line defined by the immediately preceding symbol, transmission of the current symbol within the corresponding transmission symbol interval is delayed.
[0162] 12. A method as described in clause 10 or clause 11, wherein when the immediately preceding symbol is followed by an undelayed version of the current symbol in transmission, the duration of a receive symbol interval for receiving the current symbol at the receiver is expected to be less than the duration of a transmit symbol interval for sending the current symbol.
[0163] 13. A method as described in clause 12, wherein delaying transmission of the current symbol within the corresponding transmit symbol interval increases the duration of the receive symbol interval.
[0164] 14. A method as described in clause 12 or clause 13, wherein delaying transmission of the current symbol within the corresponding transmit symbol interval reduces jitter in a clock signal recovered at the receiver.
[0165] 15. A method as described in any of clauses 10-14, wherein delaying the transmission of the current symbol within the corresponding transmission symbol interval comprises:
[0166] Three signals representing the current symbol are delayed by a delay duration calculated to reduce a difference between a duration of a receive symbol interval at a receiver and a duration of a transmit symbol interval corresponding to the current symbol.
[0167] 16. A method as described in clause 15, wherein the delay duration is further configured to reduce a signal transition region in the receiver.
[0168] 17. A method as described in clause 15 or clause 16, further comprising:
[0169] The delay duration is modified to accommodate changes in manufacturing processes, circuit supply voltages, and die temperature conditions.
[0170] 18. A method as described in any of clauses 10-17, further comprising:
[0171] The symbol sequence is sent on the three-wire bus according to the C-PHY protocol.
[0172] 19. A processor-readable storage medium having one or more instructions which, when executed by at least one processor of a processing circuit in a receiver, cause the at least one processor to:
[0173] receiving, in a plurality of transmission symbol intervals, a sequence of symbols to be transmitted on a three-wire bus; and
[0174] When the transmission of a current symbol in the symbol sequence is started during the corresponding transmission symbol interval:
[0175] transmitting the current symbol without delay during the corresponding transmit symbol interval when a combination of the current symbol and an immediately preceding symbol causes a pattern detector to indicate no pattern match; and
[0176] When the combination of the current symbol and the immediately preceding symbol causes the pattern detector to indicate a pattern match, transmission of the current symbol within the corresponding transmit symbol interval is delayed.
[0177] 20. A storage medium as described in clause 19, further comprising instructions for causing the at least one processor to:
[0178] When a signaling state of each line of the three-wire bus defined by the current symbol is different from a signaling state of a corresponding line defined by the immediately preceding symbol, transmission of the current symbol within the corresponding transmission symbol interval is delayed.
[0179] 21. A storage medium as described in clause 19 or clause 20, wherein when the immediately preceding symbol is followed by an undelayed version of the current symbol in transmission, the duration of a receive symbol interval for receiving the current symbol at the receiver is expected to be less than the duration of a transmit symbol interval for sending the current symbol.
[0180] 22. A storage medium as described in clause 21, wherein delaying transmission of the current symbol within the corresponding transmit symbol interval increases the duration of the receive symbol interval.
[0181] 23. A storage medium as described in clause 21 or clause 22, wherein delaying the transmission of the current symbol within the corresponding transmission symbol interval comprises:
[0182] The three signals representing the current symbol are delayed by a delay duration, wherein the delay duration is calculated to reduce the difference between the duration of a received symbol interval at a receiver and the duration of a transmitted symbol interval corresponding to the current symbol, wherein the delay duration is also configured to reduce a signal transition region in the receiver.
[0183] 24. A storage medium as described in any one of clauses 19-23, further comprising:
[0184] The symbol sequence is sent on the three-wire bus according to the C-PHY protocol.
[0185] 25. A sending device, comprising:
[0186] means for receiving a sequence of symbols to be transmitted on a three-wire bus in a plurality of transmission symbol intervals; and
[0187] The means for transmitting a symbol on the three-wire bus is configured to transmit a current symbol in the symbol sequence during a corresponding transmission symbol by:
[0188] When a combination of the current symbol and an immediately preceding symbol causes a pattern detector to indicate no pattern match, transmitting the current symbol without delay during a corresponding transmission symbol interval; and
[0189] When the combination of the current symbol and the immediately preceding symbol causes the pattern detector to indicate a pattern match, transmission of the current symbol within the corresponding transmit symbol interval is delayed.
[0190] 26. A transmitting device as described in clause 25, wherein the means for transmitting symbols is further configured to:
[0191] When a signaling state of each line of the three-wire bus defined by the current symbol is different from a signaling state of a corresponding line defined by the immediately preceding symbol, transmission of the current symbol within the corresponding transmission symbol interval is delayed.
[0192] 27. A transmitting device as described in clause 25 or clause 26, wherein when the immediately preceding symbol is followed by an undelayed version of the current symbol in transmission, the duration of a receive symbol interval for receiving the current symbol at the receiver is expected to be less than the duration of a transmit symbol interval for sending the current symbol.
[0193] 28. A transmitting apparatus as described in clause 27, wherein delaying transmission of the current symbol within the corresponding transmit symbol interval increases the duration of the receive symbol interval.
[0194] 29. A transmitting device as described in any one of clauses 25-28, wherein the means for transmitting a symbol is further configured to:
[0195] The three signals representing the current symbol are delayed by a delay duration, wherein the delay duration is calculated to reduce the difference between the duration of a received symbol interval at a receiver and the duration of a transmitted symbol interval corresponding to the current symbol, wherein the delay duration is also configured to reduce a signal transition region in the receiver.
[0196] 30. A transmitting device as described in any one of clauses 25-29, further comprising:
[0197] The symbol sequence is sent on the three-wire bus according to the C-PHY protocol.
[0198] It should be understood that the specific order or hierarchy of steps in the disclosed process is an illustration of an exemplary method. Based on design preferences, it should be understood that the specific order or hierarchy of steps in the process can be rearranged. In addition, some steps can be combined or omitted. The accompanying method claims present elements of the various steps in an example order and are not meant to be limited to the specific order or hierarchy presented.
[0199] The foregoing description is provided so that any person skilled in the art can practice the various aspects described herein. Various modifications to these aspects will be apparent to those skilled in the art, and the general principles defined herein can be applied to other aspects. Therefore, the claims are not intended to be limited to the various aspects shown herein, but to conform to the full scope consistent with the language claims, wherein unless specifically so stated, the elements mentioned in the singular are not intended to mean "one and only one", but "one or more". Unless otherwise expressly stated, the term "some" refers to one or more. All structural and functional equivalents of the elements of the various aspects described in this disclosure are known or will be known later to those of ordinary skill in the art, and they are all expressly incorporated herein by reference and are intended to be covered by the claims. In addition, nothing disclosed herein is intended to be dedicated to the public, regardless of whether such disclosure is expressly recorded in the claims. Any claim element is not interpreted as a component plus function unless the element is expressly recorded using the phrase "for ... components".
Claims
1. A transmitter, comprising: a driver circuit configured to: drive a three-wire bus according to a sign received at an input of the driver circuit; a pattern detector configured to: receive a sequence of symbols to be transmitted on the three-wire bus in a plurality of transmission symbol intervals, and further configured to compare each consecutively transmitted pair of symbols in the sequence of symbols, wherein each symbol in the sequence of symbols comprises three binary bits, the three binary bits being configured to cause a change in a signaling state of at least one line of the three-wire bus at the beginning of a transmission symbol interval associated with the each symbol; as well as a selection circuit responsive to a selection signal provided by the mode detector and configured to select between a delayed version and an undelayed version of a current symbol taken from the symbol sequence to drive the input of the driver circuit during a corresponding transmit symbol interval, wherein the selection signal selects the non-delayed version of the current symbol when a combination of the current symbol and an immediately preceding symbol causes the pattern detector to indicate no pattern match, and Wherein the selection signal selects the delayed version of the current symbol when the combination of the current symbol and the immediately preceding symbol causes the pattern detector to indicate a pattern match.
2. The transmitter of claim 1 , wherein early detection of a transition is expected to occur at a receiver when the signaling state of each line in the three-wire bus defined by the current symbol is different from the signaling state of the corresponding line defined by the immediately preceding symbol.
3. A transmitter according to claim 1 or 2, wherein when the immediately preceding symbol is followed by the undelayed version of the current symbol in transmission, the duration of a receive symbol interval for receiving the current symbol at a receiver is expected to be less than the duration of a transmit symbol interval for sending the current symbol.
4. The transmitter of claim 3, wherein the duration of the receive symbol interval increases when the delayed version of the current symbol is selected to drive the input of the driver circuit during the corresponding transmit symbol interval.
5. The transmitter of claim 3, wherein jitter in a clock signal recovered at the receiver is reduced when the delayed version of the current symbol is selected to drive the input of the driver circuit during the corresponding transmit symbol interval.
6. The transmitter according to claim 1, further comprising: A delay circuit is configured to generate delayed versions of the three signals representing the current symbol by delaying the three signals by a delay duration, wherein the delay duration is calculated to reduce the difference between the duration of a received symbol interval at a receiver and the duration of a transmitted symbol interval corresponding to the current symbol.
7. The transmitter of claim 6, wherein the delay duration is further configured to reduce a signal transition region in the receiver.
8. The transmitter according to claim 6 or 7, further comprising: A controller is configured to modify the delay duration to accommodate changes in manufacturing process, circuit supply voltage, and die temperature conditions.
9. The transmitter of claim 1, wherein the symbol sequence is transmitted on the three-wire bus according to a C-PHY protocol.
10. A method for sending information on a three-wire bus, comprising: receiving a sequence of symbols to be transmitted on the three-wire bus in a plurality of transmission symbol intervals, wherein each symbol in the sequence of symbols comprises three binary bits, the three binary bits being configured to cause a change in a signaling state of at least one line of the three-wire bus at the beginning of a transmission symbol interval associated with the each symbol; comparing each consecutively transmitted pair of symbols in the symbol sequence using a pattern detector; as well as When the transmission of a current symbol in the symbol sequence is started during the corresponding transmission symbol interval: transmitting the current symbol without delay during the corresponding transmit symbol interval when a combination of the current symbol and an immediately preceding symbol causes the pattern detector to indicate no pattern match; as well as When the combination of the current symbol and the immediately preceding symbol causes the pattern detector to indicate a pattern match, transmission of the current symbol within the corresponding transmit symbol interval is delayed.
11. The method according to claim 10, further comprising: When a signaling state of each line of the three-wire bus defined by the current symbol is different from a signaling state of a corresponding line defined by the immediately preceding symbol, transmission of the current symbol within the corresponding transmission symbol interval is delayed.
12. A method according to claim 10 or 11, wherein when the immediately preceding symbol is followed by an undelayed version of the current symbol in transmission, the duration of a receive symbol interval for receiving the current symbol at a receiver is expected to be less than the duration of a transmit symbol interval for sending the current symbol.
13. The method of claim 12, wherein delaying transmission of the current symbol within the corresponding transmit symbol interval increases the duration of the receive symbol interval.
14. The method of claim 12, wherein delaying transmission of the current symbol within the corresponding transmit symbol interval reduces jitter in a clock signal recovered at the receiver.
15. The method of claim 10, wherein delaying transmission of the current symbol within the corresponding transmission symbol interval comprises: Three signals representing the current symbol are delayed by a delay duration calculated to reduce a difference between a duration of a receive symbol interval at a receiver and a duration of a transmit symbol interval corresponding to the current symbol.
16. The method of claim 15, wherein the delay duration is further configured to reduce a signal transition region in the receiver.
17. The method according to claim 15 or 16, further comprising: The delay duration is modified to accommodate changes in manufacturing processes, circuit supply voltages, and die temperature conditions.
18. The method according to claim 10, further comprising: The symbol sequence is sent on the three-wire bus according to the C-PHY protocol.
19. A processor-readable storage medium having one or more instructions which, when executed by at least one processor of a processing circuit in a receiver, cause the at least one processor to: receiving a sequence of symbols to be transmitted on a three-wire bus in a plurality of transmission symbol intervals, wherein each symbol in the sequence of symbols comprises three binary bits, the three binary bits being configured to cause a change in a signaling state of at least one line of the three-wire bus at the beginning of a transmission symbol interval associated with the each symbol; comparing each consecutively transmitted pair of symbols in the symbol sequence using a pattern detector; as well as When the transmission of a current symbol in the symbol sequence is started during the corresponding transmission symbol interval: transmitting the current symbol without delay during the corresponding transmit symbol interval when a combination of the current symbol and an immediately preceding symbol causes the pattern detector to indicate no pattern match; as well as When the combination of the current symbol and the immediately preceding symbol causes the pattern detector to indicate a pattern match, transmission of the current symbol within the corresponding transmit symbol interval is delayed.
20. The storage medium of claim 19, further comprising instructions for causing the at least one processor to: When a signaling state of each line of the three-wire bus defined by the current symbol is different from a signaling state of a corresponding line defined by the immediately preceding symbol, transmission of the current symbol within the corresponding transmission symbol interval is delayed.
21. A storage medium according to claim 19 or 20, wherein when the immediately preceding symbol is followed by an undelayed version of the current symbol in transmission, the duration of a receive symbol interval for receiving the current symbol at the receiver is expected to be less than the duration of a transmit symbol interval for sending the current symbol.
22. The storage medium of claim 21, wherein delaying transmission of the current symbol within the corresponding transmit symbol interval increases the duration of the receive symbol interval.
23. The storage medium of claim 19, wherein delaying transmission of the current symbol within the corresponding transmission symbol interval comprises: The three signals representing the current symbol are delayed by a delay duration, wherein the delay duration is calculated to reduce the difference between the duration of a received symbol interval at a receiver and the duration of a transmitted symbol interval corresponding to the current symbol, wherein the delay duration is also configured to reduce a signal transition region in the receiver.
24. The storage medium according to claim 19, further comprising: The symbol sequence is sent on the three-wire bus according to the C-PHY protocol.
25. A sending device, comprising: means for receiving a sequence of symbols to be transmitted on a three-wire bus in a plurality of transmission symbol intervals, the means comprising a pattern detector configured to compare each consecutively transmitted pair of symbols in the sequence of symbols, wherein each symbol in the sequence of symbols comprises three binary bits, the three binary bits being configured to cause a change in a signaling state of at least one line of the three-wire bus at the beginning of a transmission symbol interval associated with said each symbol; as well as The means for transmitting a symbol on the three-wire bus is configured to transmit a current symbol in the symbol sequence during a corresponding transmission symbol by: When a combination of the current symbol and an immediately preceding symbol causes the pattern detector to indicate no pattern match, transmitting the current symbol without delay during a corresponding transmission symbol interval; as well as When the combination of the current symbol and the immediately preceding symbol causes the pattern detector to indicate a pattern match, transmission of the current symbol within the corresponding transmit symbol interval is delayed.
26. The transmitting device according to claim 25, wherein the means for transmitting symbols is further configured to: When a signaling state of each line of the three-wire bus defined by the current symbol is different from a signaling state of a corresponding line defined by the immediately preceding symbol, transmission of the current symbol within the corresponding transmission symbol interval is delayed.
27. A transmitting device according to claim 25 or 26, wherein when the immediately preceding symbol is followed by an undelayed version of the current symbol in transmission, the duration of a receive symbol interval for receiving the current symbol at a receiver is expected to be less than the duration of a transmit symbol interval for sending the current symbol.
28. The transmitting apparatus of claim 27, wherein delaying transmission of the current symbol within the corresponding transmit symbol interval increases the duration of the receive symbol interval.
29. The transmitting device according to claim 25, wherein the means for transmitting symbols is further configured to: The three signals representing the current symbol are delayed by a delay duration, wherein the delay duration is calculated to reduce the difference between the duration of a received symbol interval at a receiver and the duration of a transmitted symbol interval corresponding to the current symbol, wherein the delay duration is also configured to reduce a signal transition region in the receiver.
30. The transmitting device according to claim 25, further comprising: The symbol sequence is sent on the three-wire bus according to the C-PHY protocol.
