Nothing Special   »   [go: up one dir, main page]

CN114629493A - Physical layer circuit for multi-wire interface - Google Patents

Physical layer circuit for multi-wire interface Download PDF

Info

Publication number
CN114629493A
CN114629493A CN202210277668.5A CN202210277668A CN114629493A CN 114629493 A CN114629493 A CN 114629493A CN 202210277668 A CN202210277668 A CN 202210277668A CN 114629493 A CN114629493 A CN 114629493A
Authority
CN
China
Prior art keywords
signal
pads
phy
pad
coupled
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.)
Pending
Application number
CN202210277668.5A
Other languages
Chinese (zh)
Inventor
章晋祥
张原熏
吕岳全
王怀德
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.)
M31 Technology Corp
Original Assignee
M31 Technology Corp
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
Priority claimed from US15/956,709 external-priority patent/US20190158127A1/en
Application filed by M31 Technology Corp filed Critical M31 Technology Corp
Publication of CN114629493A publication Critical patent/CN114629493A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03KPULSE TECHNIQUE
    • H03K19/00Logic circuits, i.e. having at least two inputs acting on one output; Inverting circuits
    • H03K19/0175Coupling arrangements; Interface arrangements
    • H03K19/0185Coupling arrangements; Interface arrangements using field effect transistors only
    • H03K19/018507Interface arrangements
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03KPULSE TECHNIQUE
    • H03K19/00Logic circuits, i.e. having at least two inputs acting on one output; Inverting circuits
    • H03K19/20Logic circuits, i.e. having at least two inputs acting on one output; Inverting circuits characterised by logic function, e.g. AND, OR, NOR, NOT circuits
    • H03K19/21EXCLUSIVE-OR circuits, i.e. giving output if input signal exists at only one input; COINCIDENCE circuits, i.e. giving output only if all input signals are identical

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Physics & Mathematics (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Mathematical Physics (AREA)
  • Semiconductor Integrated Circuits (AREA)

Abstract

The invention discloses a physical layer circuit, which specifically comprises: n signal pads, including at least four or six signal pads; a four-signal or six-signal entity medium additional sublayer; and M shielding connecting pads. The M shield pads include a first shield pad coupled to the four signal entity medium additional sublayers, or first to third shield pads coupled to the six signal entity medium additional sublayers. The first shielding connecting pad is positioned between a second signal connecting pad and a third signal connecting pad in the signal connecting pads; the second shielding pad is located between the third signal pad and a fourth signal pad of the signal pads; the third shielding pad is located between the fourth signal pad and a fifth signal pad of the signal pads, and M and N are positive integers.

Description

Physical layer circuit for multi-wire interface
The invention is a divisional application with application date of 2018, 07, 19 and application number of 201810799479.8, entitled "physical layer circuit for multi-wire interface".
Technical Field
The present invention relates to a multi-wire data interface, and more particularly, to a phy layer circuit and phy additional sublayer for different phy layer modes of a multi-wire data interface.
Background
Mobile devices such as smart phones include various components for different purposes, such as application processors (application processors), displays, CMOS image sensors, and the like. These elements need to be interconnected by a physical interface, e.g. the application processor may provide frame data to the display via an interface to present visual content. Alternatively, the CMOS image sensor may provide the sensed image data to the application processor through an interface to output a photograph or video.
The MIPI specification established by the Mobile Industry Processor Interface (MIPI) alliance is widely used for the communication of signals and data between the elements of the Mobile device. MIPI D-PHY is one of the MIPI specifications. In the MIPI D-PHY interface, communication is achieved through one clock lane and one to four data lanes. Each data lane contains a differential signal pair. The clock channels are used for transmitting differential clock signals, and each data channel is used for transmitting differential data signals.
To meet the high-speed transmission requirements of specific data (e.g., image data), the MIPI alliance has newly developed and defined the MIPI C-PHY specification. In the MIPI C-PHY interface, communication is performed through three signal lines. The signal lines respectively transmit three-valued signals, which can be converted into binary logic signals. One feature of the MIPI C-PHY is to embed a clock in the data signal, and the receiving end performs clock and data recovery when receiving the data signal.
While the MIPI C-PHY interface can efficiently enable high speed signal communication and can provide high throughput, this interface is not essential to all elements and requirements in the mobile device. It would be quite acceptable for the manufacturer if the vendor could provide functional blocks and/or integrated circuits that are applicable to both specifications. Therefore, there is a need to provide integrated circuits or semiconductor devices that support the MIPI D-PHY and MIPI C-PHY specifications.
Disclosure of Invention
It is an object of the present invention to provide a physical layer circuit and multiple signal physical media additional sub-layer for different physical layer modes of a multi-wire (multi-wire) interface. The physical layer circuit and physical media addition sublayer proposed by the present invention has been designed to take into account the difference in signal characteristics between different physical layer modes, such as MIPI D-PHY and MIPI C-PHY. A two-in-one physical layer (combo PHY) device is thereby realized that can seamlessly connect with either a MIPI D-PHY based device or a MIPI C-PHY based device.
An embodiment of the present invention provides a physical layer circuit, including: n signal pads, including at least four signal pads; a four signal physical media additional sublayer coupled to the four signal pads; and M shielding connection pads, including at least one first shielding connection pad coupled to the four signal entity medium additional sub-layers. The first shielding pad is located between a second signal pad and a third signal pad of the four signal pads, and M and N are positive integers.
An embodiment of the present invention provides a physical layer circuit, including: n signal pads, including at least six signal pads; a six-signal physical medium additional sublayer coupled to the six signal pads; and M shielding connection pads comprising at least one first shielding connection pad, one second shielding connection pad and one third shielding connection pad which are respectively coupled with the six signal entity medium additional sub-layers. The first shielding pad is located between a second signal pad and a third signal pad of the six signal pads; the second shielding pad is located between the third signal pad and a fourth signal pad of the six signal pads; the third shielding pad is located between the fourth signal pad and a fifth signal pad of the six signal pads, wherein M and N are positive integers.
An embodiment of the present invention provides a physical layer circuit, including: n signal pads, including at least four signal pads; and a four signal physical media additional sublayer coupled to the four signal pads. The four-signal physical medium additional sublayer further comprises a four-signal termination circuit. The four-signal termination circuit includes: four adjustable resistive elements, each coupled to one of the four signal pads; a conductive line coupled between a terminal of a first adjustable resistive element and a terminal of a second adjustable resistive element; a first switch selectively coupled between a terminal of the second adjustable resistive element and a terminal of a third adjustable resistive element; and a second switch selectively coupled between the terminal of the third adjustable resistive element and a terminal of a fourth adjustable resistive element. Wherein the first switch is controlled by a switch control signal and the second switch is controlled by an inverted version of the switch control signal.
An embodiment of the present invention provides a physical layer circuit, including: n signal pads, including at least six signal pads; and the six signal entity medium additional sublayers are coupled to the six signal connecting pads. The six signal entity media additional sublayers include: and the six signal terminal circuits are coupled with the six signal connecting pads. The six-signal termination circuit includes: six adjustable resistive elements, each coupled to one of the six signal pads; a first conductive line coupled between a terminal of a first adjustable resistive element and a terminal of a second adjustable resistive element; a second conductive line coupled between a terminal of a fifth adjustable resistive element and a terminal of a sixth adjustable resistive element; a first switch selectively coupled between the terminal of the second adjustable resistive element and a terminal of a third adjustable resistive element; and a second switch selectively coupled between the terminal of the third adjustable resistive element and a terminal of a fourth adjustable resistive element; a third switch selectively coupled between the terminal of the fourth adjustable resistive element and the terminal of a fifth adjustable resistive element. Wherein the first switch and the third switch are controlled by a switch control signal, and the second switch is controlled by an inverted version of the switch control signal.
Drawings
Fig. 1 shows a PHY circuit comprising a four-signal PMA supporting a dual lane PHY mode and a three lane PHY mode, in accordance with an embodiment of the present invention.
Fig. 2 illustrates how embodiments of the invention reduce the number of deserializers in a PMA.
Fig. 3 shows an embodiment of a PHY circuit comprising a six signal PMA supporting a dual lane PHY mode and a three lane PHY mode.
FIG. 4 shows how the clock signal is utilized to process the data signals at different stages according to an embodiment of the present invention.
Fig. 5 shows a signal pad layout for a PHY circuit including a four-signal PMA according to an embodiment of the present invention.
Fig. 6 shows a signal pad layout for a PHY circuit including a six-signal PMA according to an embodiment of the present invention.
Fig. 7 and 8 show the layout of signal pads including esd protection and pad shielding.
Fig. 9A-9C are prior art termination circuits suitable for use in a two-lane PHY mode and a three-lane PHY mode.
Fig. 10A-10D show a termination circuit for a four-signal PMA according to an embodiment of the invention.
Fig. 11A-11D show a termination circuit for a six-signal PMA according to an embodiment of the present invention.
Fig. 12 is a CDR circuit for use in a receiver of a three-wire communication link in accordance with one embodiment of the present invention.
Fig. 13 is a signal timing diagram for a CDR circuit having a duty cycle correction circuit.
FIG. 14 is a detailed circuit diagram of one embodiment of a duty cycle correction circuit.
Fig. 15 and 16 are signal timing diagrams for explaining the operation of the duty cycle correction circuit of fig. 14.
Fig. 17 is a detailed circuit diagram of another embodiment of the duty cycle correction circuit.
Fig. 18 is a signal timing diagram for explaining the operation of the duty correction circuit of fig. 17.
Fig. 19 is a CDR circuit for use in a receiver of a three-wire communication link in accordance with another embodiment of the present invention.
Fig. 20 is a signal timing diagram explaining the operation of the delay correction circuit of fig. 19.
Reference numerals
800. 900, 110, 210, 411, 412 physical media additional sub-layers
600 terminal circuit
811-813, 911-916 differential amplifier
821. 822, 1110, 1112, 921, 923, 925S/H circuits
823. 1111, 922, 924, 1010, 1200 CDR circuit
831. 832, 833, 1120, 931-
840. 1130, 941, 942, 1030 buffer
845. 1035, 943 and 944 symbol decoder
850. 1040, 951, 952 data processing unit
100. 200, 300, 400 physical layer circuit
320. 322, 420, 422 ESD protection circuit
330. 430 physical coding sublayer
500. 600, 700 terminal circuit
1210-
1221-1223, 2021-2023, 2091-2092 XOR gate
1231-1233, 2031-2033 latches
1240. 2040 OR gate
1250. 1500, 1800 duty cycle correction circuit
1260. 2060 alignment delay unit
1281-1282-2081-2082 sampling unit
1271-1272 and 2071-2072 frequency eliminator
1511-
1520 TDC
1530. 1820 digital control logic
1540. 1830 NAND gate
1550. 1840 programmable delay line
1810 comparator
2000 delay adjusting unit
Detailed Description
In the following description, numerous specific details are set forth in order to provide a thorough understanding of embodiments of the invention to the reader. However, those skilled in the art will understand how to implement the invention without one or more of the specific details, or with other methods or elements or materials, etc. In other instances, well-known structures, materials, or operations are not shown or described in detail to avoid obscuring aspects of the invention.
Reference in the specification to "one embodiment" or "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment may be included in at least one embodiment of the invention. Thus, the appearances of the phrase "in one embodiment" appearing in various places throughout the specification are not necessarily all referring to the same embodiment. Furthermore, the particular features, structures, or characteristics described above may be combined in any suitable manner in one or more embodiments.
The present invention generally provides a four-signal (four-signal) physical media attachment sublayer (PMA) and/or a six-signal (six-signal) PMA in a physical layer circuit (PHY) of a receiver for communicative interfacing with a PHY specification conforming to the MIPI C-PHY specification or other type that uses three signal lines to form lanes (hereinafter referred to as a three-wire lane (PHY)) and with a PHY specification conforming to the MIPI C-PHY specification or other type that uses two signal lines to form lanes (hereinafter referred to as a two-wire lane (PHY)) of the receiver. In an embodiment of the present invention, the four-signal PMA and the six-signal PMA may be implemented in the form of an Intellectual Property (IP) core, an IP block or a functional block to improve design productivity and to facilitate management of highly complex integrated circuit development.
Both the four-signal PMA and the six-signal PMA of the present invention may be configured to operate in one of a MIPI D-PHY mode (or other type of two-wire PHY mode) and a MIPI C-PHY mode (or other type of three-wire PHY mode). For each of them, a four-signal PMA may provide two "two-wire" channels or one "three-wire" channel for one communication link, while a six-signal PMA may provide three "two-wire" channels or two "three-wire" channels for one communication link.
Due to the signal characteristics of these different PHY modes, different signal processing procedures/hardware resources are required to process signals that conform to different PHY specifications. The present invention provides pad arrangements, termination circuits, desequence structures and clock and data recovery circuits for four-signal and six-signal PMA as described below.
Inventive ensemble
Please refer to fig. 1, which is a diagram illustrating a portion of a PHY circuit according to an embodiment of the present invention. As shown, the PHY circuit includes a four-signal PMA 800 and four signal pads D0P _ T0A, D0N _ T0B, D1P _ T0C, and D1N, and a four-signal termination circuit 600. The signal pads D0P _ T0A, D0N _ T0B, D1P _ T0C and D1N are respectively coupled to the differential amplifier 811-813 in the four-signal PMA 800. The four-signal termination circuit 600 is further coupled to the signal pads D0P _ T0A, D0N _ T0B, D1P _ T0C, and D1N, respectively. Thus, the differential amplifiers 811-813 are coupled to the terminal circuits 600, respectively.
Typically, the four signal PMA 800 in this embodiment supports a two-wire-lane PHY mode (e.g., MIPI D-PHY) and a three-wire-lane PHY mode (e.g., MIPI C-PHY). When the four-signal PMA 800 is configured as a MIPI D-PHY mode and operates in a MIPI D-PHY mode on a communication link for MIPI D-PHY, it can support 2 two-wire channels, with signal pads D0P _ T0A and D0N _ T0B connected to the first two-wire channel and signal pads D1P _ T0C and D1N connected to the second two-wire channel. Alternatively, when the four-signal PMA 800 is set to MIPI C-PHY mode and is operating on a communication link for MIPI C-PHY in MIPI C-PHY mode, the signal pads D0P _ T0A, D0N _ T0B and D1P _ T0C are connected to a three-wire channel.
In the case of MIPI D-PHY mode/signal wiring, signal pads D0P _ T0A and D0N _ T0B are coupled to differential amplifier 811, and differential amplifier 811 outputs differential signal D0 based on the difference between the signals on signal pads D0P _ T0A and D0N _ T0B. Signal pads D1P _ T0C and D1N are coupled to differential amplifier 813 through switches, and differential amplifier 813 outputs differential signal D1 based on the difference between the signals on signal pads D1P _ T0C and D1N. In addition, a first signal processing block is coupled to the differential amplifier 811. Also, the first signal processing block is used to process the differential signal D0 when the four-signal PMA 800 operates in MIPI D-PHY mode. A third signal processing block is coupled to the differential amplifier 811. Also, the third signal processing block is used to process the differential signal D1 when the four-signal PMA 800 operates in the MIPI D-PHY mode.
In one embodiment, the first signal processing block comprises a sample and hold (S/H) circuit 821. The S/H circuit 821 generates sequence data signals D0[ 1:0] and a clock signal D0_ CK. The third signal processing block includes at least an S/H circuit 823, and the S/H circuit 823 generates sequence data signals D1[1:0] and a clock signal D1_ CK.
In one embodiment, the first signal processing block may also include a 2-to-8deserializer 831 coupled to the S/H circuit 821. The S/H circuit 821 outputs a data signal D0[ 1:0] and a clock signal D0_ CK to the 2-8 deserializer 831. The 2-to-8deserializer 831 deserializes them to produce a plurality of parallel data signals D0[ 7: 0] and a clock signal D0_ BCK. The third signal processing block may also include a 2-to-8deserializer 833 coupled to the S/H circuit 823. The S/H circuit 823 converts the data signal D1[1:0] and the clock signal D1_ CK to the 2-to-8deserializer 833. The 2-to-8deserializer 833 performs deserializing operations on them to produce a plurality of parallel data signals D1[ 7: 0] and a clock signal D1_ BCK.
In the case of MIPI C-PHY mode/signal connections, signal pads D0P _ T0A, D0N _ T0B and D1P _ T0C are coupled to differential amplifiers 811-813. The differential amplifier 811 outputs a differential signal T0AB based on the difference between the signals on the signal pads D0P _ T0A and D0N _ T0B. The differential amplifier 812 outputs a differential signal T0CA based on the difference between the signals on the signal pads D1P _ T0C and D0P _ T0A. The differential amplifier 813 outputs a differential signal T0BC based on the difference between the signals on the signal pads D0P _ T0B and D1P _ T0C. The differential amplifiers 811-813 are coupled to a second signal processing block. The second signal processing block is used to process the differential signals T0AB, T0BC, and T0CA when the four-signal PMA 800 operates in MIPI C-PHY mode.
In one embodiment, the second signal processing block includes a C-PHY Clock and Data Recovery (CDR) circuit 822, and the C-PHY CDR circuit 822 generates a set of sequence data signals T0AB [1: 0), T0BC [1:0] and T0CA [1:0] and the corresponding clock signal T0_ CK.
In one embodiment, the second signal processing block includes at least a 2-to-8deserializer 832 coupled to the C-PHY CDR circuit 822. C-PHY CDR circuit 822 outputs signal T0AB [1:0], T0BC [1:0] and T0CA [1:0] and T0_ CK to the 2-8 deserializer 832. The 2-8 deserializer 832 generates a clock signal T0CK to the clock signal T0AB [1: 0), T0BC [1:0] and T0CA [1:0] to produce a set of parallel data signals T0AB [ 7: 0), T0BC [ 7: 0], T0CA [ 7: 0] and the corresponding clock signal T0_ BCK.
The 2-to-8deserializer 832 is further coupled to an 8-to-7 first-in, first-out buffer (FIFO) 840, and the 8-to-7 FIFO 840 converts the 8-bit data signal T0AB [ 7: 0), T0BC [ 7: 0] and T0CA [ 7: 0] to 7 bits long. The 8-to-7 FIFO 840 is coupled to a 7 symbol decoding unit (7-symbol decoding unit) 845. The 7 symbol decoding unit 845 is used for decoding the data signal read from the 8-to-7 FIFO 840, thereby generating data symbols. The 7 symbol decoding unit 845 is coupled to the data processing unit 850. The data processing unit 850 is used for processing the data symbols output by the 7 symbol decoding unit 845. The data processing unit 850 may include a 7-symbol to 16-bit demapper (demapper) for demapping each 7 symbols received from the 7-symbol decoding unit 845 into a 16-bit data word.
Further, the 8 to 7 FIFO 840, the 7 symbol decoding unit 845, and the data processing unit 850 collectively function as a C-PHY decoding processor 860 in the four-signal PMA 800. Further, the order of the 8 to 7 FIFOs and the 7 symbol decoding units in the four-signal PMA 800 is interchangeable. According to various embodiments of the present invention, the symbol decoding unit may be disposed before the FIFO (refer to applicant's U.S. patent application No. 15/956,709, which discloses the architecture of the symbol decoding unit before the FIFO).
Since the four-signal PMA 800 may not operate in the MIPI D-PHY mode and the MIPI C-PHY mode simultaneously, the number of 2 to 8 deserializers configured in the four-signal PMA 800 may be reduced. Please refer to fig. 2 for further understanding. When operating in MIPI D-PHY mode, S/ H circuits 1110 and 1112 may share the same 2-to-8deserializer 1120, and the 2-to-8deserializer 1120 deserializes data signal D0[ 1:0] and D1[1:0] were deserialized. On the other hand, when operating in MIPI C-PHY mode, the C-PHY CDR circuit 1111 only needs one 2-to-8deserializer 1120, and the 2-to-8deserializer 1120 performs a deserialization of the data signal T0AB [1: 0), T0BC [1:0] and T0CA [1:0] deserializing. This implementation significantly improves the circuit area utilization efficiency compared to the three separate deserializers 831-833 required for the four-signal PMA 800 of fig. 1.
Figure 3 is another embodiment of the present invention that supports both MIPI D-PHY communication links and MIPI C-PHY communication links. As shown, the PHY circuitry in fig. 3 includes a six-signal PMA 900, signals D0P _ T0A, D0N _ T0B, D1P _ T0C, D1N _ T1A, D2P _ T1B and D2N _ T1C, and a six-signal termination circuit 700. The signal pads D0P _ T0A, D0N _ T0B, D1P _ T0C, D1N _ T1A, D2P _ T1B and D2N _ T1C are respectively coupled to the differential amplifier 911-916 of the 6-signal PMA 900. Six signal termination circuits 700 are also coupled to signal pads D0P _ T0A, D0N _ T0B, D1P _ T0C, D1N _ T1A, D2P _ T1B, and D2N _ T1C, respectively. Thus, differential amplifiers 911-916 are coupled to the six-signal termination circuit 700, respectively.
When six-signal PMA 900 is set to MIPI D-PHY mode and is operating in MIPI D-PHY based communication links in MIPI D-PHY mode, signal pads D0P _ T0A and D0N _ T0B are connected to a first two-wire channel in MIPI D-PHY communication links, signal pads D1P _ T0C and D1N _ T1A are connected to a second two-wire channel in MIPI D-PHY communication links, and pads D2P _ T1C and D2N _ T1C are connected to a third two-wire channel in MIPI D-PHY communication links. Alternatively, when six signal PMA 900 is set to MIPI C-PHY mode and is operating in MIPI C-PHY based communication link in MIPI C-PHY mode, signal pads D0P _ T0A, D0N _ T0B and D1P _ T0C are connected to a first three-wire channel in MIPI C-PHY communication link, and signal pads D1N _ T1A, D2P _ T1B and D2N _ T1C are connected to a second three-wire channel in MIPI C-PHY communication link.
In the case of MIPI D-PHY mode/communication links, signal pads D0P _ T0A and D0N _ T0B are coupled to differential amplifier 911, and differential amplifier 911 outputs differential signal D0 based on the difference between the signals on signal pads D0P _ T0A and D0N _ T0B. The signal pads D1P _ T0C and D1N _ T1A are coupled to the differential amplifier 913 through switches, and the differential amplifier 913 outputs a differential signal D1 based on the difference between the signals on the signal pads D1P _ T0C and D1N _ T1A. The signal pads D2P _ T1B and D2N _ T1C are coupled to the differential amplifier 916 through switches, and the differential amplifier 916 outputs a differential signal D2 based on the difference between the signals on the signal pads D2P _ T1B and D2N _ T1C. Further, the first signal processing block is coupled to the differential amplifier 911 and is used to process the differential signal D0 when the six-signal PMA 900 operates in the MIPI D-PHY mode. The third signal processing block is coupled to the differential amplifier 913 and is used to process the differential signal D1 when the six-signal PMA 900 operates in the MIPI D-PHY mode. The fifth signal processing block is coupled to the differential amplifier 916 and is used to process the differential signal D2 when the six-signal PMA 900 operates in the MIPI D-PHY mode.
In one embodiment, the first signal processing block includes at least an S/H circuit 921. The S/H circuit 921 generates the sequence data signal D0[ 1:0] and a clock signal D0_ CK. The third signal processing block includes at least an S/H circuit 923, and the S/H circuit 923 generates the sequence data signal D1[1:0] and a clock signal D1_ CK. The fifth signal processing block includes at least an S/H circuit 925, the S/H circuit 925 generating a sequence data signal D2[ 1:0] and a clock signal D2_ CK.
In one embodiment, the first signal processing block may further include a 2-to-8deserializer 931 coupled to the S/H circuit 921. The S/H circuit 921 outputs a data signal D0[ 1:0] and a clock signal D0_ CK to the 2-to-8deserializer 931. The 2-to-8deserializer 931 performs a deserializing operation on the signals to generate a plurality of parallel data signals D0[ 7: 0] and a clock signal D0_ BCK. The third signal processing block may further include a 2-to-8deserializer 933 coupled to the S/H circuit 923. The S/H circuit 923 outputs a data signal D1[1:0] and clock signal D1_ CK to a 2-to-8deserializer 933. The 2-to-8deserializer 933 deserializes the signals to produce a plurality of parallel data signals D1[ 7: 0] and a clock signal D1_ BCK. The fifth signal processing block may also include a 2-to-8deserializer 935 coupled to the S/H circuit 925. The S/H circuit 925 outputs a data signal D2[ 1:0] and a clock signal D2_ CK to the 2-to-8deserializer 935. The 2-to-8deserializer 935 deserializes the signals to produce a plurality of parallel data signals D2[ 7: 0] and a clock signal D2_ BCK.
In the case of MIPI C-PHY mode/communication links, signal pads D0P _ T0A and D0N _ T0B are coupled to differential amplifier 911, and differential amplifier 911 outputs differential signal T0AB based on the difference between the signals on signal pads D0P _ T0A and D0N _ T0B. The signal pads D0P _ T0A and D1P _ T0C are coupled to the differential amplifier 912, and the differential amplifier 912 outputs a differential signal T0CA based on the difference between the signals on the signal pads D0P _ T0A and D1P _ T0C. The signal pads D1P _ T0C and D0N _ T0B are coupled to the differential amplifier 913 through switches, and the differential amplifier 913 outputs a differential signal T0BC based on the difference between the signals on the signal pads D1P _ T0C and D0N _ T0B. The signal pads D1N _ T1A and D2P _ T1B are coupled to the differential amplifier 914, and the differential amplifier 914 outputs a differential signal T1AB based on the difference between the signals on the signal pads D1N _ T1A and D2P _ T1B. The signal pads D1N _ T1A and D2N _ T1C are coupled to the differential amplifier 915, and the differential amplifier 915 outputs a differential signal T1CA based on the difference between the signals on the signal pads D1N _ T1A and D2N _ T1C. The signal pads D2P _ T1B and D2N _ T1C are coupled to the differential amplifier 916 through switches, and the differential amplifier 916 outputs a differential signal T1BC based on the difference between the signals on the signal pads D2P _ T1B and D2N _ T1C.
The differential amplifiers 911-913 are further coupled to a second signal processing block. When the six-signal PMA 900 is set to MIPI C-PHY mode, the second signal processing block is used to process the differential signals T0AB, T0BC and T0 CA. The differential amplifiers 914 and 916 are further coupled to a fourth signal processing block. When the six-signal PMA 900 is set to MIPI C-PHY mode, the fourth signal processing block is used to process the differential signals T1AB, T1BC and T1 CA.
In one embodiment, the second signal processing block includes at least a C-PHY CDR circuit 922, and the C-PHY CDR circuit 922 generates a set of sequence data signals T0AB [1: 0), T0BC [1:0] and T0CA [1:0] and the corresponding clock signal T0_ CK. The fourth signal processing block includes at least the C-PHY CDR circuit 924 and, from the signals T1AB, T1BC and T1CA, generates a set of sequence data signals T1AB [1: 0), T1BC [1:0] and T1CA [1:0] and the corresponding clock signal T1_ CK.
In one embodiment, the second signal processing block may also include a 2-to-8deserializer 932 coupled to the C-PHY CDR circuit 922. The C-PHY CDR circuit 922 outputs a signal T0AB [1:0], T0BC [1: 0), T0CA [1:0] and T0_ CK to a2 to 8deserializer 932. The 2-to-8deserializer 932 generates a clock signal T0CK to the signal T0AB [1:0], T0BC [1:0] and T0CA [1:0] to produce a set of parallel data signals T0AB [ 7: 0), T0BC [ 7: 0), T0CA [ 7: 0] and the corresponding clock signal T0_ BCK. The fourth signal processing block may also include a 2-to-8deserializer 934, which is coupled to the C-PHY CDR circuit 924. The C-PHY CDR circuit 924 outputs a signal T1AB [1: 0), T1BC [1: 0), T1CA [1:0] and T1_ CK to 2-8 deserializer 934. The 2-8 deserializer 934 deserializes the clock signal T1CK from the clock signal T1AB [1: 0), T1BC [1:0] and T1CA [1:0] to produce a set of parallel data signals T1AB [ 7: 0), T1BC [ 7: 0), T1CA [ 7: 0] and the corresponding clock signal T1_ BCK.
In one embodiment, the 2-to-8deserializer 932 is further coupled to an 8-to-7 FIFO 941, and the 8-to-7 FIFO 941 converts the 8-bit data signal T0AB [ 7: 0), T0BC [ 7: 0), T0CA [ 7: 0] to 7 bits long. The 8-7 FIFO 941 is coupled to the 7 symbol decode unit 943. The 7 symbol decoding unit 943 is used for decoding the data signals read from the 8-to-7 FIFO 941, thereby generating data symbols. The 7 symbol decoding unit 943 is coupled to the data processing unit 951. The data processing unit 951 is used for processing data symbols output by the 7 symbol decoding unit 943. The data processing unit 951 may include a 7 symbol to 16 bit demapper for demapping each 7 symbols received from the 7 symbol decoding unit 943 into a 16 bit data word. Further, the 8 to 7 FIFO 941, the 7 symbol decoding unit 943, and the data processing unit 951 function together as a C-PHY decoding processor 960 in the six-signal PMA 900. In addition, the order of the FIFO and the symbol decoding unit in the six-signal PMA of the present invention is interchangeable. According to various embodiments of the present invention, the symbol decoding unit may also be disposed before the FIFO (refer to the applicant's U.S. patent application No. 15/956,709, which discloses the structure of the symbol decoding unit before the FIFO).
The 2-to-8deserializer 934 is further coupled to an 8-to-7 FIFO 942. The 8-to-7 FIFO 942 stores 8-bit data signals T1AB [ 7: 0), T1BC [ 7: 0] and T1CA [ 7: 0] to 7 bits long. The 8-to-7 FIFO 942 is coupled to a 7 symbol decode unit 944. The 7 symbol decoder 944 is configured to decode the data signal read from the 8-to-7 FIFO 942, thereby generating data symbols. The 7 symbol decoding unit 944 is coupled to the data processing unit 952. The data processing unit 952 is configured to process the data symbols outputted by the 7 symbol decoding unit 944. The data processing unit 952 may include a 7 symbol to 16 bit demapper for demapping each 7 symbols received from the 7 symbol decoding unit 944 into a 16 bit data word group. Further, the 8 to 7 FIFO 942, the 7 symbol decoding unit 944, and the data processing unit 952 collectively function as another C-PHY decoding processor 970 in the six-signal PMA 900.
As described above, for circuit area utilization efficiency, the 2-to-8 de-sequencers 931-933 may be combined as well as the 2-to-8 de-sequencers 934 and 935 as in the embodiment shown in FIG. 2.
FIG. 4 shows how the clock signal is used to process the data signals at different stages. As shown, the 2-to-8deserializer 1020 deserializes the data signal AB [1: 0), BC [1:0] and CA [1:0] performing a desequence operation, wherein the frequency of the clock signal TCK is half of the symbol rate (symbol rate) of the communication line. The 8-to-7 FIFO 1030 outputs an 8-bit data signal AB [ 7: 0), BC [ 7: 0] and CA [ 7: 0] into a 7-bit data word, wherein the frequency of the clock signal BCK is 1/8 of the symbol rate. The 7 symbol decoding unit 1035 is used for decoding the data signals read from the 8-to-7 FIFO 1030 to generate symbols according to the clock signal SCK. The data processing unit 1040 is coupled to the 7-symbol decoding unit 1035, and is used to process the symbols output from the 7-symbol decoding unit 1035. The data processing unit 1040 may comprise a 7 symbol to 16 bit demapper arranged to demap each 7 symbol received from the 7 symbol decoding unit 1035 into a 16 bit data word according to a clock signal SCK, wherein the frequency of the clock signal SCK is 1/7 of the symbol rate.
It should be noted that the data width of any particular number of bits mentioned in the embodiments of fig. 1 and 3 is intended to be illustrative and not limiting. Those skilled in the art will understand how to select different numbers of data width bits to arrange the various elements therein according to different applications and design requirements, such as the deserializer, the FIFO, and the symbol decoding unit in the four-signal and six-signal PMA.
Pad arrangement mode
Signals transmitted from the PHY circuits in fig. 1 and 3 may be subject to interference, such as cross-talk (cross-talk) between signal transmission lines. Therefore, in various designs, shielding (shielding) techniques are often applied to mitigate interference. To solve these problems, the present invention provides an innovative pad arrangement (pad arrangement) to more reasonably and effectively use and distribute the pads, thereby shielding the interference.
Fig. 5 shows a pad arrangement according to an embodiment of the invention, which may be used for a PHY circuit comprising a four-signal PMA. As shown, PHY circuit 100 includes a four-signal PMA 110, and signal pads D0P _ T0A, D0N _ T0B, CKP _ T0C, and CKN _ XXX for connection to other integrated circuits/devices, coupled to four-signal PMA 110 by any possible type of conductor. The shielding pad (shielding pad) SH is coupled to ground or a power voltage, and is used for shielding the signal pads D0P _ T0A and D0N _ T0B to prevent interference with the signal pads CKP _ T0C and CKN _ XXX.
The four signal PMA 110 may be configured as a two wire lane PHY mode (e.g., MIPI D-PHY) or a three wire lane PHY mode (e.g., MIPI C-PHY). In the two-wire PHY mode, the signal pads D0P _ T0A and D0N _ T0B can form a data channel, and the signal pads CKP _ T0C and CKN _ XXX can be used as clock channels. The signal PMA 110 transmits/receives a pair of data signals through the signal pads D0P _ T0A and D0N _ T0B, and transmits/receives a pair of clock signals through the signal pads CKP _ T0C and CKN _ XXX. In the three-channel mode, three signal pads form one channel. For example, the signal pads D0P _ T0A, D0N _ T0B and CKP _ T0C form a channel, and the signal pads CKN _ XXX may not be used.
Please note that, in various embodiments of the present invention, the pad layout shown in fig. 5 can be further applied to a PHY circuit including N signal pads and M shielding pads, where N and M are positive integers. In such an embodiment, the N signal pads include at least four signal pads, and the M shielding pads include at least one shielding pad. The at least four signal pads and the at least one shield pad may be arranged in a pad arrangement similar to that shown in fig. 5.
Fig. 6 shows a pad arrangement for a PHY circuit including a six-signal PMA according to an embodiment of the present invention. As shown, the PHY circuit 200 includes a six-signal PMA210 and signal pads D0P _ T0A, D0N _ T0B, CKP _ T0C, CKN _ T1A, D1P _ T1B, and D1N _ T1C for connection to another integrated circuit/device. The shielding pads SH0, SH1, and SH2 are coupled to ground or a power voltage, and are used to protect some signal pads from interference by other signal pads.
The six signal PMA210 may be set to a two-wire lane PHY mode or a three-wire lane PHY mode. In the two-wire channel PHY mode, signal pads D0P _ T0A and D0N _ T0B and D1P _ T1B and D1N _ T1C form a data channel, and signal pads CKP _ T0C and CKN _ XXX form a clock channel. The six signal PMA210 sends/receives a data signal pair through the signal pads D0P _ T0A and D0N _ T0B and D1P _ T1B and D1N _ T1C, and sends/receives a pair of clock signals through the signal pads CKP _ T0C and CKN _ T1A. In the three-lane PHY mode, three pads form one lane. For example, the signal pads D0P _ T0A, D0N _ T0B and CKP _ T0C form a three-wire channel, and the signal pads CKN _ T1A, D1P _ T0B and D1N _ T1C form another three-wire channel.
It is noted that in various embodiments of the present invention, the pad layout shown in fig. 6 can be further applied to a PHY circuit including N signal pads and M shield pads, where N and M are positive integers. In such an embodiment, the N signal pads include at least six signal pads, and the M shielding pads include at least three shielding pads. The at least six signal pads and the at least three shielding pads may be arranged in a pad arrangement similar to that shown in fig. 6.
Referring to fig. 7 and 8, pad arrangements for Electrostatic Discharge (ESD) protection and pad shielding are shown. Fig. 7 shows a pad arrangement according to an embodiment of the invention, which may be used for a PHY circuit comprising a six-signal PMA. As shown, the PHY circuit 300 includes a six-signal PMA210, a Physical encoding sublayer (PCS) 330, ESD protection circuits 320 and 322, and signal pads D0P _ T0A, D0N _ T0B, CKP _ T0C, CKN _ T1A, D1P _ T1B, and D1N _ T1C for connection to another integrated circuit/device. The shielding pads SH0 and SH4 are used to couple the ESD protection circuits 320 and 322 to ground to provide electromagnetic shielding. In addition, the shielding pads SH1, SH2, and SH3 are coupled to ground or power voltage and are used to shield some signal pads from interference of other signal pads.
Fig. 8 is a pad arrangement according to an embodiment of the invention, which may be used for a PHY circuit comprising a combination of a six-signal PMA and a four-signal PMA. As shown, the PHY circuit 400 includes a six-signal PMA 411, a four-signal PMA 412, a PCS 430, ESD protection circuits 420 and 422. The six signal PMA 411 is connected to another integrated circuit/device through signal pads D0P _ T0A, D0N _ T0B, CKP _ T0C, CKN _ T1A, D1P _ T1B, and D1N _ T1C. The four signal PMA 412 is connected to another integrated circuit/device through the signal pads D0P _ T0A, D0N _ T0B, CKP _ T0C, and CKN _ XXX. The shielding pads SH0 and SH6 are used to couple the ESD protection circuits 420 and 422 to ground to provide electromagnetic shielding. In addition, the shielding pads SH1, SH2, SH3, SH4, and SH5 are coupled to ground or power voltage and are used to shield some signal pads from interference from other signal pads.
Terminal circuit
As described above, both the four-signal PMA and the six-signal PMA of the present invention may be arranged to operate in a two-wire lane PHY mode or a three-wire lane PHY mode. Therefore, it is desirable to provide a termination circuit (termination circuit) suitable for signal characteristics of different PHY modes.
Fig. 9A shows a prior art termination circuit suitable for a two-lane PHY mode and a three-lane PHY mode. By controlling the switches in termination circuit 500 of fig. 9A. As shown in fig. 9A, termination circuit 500 may be switched to a first configuration to accommodate the two wire path shown in fig. 9B. Alternatively, switching to the second configuration to accommodate the three-wire channel shown in fig. 9C. In the MIPI standard, an equivalent decoupling capacitance (decoupling capacitor) in a three-wire channel is required to be larger than that in a two-wire channel. Thus, the capacitance value of each decoupling capacitive element C1, C2, and C3 will be 1X (where "X" represents a unit capacitance value). However, such an implementation would result in capacitive redundancy (i.e., capacitive element C2) in a three-wire channel configuration as shown in fig. 9C. To overcome the capacitive redundancy of the termination circuit 500 in a three-wire channel configuration, the present invention provides an innovative architecture for improving the termination circuit.
Fig. 10A shows a four-signal termination circuit 600 of an embodiment of the invention, which may be used for a PHY circuit comprising a four-signal PMA. The termination circuit 600 includes adjustable resistive elements R1-R4, switches S61-S62 and decoupling capacitive elements C1-C3 (each capacitive element C1-C2 has a capacitance of 0.5X, while capacitive element C3 has a capacitance of 1X). In the present embodiment, each of the adjustable resistive elements R1-R4 may be coupled to a signal pad of a PHY circuit including a four-signal PMA (e.g., four-signal PMA 800). Please note that, according to various embodiments of the present invention, the adjustable resistive elements R1-R4 can be replaced by other types of resistive elements (electrical impedance).
Please refer to fig. 1 and fig. 10A simultaneously. When the four-signal PMA 800 is configured to operate in the two-wire channel PHY mode, each two signal pads will form one channel, and one pair of differential signals may be transmitted/received through the signal pads D0P _ T0A and D0N _ T0B, respectively, while another pair of clock signals may be transmitted/received through the signal pads D1P _ T0C and D1N, respectively. At this time, switch S62 is conductive and switch S61 is non-conductive (as shown in FIG. 10B). Therefore, the equivalent decoupling capacitance value obtained at the signal pads D0P _ T0A and D0N _ T0B is (0.5+0.5) X, and a decoupling capacitance value of 1X is obtained at the pads D1P _ T0C and D1N. Further, when the four-signal PMA 800 sets operation in the three-lane PHY mode, switch S61 is conductive and switch S62 is non-conductive (shown in fig. 10C). Therefore, equivalent decoupling capacitance values of (0.5+0.5+1) X are obtained at the signal pads D0P _ T0A, D0N _ T0B and D1P _ T0C. Furthermore, as shown in fig. 10D, in another embodiment, the decoupling capacitive elements C1 and C2 may be combined into a larger decoupling capacitive element CN with a capacitance value of (0.5+ 0.5).
Fig. 11A shows a six-signal termination circuit 700 of an embodiment of the invention, which may be used for a PHY circuit comprising a six-signal PMA. Six signal termination circuit 700 includes adjustable resistive elements R1-R6, switches S61-S63, and decoupling capacitive elements C1-C6 (each capacitive element having a capacitance value of 0.5). In this embodiment, each of the adjustable resistive elements R1-R6 may be coupled to a signal pad of a PHY circuit including a six-signal PMA (e.g., six-signal PMA 900). Please note that, according to various embodiments of the present invention, the adjustable resistive elements R1-R6 can be replaced by other types of resistive elements.
Please refer to fig. 3 and fig. 11A simultaneously. When six signal PMA 900 is set to operate in two-lane PHY mode, a pair of data signals may be transmitted/received on signal pads D0P _ T0A and D0N _ T0B, a pair of data signals may be transmitted/received on signal pads D1P _ T0C and D1N _ T1A, and a pair of clock signals may be transmitted/received on signal pads D2P _ T1B and D2N _ T1C. Additionally, when the six-signal PMA 900 is set to operate in the three-lane PHY mode, the six-signal PMA 900 may provide two three-lanes. For example, one set of three-wire signals is sent over signal pads D0P _ T0A, D0N _ T0B and signal pad D1P _ T0A, respectively, and another set of three-wire signals is sent over signal pads D1N _ T1A, D2P _ T1B and D2P _ T1C.
When the six signal PMA 900 is set to operate in the two-wire lane PHY mode, the switch S62 is turned on and the switches S61 and S63 are not turned on (as shown in fig. 11B). Therefore, decoupling capacitors with capacitance values equivalent to (0.5+0.5) X are formed at signal pads D0P _ T0A and D0N _ T0B, signal pads D1P _ T0C and D1N _ T1A, and signal pads D2P _ T1B and D2N _ T1C, respectively. Further, when the six signal PMA 900 is set to operate in the three-wire channel PHY mode, the switches S61 and 63 are conductive and the switch S62 is non-conductive (as shown in fig. 11C). Therefore, decoupling capacitors with capacitance values equivalent to (0.5+0.5+0.5) X are formed at the signal pads D0P _ T0A, D0N _ T0B and D1P _ T0C and the signal pads D1N _ T1A, D2P _ T1B and D2N _ T1C, respectively. Furthermore, as shown in fig. 11D, in one possible embodiment, decoupling capacitive elements C1 and C2 may be implemented with a larger decoupling capacitive element CN1 having a (0.5+0.5) X capacitance value. In addition, in one possible embodiment, decoupling capacitive elements C5 and C6 may also be implemented with a larger decoupling capacitive element CN2 having a (0.5+0.5) X capacitance value.
In contrast to termination circuit 500, there is no capacitive redundancy in the four signal termination circuit 600 and the six signal termination circuit 700 when switched to the three-wire channel configuration. Also, another advantage of the termination circuits 600 and 700 of the present invention is the number of switches. Since fewer switches are required for the termination circuits 600 and 700 as compared to the termination circuit 500, signal loss can be reduced.
Clock and data recovery
In the MIPI C-PHY specification, a clock signal is embedded in a data signal. Therefore, the PHY circuitry in the receiver needs to recover the clock signal from the received data signal.
Fig. 12 shows CDR circuitry in a receiver suitable for use in a MIPI C-PHY (or other three-wire PHY standard) communication link, according to one embodiment of the present invention. As shown, CDR circuit 1200 has three input terminals for receiving signals AB, BC, and CA generated by the differential amplifiers. The differential amplifier can be the differential amplifier 811-813 shown in the embodiment of FIG. 1, or the differential amplifier 911-916 shown in the embodiment of FIG. 3, which receives the differential signals on three signal pads/wires, i.e., the signal pads D0P _ T0A, D0N _ T0B, D1P _ T0C, and converts them into the differential signals AB, BC, CA (i.e., T0AB [1:0], T0BC [1:0] and T0CA [1:0] in FIG. 1 or FIG. 3).
The three signals AB, BC and CA are input to delay units 1210, 1211 and 1212, thereby generating delayed versions AB _ D, BC _ D and CA _ D of the signals AB, BC and CA. Thereafter, exclusive OR (XOR) gates 1221, 1222, and 1223 perform XOR operations on the signals AB and AB _ D, BC and BC _ D, and CA _ D, respectively. Accordingly, XOR gates 1221, 1222, and 1223 generate XOR output signals AB _ X, BC _ X and CA _ X. Due to the XOR-operation, signal transitions in the signals AB, BC and CA will result in pulses (pulses) in the XOR-output signals AB _ X, BC _ X and CA _ X. The XOR output signals AB _ X, BC _ X and CA _ X are then provided to latches 1231,1232, and 1233, which clock latches 1231,1232 and 1233 to latch a high logic level signal. In addition, the latches 1231,1232, and 1233 may be reset by the reset control signal RSTB. Accordingly, rising EDGEs of the latch output signals AB _ EDGE, BC _ EDGE, and CA _ EDGE are triggered by the XOR output signals AB _ X, BC _ X, and CA _ X, respectively, and falling EDGEs of the latch output signals AB _ EDGE, BC _ EDGE, and CA _ EDGE are triggered by the reset control signal RSTB, respectively.
Then, the latch output signals AB _ EDGE, BC _ EDGE, and CA _ EDGE are sent to an OR gate (OR gate)1240, which performs an OR operation on the latch output signals AB _ EDGE, BC _ EDGE, and CA _ EDGE, thereby generating a clock signal RCK. The clock signal RCK may be processed by frequency dividers 1271 and 1272 having different divisors (i.e., 2 and 7) to generate clock signals for different purposes. The clock signal TCK generated by the frequency divider 1271 is supplied to the sampling units 1281 and 1282 for sampling the signals AB _ S, BC _ S and CA _ S to perform a deserializing operation (wherein the signals AB _ S, BC _ S and CA _ S may be output by delaying the delayed signals AB _ D, BC _ D and CA _ D by an aligned delay unit 1260). In addition, the clock signal SCK generated by the frequency divider 1272 is provided to circuits such as the data processing units 850 (fig. 1), 951-.
On the other hand, the generated clock signal RCK is further sent to a duty cycle correction circuit 1250, thereby generating a reset control signal RSTB. The duty cycle calibration circuit 1250 is used to calibrate the clock signal RCK to achieve a duty cycle of 50% (or about 50%) for the clock signal RCK. The duty cycle correction circuit 1250 corrects the clock signal RCK by generating the reset control signal RSTB to realize a 50% duty cycle.
As described above, the clock signal RCK is generated by performing an OR operation on the latch output signals AB _ EDGE, BC _ EDGE, and CA _ EDGE. Thus, adjusting the duty cycle of the latch output signals AB _ EDGE, BC _ EDGE, and CA _ EDGE (by resetting these signals) can substantially change the duty cycle of the clock signal RCK.
The timing diagram of the duty cycle correction circuit 1250 processing the clock signal RCK is shown in fig. 13. The pulses of signals AB _ X, BC _ X and CA _ X are indicated in dashed lines to reflect this when the pulses of signals AB _ X, BC _ X and CA _ X follow the signal transitions of signals AB, BC, and CA. The pulses of signals AB _ X, BC _ X and CA _ X will trigger latches 1231,1232, and 1233 to toggle the latch output signals AB _ EDGE, BC _ EDGE, and CA _ EDGE to a high logic level. Also, when the reset control signal RSTB is pulled up (asserted), the latches 1231,1232, and 1233 are reset, which causes the latch output signals AB _ EDGE, BC _ EDGE, and CA _ EDGE to transition to a low logic level. It should be appreciated that the timing of the pulses of the reset control signal RSTB can determine the duty cycle of the latch output signals AB _ EDGE, BC _ EDGE, and CA _ EDGE, and thus determine the duty cycle of the clock signal RCK.
According to various embodiments of the present invention, the duty cycle correction circuit may have different details. Referring to fig. 14, a detailed circuit diagram of an embodiment of the duty cycle correction circuit 1250 is shown. As shown, the duty cycle correction circuit 1500 has a time-to-digital converter (TDC) 1520. The TDC 1520 is used to measure time differences of adjacent EDGEs of the signals AB _ EDGE, BC _ EDGE, and CA _ EDGE, and accordingly converts the measured time differences into digital bit (TDC) results. The selectors 1511 and 1512 are used to select two signals from the signals AB _ EDGE, BC _ EDGE, and CA _ EDGE to be measured by the TDC 1520. The TDC results will be averaged by the digital control circuit logic 1530 and the digital control logic 1530 outputs a delay control signal to control the delay line 1550 based on half of the averaged TDC results. The delay line 1550 is used for delaying the clock signal RCK, and a NAND gate 1540 is used for performing a NAND operation on the clock signal RCK and the delayed version of the clock signal RCK, thereby generating the reset control signal RSTB. When the time difference between the signals AB _ EDGE, BC _ EDGE and CA _ EDGE is long, the duty cycle of the clock signal RCK will be longer, and vice versa. Thus, the TDC result will reflect this condition, so that the digital control logic 1530 finds the appropriate delay amount of the delay line, thereby adjusting the timing of the reset control signal RSTB such that the clock signal RCK has a duty cycle of about 50%. Note that NAND gate 1540 can be replaced by another type of logic gate or combination of logic gates, as long as they can provide the same result.
Referring to fig. 15 and 16, it is better understood how the duty cycle correction circuit 1500 actually processes the repetitive input pattern "+ x → -y → + z → -x → + y → -z → + x" representing the symbol 3333333 and the repetitive input pattern "+ x → -z → + y → -x → -y → -x → + x" representing the symbol 1111111.
Fig. 17 shows a detailed circuit diagram of another embodiment of the duty cycle correction circuit 1250 of the present invention. Duty cycle correction circuit 1800 includes a low pass RC filter including resistive element R and capacitive element C for filtering clock signal RCK. The low-pass RC filter generates a filtered signal Vduty. The comparator 1810 compares the signal Vduty with a predetermined signal VDD/2 to generate a comparison result UP. Digital control logic 1820 controls delay line 1840 based on the comparison UP. Through the low-pass RC filter, the duty cycle of the clock signal RCK is reflected and represented as the voltage level of the signal Vduty. Please refer to fig. 18. As shown, if the comparator 1810 detects that the voltage level of the signal Vduty is lower than the predetermined signal VDD/2, it means that the duty cycle of the clock signal RCK is lower than 50%. Therefore, the output signal UP of the comparator 1810 maintains the high logic level "1". Based on the UP output signal, the digital control logic 1820 generates a delay control signal to adjust the delay time of the delay line 1840. Once the comparator 1810 detects that the voltage level of the signal Vdut is equal to the predetermined signal VDD/2, it indicates that the duty cycle of the clock signal RCK is 50%. Therefore, the output signal UP of the comparator 1810 becomes the low logic level "0". Accordingly, digital control logic 1820 controls delay line 1840 to generate an appropriate delay (i.e., increase or decrease the delay until comparison UP shows no difference) according to comparison UP to generate reset control signal RSTB to calibrate clock signal RCK, thereby achieving 50% duty cycle.
Fig. 19 is a schematic diagram of CDR circuitry in a receiver for a MIPI C-PHY (or other three-wire-channel PHY standard) communication link in another embodiment of the present invention. The CDR circuit in fig. 19 has features and elements in common with the CDR circuit shown in fig. 12. However, the main difference between them is that the embodiment of fig. 19 generates the reset control signal using the delay adjustment unit 2000 instead of the duty cycle correction circuit 1200. The delay adjusting unit 2000 generates the reset control signal RSTB according to the adjustable delay time and the clock signal RCK.
As described above, the clock signal RCK transitions to a high logic level at the rising edge of signals AB _ X, BC _ X and CA _ X and begins a new cycle. However, as shown by the circle in fig. 20, if the period of the signal BC _ edge is too long, the rising edges of the signals AB _ X and CA _ X will be masked. This is caused by an erroneous timing of the reset control signal RSTB. The error timing of the reset control signal RSTB resets the signal BC _ edge too slowly, thus masking the rising edges of the signals AB _ X and CA _ X. To prevent the rising edges of the signals AB _ X, BC _ X and CA _ X from being masked, the delay adjustment unit 2000 adjusts the reset control signal RSTB according to the sampling results AB _ O [0], BC _ O [0], and CA _ O [0] and the sampling results AB _ O [1], BC _ O [1], and CA _ O [1 ]. Specifically, delay adjustment unit 2000 detects the XOR output signal XOR [0] of XOR gate 2091 and XOR output signal XOR [1] of XOR gate 2092. XOR gate 2091 performs an XOR operation on the sampled results AB _ O [0], BC _ O [0], and CA _ O [0 ]. The sampling results AB _ O [0], BC _ O [0], and CA _ O [0] are generated by the sampling unit 2081 by sampling the signals AB _ S, BC _ S and CA _ S according to the clock signal TCK. XOR gate 2092 performs an XOR operation on the sampled results AB _ O [1], BC _ O [1], and CA _ O [1 ]. The sampling results AB _ O [1], BC _ O [1], and CA _ O [1] are generated by the sampling unit 2082 sampling the signals AB _ S, BC _ S and CA _ S according to the inverted version of the clock signal TCK.
The delay adjustment circuit 2000 will start with an initial delay that ensures that the entire CDR circuit of fig. 19 is functioning properly. Then, the delay timing of the reset control signal RSTB is slowly increased by the circuit of the delay adjustment circuit 2000. Once an erroneous timing is made, it will be reflected as a signal transition in the XOR output signal XOR [0] and/or XOR output signal XOR [1 ]. Once the delay adjustment unit 2000 detects a signal transition of the XOR output signal XOR [0] and/or the XOR output signal XOR [1], it sets the adjustable delay time to half the error timing. As a result, the reset control signal RSTB resets 2031-2033 earlier than the error timing, which causes the falling EDGEs of the signals AB _ EDGE, BC _ EDGE, and CA _ EDGE to occur earlier without masking the next signal EDGE. Therefore, the clock signal RCK can reach nearly 50% of the duty cycle. For example, as shown in the circle portion of FIG. 20, if the reset control signal RSTB resets the latch 2031-2033 earlier than before, the falling edge of the latch output signal BC _ edge will occur earlier. In this way, the XOR output signals AB _ X and CA _ X will not be masked by the latch output signal BC _ edge, and the clock signal RCK can also properly follow the rising edges of the signals AB _ X and CA _ X.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (6)

1. A phy layer circuit, the phy layer circuit comprising:
n signal pads, including at least four signal pads;
a four signal physical media additional sublayer coupled to the four signal pads; and
m shielding connecting pads comprising at least one first shielding connecting pad and four signal entity medium additional sub-layers;
the first shielding pad is located between a second signal pad and a third signal pad of the four signal pads, and M and N are positive integers.
2. The PHY layer circuit according to claim 1, wherein each two of the N signal pads are configured as a same channel when the four-signal physical media add sub-layer operates in a first PHY mode, and wherein each three of the N signal pads are configured as a same channel when the four-signal physical media add sub-layer operates in a second PHY mode.
3. A phy-layer circuit, the phy-layer circuit comprising:
n signal pads, including at least six signal pads;
a six-signal physical media additional sublayer coupled to the six signal pads; and
m shielding connection pads, including at least one first shielding connection pad, one second shielding connection pad and one third shielding connection pad, respectively coupled to the six signal entity medium additional sub-layers;
the first shielding pad is located between a second signal pad and a third signal pad of the six signal pads; the second shielding pad is located between the third signal pad and a fourth signal pad of the six signal pads; the third shielding pad is located between the fourth signal pad and a fifth signal pad of the six signal pads, wherein M and N are positive integers.
4. The PHY layer circuit according to claim 3, wherein each two of the N signal pads are configured as a same channel when the six signal physical media additional sublayers operate in a first PHY layer mode, and wherein each three of the N signal pads are configured as a same channel when the six signal physical media additional sublayers operate in a second PHY layer mode.
5. A phy-layer circuit, the phy-layer circuit comprising:
the N signal connecting pads comprise at least four signal connecting pads;
a four-signal physical media additional sublayer coupled to the four signal pads, comprising:
a four-signal termination circuit, coupled to the four signal pads, comprising:
four adjustable resistive elements, each coupled to one of the four signal pads;
a conductive line coupled between a terminal of a first tunable resistive element and a terminal of a second tunable resistive element;
a first switch selectively coupled between the terminal of the second adjustable resistive element and a terminal of a third adjustable resistive element; and
a second switch selectively coupled between the terminal of the third adjustable resistive element and a terminal of a fourth adjustable resistive element;
wherein the first switch is controlled by a switch control signal and the second switch is controlled by an inverted version of the switch control signal.
6. A phy-layer circuit, the phy-layer circuit comprising:
n signal pads, including at least six signal pads;
a six-signal physical media additional sublayer coupled to the six signal pads, comprising:
a six-signal termination circuit, coupled to the six signal pads, comprising:
six adjustable resistive elements, each coupled to one of the six signal pads;
a first conductive line coupled between a terminal of a first adjustable resistive element and a terminal of a second adjustable resistive element;
a second conductive line coupled between a terminal of a fifth adjustable resistive element and a terminal of a sixth adjustable resistive element;
a first switch selectively coupled between the terminal of the second adjustable resistive element and a terminal of a third adjustable resistive element; and
a second switch selectively coupled between the terminal of the third adjustable resistive element and a terminal of a fourth adjustable resistive element;
a third switch selectively coupled between the terminal of the fourth adjustable resistive element and the terminal of a fifth adjustable resistive element;
wherein the first switch and the third switch are controlled by a switch control signal, and the second switch is controlled by an inverted version of the switch control signal.
CN202210277668.5A 2017-07-19 2018-07-19 Physical layer circuit for multi-wire interface Pending CN114629493A (en)

Applications Claiming Priority (7)

Application Number Priority Date Filing Date Title
US201762534209P 2017-07-19 2017-07-19
US62/534,209 2017-07-19
US201762590352P 2017-11-23 2017-11-23
US62/590,352 2017-11-23
US15/956,709 US20190158127A1 (en) 2017-11-23 2018-04-18 Encoding and decoding architecture for high-speed data communication system and related physical layer circuit, transmitter and receiver and communication system thereof
US15/956,709 2018-04-18
CN201810799479.8A CN109286396B (en) 2017-07-19 2018-07-19 Physical layer circuit for multi-wire interface

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
CN201810799479.8A Division CN109286396B (en) 2017-07-19 2018-07-19 Physical layer circuit for multi-wire interface

Publications (1)

Publication Number Publication Date
CN114629493A true CN114629493A (en) 2022-06-14

Family

ID=67347594

Family Applications (2)

Application Number Title Priority Date Filing Date
CN201810799479.8A Active CN109286396B (en) 2017-07-19 2018-07-19 Physical layer circuit for multi-wire interface
CN202210277668.5A Pending CN114629493A (en) 2017-07-19 2018-07-19 Physical layer circuit for multi-wire interface

Family Applications Before (1)

Application Number Title Priority Date Filing Date
CN201810799479.8A Active CN109286396B (en) 2017-07-19 2018-07-19 Physical layer circuit for multi-wire interface

Country Status (2)

Country Link
CN (2) CN109286396B (en)
TW (1) TWI670577B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110336970A (en) * 2019-07-18 2019-10-15 广州健飞通信有限公司 A kind of circuit and its signal synthesis method of multiple signals interface
WO2021172622A1 (en) * 2020-02-27 2021-09-02 엘지전자 주식회사 Signal receiving device and electronic device comprising same

Family Cites Families (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5714904A (en) * 1994-06-06 1998-02-03 Sun Microsystems, Inc. High speed serial link for fully duplexed data communication
EP0863640A3 (en) * 1997-03-04 2005-09-21 Texas Instruments Incorporated Improved physical layer interface device
US6816010B2 (en) * 2002-12-20 2004-11-09 Intel Corporation Transimpedance amplifier
US6870390B1 (en) * 2003-09-11 2005-03-22 Xilinx, Inc. Tx line driver with common mode idle state and selectable slew rates
CN100397379C (en) * 2005-10-12 2008-06-25 盛群半导体股份有限公司 Connecting judging method and device of computer external device interface shape
US7924912B1 (en) * 2006-11-01 2011-04-12 Xilinx, Inc. Method and apparatus for a unified signaling decision feedback equalizer
US8397096B2 (en) * 2010-05-21 2013-03-12 Altera Corporation Heterogeneous physical media attachment circuitry for integrated circuit devices
WO2013089789A1 (en) * 2011-12-16 2013-06-20 Intel Corporation Automatic downstream to upstream mode switching at a universal serial bus physical layer
CN103973243B (en) * 2013-01-24 2016-12-28 西安电子科技大学 Have the cmos operational amplifier of very big direct current open-loop voltage gain
US8786324B1 (en) * 2013-05-13 2014-07-22 Via Technologies, Inc. Mixed voltage driving circuit
US9652020B2 (en) * 2014-06-18 2017-05-16 Qualcomm Incorporated Systems and methods for providing power savings and interference mitigation on physical transmission media
US9602315B2 (en) * 2014-12-12 2017-03-21 Intel Corporation Method and apparatus for passive continuous-time linear equalization with continuous-time baseline wander correction
CN105991099B (en) * 2015-01-30 2018-08-14 博通集成电路(上海)股份有限公司 Operational amplifier and the method being amplified using the operational amplifier
TWI537738B (en) * 2015-02-04 2016-06-11 滿芯行動科技股份有限公司 Connecting device
KR20170045542A (en) * 2015-10-19 2017-04-27 삼성전자주식회사 Edge detector and signal character analyzing system including the same

Also Published As

Publication number Publication date
CN109286396A (en) 2019-01-29
TWI670577B (en) 2019-09-01
CN109286396B (en) 2022-04-08
TW201918805A (en) 2019-05-16

Similar Documents

Publication Publication Date Title
US10574431B2 (en) Physical layer circuitry for multi-wire interface
US11387852B2 (en) Time encoded data communication protocol, apparatus and method for generating and receiving a data signal
US7843216B2 (en) Techniques for optimizing design of a hard intellectual property block for data transmission
US7205787B1 (en) On-chip termination for a high-speed single-ended interface
US8749535B2 (en) Clock-shared differential signaling interface and related method
US7436210B2 (en) Next generation 8B10B architecture
US10476537B2 (en) System and method for reference noise compensation for single-ended serial links
JP2014510468A (en) SerDes power adjustment according to detected error rate
CN109286396B (en) Physical layer circuit for multi-wire interface
US10523259B2 (en) Transmitter and communication system
KR101588346B1 (en) On-package input/output architecture
US20230090431A1 (en) Time encoded data communication protocol, apparatus and method for generating and receiving a data signal
CN112286853B (en) FPGA system supporting multiple protocols and data processing method
KR20160113721A (en) Clock recovery circuit for multiple wire data signals
US10326625B1 (en) System and method for reference noise compensation for single-ended serial links
WO2023231461A1 (en) Chip and computer device
TW201926908A (en) Encoding and decoding architecture for high-speed data communication system and related physical layer circuit, transmitter and receiver and communication system thereof
CN108365920A (en) A kind of DVP based on fpga chip turns MIPI method and systems
US20060215787A1 (en) Data receiver including a transconductance amplifier
KR101232057B1 (en) Dual Mode Receiver
US11663157B1 (en) Joint electron devices engineering council (JESD)204-to-peripheral component interconnect express (PCIe) interface
den Besten The USB 2.0 physical layer: Standard and implementation

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination