US20210211266A1 - Electronic device and operating method of electronic device - Google Patents

Electronic device and operating method of electronic device Download PDF

Info

Publication number
US20210211266A1
US20210211266A1 US16/990,068 US202016990068A US2021211266A1 US 20210211266 A1 US20210211266 A1 US 20210211266A1 US 202016990068 A US202016990068 A US 202016990068A US 2021211266 A1 US2021211266 A1 US 2021211266A1
Authority
US
United States
Prior art keywords
signal
code
length
receive
electronic device
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
US16/990,068
Other versions
US11070350B1 (en
Inventor
Woongki Min
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Samsung Electronics Co Ltd
Original Assignee
Samsung Electronics Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Samsung Electronics Co Ltd filed Critical Samsung Electronics Co Ltd
Assigned to SAMSUNG ELECTRONICS CO., LTD. reassignment SAMSUNG ELECTRONICS CO., LTD. ASSIGNMENT OF ASSIGNORS INTEREST (SEE DOCUMENT FOR DETAILS). Assignors: MIN, WOONGKI
Priority to DE102020126665.0A priority Critical patent/DE102020126665A1/en
Publication of US20210211266A1 publication Critical patent/US20210211266A1/en
Application granted granted Critical
Publication of US11070350B1 publication Critical patent/US11070350B1/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L7/00Arrangements for synchronising receiver with transmitter
    • H04L7/0016Arrangements for synchronising receiver with transmitter correction of synchronization errors
    • H04L7/0033Correction by delay
    • H04L7/0041Delay of data signal
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L7/00Arrangements for synchronising receiver with transmitter
    • H04L7/02Speed or phase control by the received code signals, the signals containing no special synchronisation information
    • H04L7/027Speed or phase control by the received code signals, the signals containing no special synchronisation information extracting the synchronising or clock signal from the received signal spectrum, e.g. by using a resonant or bandpass circuit
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L7/00Arrangements for synchronising receiver with transmitter
    • H04L7/0016Arrangements for synchronising receiver with transmitter correction of synchronization errors
    • H04L7/0033Correction by delay
    • H04L7/0037Delay of clock signal
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03KPULSE TECHNIQUE
    • H03K3/00Circuits for generating electric pulses; Monostable, bistable or multistable circuits
    • H03K3/02Generators characterised by the type of circuit or by the means used for producing pulses
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/04Generating or distributing clock signals or signals derived directly therefrom
    • G06F1/10Distribution of clock signals, e.g. skew
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/42Bus transfer protocol, e.g. handshake; Synchronisation
    • G06F13/4282Bus transfer protocol, e.g. handshake; Synchronisation on a serial bus, e.g. I2C bus, SPI bus
    • G06F13/4295Bus transfer protocol, e.g. handshake; Synchronisation on a serial bus, e.g. I2C bus, SPI bus using an embedded synchronisation
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03KPULSE TECHNIQUE
    • H03K5/00Manipulating of pulses not covered by one of the other main groups of this subclass
    • H03K5/13Arrangements having a single output and transforming input signals into pulses delivered at desired time intervals
    • H03K5/135Arrangements having a single output and transforming input signals into pulses delivered at desired time intervals by the use of time reference signals, e.g. clock signals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L25/00Baseband systems
    • H04L25/38Synchronous or start-stop systems, e.g. for Baudot code
    • H04L25/40Transmitting circuits; Receiving circuits
    • H04L25/49Transmitting circuits; Receiving circuits using code conversion at the transmitter; using predistortion; using insertion of idle bits for obtaining a desired frequency spectrum; using three or more amplitude levels ; Baseband coding techniques specific to data transmission systems
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L7/00Arrangements for synchronising receiver with transmitter
    • H04L7/0016Arrangements for synchronising receiver with transmitter correction of synchronization errors
    • H04L7/0033Correction by delay
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L7/00Arrangements for synchronising receiver with transmitter
    • H04L7/02Speed or phase control by the received code signals, the signals containing no special synchronisation information
    • H04L7/033Speed or phase control by the received code signals, the signals containing no special synchronisation information using the transitions of the received signal to control the phase of the synchronising-signal-generating means, e.g. using a phase-locked loop
    • H04L7/0331Speed or phase control by the received code signals, the signals containing no special synchronisation information using the transitions of the received signal to control the phase of the synchronising-signal-generating means, e.g. using a phase-locked loop with a digital phase-locked loop [PLL] processing binary samples, e.g. add/subtract logic for correction of receiver clock
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L7/00Arrangements for synchronising receiver with transmitter
    • H04L7/02Speed or phase control by the received code signals, the signals containing no special synchronisation information
    • H04L7/033Speed or phase control by the received code signals, the signals containing no special synchronisation information using the transitions of the received signal to control the phase of the synchronising-signal-generating means, e.g. using a phase-locked loop
    • H04L7/0337Selecting between two or more discretely delayed clocks or selecting between two or more discretely delayed received code signals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L7/00Arrangements for synchronising receiver with transmitter
    • H04L7/04Speed or phase control by synchronisation signals
    • H04L7/041Speed or phase control by synchronisation signals using special codes as synchronising signal
    • H04L7/042Detectors therefor, e.g. correlators, state machines

Definitions

  • Example embodiments of the inventive concepts described herein relate to an electronic device, and more particularly, relate to an electronic device recovering a clock signal from data including an embedded clock.
  • C-PHY is being developed as one of the protocols.
  • the C-PHY is characterized in that a separate clock signal is not exchanged between different devices.
  • a transmitter of the C-PHY may combine data signals and an embedded clock and may transmit the combined signals.
  • a receiver of the C-PHY is configured to recover a clock signal from the received signals and to recover data from the received signals by using the clock signal.
  • the receiver of the C-PHY does not receive a separate clock signal. Accordingly, the receiver of the C-PHY fails to calibrate a skew while sweeping transition timings of a data signal and a clock signal.
  • Example embodiments of the inventive concepts provide a C-PHY-based electronic device detecting and calibrating a skew from received signals and an operating method of the electronic device.
  • an electronic device includes processing circuitry configured to receive a signal of a first signal line and a signal of a second signal line and outputs a difference between the signal of the first signal line and the signal of the second signal line as a first signal, receive the signal of the second signal line and a signal of a third signal line and output a difference between the signal of the second signal line and the signal of the third signal line as a second signal, receive the signal of the third signal line and the signal of the first signal line and output a difference between the signal of the third signal line and the signal of the first signal line as a third signal, receive the first signal, adjust a first delay amount in response to a first code, and output a fourth signal by delaying the first signal as much as the first delay amount, receive the second signal, adjust a second delay amount in response to a second code, and output a fifth signal by delaying the second signal as much as the second delay amount, receive the third signal, adjust a third delay amount in response to a third code, and output a sixth signal by
  • an electronic device includes processing circuitry configured to output a first signal, a second signal, and a third signal, detect differences of time lengths of intervals between transition timings of the first signal, the second signal, and the third signal and generates a fourth signal, a fifth signal, and a sixth signal by delaying at least one of the first signal, the second signal, and the third signal such that the differences of the time lengths decrease, while the first signal, the second signal, and the third signal alternately transition during a preamble interval, and recover a clock signal, and a first receive signal, a second receive signal, and a third receive signal by using the fourth signal, the fifth signal, and the sixth signal.
  • an operating method of an electronic device includes receiving a first signal, a second signal, and a third signal alternately transitioning in a preamble interval, detecting unit intervals between two transition timings being the closest in time from among transition timings of the first signal, the second signal, and the third signal, performing skew calibration by delaying at least one of the first signal, the second signal, and the third signal by using the unit intervals, recovering a clock signal from the first signal, the second signal, and the third signal, after the skew calibration is completed, and recovering data from the first signal, the second signal, and the third signal, by using the clock signal.
  • FIG. 1 illustrates an electronic device system according to example embodiments of the inventive concepts.
  • FIG. 2 illustrates an operating method of a second electronic device according to example embodiments of the inventive concepts.
  • FIG. 3 illustrates an example of a pulse generator.
  • FIG. 4 illustrates an example of signals associated with a second electronic device.
  • FIG. 5 illustrates an example of signals associated with a second electronic device when a skew of a first type exists.
  • FIG. 6 illustrates an example of a pulse signal when a skew of a first type exists.
  • FIG. 7 illustrates an example in which a first unit interval, a second unit interval, and a third unit interval are disposed in a clockwise direction.
  • FIG. 8 illustrates an example of signals associated with a second electronic device when a skew of a second type exists.
  • FIG. 9 illustrates an example of a pulse signal when a skew of a second type exists.
  • FIG. 10 illustrates an example in which a first unit interval, a second unit interval, and a third unit interval are disposed in a clockwise direction.
  • FIG. 11 illustrates an example of a method in which skew calibration logic performs a skew calibration operation.
  • FIG. 12 illustrates a unit interval detector according to example embodiments of the inventive concepts.
  • FIG. 13 illustrates a clock recovery circuit according to example embodiments of the inventive concepts.
  • FIG. 14 illustrates a data recovery circuit according to example embodiments of the inventive concepts.
  • FIG. 15 is a block diagram illustrating an electronic device according to example embodiments of the inventive concepts.
  • FIG. 1 illustrates an electronic device system according to example embodiments of the inventive concepts.
  • an electronic device system may include a first electronic device 100 and a second electronic device 200 .
  • the first electronic device 100 may transmit signals to the second electronic device 200 through a first signal line SL 1 , a second signal line SL 2 , and a third signal line SL 3 .
  • the first signal line SL 1 , the second signal line SL 2 , and/or the third signal line SL 3 may form one lane and may transfer signals transitioning (or toggling) in connection with each other.
  • the first electronic device 100 may include a signal generator 110 , a first transmitter 120 , a second transmitter 130 , and/or a third transmitter 140 .
  • the signal generator 110 may generate signals to be transferred through the first signal line SL 1 , the second signal line SL 2 , and/or the third signal line SL 3 .
  • the first transmitter 120 , the second transmitter 130 , and/or the third transmitter 140 may be respectively connected with the first signal line SL 1 , the second signal line SL 2 , and/or the third signal line SL 3 through a first terminal 121 , a second terminal 131 , and a third terminal 141 .
  • the first transmitter 120 , the second transmitter 130 , and/or the third transmitter 140 may transmit signals based on one of various communication protocols.
  • the first transmitter 120 , the second transmitter 130 , and/or the third transmitter 140 may transmit signals in compliance with a protocol of the C-PHY defined in the mobile industry processor interface (MIPI).
  • MIPI mobile industry processor interface
  • the second electronic device 200 may receive signals through the first signal line SL 1 , the second signal line SL 2 , and/or the third signal line SL 3 .
  • the second electronic device 200 may include a first receiver 210 , a second receiver 220 , a third receiver 230 , a first delay line DL 1 , a second delay line DL 2 , a third delay line DL 3 , a pulse generator 240 , a unit interval detector 250 , skew calibration logic 260 , a clock recovery circuit 270 , a data recovery circuit 280 , and/or a signal processor 290 .
  • the first receiver 210 , the second receiver 220 , and/or the third receiver 230 may respectively receive signals from the first signal line SL 1 , the second signal line SL 2 , and/or the third signal line SL 3 through a first terminal 211 , a second terminal 221 , and/or a third terminal 231 .
  • the first receiver 210 may output a difference between the signal received from the first signal line SL 1 through the first terminal 211 and the signal received from the second signal line SL 2 through the second terminal 221 as a first signal S 1 .
  • the second receiver 220 may output a difference between the signal received from the second signal line SL 2 through the second terminal 221 and the signal received from the third signal line SL 3 through the third terminal 231 as a second signal S 2 .
  • the third receiver 230 may output a difference between the signal received from the third signal line SL 3 through the third terminal 231 and the signal received from the first signal line SL 1 through the first terminal 211 as a third signal S 3 .
  • the first delay line DL 1 , the second delay line DL 2 , and/or the third delay line DL 3 may respectively receive the first signal S 1 , the second signal S 2 , and/or the third signal S 3 from the first receiver 210 , the second receiver 220 , and/or the third receiver 230 .
  • Each of the first delay line DL 1 , the second delay line DL 2 , and/or the third delay line DL 3 may include a plurality of delay units.
  • the first delay line DL 1 may output an output of a delay unit selected by a first code CD 1 from among the plurality of delay units as a fourth signal S 4 .
  • the second delay line DL 2 may output an output of a delay unit selected by a second code CD 2 from among the plurality of delay units as a fifth signal S 5 .
  • the third delay line DL 3 may output an output of a delay unit selected by a third code CD 3 from among the plurality of delay units as a sixth signal S 6 .
  • the first delay line DL 1 , the second delay line DL 2 , and/or the third delay line DL 3 may adjust delay amounts in response to the first code CD 1 , the second code CD 2 , and/or the third code CD 3 , respectively.
  • each of the first delay line DL 1 , the second delay line DL 2 , and/or the third delay line DL 3 may have a delay amount of “0” as an initial value.
  • the pulse generator 240 may receive the fourth signal S 4 , the fifth signal S 5 , and/or the sixth signal S 6 from the first delay line DL 1 , the second delay line DL 2 , and/or the third delay line DL 3 .
  • the pulse generator 240 may generate and output a pulse signal “P” from the fourth signal S 4 , the fifth signal S 5 , and/or the sixth signal S 6 .
  • the pulse generator 240 may generate various pulse signals by combining the fourth signal S 4 , the fifth signal S 5 , and/or the sixth signal S 6 .
  • the pulse generator 240 may output a pulse signal selected by a selection signal SEL as the pulse signal “P”.
  • the unit interval detector 250 may receive the pulse signal “P” from the pulse generator 240 .
  • the unit interval detector 250 may detect a unit interval from the pulse signal “P”.
  • the unit interval may be an interval where the pulse signal “P” has a high level.
  • the unit interval may be identified as indicating an interval where one symbol is included in the fourth signal S 4 , the fifth signal S 5 , and/or the sixth signal S 6 .
  • the first transmitter 120 , the second transmitter 130 , and/or the third transmitter 140 may have a preamble interval before transmitting symbols including data.
  • the first transmitter 120 , the second transmitter 130 , and/or the third transmitter 140 may transmit signals for detection of the unit interval.
  • the unit interval detector 250 may detect the unit interval from the pulse signal “P” during the preamble interval.
  • the unit interval detector 250 may include a plurality of delay units.
  • the unit interval detector 250 may detect the unit interval by using the plurality of delay units.
  • the unit interval detector 250 may output information about a length of the unit interval as a fourth code CD 4 .
  • the skew calibration logic 260 may receive the fourth code CD 4 from the unit interval detector 250 .
  • the skew calibration logic 260 may receive the fourth code CD 4 from the unit interval detector 250 three times or more.
  • the skew calibration logic 260 may receive, from the unit interval detector 250 , the fourth code CD 4 including information about a skew between the fourth signal S 4 and the fifth signal S 5 , the fourth code CD 4 including information about a skew between the fifth signal S 5 and/or the sixth signal S 6 , and the fourth code CD 4 including information about a skew between the sixth signal S 6 and the fourth signal S 4 by controlling the selection signal SEL.
  • the skew calibration logic 260 may receive the fourth code CD 4 several times and may adjust at least one of the first code CD 1 , the second code CD 2 , and/or the third code CD 3 in response to the fourth codes CD 4 received several times.
  • the skew calibration logic 260 may adjust at least one of the first code CD 1 , the second code CD 2 , and/or the third code CD 3 such that a skew decreases.
  • the skew calibration logic 260 may perform a skew calibration operation several times.
  • the skew calibration logic 260 may receive the fourth code CD 4 several times and may perform one skew calibration operation by adjusting at least one of the first code CD 1 , the second code CD 2 , and/or the third code CD 3 .
  • the skew calibration logic 260 may receive the fourth code CD 4 several times. When a skew is equal to or greater than a threshold value, the skew calibration logic 260 may again perform the skew calibration operation by adjusting at least one of the first code CD 1 , the second code CD 2 , and/or the third code CD 3 . When the skew is smaller than the threshold value, the skew calibration logic 260 may output a fifth code CD 5 indicating a length of the unit interval after the skew calibration operation is completed.
  • the skew calibration logic 260 may allow the unit interval detector 250 to output the fifth code CD 5 indicating a length of the unit interval after the skew calibration operation is completed.
  • the clock recovery circuit 270 may receive the fourth signal S 4 , the fifth signal S 5 , the sixth signal S 6 , and the fifth code CD 5 .
  • the clock recovery circuit 270 may recover a clock signal CLK from the fourth signal S 4 , the fifth signal S 5 , and/or the sixth signal S 6 by using the fifth code CD 5 .
  • the first transmitter 120 , the second transmitter 130 , and/or the third transmitter 140 may transmit signals including data, with a clock signal combined with the signals.
  • the combined clock signal may include an embedded clock.
  • the embedded clock may also appear at the fourth signal S 4 , the fifth signal S 5 , and/or the sixth signal S 6 .
  • the clock recovery circuit 270 may allow the clock signal CLK to transition to the high level as one of the fourth signal S 4 , the fifth signal S 5 , and/or the sixth signal S 6 transitions. Afterwards, when the remaining signals of the fourth signal S 4 , the fifth signal S 5 , and/or the sixth signal S 6 transition in the same symbol interval, the clock recovery circuit 270 may maintain the level of the clock signal CLK without a transition of the clock signal CLK.
  • the fifth code CD 5 may include information of a length of the unit interval, for example, information of a length within 1UI (unit interval) or information of a length within a range from 0.3UI to 0.6UI.
  • the clock recovery circuit 270 may maintain the level of the clock signal CLK by masking the clock signal CLK during a given time within the range from 0.3UI to 0.6UI after the clock signal CLK transitions in each unit interval.
  • the clock recovery circuit 270 may allow the clock signal CLK to transition to a low level. That is, the clock recovery circuit 270 may generate the clock signal CLK, of which a period corresponds to the unit interval. For example, the clock recovery circuit 270 may recover the clock signal CLK in response to receiving the fifth code CD 5 from the unit interval detector 250 or the skew calibration logic 260 .
  • the data recovery circuit 280 may receive the fourth signal S 4 , the fifth signal S 5 , the sixth signal S 6 , the fifth code CD 5 , and the clock signal CLK.
  • the data recovery circuit 280 may delay the fourth signal S 4 , the fifth signal S 5 , and/or the sixth signal S 6 based on the fifth code CD 5 .
  • the data recovery circuit 280 may adjust a delay amount so as to make it easy to latch the fourth signal S 4 , the fifth signal S 5 , and/or the sixth signal S 6 .
  • the delay amount may be 0.5UI or a value similar thereto.
  • the data recovery circuit 280 may respectively latch the delayed fourth signal S 4 , the delayed fifth signal S 5 , and the delayed sixth signal S 6 in synchronization with the clock signal CLK.
  • the data recovery circuit 280 may output the latched results as a first receive signal RS 1 , a second receive signal RS 2 , and a third receive signal RS 3 .
  • the first receive signal RS 1 , the second receive signal RS 2 , and/or the third receive signal RS 3 may be recovered data.
  • the data recovery circuit 280 may receive the fifth code CD 5 from the unit interval detector 250 or the skew calibration logic 260 and may recover data in response to receiving the clock signal CLK from the clock recovery circuit 270 .
  • the signal processor 290 may receive the first receive signal RS 1 , the second receive signal RS 2 , and/or the third receive signal RS 3 .
  • the signal processor 290 may operate in response to the first receive signal RS 1 , the second receive signal RS 2 , and/or the third receive signal RS 3 .
  • the first electronic device 100 may be an application processor (AP), and the second electronic device 200 may be a display device.
  • the first electronic device 100 may be an image sensor, and the second electronic device 200 may be an application processor (AP).
  • AP application processor
  • One lane including the first signal line SL 1 , the second signal line SL 2 , and/or the third signal line SL 3 is illustrated in FIG. 1 .
  • the first electronic device 100 and the second electronic device 200 may communicate with each other through two or more lanes.
  • the first receiver 210 , the second receiver 220 , the third receiver 230 , the first terminal 211 , the second terminal 221 , and/or the third terminal 231 may be included in a reception unit that receives signals of the first signal line SL 1 , the second signal line SL 2 , and/or the third signal line SL 3 .
  • the first delay line DL 1 , the second delay line DL 2 , the third delay line DL 3 , the pulse generator 240 , the unit interval detector 250 , and the skew calibration logic 260 may be included in a skew calibration unit.
  • the clock recovery circuit 270 and the data recovery circuit 280 may be included in a recovery unit.
  • the selection signal SEL may be a 2-bit signal, and each of the first code CD 1 , the second code CD 2 , the third code CD 3 , the fourth code CD 4 , and the fifth code CD 5 may be a 32-bit signal.
  • FIG. 2 illustrates an operating method of the second electronic device 200 according to example embodiments of the inventive concepts.
  • the first receiver 210 , the second receiver 220 , and/or the third receiver 230 may receive signals of the first signal line SL 1 , the second signal line SL 2 , and/or the third signal line SL 3 during the preamble interval and may output the first signal S 1 , the second signal S 2 , and/or the third signal S 3 .
  • the fourth signal S 4 , the fifth signal S 5 , and/or the sixth signal S 6 may be identical to the first signal S 1 , the second signal S 2 , and/or the third signal S 3 , respectively.
  • the pulse generator 240 may generate the pulse signal “P” from the fourth signal S 4 , the fifth signal S 5 , and/or the sixth signal S 6 .
  • the unit interval detector 250 may extract or detect lengths of unit intervals from the pulse signal “P”.
  • the skew calibration logic 260 may perform skew calibration by using the lengths of the unit intervals thus detected. For example, the skew calibration logic 260 may adjust a delay amount of at least one of the first delay line DL 1 , the second delay line DL 2 , and/or the third delay line DL 3 such that the lengths of the unit intervals are identical or differences between the lengths of the unit intervals decrease.
  • Operation S 110 to operation S 130 may be included in the skew calibration operation.
  • the skew calibration logic 260 may again check the lengths of the unit intervals after performing the skew calibration operation. When the differences between the lengths of the unit intervals are equal to or greater than a threshold, the skew calibration logic 260 may again perform the skew calibration operation. When the differences between the lengths of the unit intervals are smaller than the threshold, the skew calibration logic 260 may complete the skew calibration operation.
  • the unit interval detector 250 or the skew calibration logic 260 may generate the fifth code CD 5 .
  • the clock recovery circuit 270 may recover the clock signal CLK from the fourth signal S 4 , the fifth signal S 5 , and/or the sixth signal S 6 , of which the skew calibration operation is completed.
  • the data recovery circuit 280 may recover data including the first receive signal RS 1 , the second receive signal RS 2 , and/or the third receive signal RS 3 from the fourth signal S 4 , the fifth signal S 5 , and/or the sixth signal S 6 , of which the skew calibration operation is completed.
  • FIG. 3 illustrates an example of a pulse generator 300 .
  • the pulse generator 300 of FIG. 3 may be included in the pulse generator 240 of FIG. 1 .
  • the pulse generator 300 may include a first logic gate 310 , a second logic gate 320 , a third logic gate 330 , a fourth logic gate 340 , a fifth logic gate 350 , a sixth logic gate 360 and/or a selector 370 .
  • the first logic gate 310 may receive the fourth signal S 4 and the fifth signal S 5 .
  • the first logic gate 310 may perform an exclusive NOR operation on the fourth signal S 4 and the fifth signal S 5 .
  • the fourth logic gate 340 may perform an AND operation on an output of the first logic gate 310 and/or the sixth signal S 6 .
  • the fourth logic gate 340 may output a result of the operation as a seventh signal S 7 .
  • the second logic gate 320 may receive the fifth signal S 5 and/or the sixth signal S 6 .
  • the second logic gate 320 may perform an exclusive NOR operation on the fifth signal S 5 and/or the sixth signal S 6 .
  • the fifth logic gate 350 may perform an AND operation on an output of the second logic gate 320 and the seventh signal S 7 .
  • the fifth logic gate 350 may output a result of the operation as an eighth signal S 8 .
  • the third logic gate 330 may receive the sixth signal S 6 and the fourth signal S 4 .
  • the third logic gate 330 may perform an exclusive NOR operation on the sixth signal S 6 and the fourth signal S 4 .
  • the sixth logic gate 360 may perform an AND operation on an output of the third logic gate 330 and the fourth signal S 4 .
  • the sixth logic gate 360 may output a result of the operation as a ninth signal S 9 .
  • the selector 370 may receive the seventh signal S 7 , the eighth signal S 8 , and/or the ninth signal S 9 .
  • the selector 370 may select one of the seventh signal S 7 , the eighth signal S 8 , and/or the ninth signal S 9 in response to the selection signal SEL and may output the selected signal as the pulse signal “P”.
  • FIG. 4 illustrates an example of signals associated with the second electronic device 200 .
  • an example of skew-free signals is illustrated in FIG. 4 .
  • a solid line indicates a signal of the first signal line SL 1
  • a broken line indicates a signal of the second signal line SL 2
  • a dash-single dotted line indicates a signal of the third signal line SL 3 .
  • the signals of the first signal line SL 1 , the second signal line SL 2 , and/or the third signal line SL 3 may vary in the preamble interval in compliance with the C-PHY protocol as illustrated in FIG. 4 .
  • each of the first signal line SL 1 , the second signal line SL 2 , and/or the third signal line SL 3 may have a high level during to a length of two unit intervals, may have a middle level during to a length of one unit interval, and may have a low level during to a length of two unit intervals.
  • Signals of the first signal line SL 1 , the second signal line SL 2 , and/or the third signal line SL 3 may have different levels every unit interval. When a skew does not exist, transition (or toggle) timings of the signals of the first signal line SL 1 , the second signal line SL 2 , and/or the third signal line SL 3 may be identical.
  • the first receiver 210 , the second receiver 220 , and/or the third receiver 230 may output the first signal S 1 , the second signal S 2 , and/or the third signal S 3 from the signals of the first signal line SL 1 , the second signal line SL 2 , and/or the third signal line SL 3 .
  • the first signal S 1 , the second signal S 2 , and/or the third signal S 3 may alternately transition in each unit interval.
  • first signal S 1 , the second signal S 2 , and/or the third signal S 3 may transition.
  • the first signal S 1 , the second signal S 2 , and/or the third signal S 3 may sequentially transition one by one in three consecutive unit intervals.
  • Initial delay amounts of the first delay line DL 1 , the second delay line DL 2 , and/or the third delay line DL 3 may be “0”. Accordingly, waveforms of the fourth signal S 4 , the fifth signal S 5 , and/or the sixth signal S 6 are identical to waveforms of the first signal S 1 , the second signal S 2 , and/or the third signal S 3 , and thus, additional description will be omitted to avoid redundancy.
  • the seventh signal S 7 may have the high level when the fourth signal S 4 (e.g., the first signal S 1 ) is at the low level and the fifth signal S 5 (e.g., the second signal S 2 ) is at the low level.
  • a time length of an interval of the high level of the seventh signal S 7 may indicate a time length of one unit interval 1UI indicated by a combination of the first signal S 1 and the second signal S 2 .
  • the eighth signal S 8 may have the high level when the fifth signal S 5 (e.g., the second signal S 2 ) is at the low level and/or the sixth signal S 6 (e.g., the third signal S 3 ) is at the low level.
  • a time length of an interval of the high level of the eighth signal S 8 may indicate a time length of one unit interval 1UI indicated by a combination of the second signal S 2 and/or the third signal S 3 .
  • the ninth signal S 9 may have the high level when the sixth signal S 6 (e.g., the third signal S 3 ) is at the low level and the fourth signal S 4 (e.g., the first signal S 1 ) is at the low level.
  • a time length of an interval of the high level of the ninth signal S 9 may indicate a time length of one unit interval 1UI indicated by a combination of the third signal S 3 and the first signal S 1 .
  • transition (or toggle) timings of the signals of the first signal line SL 1 , the second signal line SL 2 , and/or the third signal line SL 3 are identical.
  • the signals of the first signal line SL 1 , the second signal line SL 2 , and/or the third signal line SL 3 may transition at a first time T 1 to a ninth time T 9 .
  • one unit interval 1UI that appears at each of the seventh signal S 7 , the eighth signal S 8 , and/or the ninth signal S 9 may have the same time length.
  • FIG. 5 illustrates an example of signals associated with the second electronic device 200 when a skew of a first type exists.
  • one signal of signals of the first signal line SL 1 , the second signal line SL 2 , and/or the third signal line SL 3 may be delayed with respect to the remaining signals.
  • the signal of the third signal line SL 3 may be delayed with respect to the signals of the first signal line SL 1 and the second signal line SL 2 .
  • Transition timings of the signal of the third signal line SL 3 may be delayed with respect to the first time T 1 to the ninth time T 9 .
  • bold dotted lines are used to highlight timings at which the signal of the third signal line SL 3 transitions.
  • a time length of a first unit interval UI1 detected from the seventh signal S 7 may be shorter than a time length of one unit interval 1UI equal to that of FIG. 4 .
  • a time length of a second unit interval UI2 detected from the eighth signal S 8 may be equal to a time length of one unit interval 1UI equal to that of FIG. 4 .
  • a time length of a third unit interval UI3 detected from the ninth signal S 9 may be longer than a time length of one unit interval 1UI equal to that of FIG. 4 .
  • the pulse generator 240 may output the pulse signal “P” including a pulse signal of the first unit interval UI1, a pulse signal of the second unit interval UI2, and a pulse signal of the third unit interval UI3 by alternately outputting the seventh signal S 7 , the eighth signal S 8 , and/or the ninth signal S 9 .
  • the unit interval detector 250 may detect time lengths of the first unit interval UI1, the second unit interval UI2, and/or the third unit interval UI3 from the pulse signal “P”.
  • FIG. 6 illustrates an example of the pulse signal “P” when a skew of a first type exists.
  • the pulse generator 240 may output a portion of the seventh signal S 7 as a first pulse signal P 1 being a portion of the pulse signal “P”.
  • the pulse generator 240 may output a portion of the eighth signal S 8 as a second pulse signal P 2 being a portion of the pulse signal “P”.
  • the pulse generator 240 may output a portion of the ninth signal S 9 as a third pulse signal P 3 being a portion of the pulse signal “P”.
  • the timing when the unit interval detector 250 starts the detection of the unit interval may not be fixed to a specific time of the pulse signal “P”. As illustrated in FIG. 5 , a time length between two first unit intervals UI1 corresponds to six first unit intervals UI1.
  • the first pulse signal P 1 may be output during a time corresponding to 6 to 12 unit intervals or during a time longer than the time corresponding to 6 to 12 unit intervals, such that the first pulse signal P 1 includes the whole interval of at least one first unit interval UI1. That is, the skew calibration logic 260 may allow the pulse generator 240 to output the first pulse signal P 1 during a time corresponding to 6 to 12 unit intervals or during a time longer than the time corresponding to 6 to 12 unit intervals.
  • the skew calibration logic 260 may identify the fourth code CD 4 corresponding to the longest time length from among the fourth codes CD 4 received from the unit interval detector 250 as a length of the first unit interval UI1, based on the first pulse signal P 1 . After a given time elapses, the skew calibration logic 260 may control the selection signal SEL to select the second pulse signal P 2 .
  • the skew calibration logic 260 may select the first pulse signal P 1 and may maintain the selection signal SEL until at least two the fourth codes CD 4 are received from the unit interval detector 250 .
  • the skew calibration logic 260 may identify the last fourth code CD 4 of the at least two fourth codes CD 4 or the fourth code CD 4 corresponding to the longest time length from among the at least two fourth codes CD 4 as corresponding to the first unit interval UI1.
  • the skew calibration logic 260 may control the selection signal SEL to select the second pulse signal P 2 .
  • the skew calibration logic 260 may maintain the selection signal SEL during a given time or until the fourth codes CD 4 are received as much as the given number of times.
  • the skew calibration logic 260 may identify the last fourth code CD 4 or the fourth code CD 4 corresponding to the longest time length as corresponding to the second unit interval UI2.
  • the skew calibration logic 260 may maintain the selection signal SEL during a given time or until the fourth codes CD 4 are received as much as the given number of times.
  • the skew calibration logic 260 may identify the last fourth code CD 4 or the fourth code CD 4 corresponding to the longest time length as corresponding to the third unit interval UI3.
  • FIG. 7 illustrates an example in which the first unit interval UI1, the second unit interval UI2, and/or the third unit interval UI3 are disposed in a clockwise direction.
  • the first pulse signal P 1 may have a first length corresponding to the first unit interval UI1
  • the second pulse signal P 2 may have a second length corresponding to the second unit interval UI2
  • the third pulse signal P 3 may have a third length corresponding to the third unit interval UI3.
  • the clockwise direction is a direction facing the third length being the longest from the first length being the shortest through the second length being middle.
  • the clockwise direction may appear as a direction in which a length increases.
  • FIG. 8 illustrates an example of signals associated with the second electronic device 200 when a skew of a second type exists.
  • one signal of signals of the first signal line SL 1 , the second signal line SL 2 , and/or the third signal line SL 3 may be advanced with respect to the remaining signals.
  • the signal of the third signal line SL 3 may be advanced with respect to the signals of the first signal line SL 1 and the second signal line SL 2 .
  • Transition timings of the signal of the third signal line SL 3 may be advanced with respect to the first time T 1 to the ninth time T 9 .
  • bold dotted lines are used to highlight timings at which the signal of the third signal line SL 3 transitions.
  • a time length of the first unit interval UI1 detected from the seventh signal S 7 may be longer than a time length of one unit interval 1UI equal to that of FIG. 4 .
  • a time length of the second unit interval UI2 detected from the eighth signal S 8 may be equal to a time length of one unit interval 1UI equal to that of FIG. 4 .
  • a time length of the third unit interval UI3 detected from the ninth signal S 9 may be shorter than a time length of one unit interval 1UI equal to that of FIG. 4 .
  • the pulse generator 240 may output the pulse signal “P” including a pulse signal of the first unit interval UI1, a pulse signal of the second unit interval UI2, and a pulse signal of the third unit interval UI3 by alternately outputting the seventh signal S 7 , the eighth signal S 8 , and/or the ninth signal S 9 .
  • the unit interval detector 250 may detect time lengths of the first unit interval UI1, the second unit interval UI2, and/or the third unit interval UI3 from the pulse signal “P”.
  • FIG. 9 illustrates an example of the pulse signal “P” when a skew of a second type exists.
  • the pulse generator 240 may output a portion of the seventh signal S 7 as the first pulse signal P 1 being a portion of the pulse signal “P”.
  • the pulse generator 240 may output a portion of the eighth signal S 8 as the second pulse signal P 2 being a portion of the pulse signal “P”.
  • the pulse generator 240 may output a portion of the ninth signal S 9 as the third pulse signal P 3 being a portion of the pulse signal “P”.
  • the skew calibration logic 260 may sequentially select the first pulse signal P 1 , the second pulse signal P 2 , and/or the third pulse signal P 3 and may maintain the selection signal SEL during a given time or until the fourth codes CD 4 are received as much as the given number of times.
  • the skew calibration logic 260 may identify the last fourth code CD 4 or the fourth code CD 4 corresponding to the longest time length as corresponding to the second unit interval UI2.
  • FIG. 10 illustrates an example in which the first unit interval UI1, the second unit interval UI2, and/or the third unit interval UI3 are disposed in a clockwise direction.
  • the first pulse signal P 1 may have a sixth length corresponding to the first unit interval UI1
  • the second pulse signal P 2 may have a fifth length corresponding to the second unit interval UI2
  • the third pulse signal P 3 may have a fourth length corresponding to the third unit interval UI3.
  • the clockwise direction is a direction facing the fourth length being the shortest from the sixth length being the longest through the fifth length being middle.
  • the clockwise direction may appear as a direction in which a length decreases.
  • FIG. 11 illustrates an example of a method in which the skew calibration logic 260 performs a skew calibration operation.
  • the skew calibration logic 260 may detect lengths of the first unit interval UI1, the second unit interval UI2, and/or the third unit interval UI3.
  • the skew calibration logic 260 may calculate an average of differences between the lengths of the first unit interval UI1, the second unit interval UI2, and/or the third unit interval UI3. For example, the skew calibration logic 260 may detect a middle length, a long length greater than the middle length, and a short length smaller than the middle length from the lengths of the first unit interval UI1, the second unit interval UI2, and/or the third unit interval UI3.
  • the skew calibration logic 260 may calculate a first difference between the middle length and the long length and a second difference between the middle length and the short length.
  • the skew calibration logic 260 may further calculate a third difference being an average of the first difference and the second difference.
  • the skew calibration logic 260 may detect a change direction of the lengths of the first unit interval UI1, the second unit interval UI2, and/or the third unit interval UI3, along a clockwise direction. For example, as described with reference to FIG. 7 , in example embodiments where the change direction is the clockwise direction in which the lengths of the first unit interval UI1, the second unit interval UI2, and/or the third unit interval UI3 change from the shortest to the longest, it may be determined that the skew of the first type exists.
  • the change direction is the clockwise direction in which the lengths of the first unit interval UI1, the second unit interval UI2, and/or the third unit interval UI3 changes from the longest to the shortest, it may be determined that the skew of the second type exists.
  • operation S 250 is performed.
  • operation S 260 is performed.
  • the skew may be calibrated by delaying the third signal S 3 .
  • the third signal S 3 is not used to generate the second unit interval UI2 corresponding to the middle length. That is, when the skew of the first type exists, in operation S 250 , a signal, which is not used to calculate a unit interval of the middle length, from among the first signal S 1 , the second signal S 2 , and/or the third signal S 3 may be selected as a target for skew calibration.
  • the skew may be calibrated by delaying the second signal S 2 and/or the third signal S 3 .
  • the second signal S 2 and/or the third signal S 3 are used to generate the second unit interval UI2 corresponding to the middle length. That is, when the skew of the second type exists, in operation S 260 , signals, which are used to calculate a unit interval of the middle length, from among the first signal S 1 , the second signal S 2 , and/or the third signal S 3 may be selected as a target for skew calibration.
  • the skew calibration logic 260 may perform the skew calibration operation by delaying the selected signal(s) as much as the third difference corresponding to the average.
  • the examples of the skews of the first type and the second type are schematically illustrated in FIGS. 5 and 8 . Timings when the signals of the first signal line SL 1 , the second signal line SL 2 , and/or the third signal line SL 3 toggle may be different.
  • the skew calibration logic 260 of the inventive concepts may make it possible to calibrate any types of skews through three or less skew calibration operations.
  • the second electronic device 200 may perform skew calibration with the first electronic device 100 in the following: initialization, reset, occurrence of a communication error, a regular interval, a change of an ambient environment such as a temperature or humidity, or instructions of a user or an external device.
  • Each of the first to fourth delay cells DC 1 to DC 4 may include two or more delay units “D”. In example embodiments, it is assumed that each of the first to fourth delay cells DC 1 to DC 4 may include three delay units “D”, but the number of delay cells “D” is not limited.
  • the first to fourth decision blocks DB 1 to DB 4 may detect a delay cell, in which a rising edge of the pulse signal “P” exists, from among the first to fourth delay cells DC 1 to DC 4 in synchronization with a falling edge of the pulse signal “P”.
  • a decision block connected with the delay cell, in which the rising edge exists, from among the first to fourth delay cells DC 1 to DC 4 may output, for example, a value of “1”.
  • a decision block connected with a delay cell, in which the rising edge does not exist, from among the first to fourth delay cells DC 1 to DC 4 may output, for example, a value of “0”.
  • a head of the interval of the high level, that is, the rising edge may pass through the delay units “D” of the first to fourth delay cells DC 1 to DC 4 .
  • a delay amount of delay cells up to a delay cell, in which the rising edge of the pulse signal “P” is included, from among the first to fourth delay cells DC 1 to DC 4 may correspond to a time length of the interval of the high level of the pulse signal “P”.
  • the encoder ENC may generate the fourth code CD 4 being a binary number from values of “0” and “1” received from the first to fourth decision blocks DB 1 to DB 4 .
  • An example is illustrated in FIG. 12 as the number of delay cells is “4” and the number of decision blocks is “4”, but the inventive concepts is not limited thereto.
  • the number of delay cells and the number of decision blocks may be variously modified or changed.
  • FIG. 13 illustrates a clock recovery circuit 400 according to example embodiments of the inventive concepts.
  • the clock recovery circuit 400 of FIG. 13 may be included in the clock recovery circuit 270 of FIG. 1 .
  • the clock recovery circuit 400 may include a logic circuit capable of generating the clock signal CLK based on a transition occurring at the fourth to sixth signals S 4 , S 5 , and S 6 .
  • the logic circuit may include first to sixth flip-flops 411 , 412 , 421 , 422 , 431 , and 432 and first to fourth logic gates 440 , 450 , 460 , and 470 .
  • the first and second flip-flops 411 and 412 may output a logical value of logical high VH (e.g., a value of logic “1”) in response to a transition of the fourth signal S 4 .
  • the first logic gate 440 may combine outputs of the first and second flip-flops 411 and 412 . Accordingly, the first logic gate 440 may output a value of logic “1” when the fourth signal S 4 transitions.
  • the third and fourth flip-flops 421 and 422 may output a logical value of logical high VH (e.g., a value of logic “1”) in response to a transition of the fifth signal S 5 .
  • the second logic gate 450 may combine outputs of the third and fourth flip-flops 421 and 422 . Accordingly, the second logic gate 450 may output a value of logic “1” when the fifth signal S 5 transitions.
  • the fifth and sixth flip-flops 431 and 432 may output a logical value of logical high VH (e.g., a value of logic “1”) in response to a transition of the sixth signal S 6 .
  • the third logic gate 460 may combine outputs of the fifth and sixth flip-flops 431 and 432 . Accordingly, the third logic gate 460 may output a value of logic “1” when the sixth signal S 6 transitions.
  • the fourth logic gate 470 may combine outputs of the first, second, and/or third logic gates 440 , 450 , and 460 . Accordingly, the fourth logic gate 470 may output a value of logic “1” in response to transitions occurring at the fourth, fifth, and sixth signals S 4 , S 5 , and S 6 . However, the fourth logic gate 470 may output a value of logic “1” in response to the first transition of the fourth, fifth, and sixth signals S 4 , S 5 , and S 6 and may not be affected by transitions following the first transition.
  • the fourth logic gate 470 may output the clock signal CLK that is generated by the first to sixth flip-flops 411 , 412 , 421 , 422 , 431 , and 432 and the first to fourth logic gates 440 , 450 , 460 , and 470 .
  • a value of logic “1” of the clock signal CLK output from the fourth logic gate 470 may provide a first edge (e.g., a rising edge) of the clock signal CLK.
  • a delay circuit 480 may receive the clock signal CLK output from the fourth logic gate 470 .
  • the delay circuit 480 may delay the received signal to output a reset signal RST.
  • the delay circuit 480 may receive the clock signal CLK and may include delay units “D” sequentially connected.
  • the first to sixth flip-flops 411 , 412 , 421 , 422 , 431 and 432 may be reset in response to the reset signal RST.
  • the first to fourth logic gates 440 , 450 , 460 , and 470 may output values of logic “0”.
  • a value of logic “0” of the clock signal CLK output from the logic gate 470 may provide a second edge (e.g., a falling edge) of the clock signal CLK. Accordingly, the clock signal CLK may have the second edge in response to the reset signal RST.
  • a delay amount of the delay units “D” of the delay circuit 480 may be adjusted based on the fifth code CD 5 .
  • the delay circuit 480 may output the reset signal RST by delaying the clock signal CLK as much as a total delay amount of delay units “D”, the number of which is equal to the number of delay cells, which is indicated by the fifth code CD 5 .
  • the total delay amount of the delay circuit 480 may belong to a range from 0.35UI to 0.6UI. That is, the clock signal CLK may transition to the high level when one unit interval UI starts and may transition to the low level after a time belonging to the range from 0.35UI to 0.6UI.
  • a delay amount of the delay unit “D” of FIG. 12 may be equal to a delay amount of the delay unit “D” of the delay circuit 480 .
  • a ratio of a delay amount of the delay unit “D” of the delay circuit 480 and a delay amount of a delay cell may be 1:3.
  • a delay amount of the delay circuit 480 may be 0.33UI. Considering an additional delay by associated circuits, the delay amount of the delay circuit 480 may exceed 0.33UI and may belong to the range from 0.35UI to 0.6UI described above.
  • FIG. 14 illustrates a data recovery circuit 500 according to example embodiments of the inventive concepts.
  • the data recovery circuit 500 of FIG. 14 may be included in the data recovery circuit 280 of FIG. 1 .
  • the data recovery circuit 500 may include first, second, and/or third delay circuits 510 , 520 , and 530 and/or first, second, and/or third flip-flops 540 , 550 , and 560 .
  • the data recovery circuit 500 may delay the fourth, fifth, and sixth signals S 4 , S 5 , and S 6 through the first, second, and/or third delay circuits 510 , 520 , and 530 , respectively.
  • Each of the first, second, and/or third delay circuits 510 , 520 , and 530 may include delay units “D”.
  • the first, second, and/or third delay circuits 510 , 520 , and 530 may delay the fourth, fifth, and/or sixth signals S 4 , S 5 , and S 6 based on the fifth code CD 5 , respectively.
  • the first, second, and/or third delay circuits 510 , 520 , and 530 may respectively delay the fourth, fifth, and/or sixth signals S 4 , S 5 , and S 6 as much as a delay amount of delay units “D”, the number of which is equal or similar to the number of delay cells indicated by the fifth code CD 5 . Accordingly, each of the first, second, and/or third delay circuits 510 , 520 , and 530 may belong to a range from 0.35UI to 0.6UI.
  • the data recovery circuit 500 may include a logic circuit capable of generating the receive signals RS 1 , RS 2 , and RS 3 .
  • the logic circuit may include the first, second, and/or third flip-flops 540 , 550 , and 560 .
  • the first, second, and/or third flip-flops 540 , 550 , and 560 may receive the delayed fourth, fifth, and/or sixth signals S 4 , S 5 , and S 6 , respectively.
  • Each of the first, second, and/or third flip-flops 540 , 550 , and 560 may receive the clock signal CLK from the clock recovery circuit 400 .
  • Each of the first, second, and/or third flip-flops 540 , 550 , and 560 may operate in response to the clock signal CLK (e.g., in response to a first edge of the clock signal CLK).
  • the first, second, and/or third flip-flops 540 , 550 , and 560 may respectively latch the delayed fourth, fifth, and/or sixth signals S 4 , S 5 , and S 6 in response to the clock signal CLK.
  • the first, second, and/or third flip-flops 540 , 550 , and 560 may output the first, second, and/or third receive signals RS 1 , RS 2 , and RS 3 , respectively.
  • each of the fourth, fifth, and/or sixth signals S 4 , S 5 , and S 6 may be delayed as much as a delay amount belonging to the range from 0.35UI to 0.6UI.
  • a delay amount of 0.33UI may be secured by adjusting a delay amount of a unit of the delay unit “D” by using the fifth code CD 5 indicating 1UI of a unit of a delay cell. Due to an additional delay of associated circuits, each of a delay amount of the first, second, and/or third delay circuits 510 , 520 , and 530 may belong to the range from 0.35UI to 0.6UI.
  • the edge of the clock signal CLK may be aligned within a stable interval, not a change interval of the delayed fourth, fifth, and/or sixth signals S 4 , S 5 , and S 6 , and the first, second, and/or third receive signals RS 1 , RS 2 , and RS 3 may be successfully latched.
  • FIG. 15 illustrates an electronic device 1000 according to example embodiments of the inventive concepts.
  • the electronic device 1000 may be implemented with a data processing device that is capable of using or supporting an interface protocol proposed by the MIN alliance.
  • the electronic device 1000 may be one of electronic devices such as a portable communication terminal, a personal digital assistant (PDA), a portable media player (PMP), a smartphone, a tablet computer, and a wearable device.
  • PDA personal digital assistant
  • PMP portable media player
  • smartphone a tablet computer
  • wearable device a wearable device.
  • the electronic device 1000 may include an application processor 1100 , a display 1220 , and an image sensor 1230 .
  • the application processor 1100 may include a DigRF master 1110 , a display serial interface (DSI) host 1120 , a camera serial interface (CSI) host 1130 , a physical layer 1140 , and/or a universal flash storage host-controller interface (UFS HCI) 1150 .
  • DSI display serial interface
  • CSI camera serial interface
  • UFS HCI universal flash storage host-controller interface
  • the DSI host 1120 may communicate with a DSI device 1225 of the display 1220 in compliance with the DSI.
  • a serializer SER may be implemented in the DSI host 1120
  • a deserializer DES may be implemented in the DSI device 1225 .
  • the DSI may use a physical layer that is defined in the C-PHY specification, and the DSI host 1120 may communicate with the DSI device 1225 through three or more communication lines.
  • the CSI host 1130 may communicate with a CSI device 1235 of the image sensor 1230 in compliance with the CSI.
  • a deserializer DES may be implemented in the CSI host 1130
  • a serializer SER may be implemented in the CSI device 1235 .
  • the CSI may use a physical layer that is defined in the C-PHY specification, and the CSI host 1130 may communicate with the CSI device 1235 through three or more communication lines.
  • the electronic device 1000 may further include a radio frequency (RF) chip 1240 that communicates with the application processor 1100 .
  • the RF chip 1240 may include a physical layer 1242 , a DigRF slave 1244 , and/or an antenna 1246 .
  • the physical layer 1242 of the RF chip 1240 and the physical layer 1140 of the application processor 1100 may exchange data with each other in compliance with a DigRF interface proposed by the MIPI alliance.
  • the electronic device 1000 may further include a working memory 1250 and an embedded/card storage device 1255 .
  • the working memory 1250 may temporarily store data processed or to be processed by the application processor 1100 .
  • the working memory 1250 may include a volatile memory such as a static random access memory (SRAM), a dynamic RAM (DRAM), or a synchronous DRAM (SDRAM), and/or a nonvolatile memory such as a flash memory, a phase-change RAM (PRAM), a magneto-resistive RAM (MRAM), a resistive RAM (ReRAM), or a ferroelectric RAM (FRAM).
  • SRAM static random access memory
  • DRAM dynamic RAM
  • SDRAM synchronous DRAM
  • PRAM phase-change RAM
  • MRAM magneto-resistive RAM
  • ReRAM resistive RAM
  • FRAM ferroelectric RAM
  • the embedded/card storage device 1255 may store data provided from the application processor 1100 or may provide the stored data to the application processor 1100 .
  • the embedded/card storage device 1255 may include a nonvolatile memory that stores data regardless of whether a power is supplied thereto.
  • the embedded/card storage device 1255 may communicate with the application processor 1100 in compliance with the UFS communication protocol.
  • the application processor 1100 may process communication with the embedded/card storage device 1255 through the UFS HCI 1150 .
  • the electronic device 1000 may communicate with an external device/system through communication modules, such as a worldwide interoperability for microwave access (WiMAX) 1260 , a wireless local area network (WLAN) 1262 , and an ultra-wideband (UWB) 1264 .
  • the electronic device 1000 may further include a speaker 1270 and a microphone 1275 , which are used to process voice information.
  • the electronic device 1000 may further include a global positioning system (GPS) device 1280 for processing position information.
  • GPS global positioning system
  • the electronic device 1000 may further include a bridge chip 1290 for managing connection with peripheral devices.
  • the blocks may be implemented as processing circuitry with various hardware devices, such as an integrated circuit, an application specific IC (ASCI), a field programmable gate array (FPGA), and a complex programmable logic device (CPLD), firmware driven in hardware devices, software such as an application, or a combination of a hardware device and software.
  • ASCI application specific IC
  • FPGA field programmable gate array
  • CPLD complex programmable logic device
  • the blocks may include circuits implemented with semiconductor elements in an integrated circuit or circuits enrolled as intellectual property (IP).
  • IP intellectual property
  • time lengths of intervals between transition timings of received signals are detected, and a difference between the time lengths of the intervals decreases by adjusting delay amounts of the received signals. Accordingly, an electronic device capable of detecting and calibrating a skew and an operating method of the electronic device are provided.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Nonlinear Science (AREA)
  • Spectroscopy & Molecular Physics (AREA)
  • Synchronisation In Digital Transmission Systems (AREA)

Abstract

An electronic device includes processing circuitry outputting first to third signals, delaying first to third signals to output fourth to sixth signals, generating a pulse signal based on the fourth signal, the fifth signal, and the sixth signal, detecting lengths of intervals, and adjusting at least one of a first code, a second code, and a third code based on fourth codes.

Description

    CROSS-REFERENCE TO RELATED APPLICATIONS
  • This application claims priority under 35 U.S.C. § 119 to Korean Patent Application No. 10-2020-0001624 filed on Jan. 6, 2020, in the Korean Intellectual Property Office, the disclosures of which are incorporated by reference herein in their entireties.
  • BACKGROUND
  • Example embodiments of the inventive concepts described herein relate to an electronic device, and more particularly, relate to an electronic device recovering a clock signal from data including an embedded clock.
  • Various protocols are being used and developed to communicate data between different devices. Nowadays, C-PHY is being developed as one of the protocols. The C-PHY is characterized in that a separate clock signal is not exchanged between different devices.
  • A transmitter of the C-PHY may combine data signals and an embedded clock and may transmit the combined signals. A receiver of the C-PHY is configured to recover a clock signal from the received signals and to recover data from the received signals by using the clock signal.
  • The receiver of the C-PHY does not receive a separate clock signal. Accordingly, the receiver of the C-PHY fails to calibrate a skew while sweeping transition timings of a data signal and a clock signal.
  • SUMMARY
  • Example embodiments of the inventive concepts provide a C-PHY-based electronic device detecting and calibrating a skew from received signals and an operating method of the electronic device.
  • According to example embodiments, an electronic device includes processing circuitry configured to receive a signal of a first signal line and a signal of a second signal line and outputs a difference between the signal of the first signal line and the signal of the second signal line as a first signal, receive the signal of the second signal line and a signal of a third signal line and output a difference between the signal of the second signal line and the signal of the third signal line as a second signal, receive the signal of the third signal line and the signal of the first signal line and output a difference between the signal of the third signal line and the signal of the first signal line as a third signal, receive the first signal, adjust a first delay amount in response to a first code, and output a fourth signal by delaying the first signal as much as the first delay amount, receive the second signal, adjust a second delay amount in response to a second code, and output a fifth signal by delaying the second signal as much as the second delay amount, receive the third signal, adjust a third delay amount in response to a third code, and output a sixth signal by delaying the third signal as much as the third delay amount, generate a pulse signal based on the fourth signal, the fifth signal, and the sixth signal, detect lengths of intervals of the pulse signal, which have a high level, and output fourth codes indicating the lengths of the intervals, respectively, and adjust at least one of the first code, the second code, and the third code based on the fourth codes.
  • According to example embodiments, an electronic device includes processing circuitry configured to output a first signal, a second signal, and a third signal, detect differences of time lengths of intervals between transition timings of the first signal, the second signal, and the third signal and generates a fourth signal, a fifth signal, and a sixth signal by delaying at least one of the first signal, the second signal, and the third signal such that the differences of the time lengths decrease, while the first signal, the second signal, and the third signal alternately transition during a preamble interval, and recover a clock signal, and a first receive signal, a second receive signal, and a third receive signal by using the fourth signal, the fifth signal, and the sixth signal.
  • According to example embodiments, an operating method of an electronic device includes receiving a first signal, a second signal, and a third signal alternately transitioning in a preamble interval, detecting unit intervals between two transition timings being the closest in time from among transition timings of the first signal, the second signal, and the third signal, performing skew calibration by delaying at least one of the first signal, the second signal, and the third signal by using the unit intervals, recovering a clock signal from the first signal, the second signal, and the third signal, after the skew calibration is completed, and recovering data from the first signal, the second signal, and the third signal, by using the clock signal.
  • BRIEF DESCRIPTION OF THE FIGURES
  • The above and other objects and features of the inventive concepts will become apparent by describing in detail example embodiments thereof with reference to the accompanying drawings.
  • FIG. 1 illustrates an electronic device system according to example embodiments of the inventive concepts.
  • FIG. 2 illustrates an operating method of a second electronic device according to example embodiments of the inventive concepts.
  • FIG. 3 illustrates an example of a pulse generator.
  • FIG. 4 illustrates an example of signals associated with a second electronic device.
  • FIG. 5 illustrates an example of signals associated with a second electronic device when a skew of a first type exists.
  • FIG. 6 illustrates an example of a pulse signal when a skew of a first type exists.
  • FIG. 7 illustrates an example in which a first unit interval, a second unit interval, and a third unit interval are disposed in a clockwise direction.
  • FIG. 8 illustrates an example of signals associated with a second electronic device when a skew of a second type exists.
  • FIG. 9 illustrates an example of a pulse signal when a skew of a second type exists.
  • FIG. 10 illustrates an example in which a first unit interval, a second unit interval, and a third unit interval are disposed in a clockwise direction.
  • FIG. 11 illustrates an example of a method in which skew calibration logic performs a skew calibration operation.
  • FIG. 12 illustrates a unit interval detector according to example embodiments of the inventive concepts.
  • FIG. 13 illustrates a clock recovery circuit according to example embodiments of the inventive concepts.
  • FIG. 14 illustrates a data recovery circuit according to example embodiments of the inventive concepts.
  • FIG. 15 is a block diagram illustrating an electronic device according to example embodiments of the inventive concepts.
  • DETAILED DESCRIPTION
  • Below, example embodiments of the inventive concepts may be described in detail and clearly to such an extent that an ordinary one in the art easily implements the inventive concepts.
  • FIG. 1 illustrates an electronic device system according to example embodiments of the inventive concepts. Referring to FIG. 1, an electronic device system may include a first electronic device 100 and a second electronic device 200.
  • The first electronic device 100 may transmit signals to the second electronic device 200 through a first signal line SL1, a second signal line SL2, and a third signal line SL3. The first signal line SL1, the second signal line SL2, and/or the third signal line SL3 may form one lane and may transfer signals transitioning (or toggling) in connection with each other.
  • The first electronic device 100 may include a signal generator 110, a first transmitter 120, a second transmitter 130, and/or a third transmitter 140. The signal generator 110 may generate signals to be transferred through the first signal line SL1, the second signal line SL2, and/or the third signal line SL3.
  • The first transmitter 120, the second transmitter 130, and/or the third transmitter 140 may be respectively connected with the first signal line SL1, the second signal line SL2, and/or the third signal line SL3 through a first terminal 121, a second terminal 131, and a third terminal 141.
  • The first transmitter 120, the second transmitter 130, and/or the third transmitter 140 may transmit signals based on one of various communication protocols. For example, the first transmitter 120, the second transmitter 130, and/or the third transmitter 140 may transmit signals in compliance with a protocol of the C-PHY defined in the mobile industry processor interface (MIPI).
  • The second electronic device 200 may receive signals through the first signal line SL1, the second signal line SL2, and/or the third signal line SL3. The second electronic device 200 may include a first receiver 210, a second receiver 220, a third receiver 230, a first delay line DL1, a second delay line DL2, a third delay line DL3, a pulse generator 240, a unit interval detector 250, skew calibration logic 260, a clock recovery circuit 270, a data recovery circuit 280, and/or a signal processor 290.
  • The first receiver 210, the second receiver 220, and/or the third receiver 230 may respectively receive signals from the first signal line SL1, the second signal line SL2, and/or the third signal line SL3 through a first terminal 211, a second terminal 221, and/or a third terminal 231. The first receiver 210 may output a difference between the signal received from the first signal line SL1 through the first terminal 211 and the signal received from the second signal line SL2 through the second terminal 221 as a first signal S1.
  • The second receiver 220 may output a difference between the signal received from the second signal line SL2 through the second terminal 221 and the signal received from the third signal line SL3 through the third terminal 231 as a second signal S2. The third receiver 230 may output a difference between the signal received from the third signal line SL3 through the third terminal 231 and the signal received from the first signal line SL1 through the first terminal 211 as a third signal S3.
  • The first delay line DL1, the second delay line DL2, and/or the third delay line DL3 may respectively receive the first signal S1, the second signal S2, and/or the third signal S3 from the first receiver 210, the second receiver 220, and/or the third receiver 230. Each of the first delay line DL1, the second delay line DL2, and/or the third delay line DL3 may include a plurality of delay units.
  • The first delay line DL1 may output an output of a delay unit selected by a first code CD1 from among the plurality of delay units as a fourth signal S4. The second delay line DL2 may output an output of a delay unit selected by a second code CD2 from among the plurality of delay units as a fifth signal S5. The third delay line DL3 may output an output of a delay unit selected by a third code CD3 from among the plurality of delay units as a sixth signal S6.
  • That is, the first delay line DL1, the second delay line DL2, and/or the third delay line DL3 may adjust delay amounts in response to the first code CD1, the second code CD2, and/or the third code CD3, respectively. For example, when the second electronic device 200 initiates communication with the first electronic device 100, each of the first delay line DL1, the second delay line DL2, and/or the third delay line DL3 may have a delay amount of “0” as an initial value.
  • The pulse generator 240 may receive the fourth signal S4, the fifth signal S5, and/or the sixth signal S6 from the first delay line DL1, the second delay line DL2, and/or the third delay line DL3. The pulse generator 240 may generate and output a pulse signal “P” from the fourth signal S4, the fifth signal S5, and/or the sixth signal S6.
  • For example, the pulse generator 240 may generate various pulse signals by combining the fourth signal S4, the fifth signal S5, and/or the sixth signal S6. The pulse generator 240 may output a pulse signal selected by a selection signal SEL as the pulse signal “P”.
  • The unit interval detector 250 may receive the pulse signal “P” from the pulse generator 240. The unit interval detector 250 may detect a unit interval from the pulse signal “P”. For example, the unit interval may be an interval where the pulse signal “P” has a high level. The unit interval may be identified as indicating an interval where one symbol is included in the fourth signal S4, the fifth signal S5, and/or the sixth signal S6.
  • For example, based on the C-PHY protocol, the first transmitter 120, the second transmitter 130, and/or the third transmitter 140 may have a preamble interval before transmitting symbols including data. In the preamble interval, the first transmitter 120, the second transmitter 130, and/or the third transmitter 140 may transmit signals for detection of the unit interval.
  • The unit interval detector 250 may detect the unit interval from the pulse signal “P” during the preamble interval. The unit interval detector 250 may include a plurality of delay units. The unit interval detector 250 may detect the unit interval by using the plurality of delay units. The unit interval detector 250 may output information about a length of the unit interval as a fourth code CD4.
  • The skew calibration logic 260 may receive the fourth code CD4 from the unit interval detector 250. For example, the skew calibration logic 260 may receive the fourth code CD4 from the unit interval detector 250 three times or more. The skew calibration logic 260 may receive, from the unit interval detector 250, the fourth code CD4 including information about a skew between the fourth signal S4 and the fifth signal S5, the fourth code CD4 including information about a skew between the fifth signal S5 and/or the sixth signal S6, and the fourth code CD4 including information about a skew between the sixth signal S6 and the fourth signal S4 by controlling the selection signal SEL.
  • The skew calibration logic 260 may receive the fourth code CD4 several times and may adjust at least one of the first code CD1, the second code CD2, and/or the third code CD3 in response to the fourth codes CD4 received several times. The skew calibration logic 260 may adjust at least one of the first code CD1, the second code CD2, and/or the third code CD3 such that a skew decreases.
  • The skew calibration logic 260 may perform a skew calibration operation several times. For example, the skew calibration logic 260 may receive the fourth code CD4 several times and may perform one skew calibration operation by adjusting at least one of the first code CD1, the second code CD2, and/or the third code CD3.
  • Afterwards, the skew calibration logic 260 may receive the fourth code CD4 several times. When a skew is equal to or greater than a threshold value, the skew calibration logic 260 may again perform the skew calibration operation by adjusting at least one of the first code CD1, the second code CD2, and/or the third code CD3. When the skew is smaller than the threshold value, the skew calibration logic 260 may output a fifth code CD5 indicating a length of the unit interval after the skew calibration operation is completed.
  • Alternatively, as marked by an option OP in FIG. 1, the skew calibration logic 260 may allow the unit interval detector 250 to output the fifth code CD5 indicating a length of the unit interval after the skew calibration operation is completed.
  • After the skew calibration operation is completed, the clock recovery circuit 270 may receive the fourth signal S4, the fifth signal S5, the sixth signal S6, and the fifth code CD5. The clock recovery circuit 270 may recover a clock signal CLK from the fourth signal S4, the fifth signal S5, and/or the sixth signal S6 by using the fifth code CD5.
  • Based on the C-PHY protocol, the first transmitter 120, the second transmitter 130, and/or the third transmitter 140 may transmit signals including data, with a clock signal combined with the signals. The combined clock signal may include an embedded clock. The embedded clock may also appear at the fourth signal S4, the fifth signal S5, and/or the sixth signal S6.
  • In each unit interval, the clock recovery circuit 270 may allow the clock signal CLK to transition to the high level as one of the fourth signal S4, the fifth signal S5, and/or the sixth signal S6 transitions. Afterwards, when the remaining signals of the fourth signal S4, the fifth signal S5, and/or the sixth signal S6 transition in the same symbol interval, the clock recovery circuit 270 may maintain the level of the clock signal CLK without a transition of the clock signal CLK.
  • For example, the fifth code CD5 may include information of a length of the unit interval, for example, information of a length within 1UI (unit interval) or information of a length within a range from 0.3UI to 0.6UI. The clock recovery circuit 270 may maintain the level of the clock signal CLK by masking the clock signal CLK during a given time within the range from 0.3UI to 0.6UI after the clock signal CLK transitions in each unit interval.
  • After the given time elapses, the clock recovery circuit 270 may allow the clock signal CLK to transition to a low level. That is, the clock recovery circuit 270 may generate the clock signal CLK, of which a period corresponds to the unit interval. For example, the clock recovery circuit 270 may recover the clock signal CLK in response to receiving the fifth code CD5 from the unit interval detector 250 or the skew calibration logic 260.
  • The data recovery circuit 280 may receive the fourth signal S4, the fifth signal S5, the sixth signal S6, the fifth code CD5, and the clock signal CLK. The data recovery circuit 280 may delay the fourth signal S4, the fifth signal S5, and/or the sixth signal S6 based on the fifth code CD5. For example, the data recovery circuit 280 may adjust a delay amount so as to make it easy to latch the fourth signal S4, the fifth signal S5, and/or the sixth signal S6. For example, the delay amount may be 0.5UI or a value similar thereto.
  • The data recovery circuit 280 may respectively latch the delayed fourth signal S4, the delayed fifth signal S5, and the delayed sixth signal S6 in synchronization with the clock signal CLK. The data recovery circuit 280 may output the latched results as a first receive signal RS1, a second receive signal RS2, and a third receive signal RS3. The first receive signal RS1, the second receive signal RS2, and/or the third receive signal RS3 may be recovered data.
  • In example embodiments, the data recovery circuit 280 may receive the fifth code CD5 from the unit interval detector 250 or the skew calibration logic 260 and may recover data in response to receiving the clock signal CLK from the clock recovery circuit 270.
  • The signal processor 290 may receive the first receive signal RS1, the second receive signal RS2, and/or the third receive signal RS3. The signal processor 290 may operate in response to the first receive signal RS1, the second receive signal RS2, and/or the third receive signal RS3.
  • In example embodiments, the first electronic device 100 may be an application processor (AP), and the second electronic device 200 may be a display device. For another example, the first electronic device 100 may be an image sensor, and the second electronic device 200 may be an application processor (AP).
  • One lane including the first signal line SL1, the second signal line SL2, and/or the third signal line SL3 is illustrated in FIG. 1. However, the first electronic device 100 and the second electronic device 200 may communicate with each other through two or more lanes.
  • In example embodiments, the first receiver 210, the second receiver 220, the third receiver 230, the first terminal 211, the second terminal 221, and/or the third terminal 231 may be included in a reception unit that receives signals of the first signal line SL1, the second signal line SL2, and/or the third signal line SL3.
  • In example embodiments, the first delay line DL1, the second delay line DL2, the third delay line DL3, the pulse generator 240, the unit interval detector 250, and the skew calibration logic 260 may be included in a skew calibration unit. In example embodiments, the clock recovery circuit 270 and the data recovery circuit 280 may be included in a recovery unit.
  • In example embodiments, the selection signal SEL may be a 2-bit signal, and each of the first code CD1, the second code CD2, the third code CD3, the fourth code CD4, and the fifth code CD5 may be a 32-bit signal.
  • FIG. 2 illustrates an operating method of the second electronic device 200 according to example embodiments of the inventive concepts. Referring to FIGS. 1 and 2, in operation S110, the first receiver 210, the second receiver 220, and/or the third receiver 230 may receive signals of the first signal line SL1, the second signal line SL2, and/or the third signal line SL3 during the preamble interval and may output the first signal S1, the second signal S2, and/or the third signal S3.
  • Because the initial delay amounts of the first signal line SL1, the second signal line SL2, and/or the third signal line SL3 are “0”, the fourth signal S4, the fifth signal S5, and/or the sixth signal S6 may be identical to the first signal S1, the second signal S2, and/or the third signal S3, respectively.
  • In operation S120, the pulse generator 240 may generate the pulse signal “P” from the fourth signal S4, the fifth signal S5, and/or the sixth signal S6. The unit interval detector 250 may extract or detect lengths of unit intervals from the pulse signal “P”.
  • In operation S130, the skew calibration logic 260 may perform skew calibration by using the lengths of the unit intervals thus detected. For example, the skew calibration logic 260 may adjust a delay amount of at least one of the first delay line DL1, the second delay line DL2, and/or the third delay line DL3 such that the lengths of the unit intervals are identical or differences between the lengths of the unit intervals decrease.
  • Operation S110 to operation S130 may be included in the skew calibration operation. The skew calibration logic 260 may again check the lengths of the unit intervals after performing the skew calibration operation. When the differences between the lengths of the unit intervals are equal to or greater than a threshold, the skew calibration logic 260 may again perform the skew calibration operation. When the differences between the lengths of the unit intervals are smaller than the threshold, the skew calibration logic 260 may complete the skew calibration operation.
  • In operation S140, the unit interval detector 250 or the skew calibration logic 260 may generate the fifth code CD5. In response to the fifth code CD5, the clock recovery circuit 270 may recover the clock signal CLK from the fourth signal S4, the fifth signal S5, and/or the sixth signal S6, of which the skew calibration operation is completed.
  • In operation S150, in response to that the fifth code CD5 is received and the clock signal CLK is recovered, the data recovery circuit 280 may recover data including the first receive signal RS1, the second receive signal RS2, and/or the third receive signal RS3 from the fourth signal S4, the fifth signal S5, and/or the sixth signal S6, of which the skew calibration operation is completed.
  • FIG. 3 illustrates an example of a pulse generator 300. The pulse generator 300 of FIG. 3 may be included in the pulse generator 240 of FIG. 1. Referring to FIGS. 1 and 3, the pulse generator 300 may include a first logic gate 310, a second logic gate 320, a third logic gate 330, a fourth logic gate 340, a fifth logic gate 350, a sixth logic gate 360 and/or a selector 370.
  • The first logic gate 310 may receive the fourth signal S4 and the fifth signal S5. The first logic gate 310 may perform an exclusive NOR operation on the fourth signal S4 and the fifth signal S5. The fourth logic gate 340 may perform an AND operation on an output of the first logic gate 310 and/or the sixth signal S6. The fourth logic gate 340 may output a result of the operation as a seventh signal S7.
  • The second logic gate 320 may receive the fifth signal S5 and/or the sixth signal S6. The second logic gate 320 may perform an exclusive NOR operation on the fifth signal S5 and/or the sixth signal S6. The fifth logic gate 350 may perform an AND operation on an output of the second logic gate 320 and the seventh signal S7. The fifth logic gate 350 may output a result of the operation as an eighth signal S8.
  • The third logic gate 330 may receive the sixth signal S6 and the fourth signal S4. The third logic gate 330 may perform an exclusive NOR operation on the sixth signal S6 and the fourth signal S4. The sixth logic gate 360 may perform an AND operation on an output of the third logic gate 330 and the fourth signal S4. The sixth logic gate 360 may output a result of the operation as a ninth signal S9.
  • The selector 370 may receive the seventh signal S7, the eighth signal S8, and/or the ninth signal S9. The selector 370 may select one of the seventh signal S7, the eighth signal S8, and/or the ninth signal S9 in response to the selection signal SEL and may output the selected signal as the pulse signal “P”.
  • FIG. 4 illustrates an example of signals associated with the second electronic device 200. In example embodiments, an example of skew-free signals is illustrated in FIG. 4. Referring to FIGS. 1, 3, and 4, a solid line indicates a signal of the first signal line SL1, a broken line indicates a signal of the second signal line SL2, and a dash-single dotted line indicates a signal of the third signal line SL3.
  • The signals of the first signal line SL1, the second signal line SL2, and/or the third signal line SL3 may vary in the preamble interval in compliance with the C-PHY protocol as illustrated in FIG. 4. For example, each of the first signal line SL1, the second signal line SL2, and/or the third signal line SL3 may have a high level during to a length of two unit intervals, may have a middle level during to a length of one unit interval, and may have a low level during to a length of two unit intervals.
  • Signals of the first signal line SL1, the second signal line SL2, and/or the third signal line SL3 may have different levels every unit interval. When a skew does not exist, transition (or toggle) timings of the signals of the first signal line SL1, the second signal line SL2, and/or the third signal line SL3 may be identical.
  • The first receiver 210, the second receiver 220, and/or the third receiver 230 may output the first signal S1, the second signal S2, and/or the third signal S3 from the signals of the first signal line SL1, the second signal line SL2, and/or the third signal line SL3. During the preamble interval, the first signal S1, the second signal S2, and/or the third signal S3 may alternately transition in each unit interval.
  • In each unit interval, only one of the first signal S1, the second signal S2, and/or the third signal S3 may transition. The first signal S1, the second signal S2, and/or the third signal S3 may sequentially transition one by one in three consecutive unit intervals.
  • Initial delay amounts of the first delay line DL1, the second delay line DL2, and/or the third delay line DL3 may be “0”. Accordingly, waveforms of the fourth signal S4, the fifth signal S5, and/or the sixth signal S6 are identical to waveforms of the first signal S1, the second signal S2, and/or the third signal S3, and thus, additional description will be omitted to avoid redundancy.
  • The seventh signal S7 may have the high level when the fourth signal S4 (e.g., the first signal S1) is at the low level and the fifth signal S5 (e.g., the second signal S2) is at the low level. A time length of an interval of the high level of the seventh signal S7 may indicate a time length of one unit interval 1UI indicated by a combination of the first signal S1 and the second signal S2.
  • The eighth signal S8 may have the high level when the fifth signal S5 (e.g., the second signal S2) is at the low level and/or the sixth signal S6 (e.g., the third signal S3) is at the low level. A time length of an interval of the high level of the eighth signal S8 may indicate a time length of one unit interval 1UI indicated by a combination of the second signal S2 and/or the third signal S3.
  • The ninth signal S9 may have the high level when the sixth signal S6 (e.g., the third signal S3) is at the low level and the fourth signal S4 (e.g., the first signal S1) is at the low level. A time length of an interval of the high level of the ninth signal S9 may indicate a time length of one unit interval 1UI indicated by a combination of the third signal S3 and the first signal S1.
  • When a skew does not exist, transition (or toggle) timings of the signals of the first signal line SL1, the second signal line SL2, and/or the third signal line SL3 are identical. For example, as illustrated in FIG. 4, the signals of the first signal line SL1, the second signal line SL2, and/or the third signal line SL3 may transition at a first time T1 to a ninth time T9. Accordingly, one unit interval 1UI that appears at each of the seventh signal S7, the eighth signal S8, and/or the ninth signal S9 may have the same time length.
  • FIG. 5 illustrates an example of signals associated with the second electronic device 200 when a skew of a first type exists. Referring to FIGS. 1, 3, and 5, in a skew of a first type, one signal of signals of the first signal line SL1, the second signal line SL2, and/or the third signal line SL3 may be delayed with respect to the remaining signals. In example embodiments, the signal of the third signal line SL3 may be delayed with respect to the signals of the first signal line SL1 and the second signal line SL2.
  • Transition timings of the signal of the third signal line SL3 may be delayed with respect to the first time T1 to the ninth time T9. In FIG. 5, bold dotted lines are used to highlight timings at which the signal of the third signal line SL3 transitions.
  • As the signal of the third signal line SL3 is delayed, a time length of a first unit interval UI1 detected from the seventh signal S7 may be shorter than a time length of one unit interval 1UI equal to that of FIG. 4. A time length of a second unit interval UI2 detected from the eighth signal S8 may be equal to a time length of one unit interval 1UI equal to that of FIG. 4. A time length of a third unit interval UI3 detected from the ninth signal S9 may be longer than a time length of one unit interval 1UI equal to that of FIG. 4.
  • In example embodiments, the pulse generator 240 may output the pulse signal “P” including a pulse signal of the first unit interval UI1, a pulse signal of the second unit interval UI2, and a pulse signal of the third unit interval UI3 by alternately outputting the seventh signal S7, the eighth signal S8, and/or the ninth signal S9. The unit interval detector 250 may detect time lengths of the first unit interval UI1, the second unit interval UI2, and/or the third unit interval UI3 from the pulse signal “P”.
  • FIG. 6 illustrates an example of the pulse signal “P” when a skew of a first type exists. Referring to FIGS. 1, 3, 5, and 6, when the seventh signal S7 is selected, the pulse generator 240 may output a portion of the seventh signal S7 as a first pulse signal P1 being a portion of the pulse signal “P”. When the eighth signal S8 is selected, the pulse generator 240 may output a portion of the eighth signal S8 as a second pulse signal P2 being a portion of the pulse signal “P”. When the ninth signal S9 is selected, the pulse generator 240 may output a portion of the ninth signal S9 as a third pulse signal P3 being a portion of the pulse signal “P”.
  • The timing when the unit interval detector 250 starts the detection of the unit interval may not be fixed to a specific time of the pulse signal “P”. As illustrated in FIG. 5, a time length between two first unit intervals UI1 corresponds to six first unit intervals UI1.
  • Accordingly the first pulse signal P1 may be output during a time corresponding to 6 to 12 unit intervals or during a time longer than the time corresponding to 6 to 12 unit intervals, such that the first pulse signal P1 includes the whole interval of at least one first unit interval UI1. That is, the skew calibration logic 260 may allow the pulse generator 240 to output the first pulse signal P1 during a time corresponding to 6 to 12 unit intervals or during a time longer than the time corresponding to 6 to 12 unit intervals.
  • The skew calibration logic 260 may identify the fourth code CD4 corresponding to the longest time length from among the fourth codes CD4 received from the unit interval detector 250 as a length of the first unit interval UI1, based on the first pulse signal P1. After a given time elapses, the skew calibration logic 260 may control the selection signal SEL to select the second pulse signal P2.
  • For another example, the skew calibration logic 260 may select the first pulse signal P1 and may maintain the selection signal SEL until at least two the fourth codes CD4 are received from the unit interval detector 250. The skew calibration logic 260 may identify the last fourth code CD4 of the at least two fourth codes CD4 or the fourth code CD4 corresponding to the longest time length from among the at least two fourth codes CD4 as corresponding to the first unit interval UI1. After the at least two fourth codes CD4 are received, the skew calibration logic 260 may control the selection signal SEL to select the second pulse signal P2.
  • In example embodiments where the first pulse signal P1 is selected, when the second pulse signal P2 is selected, the skew calibration logic 260 may maintain the selection signal SEL during a given time or until the fourth codes CD4 are received as much as the given number of times. The skew calibration logic 260 may identify the last fourth code CD4 or the fourth code CD4 corresponding to the longest time length as corresponding to the second unit interval UI2.
  • In example embodiments where the first pulse signal P1 is selected, when the third pulse signal P3 is selected, the skew calibration logic 260 may maintain the selection signal SEL during a given time or until the fourth codes CD4 are received as much as the given number of times. The skew calibration logic 260 may identify the last fourth code CD4 or the fourth code CD4 corresponding to the longest time length as corresponding to the third unit interval UI3.
  • FIG. 7 illustrates an example in which the first unit interval UI1, the second unit interval UI2, and/or the third unit interval UI3 are disposed in a clockwise direction. Referring to FIGS. 5, 6, and 7, the first pulse signal P1 may have a first length corresponding to the first unit interval UI1, the second pulse signal P2 may have a second length corresponding to the second unit interval UI2, and/or the third pulse signal P3 may have a third length corresponding to the third unit interval UI3.
  • In example embodiments of disposing the first length, the second length, and/or the third length in the clockwise direction as illustrated in FIG. 7, the clockwise direction is a direction facing the third length being the longest from the first length being the shortest through the second length being middle. As illustrated in FIG. 5, when a signal of one signal line (e.g., the third signal line SL3) is delayed with respect to signals of the remaining signal lines (e.g., the first and second signal lines SL1 and SL2), the clockwise direction may appear as a direction in which a length increases.
  • FIG. 8 illustrates an example of signals associated with the second electronic device 200 when a skew of a second type exists. Referring to FIGS. 1, 3, and 8, in a skew of a second type, one signal of signals of the first signal line SL1, the second signal line SL2, and/or the third signal line SL3 may be advanced with respect to the remaining signals. In example embodiments, the signal of the third signal line SL3 may be advanced with respect to the signals of the first signal line SL1 and the second signal line SL2.
  • Transition timings of the signal of the third signal line SL3 may be advanced with respect to the first time T1 to the ninth time T9. In FIG. 5, bold dotted lines are used to highlight timings at which the signal of the third signal line SL3 transitions.
  • As the signal of the third signal line SL3 is advanced, a time length of the first unit interval UI1 detected from the seventh signal S7 may be longer than a time length of one unit interval 1UI equal to that of FIG. 4. A time length of the second unit interval UI2 detected from the eighth signal S8 may be equal to a time length of one unit interval 1UI equal to that of FIG. 4. A time length of the third unit interval UI3 detected from the ninth signal S9 may be shorter than a time length of one unit interval 1UI equal to that of FIG. 4.
  • In example embodiments, the pulse generator 240 may output the pulse signal “P” including a pulse signal of the first unit interval UI1, a pulse signal of the second unit interval UI2, and a pulse signal of the third unit interval UI3 by alternately outputting the seventh signal S7, the eighth signal S8, and/or the ninth signal S9. The unit interval detector 250 may detect time lengths of the first unit interval UI1, the second unit interval UI2, and/or the third unit interval UI3 from the pulse signal “P”.
  • FIG. 9 illustrates an example of the pulse signal “P” when a skew of a second type exists. Referring to FIGS. 1, 3, 8, and 9, when the seventh signal S7 is selected, the pulse generator 240 may output a portion of the seventh signal S7 as the first pulse signal P1 being a portion of the pulse signal “P”. When the eighth signal S8 is selected, the pulse generator 240 may output a portion of the eighth signal S8 as the second pulse signal P2 being a portion of the pulse signal “P”. When the ninth signal S9 is selected, the pulse generator 240 may output a portion of the ninth signal S9 as the third pulse signal P3 being a portion of the pulse signal “P”.
  • As described with reference to FIGS. 8 and 9, the skew calibration logic 260 may sequentially select the first pulse signal P1, the second pulse signal P2, and/or the third pulse signal P3 and may maintain the selection signal SEL during a given time or until the fourth codes CD4 are received as much as the given number of times. The skew calibration logic 260 may identify the last fourth code CD4 or the fourth code CD4 corresponding to the longest time length as corresponding to the second unit interval UI2.
  • FIG. 10 illustrates an example in which the first unit interval UI1, the second unit interval UI2, and/or the third unit interval UI3 are disposed in a clockwise direction. Referring to FIGS. 8, 9, and 10, the first pulse signal P1 may have a sixth length corresponding to the first unit interval UI1, the second pulse signal P2 may have a fifth length corresponding to the second unit interval UI2, and/or the third pulse signal P3 may have a fourth length corresponding to the third unit interval UI3.
  • In example embodiments of disposing the fourth length, the fifth length, and/or the sixth length in the clockwise direction as illustrated in FIG. 10, the clockwise direction is a direction facing the fourth length being the shortest from the sixth length being the longest through the fifth length being middle. As illustrated in FIG. 8, when a signal of one signal line (e.g., the third signal line SL3) is advanced with respect to signals of the remaining signal lines (e.g., the first and second signal lines SL1 and SL2), the clockwise direction may appear as a direction in which a length decreases.
  • FIG. 11 illustrates an example of a method in which the skew calibration logic 260 performs a skew calibration operation. Referring to FIGS. 1 and 11, in operation S210, the skew calibration logic 260 may detect lengths of the first unit interval UI1, the second unit interval UI2, and/or the third unit interval UI3.
  • In operation S220, the skew calibration logic 260 may calculate an average of differences between the lengths of the first unit interval UI1, the second unit interval UI2, and/or the third unit interval UI3. For example, the skew calibration logic 260 may detect a middle length, a long length greater than the middle length, and a short length smaller than the middle length from the lengths of the first unit interval UI1, the second unit interval UI2, and/or the third unit interval UI3.
  • The skew calibration logic 260 may calculate a first difference between the middle length and the long length and a second difference between the middle length and the short length. The skew calibration logic 260 may further calculate a third difference being an average of the first difference and the second difference.
  • In operation S230, the skew calibration logic 260 may detect a change direction of the lengths of the first unit interval UI1, the second unit interval UI2, and/or the third unit interval UI3, along a clockwise direction. For example, as described with reference to FIG. 7, in example embodiments where the change direction is the clockwise direction in which the lengths of the first unit interval UI1, the second unit interval UI2, and/or the third unit interval UI3 change from the shortest to the longest, it may be determined that the skew of the first type exists.
  • For another example, as described with reference to FIG. 10, in example embodiments where the change direction is the clockwise direction in which the lengths of the first unit interval UI1, the second unit interval UI2, and/or the third unit interval UI3 changes from the longest to the shortest, it may be determined that the skew of the second type exists.
  • When it is determined in operation S240 that the skew of the first type exists, operation S250 is performed. When it is determined in operation S240 that the skew of the second type exists, operation S260 is performed.
  • When the skew of the first type exists, as illustrated in FIG. 5, the skew may be calibrated by delaying the third signal S3. The third signal S3 is not used to generate the second unit interval UI2 corresponding to the middle length. That is, when the skew of the first type exists, in operation S250, a signal, which is not used to calculate a unit interval of the middle length, from among the first signal S1, the second signal S2, and/or the third signal S3 may be selected as a target for skew calibration.
  • When the skew of the second type exists, as illustrated in FIG. 8, the skew may be calibrated by delaying the second signal S2 and/or the third signal S3. The second signal S2 and/or the third signal S3 are used to generate the second unit interval UI2 corresponding to the middle length. That is, when the skew of the second type exists, in operation S260, signals, which are used to calculate a unit interval of the middle length, from among the first signal S1, the second signal S2, and/or the third signal S3 may be selected as a target for skew calibration.
  • In operation S270, the skew calibration logic 260 may perform the skew calibration operation by delaying the selected signal(s) as much as the third difference corresponding to the average.
  • The examples of the skews of the first type and the second type are schematically illustrated in FIGS. 5 and 8. Timings when the signals of the first signal line SL1, the second signal line SL2, and/or the third signal line SL3 toggle may be different. By repeating the skew calibration operation, the skew calibration logic 260 of the inventive concepts may make it possible to calibrate any types of skews through three or less skew calibration operations.
  • In example embodiments, the second electronic device 200 may perform skew calibration with the first electronic device 100 in the following: initialization, reset, occurrence of a communication error, a regular interval, a change of an ambient environment such as a temperature or humidity, or instructions of a user or an external device.
  • FIG. 12 illustrates the unit interval detector 250 according to example embodiments of the inventive concepts. Referring to FIGS. 1 and 12, the unit interval detector 250 may include first to fourth delay cells DC1 to DC4, first to fourth decision blocks DB1 to DB4, and/or an encoder ENC.
  • Each of the first to fourth delay cells DC1 to DC4 may include two or more delay units “D”. In example embodiments, it is assumed that each of the first to fourth delay cells DC1 to DC4 may include three delay units “D”, but the number of delay cells “D” is not limited.
  • The first to fourth decision blocks DB1 to DB4 may detect a delay cell, in which a rising edge of the pulse signal “P” exists, from among the first to fourth delay cells DC1 to DC4 in synchronization with a falling edge of the pulse signal “P”. A decision block connected with the delay cell, in which the rising edge exists, from among the first to fourth delay cells DC1 to DC4 may output, for example, a value of “1”. A decision block connected with a delay cell, in which the rising edge does not exist, from among the first to fourth delay cells DC1 to DC4 may output, for example, a value of “0”.
  • When the high level of the pulse signal “P” is input to the first delay cell DC1, a head of the interval of the high level, that is, the rising edge may pass through the delay units “D” of the first to fourth delay cells DC1 to DC4. When a tail of the interval of the high level of the pulse signal “P”, that is a falling edge of the pulse signal “p” appears, a delay amount of delay cells up to a delay cell, in which the rising edge of the pulse signal “P” is included, from among the first to fourth delay cells DC1 to DC4 may correspond to a time length of the interval of the high level of the pulse signal “P”.
  • The encoder ENC may generate the fourth code CD4 being a binary number from values of “0” and “1” received from the first to fourth decision blocks DB1 to DB4. An example is illustrated in FIG. 12 as the number of delay cells is “4” and the number of decision blocks is “4”, but the inventive concepts is not limited thereto. For example, the number of delay cells and the number of decision blocks may be variously modified or changed.
  • FIG. 13 illustrates a clock recovery circuit 400 according to example embodiments of the inventive concepts. The clock recovery circuit 400 of FIG. 13 may be included in the clock recovery circuit 270 of FIG. 1. Referring to FIGS. 1 and 13, the clock recovery circuit 400 may include a logic circuit capable of generating the clock signal CLK based on a transition occurring at the fourth to sixth signals S4, S5, and S6. For example, the logic circuit may include first to sixth flip- flops 411, 412, 421, 422, 431, and 432 and first to fourth logic gates 440, 450, 460, and 470.
  • The first and second flip- flops 411 and 412 may output a logical value of logical high VH (e.g., a value of logic “1”) in response to a transition of the fourth signal S4. The first logic gate 440 may combine outputs of the first and second flip- flops 411 and 412. Accordingly, the first logic gate 440 may output a value of logic “1” when the fourth signal S4 transitions.
  • The third and fourth flip- flops 421 and 422 may output a logical value of logical high VH (e.g., a value of logic “1”) in response to a transition of the fifth signal S5. The second logic gate 450 may combine outputs of the third and fourth flip- flops 421 and 422. Accordingly, the second logic gate 450 may output a value of logic “1” when the fifth signal S5 transitions.
  • The fifth and sixth flip- flops 431 and 432 may output a logical value of logical high VH (e.g., a value of logic “1”) in response to a transition of the sixth signal S6. The third logic gate 460 may combine outputs of the fifth and sixth flip- flops 431 and 432. Accordingly, the third logic gate 460 may output a value of logic “1” when the sixth signal S6 transitions.
  • The fourth logic gate 470 may combine outputs of the first, second, and/or third logic gates 440, 450, and 460. Accordingly, the fourth logic gate 470 may output a value of logic “1” in response to transitions occurring at the fourth, fifth, and sixth signals S4, S5, and S6. However, the fourth logic gate 470 may output a value of logic “1” in response to the first transition of the fourth, fifth, and sixth signals S4, S5, and S6 and may not be affected by transitions following the first transition.
  • The fourth logic gate 470 may output the clock signal CLK that is generated by the first to sixth flip- flops 411, 412, 421, 422, 431, and 432 and the first to fourth logic gates 440, 450, 460, and 470. For example, a value of logic “1” of the clock signal CLK output from the fourth logic gate 470 may provide a first edge (e.g., a rising edge) of the clock signal CLK.
  • A delay circuit 480 may receive the clock signal CLK output from the fourth logic gate 470. The delay circuit 480 may delay the received signal to output a reset signal RST. The delay circuit 480 may receive the clock signal CLK and may include delay units “D” sequentially connected.
  • The first to sixth flip- flops 411, 412, 421, 422, 431 and 432 may be reset in response to the reset signal RST. As the first to sixth flip- flops 411, 412, 421, 422, 431 and 432 are reset, the first to fourth logic gates 440, 450, 460, and 470 may output values of logic “0”. A value of logic “0” of the clock signal CLK output from the logic gate 470 may provide a second edge (e.g., a falling edge) of the clock signal CLK. Accordingly, the clock signal CLK may have the second edge in response to the reset signal RST.
  • A delay amount of the delay units “D” of the delay circuit 480 may be adjusted based on the fifth code CD5. The delay circuit 480 may output the reset signal RST by delaying the clock signal CLK as much as a total delay amount of delay units “D”, the number of which is equal to the number of delay cells, which is indicated by the fifth code CD5.
  • The total delay amount of the delay circuit 480 may belong to a range from 0.35UI to 0.6UI. That is, the clock signal CLK may transition to the high level when one unit interval UI starts and may transition to the low level after a time belonging to the range from 0.35UI to 0.6UI.
  • For example, a delay amount of the delay unit “D” of FIG. 12 may be equal to a delay amount of the delay unit “D” of the delay circuit 480. In example embodiments where a delay cell of FIG. 12 includes three delay units “D”, a ratio of a delay amount of the delay unit “D” of the delay circuit 480 and a delay amount of a delay cell may be 1:3.
  • In example embodiments where the fifth code CD5 indicating 1UI information of a unit of a delay cell detected by the unit interval detector 250 is applied to the delay circuit 480 of a unit of the delay unit “D”, a delay amount of the delay circuit 480 may be 0.33UI. Considering an additional delay by associated circuits, the delay amount of the delay circuit 480 may exceed 0.33UI and may belong to the range from 0.35UI to 0.6UI described above.
  • FIG. 14 illustrates a data recovery circuit 500 according to example embodiments of the inventive concepts. The data recovery circuit 500 of FIG. 14 may be included in the data recovery circuit 280 of FIG. 1. Referring to FIGS. 1 and 14, the data recovery circuit 500 may include first, second, and/or third delay circuits 510, 520, and 530 and/or first, second, and/or third flip- flops 540, 550, and 560.
  • The data recovery circuit 500 may delay the fourth, fifth, and sixth signals S4, S5, and S6 through the first, second, and/or third delay circuits 510, 520, and 530, respectively. Each of the first, second, and/or third delay circuits 510, 520, and 530 may include delay units “D”. The first, second, and/or third delay circuits 510, 520, and 530 may delay the fourth, fifth, and/or sixth signals S4, S5, and S6 based on the fifth code CD5, respectively.
  • The first, second, and/or third delay circuits 510, 520, and 530 may respectively delay the fourth, fifth, and/or sixth signals S4, S5, and S6 as much as a delay amount of delay units “D”, the number of which is equal or similar to the number of delay cells indicated by the fifth code CD5. Accordingly, each of the first, second, and/or third delay circuits 510, 520, and 530 may belong to a range from 0.35UI to 0.6UI.
  • The data recovery circuit 500 may include a logic circuit capable of generating the receive signals RS1, RS2, and RS3. For example, the logic circuit may include the first, second, and/or third flip- flops 540, 550, and 560. The first, second, and/or third flip- flops 540, 550, and 560 may receive the delayed fourth, fifth, and/or sixth signals S4, S5, and S6, respectively. Each of the first, second, and/or third flip- flops 540, 550, and 560 may receive the clock signal CLK from the clock recovery circuit 400.
  • Each of the first, second, and/or third flip- flops 540, 550, and 560 may operate in response to the clock signal CLK (e.g., in response to a first edge of the clock signal CLK). For example, the first, second, and/or third flip- flops 540, 550, and 560 may respectively latch the delayed fourth, fifth, and/or sixth signals S4, S5, and S6 in response to the clock signal CLK. As a result of the latch operation, the first, second, and/or third flip- flops 540, 550, and 560 may output the first, second, and/or third receive signals RS1, RS2, and RS3, respectively.
  • As described with reference to FIG. 13, the rising edge of the clock signal CLK is aligned with a start time point of the unit interval UI. In the data recovery circuit 500, each of the fourth, fifth, and/or sixth signals S4, S5, and S6 may be delayed as much as a delay amount belonging to the range from 0.35UI to 0.6UI.
  • For example, as described with reference to FIG. 13, a delay amount of 0.33UI may be secured by adjusting a delay amount of a unit of the delay unit “D” by using the fifth code CD5 indicating 1UI of a unit of a delay cell. Due to an additional delay of associated circuits, each of a delay amount of the first, second, and/or third delay circuits 510, 520, and 530 may belong to the range from 0.35UI to 0.6UI.
  • Accordingly, the edge of the clock signal CLK may be aligned within a stable interval, not a change interval of the delayed fourth, fifth, and/or sixth signals S4, S5, and S6, and the first, second, and/or third receive signals RS1, RS2, and RS3 may be successfully latched.
  • FIG. 15 illustrates an electronic device 1000 according to example embodiments of the inventive concepts. The electronic device 1000 may be implemented with a data processing device that is capable of using or supporting an interface protocol proposed by the MIN alliance. For example, the electronic device 1000 may be one of electronic devices such as a portable communication terminal, a personal digital assistant (PDA), a portable media player (PMP), a smartphone, a tablet computer, and a wearable device.
  • The electronic device 1000 may include an application processor 1100, a display 1220, and an image sensor 1230. The application processor 1100 may include a DigRF master 1110, a display serial interface (DSI) host 1120, a camera serial interface (CSI) host 1130, a physical layer 1140, and/or a universal flash storage host-controller interface (UFS HCI) 1150.
  • The DSI host 1120 may communicate with a DSI device 1225 of the display 1220 in compliance with the DSI. For example, a serializer SER may be implemented in the DSI host 1120, and a deserializer DES may be implemented in the DSI device 1225. For example, the DSI may use a physical layer that is defined in the C-PHY specification, and the DSI host 1120 may communicate with the DSI device 1225 through three or more communication lines.
  • The CSI host 1130 may communicate with a CSI device 1235 of the image sensor 1230 in compliance with the CSI. For example, a deserializer DES may be implemented in the CSI host 1130, and a serializer SER may be implemented in the CSI device 1235. For example, the CSI may use a physical layer that is defined in the C-PHY specification, and the CSI host 1130 may communicate with the CSI device 1235 through three or more communication lines.
  • The electronic device 1000 may further include a radio frequency (RF) chip 1240 that communicates with the application processor 1100. The RF chip 1240 may include a physical layer 1242, a DigRF slave 1244, and/or an antenna 1246. For example, the physical layer 1242 of the RF chip 1240 and the physical layer 1140 of the application processor 1100 may exchange data with each other in compliance with a DigRF interface proposed by the MIPI alliance.
  • The electronic device 1000 may further include a working memory 1250 and an embedded/card storage device 1255. The working memory 1250 may temporarily store data processed or to be processed by the application processor 1100. The working memory 1250 may include a volatile memory such as a static random access memory (SRAM), a dynamic RAM (DRAM), or a synchronous DRAM (SDRAM), and/or a nonvolatile memory such as a flash memory, a phase-change RAM (PRAM), a magneto-resistive RAM (MRAM), a resistive RAM (ReRAM), or a ferroelectric RAM (FRAM).
  • The embedded/card storage device 1255 may store data provided from the application processor 1100 or may provide the stored data to the application processor 1100. The embedded/card storage device 1255 may include a nonvolatile memory that stores data regardless of whether a power is supplied thereto.
  • For example, the embedded/card storage device 1255 may communicate with the application processor 1100 in compliance with the UFS communication protocol. In this example, the application processor 1100 may process communication with the embedded/card storage device 1255 through the UFS HCI 1150.
  • The electronic device 1000 may communicate with an external device/system through communication modules, such as a worldwide interoperability for microwave access (WiMAX) 1260, a wireless local area network (WLAN) 1262, and an ultra-wideband (UWB) 1264. The electronic device 1000 may further include a speaker 1270 and a microphone 1275, which are used to process voice information. The electronic device 1000 may further include a global positioning system (GPS) device 1280 for processing position information. The electronic device 1000 may further include a bridge chip 1290 for managing connection with peripheral devices.
  • In the above example embodiments, components according to the inventive concepts are described by using the terms “first”, “second”, “third”, and the like. However, the terms “first”, “second”, “third”, and the like may be used to distinguish components from each other and do not limit the inventive concepts. For example, the terms “first”, “second”, “third”, and the like do not involve an order or a numerical meaning of any form.
  • In the above example embodiments, components according to example embodiments of the inventive concepts are described by using blocks. The blocks may be implemented as processing circuitry with various hardware devices, such as an integrated circuit, an application specific IC (ASCI), a field programmable gate array (FPGA), and a complex programmable logic device (CPLD), firmware driven in hardware devices, software such as an application, or a combination of a hardware device and software. Also, the blocks may include circuits implemented with semiconductor elements in an integrated circuit or circuits enrolled as intellectual property (IP).
  • According to the inventive concepts, time lengths of intervals between transition timings of received signals are detected, and a difference between the time lengths of the intervals decreases by adjusting delay amounts of the received signals. Accordingly, an electronic device capable of detecting and calibrating a skew and an operating method of the electronic device are provided.
  • While the inventive concepts have been described with reference to example embodiments thereof, it will be apparent to those of ordinary skill in the art that various changes and modifications may be made thereto without departing from the spirit and scope of the inventive concepts as set forth in the following claims.

Claims (20)

What is claimed is:
1. An electronic device comprising:
processing circuitry configured to
receive a signal of a first signal line and a signal of a second signal line and to output a difference between the signal of the first signal line and the signal of the second signal line as a first signal;
receive the signal of the second signal line and a signal of a third signal line and to output a difference between the signal of the second signal line and the signal of the third signal line as a second signal;
receive the signal of the third signal line and the signal of the first signal line and to output a difference between the signal of the third signal line and the signal of the first signal line as a third signal;
adjust a first delay amount in response to a first code, and output a fourth signal by delaying the first signal as much as the first delay amount;
adjust a second delay amount in response to a second code, and output a fifth signal by delaying the second signal as much as the second delay amount;
adjust a third delay amount in response to a third code, and output a sixth signal by delaying the third signal as much as the third delay amount;
generate a pulse signal based on the fourth signal, the fifth signal, and the sixth signal;
detect lengths of intervals of the pulse signal, which have a high level, and to output fourth codes indicating the lengths of the intervals, respectively; and
adjust at least one of the first code, the second code, and the third code based on the fourth codes.
2. The electronic device of claim 1, wherein the processing circuitry is further configured to:
generate a seventh signal by performing an exclusive NOR operation on the fourth signal and the fifth signal;
generate an eighth signal by performing an exclusive NOR operation on the fifth signal and the sixth signal; and
generate a ninth signal by performing an exclusive NOR operation on the sixth signal and the fourth signal.
3. The electronic device of claim 2, wherein the processing circuitry is further configured to sequentially output the seventh signal, the eighth signal, and the ninth signal.
4. The electronic device of claim 3, wherein the processing circuitry is further configured such that the intervals having the high level are output at least twice, when one of the seventh signal, the eighth signal, and the ninth signal is output.
5. The electronic device of claim 3, wherein the processing circuitry is further configured to output one of the seventh signal, the eighth signal, and the ninth signal during a time belonging to a range of 6 to 12 unit intervals.
6. The electronic device of claim 1, wherein the processing circuitry is further configured to output, as the pulse signal, a first pulse signal having the high level when the fourth signal and the fifth signal are at a low level, a second pulse signal having the high level when the fifth signal and the sixth signal are at the low level, and a third pulse signal having the high level when the sixth signal and the fourth signal are at the low level.
7. The electronic device of claim 6, wherein the processing circuitry is further configured to receive a first length of an interval of the high level of the first pulse signal, a second length of an interval of the high level of the second pulse signal, and a third length of an interval of the high level of the third pulse signal from the detector through the fourth codes.
8. The electronic device of claim 7, wherein the processing circuitry is further configured to:
detect a first difference between lengths, which respectively correspond to a middle length and a short length smaller than the middle length, from among the first length, the second length, and the third length and a second difference between lengths, which respectively correspond to the middle length and a long length greater than the middle length, from among the first length, the second length, and the third length; and
calculate a third difference being an average of the first difference and the second difference.
9. The electronic device of claim 8, wherein, in terms of a clockwise direction of the first length, the second length, and the third length, when the clockwise direction is a direction facing the long length from the short length through the middle length, the processing circuitry is configured to adjust a corresponding code of the first code, the second code, and the third code so as to delay a signal not associated with the middle length from among the first signal, the second signal, and the third signal as much as the third difference.
10. The electronic device of claim 8, wherein, in terms of a clockwise direction of the first length, the second length, and the third length, when the clockwise direction is a direction facing the short length from the long length through the middle length, the processing circuitry is configured to adjust corresponding codes of the first code, the second code, and the third code so as to delay signals associated with the middle length from among the first signal, the second signal, and the third signal as much as the third difference.
11. The electronic device of claim 8, wherein the processing circuitry is further configured to adjust the at least one of the first code, the second code, and the third code based on the third difference, and
wherein, until at least one of the first difference, the second difference, and the third difference becomes smaller than a threshold, the processing circuitry is further configured to repeat detecting the first difference, the second difference, and the third difference and adjusting the at least one of the first code, the second code, and the third code.
12. The electronic device of claim 1, wherein the processing circuitry is further configured to:
receive the fourth signal, the fifth signal, and the sixth signal, to receive a fifth code, and to recover a clock signal from the fourth signal, the fifth signal, and the sixth signal by using the fifth code,
wherein, after adjusting the at least one of the first code, the second code, and the third code, the processing circuitry is further configured to receive the fifth code indicating the lengths of the intervals and to provide the fifth code.
13. The electronic device of claim 1, wherein the processing circuitry is further configured to receive the fourth signal, the fifth signal, and the sixth signal, to receive a fifth code, and to recover a clock signal from the fourth signal, the fifth signal, and the sixth signal by using the fifth code,
wherein, after adjusting the at least one of the first code, the second code, and the third code, the processing circuitry is further configured to allow the detector to output the fifth code indicating the lengths of the intervals to the clock recovery circuit.
14. The electronic device of claim 1, wherein the processing circuitry is further configured to recover a clock signal from the fourth signal, the fifth signal, and the sixth signal; and
receive the fourth signal, the fifth signal, and the sixth signal, to receive the clock signal, and to recover a first receive signal, a second receive signal, and a third receive signal from the fourth signal, the fifth signal, and the sixth signal by using the fifth code and the clock signal,
wherein, after adjusting the at least one of the first code, the second code, and the third code, the processing circuitry is further configured to receive the fifth code indicating the lengths of the intervals and to provide the fifth code.
15. The electronic device of claim 1, wherein the processing circuitry is further configured to recover a clock signal from the fourth signal, the fifth signal, and the sixth signal; and
receive the fourth signal, the fifth signal, and the sixth signal, to receive a fifth code, to receive the clock signal, and to recover a first receive signal, a second receive signal, and a third receive signal from the fourth signal, the fifth signal, and the sixth signal by using the fifth code and the clock signal,
wherein, after adjusting the at least one of the first code, the second code, and the third code, the processing circuitry is further configured to allow the detector to output the fifth code indicating the lengths of the intervals.
16. An electronic device comprising:
processing circuitry configured to
output a first signal, a second signal, and a third signal;
detect differences of time lengths of intervals between transition timings of the first signal, the second signal, and the third signal and to generate a fourth signal, a fifth signal, and a sixth signal by delaying at least one of the first signal, the second signal, and the third signal such that the differences of the time lengths decrease, while the first signal, the second signal, and the third signal alternately transition during a preamble interval; and
recover a clock signal, and a first receive signal, a second receive signal, and a third receive signal by using the fourth signal, the fifth signal, and the sixth signal.
17. The electronic device of claim 16, wherein the processing circuitry is further configured to:
perform an exclusive NOR operation on two signals of the first signal, the second signal, and the third signal to generate a pulse signal; and
detect a corresponding one of the differences of the time lengths by detecting a width of the pulse signal.
18. The electronic device of claim 16, wherein the processing circuitry is further configured to select the at least one signal targeted for a delay from among the first signal, the second signal, and the third signal along a direction in which the differences of the time lengths vary.
19. An operating method of an electronic device, comprising:
receiving a first signal, a second signal, and a third signal alternately transitioning in a preamble interval;
detecting unit intervals between two transition timings being the closest in time from among transition timings of the first signal, the second signal, and the third signal;
performing skew calibration by delaying at least one of the first signal, the second signal, and the third signal by using the unit intervals;
recovering a clock signal from the first signal, the second signal, and the third signal, after the skew calibration is completed; and
recovering data from the first signal, the second signal, and the third signal, by using the clock signal.
20. The operating method of claim 19, wherein the performing of the skew calibration includes:
delaying at least one of the first signal, the second signal, and the third signal such that differences between the unit intervals decrease.
US16/990,068 2020-01-06 2020-08-11 Electronic device and operating method of electronic device Active US11070350B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
DE102020126665.0A DE102020126665A1 (en) 2020-01-06 2020-10-12 Electronic device and method of operation for an electronic device

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
KR1020200001624A KR20210088807A (en) 2020-01-06 2020-01-06 Electronic device and operating method of electronic device
KR10-2020-0001624 2020-01-06

Publications (2)

Publication Number Publication Date
US20210211266A1 true US20210211266A1 (en) 2021-07-08
US11070350B1 US11070350B1 (en) 2021-07-20

Family

ID=76609109

Family Applications (1)

Application Number Title Priority Date Filing Date
US16/990,068 Active US11070350B1 (en) 2020-01-06 2020-08-11 Electronic device and operating method of electronic device

Country Status (2)

Country Link
US (1) US11070350B1 (en)
KR (1) KR20210088807A (en)

Family Cites Families (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9130735B2 (en) 2013-07-22 2015-09-08 Qualcomm Incorporated Multi-phase clock generation method
US10289600B2 (en) 2013-08-08 2019-05-14 Qualcomm Incorporated Reducing transmitter encoding jitter in a C-PHY interface using multiple clock phases to launch symbols
US9571308B1 (en) 2013-12-27 2017-02-14 Clariphy Communications, Inc. High speed transceiver
US9246666B2 (en) * 2014-03-27 2016-01-26 Intel Corporation Skew tolerant clock recovery architecture
US9319218B2 (en) 2014-06-25 2016-04-19 Qualcomm Incorporated Multi-wire signaling with matched propagation delay among wire pairs
JP6372202B2 (en) 2014-07-07 2018-08-15 ソニー株式会社 Reception device, transmission device, and communication system
US9473291B2 (en) 2014-07-08 2016-10-18 Intel Corporation Apparatuses and methods for reducing switching jitter
US9866413B2 (en) * 2015-01-28 2018-01-09 Mediatek Inc. Transition enforcing coding receiver for sampling vector signals without using clock and data recovery
JP2017135506A (en) 2016-01-26 2017-08-03 株式会社日立製作所 Skew adjustment circuit, semiconductor device, and skew calibration method
US10128964B2 (en) * 2016-03-10 2018-11-13 Qualcomm Incorporated Multiphase preamble data sequences for receiver calibration and mode data signaling
US10742390B2 (en) * 2016-07-13 2020-08-11 Novatek Microelectronics Corp. Method of improving clock recovery and related device
US10419246B2 (en) 2016-08-31 2019-09-17 Qualcomm Incorporated C-PHY training pattern for adaptive equalization, adaptive edge tracking and delay calibration
US9735950B1 (en) * 2016-10-18 2017-08-15 Omnivision Technologies, Inc. Burst mode clock data recovery circuit for MIPI C-PHY receivers
US10284361B2 (en) 2017-05-05 2019-05-07 Mediatek Inc. Channel skew calibration method and associated receiver and system
US10437744B2 (en) 2017-12-18 2019-10-08 Intel Corporation Reconfigurable camera serial interface
US10243614B1 (en) 2018-01-26 2019-03-26 Kandou Labs, S.A. Method and system for calibrating multi-wire skew
JP7058146B2 (en) 2018-03-02 2022-04-21 シナプティクス インコーポレイテッド Receiver and data reception method
US10630295B2 (en) * 2018-04-23 2020-04-21 Synaptics Incorporated Device and method for detecting signal state transition
US10469214B1 (en) * 2018-12-13 2019-11-05 Intel Corporation Clock recovery circuit and method of operating same
US11012059B2 (en) * 2019-05-08 2021-05-18 Sony Corporation Clock recovery based on digital signals

Also Published As

Publication number Publication date
US11070350B1 (en) 2021-07-20
CN113078886A (en) 2021-07-06
KR20210088807A (en) 2021-07-15

Similar Documents

Publication Publication Date Title
US10284360B2 (en) Electronic circuit adjusting delay depending on communication condition
US10868541B1 (en) Code generator including asynchronous counter and synchronous counter, and operating method thereof
US7467251B2 (en) Flash memory data storage apparatus
US11200928B2 (en) Memory controller and operating method with read margin control circuit determining data valid window
US9515686B2 (en) Signal transmitting circuit using common clock, and storage device therewith
US9877286B2 (en) Signal transmitting circuit to reduce power in standby state
US8184680B2 (en) Data transceiver system and associated methods
US20220231829A1 (en) Electronic device and operating method of electronic device
US11070350B1 (en) Electronic device and operating method of electronic device
US11018658B1 (en) Electronic device and operating method of electronic device
US10985742B2 (en) Operation method of signal receiver, pulse width controller, and electronic device including the same
US11057226B1 (en) Electronic device detecting change of power mode based on external signal
CN113078886B (en) Electronic device and operation method of electronic device
US20160013957A1 (en) Pulse width modulation data recovery device and driving method thereof
US20160226503A1 (en) Interface circuit for high speed communication, and semiconductor apparatus and system including the same
US9660617B2 (en) Semiconductor apparatus
US9798694B2 (en) Interface circuit for high speed communication, and semiconductor apparatus and system including the same
CN112068797B (en) Read clock generation circuit and data processing circuit including the same
US10491203B2 (en) Duty cycle correctors and methods of operating the same
US20230269064A1 (en) Data embedded clock signaling transceiver and system comprising the same
KR20230124460A (en) Data embedded clock signaling transceiver and system comprising the same
CN116633370A (en) Data transmitter, data receiver, and data transmitting and receiving system

Legal Events

Date Code Title Description
FEPP Fee payment procedure

Free format text: ENTITY STATUS SET TO UNDISCOUNTED (ORIGINAL EVENT CODE: BIG.); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY

AS Assignment

Owner name: SAMSUNG ELECTRONICS CO., LTD., KOREA, REPUBLIC OF

Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNOR:MIN, WOONGKI;REEL/FRAME:053507/0028

Effective date: 20200728

STCF Information on status: patent grant

Free format text: PATENTED CASE