[go: up one dir, main page]

HK1220269B - Bidirectional communication method and bidirectional communication device using same - Google Patents

Bidirectional communication method and bidirectional communication device using same Download PDF

Info

Publication number
HK1220269B
HK1220269B HK16108259.1A HK16108259A HK1220269B HK 1220269 B HK1220269 B HK 1220269B HK 16108259 A HK16108259 A HK 16108259A HK 1220269 B HK1220269 B HK 1220269B
Authority
HK
Hong Kong
Prior art keywords
party
clock
data
phase
communication method
Prior art date
Application number
HK16108259.1A
Other languages
Chinese (zh)
Other versions
HK1220269A1 (en
Inventor
朴畯倍
金度完
林镇业
金尚俊
李仁洙
Original Assignee
安纳帕斯股份有限公司
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 安纳帕斯股份有限公司 filed Critical 安纳帕斯股份有限公司
Priority claimed from PCT/KR2015/006791 external-priority patent/WO2016003207A1/en
Publication of HK1220269A1 publication Critical patent/HK1220269A1/en
Publication of HK1220269B publication Critical patent/HK1220269B/en

Links

Description

双向通信方法以及使用该双向通信方法的双向通信设备Two-way communication method and two-way communication device using the same

技术领域Technical Field

本发明涉及一种双向通信方法以及使用该双向通信方法的双向通信设备。The present invention relates to a two-way communication method and a two-way communication device using the same.

背景技术Background Art

根据常规的双向通信方法,锁相环(PLL)或时钟数据恢复(CDR)电路形成在第一方和第二方两方。当第一方发送时钟信号时,第二方恢复该时钟信号,然后发送数据。同样地,当在相反的方向上发送时钟信号时,恢复该时钟信号,然后收发数据。In conventional bidirectional communication methods, a phase-locked loop (PLL) or clock data recovery (CDR) circuit is formed on both the first and second parties. When the first party transmits a clock signal, the second party recovers the clock signal and then transmits data. Similarly, when a clock signal is transmitted in the opposite direction, the second party recovers the clock signal and then transmits and receives data.

发明内容Summary of the Invention

技术问题Technical issues

根据常规技术的双向通信方法包括恢复时钟的处理,并因此每当发送方和接收方发生改变时执行恢复时钟的处理。然而,为了恢复时钟,锁相环(PLL)或时钟数据恢复(CDR)电路的锁定时间被消耗,并且因为每当发送和接收发生改变时都消耗锁定时间,所以延迟增加。为了减小延迟,可以使用并行总线结构、多条时钟总线和多条控制信号总线。然而,在总线之间可能存在信号偏移(signal skew),并且芯片的引脚的数目不经济地增加。The bidirectional communication method according to conventional technology includes the process of recovering the clock, and therefore performs the process of recovering the clock whenever the sender and the receiver change. However, in order to recover the clock, the locking time of the phase-locked loop (PLL) or clock data recovery (CDR) circuit is consumed, and because the locking time is consumed whenever the sending and receiving changes, the delay increases. In order to reduce the delay, a parallel bus structure, multiple clock buses and multiple control signal buses can be used. However, there may be signal skew between the buses, and the number of pins of the chip increases uneconomically.

本实施方式被提出以解决常规技术的这些问题,并且旨在提供一种双向通信方法以及使用该双向通信方法的双向通信设备,在该方法中,发送方和接收方能够在无需锁相时间的情况下高速地发生改变,以执行数据发送。The present embodiment is proposed to solve these problems of the conventional technology and aims to provide a two-way communication method and a two-way communication device using the two-way communication method, in which the sender and the receiver can be changed at high speed without phase lock time to perform data transmission.

技术解决方案Technical Solutions

本发明的一方面提供了一种在第一方和利用由该第一方提供的时钟进行操作的第二方之间的通信方法,该通信方法包括以下步骤:相位校准步骤;由所述第一方向所述第二方发送命令分组的步骤;以及在所述第一方和所述第二方之间根据所述命令分组来收发数据分组的数据发送和接收步骤,其中,执行所述相位校准步骤,以对所述第一方的发送采样时钟的相位和所述第一方的接收采样时钟的相位进行校准。An aspect of the present invention provides a communication method between a first party and a second party operating using a clock provided by the first party, the communication method comprising the following steps: a phase calibration step; a step of sending a command packet by the first party to the second party; and a data sending and receiving step of sending and receiving data packets between the first party and the second party based on the command packet, wherein the phase calibration step is performed to calibrate the phase of the first party's transmission sampling clock and the phase of the first party's reception sampling clock.

本发明的另一方面提供了一种通信方法,在该通信方法中,第一方利用由该第一方提供的时钟向第二方发送数据,所述通信方法包括以下步骤:(a)由所述第一方改变所述时钟的相位,以生成具有目标相位的初始时钟(preliminary clock);(b)由所述第一方利用所述初始时钟对相互预定的训练模式进行采样,并且将经采样的模式发送到所述第二方;(c)由所述第二方利用所述时钟对所接收的模式进行采样,将经采样的模式与预定的所述训练模式进行比较,并且发送比较结果;(d)由所述第一方根据所述比较结果来选择初始时钟作为发送采样时钟;以及(e)由所述第一方利用已经被调整相位的所述发送采样时钟对要发送的所述数据进行采样,并且将经采样的数据发送到所述第二方。Another aspect of the present invention provides a communication method, in which a first party sends data to a second party using a clock provided by the first party, the communication method comprising the following steps: (a) the first party changes the phase of the clock to generate an initial clock (preliminary clock) having a target phase; (b) the first party samples a mutually predetermined training pattern using the initial clock and sends the sampled pattern to the second party; (c) the second party samples the received pattern using the clock, compares the sampled pattern with the predetermined training pattern, and sends the comparison result; (d) the first party selects the initial clock as a transmission sampling clock based on the comparison result; and (e) the first party samples the data to be sent using the transmission sampling clock whose phase has been adjusted, and sends the sampled data to the second party.

本发明的另一方面提供了一种通信方法,在该通信方法中,第二方利用由第一方提供的时钟向该第一方发送数据,所述通信方法包括以下步骤:(a)由所述第二方向所述第一方发送相互预定的训练模式;(b)由所述第一方改变所述时钟的相位,以生成具有目标相位的初始时钟;(c)由所述第一方利用所述初始时钟对由所述第二方提供的所述模式进行采样,并且将经采样的模式与预定的所述训练模式进行比较;(d)由所述第一方根据比较结果来选择初始时钟作为接收采样时钟;以及(e)利用所述接收采样时钟对由所述第二方发送的所述数据进行采样。Another aspect of the present invention provides a communication method, in which a second party sends data to a first party using a clock provided by a first party, and the communication method includes the following steps: (a) the second party sends a mutually predetermined training pattern to the first party; (b) the first party changes the phase of the clock to generate an initial clock with a target phase; (c) the first party samples the pattern provided by the second party using the initial clock and compares the sampled pattern with the predetermined training pattern; (d) the first party selects the initial clock as a receiving sampling clock based on the comparison result; and (e) the data sent by the second party is sampled using the receiving sampling clock.

本发明的另一方面提供了一种通信设备,该通信设备包括:第一方,所述第一方包括时钟提供器和多个第一方数据收发器,所述时钟提供器被配置为提供时钟,所述多个第一方数据收发器被配置为提供数据或接收数据;第二方,所述第二方包括时钟接收器和多个第二方数据收发器,所述多个第二方数据收发器被配置为提供所述数据或接收所述数据;数据信道单元,所述数据信道单元包括数据信道,所述数据信道被配置为将所述多个第一方数据收发器与所述多个第二方数据收发器分别连接;以及时钟信道,所述时钟信道被配置为将来自所述第一方的所述时钟提供到所述第二方,其中,所述第一方和所述第二方利用所述时钟进行操作。Another aspect of the present invention provides a communication device, which includes: a first party, the first party includes a clock provider and multiple first-party data transceivers, the clock provider is configured to provide a clock, and the multiple first-party data transceivers are configured to provide data or receive data; a second party, the second party includes a clock receiver and multiple second-party data transceivers, the multiple second-party data transceivers are configured to provide the data or receive the data; a data channel unit, the data channel unit includes a data channel, the data channel is configured to connect the multiple first-party data transceivers with the multiple second-party data transceivers respectively; and a clock channel, the clock channel is configured to provide the clock from the first party to the second party, wherein the first party and the second party operate using the clock.

有益效果Beneficial effects

根据本实施方式的通信方法或通信设备,每当发送方和接收方发生改变时,不必要等待锁相环(PLL)的锁定时间,并因此缩短了延迟周期。According to the communication method or the communication device of the present embodiment, it is not necessary to wait for the lock time of the phase-locked loop (PLL) every time the transmission side and the reception side are changed, and thus the delay period is shortened.

附图说明BRIEF DESCRIPTION OF THE DRAWINGS

图1是概括根据本示例性实施方式的通信设备的框图。FIG1 is a block diagram outlining a communication device according to the present exemplary embodiment.

图2是概括根据本示例性实施方式的通信方法的流程图。FIG2 is a flowchart summarizing the communication method according to this exemplary embodiment.

图3(a)和图3(b)是例示发送相位校准处理的示例性定时图,其中,图3(a)是例示第一方利用时钟来生成多个初始时钟并且生成使用该初始时钟而进行采样的训练模式的处理的示意定时图,并且图3(b)是例示第二方利用时钟对所接收的模式进行采样的处理的示意定时图。Figures 3(a) and 3(b) are exemplary timing diagrams illustrating a transmit phase calibration process, wherein Figure 3(a) is a schematic timing diagram illustrating a process in which a first party utilizes a clock to generate a plurality of initial clocks and generates a training pattern sampled using the initial clocks, and Figure 3(b) is a schematic timing diagram illustrating a process in which a second party utilizes a clock to sample a received pattern.

图4是例示接收相位校准处理的示例性定时图。FIG. 4 is an exemplary timing diagram illustrating a receive phase calibration process.

图5是示意性地示出第一方将存储的数据写入到第二方的处理的定时图。FIG. 5 is a timing chart schematically illustrating a process in which a first party writes stored data to a second party.

图6是示意性地示出第一方10读取存储在第二方20的数据的处理的定时图。FIG. 6 is a timing chart schematically showing a process in which the first side 10 reads data stored in the second side 20 .

图7是示出当第二方20是要求更新的动态随机存取存储器(DRAM)时第二方20执行更新的处理的图。FIG. 7 is a diagram illustrating a process in which the second side 20 performs updating when the second side 20 is a dynamic random access memory (DRAM) requiring updating.

具体实施方式DETAILED DESCRIPTION

由于本发明的描述仅是用于结构的或功能的描述的实施方式,因此本发明的范围不应该被理解为受以下公开的示例性实施方式的限制。换句话说,可以按照各种方式修改并且按照各种形式执行示例性实施方式,并因此本发明的范围应该被理解为包括可以体现本发明的技术精神的等同物。Since the description of the present invention is only for the purpose of describing the structure or function, the scope of the present invention should not be understood as being limited by the exemplary embodiments disclosed below. In other words, the exemplary embodiments can be modified in various ways and implemented in various forms, and therefore the scope of the present invention should be understood as including equivalents that can embody the technical spirit of the present invention.

本文中使用的术语的含义应该被如下地理解。The meanings of the terms used herein should be understood as follows.

除非上下文另外清楚地指出,否则单数形式还旨在包括复数形式。还应该理解的是,当在本文中使用术语“包括”、“包括有”、“包含”、“包含有”时,所述术语指定存在所述的特征、整体、步骤、操作、元件、部分或其组合,但是不排除存在或附加一个或更多个其它特征、整体、步骤、操作、元件、部件或其组合。Unless the context clearly indicates otherwise, the singular form is also intended to include the plural form. It should also be understood that when the terms "comprise", "include", "include", "comprising", "including", "comprising" are used herein, the terms specify the presence of the stated features, integers, steps, operations, elements, parts or combinations thereof, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, parts or combinations thereof.

除非上下文清楚地指出特定顺序,否则步骤可以按照与描述的顺序不同的顺序执行。换句话说,步骤可以按照与所描述的顺序相同的顺序执行,可以基本上同时执行,或者可以按照相反的顺序执行。Unless the context clearly indicates a particular order, the steps may be performed in an order different from that described. In other words, the steps may be performed in the same order as described, may be performed substantially simultaneously, or may be performed in a reverse order.

除非另有限定,否则本文中使用的所有术语具有与本发明所属领域的普通技术人员通常理解的含义相同的含义。还应该理解的是,除非本文中明确限定,否则术语(诸如在通用字典中定义的术语)应该被解释为具有与它们在相关领域的上下文中的含义一致的含义,而不是理想地或者过于形式化地解释它们的意思。Unless otherwise defined, all terms used herein have the same meaning as commonly understood by those skilled in the art to which the present invention belongs. It should also be understood that, unless expressly defined herein, terms (such as those defined in general dictionaries) should be interpreted as having a meaning consistent with their meaning in the context of the relevant art, rather than an ideal or overly formal interpretation of their meaning.

在本说明书中,信号线不根据类型来分类。因此,数据总线可以是用于发送单端信号的信号线、或者用于发送差分信号的一对线。在附图中示出的每条线可以被解释为由一个或更多个模拟信号或数字信号组成的单信号或总线信号,并且可以根据需要添加其描述。In this specification, signal lines are not categorized by type. Thus, a data bus can be a signal line for transmitting a single-ended signal or a pair of lines for transmitting a differential signal. Each line shown in the drawings can be interpreted as a single signal or bus signal composed of one or more analog or digital signals, and its description can be added as needed.

在下文中,将参照附图来描述本实施方式。图2是概括根据本实施方式的通信设备的框图。参照图1,根据本实施方式的通信设备包括发送或接收数据的第一方10、以及接收由第一方10发送的数据或向第一方10发送数据的第二方20。Hereinafter, the present embodiment will be described with reference to the accompanying drawings. FIG2 is a block diagram summarizing a communication device according to the present embodiment. Referring to FIG1 , the communication device according to the present embodiment includes a first party 10 for transmitting or receiving data, and a second party 20 for receiving data transmitted by the first party 10 or transmitting data to the first party 10.

第一方10包括提供时钟的时钟提供器310、以及提供数据或接收数据的多个数据收发器100。第二方20包括时钟接收器320和提供数据或接收数据的多个数据收发器200。在示例性实施方式中,第一方10还可以包括提供命令分组的命令发送器410,并且第二方20还可以包括接收命令分组的命令接收器420。The first side 10 includes a clock provider 310 for providing a clock, and a plurality of data transceivers 100 for providing or receiving data. The second side 20 includes a clock receiver 320 and a plurality of data transceivers 200 for providing or receiving data. In an exemplary embodiment, the first side 10 may further include a command transmitter 410 for providing a command packet, and the second side 20 may further include a command receiver 420 for receiving a command packet.

根据本实施方式的通信设备包括:数据信道单元,其包括将多个第一方数据收发器100和多个第二方数据收发器200分别连接的数据信道DATA 1、DATA 2、…、和DATA n;时钟信道CLK,其将时钟从第一方10提供到第二方20;以及命令信道CMD,其发送命令分组。第一方10和第二方20利用同一时钟进行操作。The communication device according to this embodiment includes a data channel unit including data channels DATA 1, DATA 2, ..., and DATA n, which respectively connect a plurality of first-party data transceivers 100 and a plurality of second-party data transceivers 200; a clock channel CLK, which provides a clock from the first party 10 to the second party 20; and a command channel CMD, which transmits a command packet. The first party 10 and the second party 20 operate using the same clock.

图2是概括根据本实施方式的通信方法的流程图。参照图2,根据本实施方式的通信方法是第一方和使用由第一方提供的时钟的第二方之间的通信方法,并且包括相位校准步骤(S100)、由第一方向第二方发送命令分组的步骤(S200)、以及在第一方和第二方之间根据命令分组来收发数据分组的数据发送和接收步骤(S300)。执行相位校准步骤,以对第一方的发送采样时钟的相位和第一方的接收采样时钟的相位进行校准。FIG2 is a flowchart summarizing a communication method according to this embodiment. Referring to FIG2 , the communication method according to this embodiment is a communication method between a first party and a second party using a clock provided by the first party, and includes a phase calibration step (S100), a step of the first party sending a command packet to the second party (S200), and a step of transmitting and receiving data packets between the first party and the second party based on the command packet (S300). The phase calibration step is performed to calibrate the phase of the first party's transmit sampling clock and the phase of the first party's receive sampling clock.

参照图1,第一方10包括多个数据收发器100。每个数据收发器100包括接收器110和发送器120。接收器110包括:接收缓冲器112,其从数据信道接收串行数据;解串器(deserializer)114,其对串行数据解串并将经解串行化的数据提供到第一方10的内部电路;以及接收相位调整器116,其从时钟提供器310接收公共时钟clk以生成接收采样时钟r_clk,并且将该接收采样时钟r_clk提供到解串器114。解串器114利用接收采样时钟r_clk对从数据信道接收的串行数据进行采样,对经采样的数据进行解串行化,并且将经解串行化的数据提供到第一方内部电路(未示出)。1 , the first side 10 includes a plurality of data transceivers 100. Each data transceiver 100 includes a receiver 110 and a transmitter 120. Receiver 110 includes a receive buffer 112 that receives serial data from a data channel; a deserializer 114 that deserializes the serial data and provides the deserialized data to the internal circuitry of the first side 10; and a receive phase adjuster 116 that receives a common clock (clk) from a clock provider 310 to generate a receive sampling clock (r_clk), and provides the receive sampling clock (r_clk) to deserializer 114. Deserializer 114 samples the serial data received from the data channel using the receive sampling clock (r_clk), deserializes the sampled data, and provides the deserialized data to the first side internal circuitry (not shown).

发送器120包括:串行器124,其从第一方内部电路(未示出)接收并行数据并且使所述并行数据进行串行化(serialize);发送缓冲器122,其将经串行化的数据提供到数据信道;以及发送相位调整器126,其从时钟提供器310接收公共时钟clk以生成发送采样时钟t_clk,并且将该发送采样时钟t_clk提供到串行器124。串行器124将从第一方内部电路接收的并行数据转换为串行信号,利用发送采样时钟t_clk对串行信号进行采样,并且将经采样的串行信号发送到数据信道。The transmitter 120 includes a serializer 124 that receives parallel data from a first-party internal circuit (not shown) and serializes the parallel data; a transmit buffer 122 that provides the serialized data to a data channel; and a transmit phase adjuster 126 that receives a common clock clk from a clock provider 310 to generate a transmit sampling clock t_clk and provides the transmit sampling clock t_clk to the serializer 124. The serializer 124 converts the parallel data received from the first-party internal circuit into a serial signal, samples the serial signal using the transmit sampling clock t_clk, and transmits the sampled serial signal to the data channel.

在一个示例性实施方式中,命令发送器410包括:串行器414,其从第一方内部电路(未示出)接收命令分组,并且将所接收的命令分组进行串行化;命令缓冲器412,其经由命令信道CMD将经串行化的命令分组发送到第二方20;以及命令相位调整器416,其从时钟提供器310接收时钟clk以生成命令采样时钟cmd_clk,并且将该命令采样时钟cmd_clk提供到串行器414。In an exemplary embodiment, the command transmitter 410 includes: a serializer 414 that receives a command packet from a first-party internal circuit (not shown) and serializes the received command packet; a command buffer 412 that transmits the serialized command packet to the second party 20 via a command channel CMD; and a command phase adjuster 416 that receives a clock clk from a clock provider 310 to generate a command sampling clock cmd_clk, and provides the command sampling clock cmd_clk to the serializer 414.

时钟提供器310包括时钟发生器314和时钟缓冲器312。时钟发生器314包括压控振荡器(VCO)、晶体振荡器(XO)、以及锁相环(PLL)或延迟锁相环。时钟发生器314将由VCO或XO提供的信号提供到PLL或延迟锁相环,因此生成具有目标频率的时钟信号。由时钟发生器314提供的时钟信号clk用作被共同提供到第一方10和第二方20的时钟。时钟缓冲器312经由时钟信道CLK将由时钟发生器314提供的时钟clk发送到第二方20。时钟发生器314经由时钟缓冲器312将时钟clk提供到接收相位调整器116和发送相位调整器126。The clock provider 310 includes a clock generator 314 and a clock buffer 312. The clock generator 314 includes a voltage-controlled oscillator (VCO), a crystal oscillator (XO), and a phase-locked loop (PLL) or a delay-locked loop (DLL). The clock generator 314 provides the signal provided by the VCO or XO to the PLL or DLL, thereby generating a clock signal having a target frequency. The clock signal clk provided by the clock generator 314 serves as a clock commonly provided to the first party 10 and the second party 20. The clock buffer 312 transmits the clock clk provided by the clock generator 314 to the second party 20 via the clock channel CLK. The clock generator 314 provides the clock clk to the receive phase adjuster 116 and the transmit phase adjuster 126 via the clock buffer 312.

由时钟提供器310生成的时钟clk经由时钟信道CLK被提供到第二方20,并且第二方20利用由第一方10提供的时钟对数据进行采样并发送经采样的数据,或者利用由第一方10提供的时钟对所接收的数据进行采样。提供到第一方10的时钟和提供到第二方20的时钟都是由时钟提供器310生成的,但是由于包括提供到第一方10和第二方20的电压等之间的差异、形成第一方10和第二方20的处理之间的差异、温度差异以及所发送的时钟信道CLK在内的电环境方面的差异而发生相位偏移。发生相位偏移的两个时钟信号具有相同的频率但不同的相位。因此,当必须将在第一方10使用的时钟与在第二方20使用的时钟区分开时,将在第一方10使用的时钟称为clk,而将在第二方20使用的时钟称为clk2。The clock "clk" generated by the clock provider 310 is provided to the second party 20 via the clock channel CLK. The second party 20 uses the clock provided by the first party 10 to sample data and transmit the sampled data, or uses the clock provided by the first party 10 to sample received data. Both the clock provided to the first party 10 and the clock provided to the second party 20 are generated by the clock provider 310. However, due to differences in the electrical environment, including differences in voltages supplied to the first and second parties 10, 20, processes used to generate the signals, temperature differences, and the transmitted clock channel CLK, a phase shift occurs. The two clock signals with a phase shift have the same frequency but different phases. Therefore, when it is necessary to distinguish between the clock used by the first party 10 and the clock used by the second party 20, the clock used by the first party 10 is referred to as "clk", while the clock used by the second party 20 is referred to as "clk2".

第二方20包括时钟接收器320,时钟接收器320从时钟信道CLK接收时钟,并且将所接收的时钟提供到多个数据收发器200。时钟接收器320包括时钟缓冲器322,时钟缓冲器322将时钟clk2提供到每个数据收发器200。如上所述,与第一方10不同,第二方20不生成时钟。因此,第二方20接收从第一方10提供的时钟,并且利用所接收的时钟clk2对所接收的数据和用于发送的数据进行采样。The second side 20 includes a clock receiver 320 that receives a clock from the clock channel CLK and provides the received clock to the plurality of data transceivers 200. The clock receiver 320 includes a clock buffer 322 that provides a clock clk2 to each of the data transceivers 200. As described above, unlike the first side 10, the second side 20 does not generate a clock. Therefore, the second side 20 receives the clock provided from the first side 10 and samples the received data and the data to be transmitted using the received clock clk2.

第二方20所包括的每个数据收发器200包括接收器210和发送器220。接收器210包括:接收缓冲器212,其对从数据信道接收的数据进行缓冲并将该数据提供给解串器214;以及解串器214,其对由接收缓冲器212提供的串行数据进行解串行化。解串器214接收时钟clk2以对所接收的数据进行采样,对经采样的数据进行解串行化,并且将经解串行化的数据提供到第二方内部电路(未示出)。Each data transceiver 200 included in the second side 20 includes a receiver 210 and a transmitter 220. The receiver 210 includes a receive buffer 212 that buffers data received from a data channel and provides the data to a deserializer 214; and a deserializer 214 that deserializes the serial data provided by the receive buffer 212. The deserializer 214 receives a clock clk2 to sample the received data, deserializes the sampled data, and provides the deserialized data to a second side internal circuit (not shown).

发送器220包括:串行器224,其接收从第二方内部电路(未示出)发送的数据并且对该数据进行串行化;以及发送缓冲器222,其将经串行化的数据发送到数据信道。串行器224将从第二方内部电路提供的并行信号转换成串行信号,利用时钟clk2对所述串行信号进行采样,并且将经采样的串行信号发送到数据信道。Transmitter 220 includes a serializer 224 that receives and serializes data transmitted from a second-party internal circuit (not shown), and a transmit buffer 222 that transmits the serialized data to a data channel. Serializer 224 converts a parallel signal provided from the second-party internal circuit into a serial signal, samples the serial signal using clock clk2, and transmits the sampled serial signal to the data channel.

命令接收器420从命令信道CMD接收命令分组,并且将命令分组提供到第二方内部电路(未示出)。命令接收器420包括解串器424,解串器424利用时钟clk2对由命令缓冲器422接收的命令分组进行采样,对经采样的命令分组进行解串行化,并且将经解串行化的命令分组提供到第二方内部电路(未示出)。The command receiver 420 receives a command packet from the command channel CMD and provides the command packet to the second-party internal circuit (not shown). The command receiver 420 includes a deserializer 424 that samples the command packet received by the command buffer 422 using the clock clk2, deserializes the sampled command packet, and provides the deserialized command packet to the second-party internal circuit (not shown).

在一个示例性实施方式中,第一方10可以在显示图像的显示装置的定时控制器中实现,而第二方20可以被实现为存储显示图像信息的存储器。为了实现高的信息存储密度,存储器专注于形成包含重复的规则模式的电路。因此,在存储器上实现具有不重复且不规则的布图的时钟产生电路、相位调整电路等可能存在关于管芯尺寸和实现的难度级别方面的问题。然而,根据本实施方式,能够利用由定时控制器提供的时钟来同时操作定时控制器和存储器,并因此能够解决常规技术的问题。另外,本实施方式提供的优点在于,其能够实现高的信息存储密度和低的延迟。In an exemplary embodiment, the first party 10 can be implemented in a timing controller of a display device that displays an image, and the second party 20 can be implemented as a memory for storing display image information. In order to achieve high information storage density, the memory focuses on forming a circuit containing a repetitive regular pattern. Therefore, there may be problems with the die size and the difficulty level of implementation when implementing a clock generation circuit, a phase adjustment circuit, etc. with a non-repetitive and irregular layout on the memory. However, according to this embodiment, the timing controller and the memory can be operated simultaneously using the clock provided by the timing controller, and thus the problems of the conventional technology can be solved. In addition, the advantage provided by this embodiment is that it can achieve high information storage density and low latency.

相位校准步骤(见图2的S100)包括:发送相位校准处理,即,对由第一方10使用的发送采样时钟t_clk的相位进行校准以发送数据分组,使得第二方20能够对从第一方10发送的数据分组有效地采样;以及接收相位校准处理,即,对由第一方10使用的接收采样时钟r_clk的相位进行校准以对数据分组进行采样,使得第一方10能够对由第二方20提供的数据分组有效地采样。在一个示例性实施方式中,相位校准步骤还包括对用于对命令分组进行采样的命令采样时钟cmd_clk的相位进行校准的处理。The phase calibration step (see S100 of FIG. 2 ) includes: a transmission phase calibration process, i.e., calibrating the phase of the transmission sampling clock t_clk used by the first side 10 to transmit data packets so that the second side 20 can effectively sample the data packets transmitted from the first side 10; and a reception phase calibration process, i.e., calibrating the phase of the reception sampling clock r_clk used by the first side 10 to sample data packets so that the first side 10 can effectively sample the data packets provided by the second side 20. In one exemplary embodiment, the phase calibration step also includes a process of calibrating the phase of the command sampling clock cmd_clk used to sample command packets.

在本说明书中,“有效采样”的含义表示能够对数据保持时期的比特信息进行采样,这是因为在数据转换时期中不包含用于采样的采样时钟的边沿。In this specification, “effective sampling” means that bit information in a data holding period can be sampled because an edge of a sampling clock for sampling is not included in a data conversion period.

图3(a)和图3(b)是例示发送相位校准处理的示例性定时图。图3(a)是示例第一方10利用时钟生成多个初始时钟并且生成利用所述初始时钟进行采样的训练模式的处理的示意定时图,并且图3(b)是示例第二方20利用时钟clk2对所接收的模式进行采样的处理的示意定时图。参照图3(a),发送相位调整器126接收图3(a)中示出的时钟clk,并且生成具有相位的第一初始时钟pre_clk1。作为一个实现示例,发送相位调整器126包括相位内插器,并且通过对所接收的时钟信号clk的一个周期进行内插来生成具有目标相位的初始时钟。作为另一实现示例,发送相位调整器126包括延迟元件,并且能够通过将所接收的时钟信号clk延迟目标延迟时间来生成具有目标相位的初始时钟。Figures 3(a) and 3(b) are exemplary timing diagrams illustrating a transmit phase calibration process. Figure 3(a) is a schematic timing diagram illustrating a process in which the first party 10 generates multiple initial clocks using a clock and generates a training pattern sampled using the initial clocks, and Figure 3(b) is a schematic timing diagram illustrating a process in which the second party 20 samples a received pattern using clock clk2. Referring to Figure 3(a), the transmit phase adjuster 126 receives the clock clk shown in Figure 3(a) and generates a first initial clock pre_clk1 having a phase. As one implementation example, the transmit phase adjuster 126 includes a phase interpolator and generates an initial clock having a target phase by interpolating one cycle of the received clock signal clk. As another implementation example, the transmit phase adjuster 126 includes a delay element and is capable of generating an initial clock having a target phase by delaying the received clock signal clk by a target delay time.

发送相位调整器126将生成的第一初始时钟pre_clk1提供到串行器124,并且串行器124利用所提供的第一初始时钟pre_clk1对第一方10和第二方20之间相互预定的训练模式进行采样。例如,训练模式可以由第一方内部电路(未示出)提供。在另一示例中,训练模式可以是在串行器124中设置的模式。The transmission phase adjuster 126 provides the generated first initial clock pre_clk 1 to the serializer 124, and the serializer 124 uses the provided first initial clock pre_clk 1 to sample a training pattern mutually predetermined between the first party 10 and the second party 20. For example, the training pattern can be provided by an internal circuit (not shown) of the first party. In another example, the training pattern can be a pattern set in the serializer 124.

如附图中示出的,利用第一初始时钟pre_clk1进行采样的训练模式s_ts1具有与用于采样的初始时钟的相位对应的相位。利用第一初始时钟pre_clk1进行采样的训练模式s_ts1被提供到发送缓冲器122,并且发送缓冲器122经由数据信道将经采样的模式s_ts1提供到第二方20。As shown in the drawing, the training pattern s_ts1 sampled using the first initial clock pre_clk 1 has a phase corresponding to the phase of the initial clock for sampling. The training pattern s_ts1 sampled using the first initial clock pre_clk 1 is provided to the transmission buffer 122, and the transmission buffer 122 provides the sampled pattern s_ts1 to the second party 20 via the data channel.

第二方20的接收缓冲器212接收并缓冲经采样的训练模式s_ts1,并将经采样的训练模式s_ts1提供到第二方20的解串器214。解串器214利用采样时钟对所接收的模式进行采样,并且对经采样的模式进行解串行化。用于在第二方20进行采样的时钟clk2经由与数据信道不同的时钟信道CLK被提供到第二方20。由于在第一方10和第二方20之间存在诸如电压差异这样的电条件方面的差异并且在第一方10和第二方20所处的地方之间存在诸如温度、湿度等这样的环境条件方面的差异,因此提供到第二方解串器214的时钟clk2具有与提供到第一方10的时钟clk不同的相位。The receiving buffer 212 of the second party 20 receives and buffers the sampled training pattern s_ts1 and provides the sampled training pattern s_ts1 to the deserializer 214 of the second party 20. The deserializer 214 samples the received pattern using a sampling clock and deserializes the sampled pattern. The clock clk2 used for sampling on the second party 20 is provided to the second party 20 via a clock channel CLK different from the data channel. Due to differences in electrical conditions such as voltage differences between the first party 10 and the second party 20, and differences in environmental conditions such as temperature and humidity between the locations of the first party 10 and the second party 20, the clock clk2 provided to the second party deserializer 214 has a different phase from the clock clk provided to the first party 10.

当利用clk2对由第一方10发送的训练模式进行采样时,存在是否能够对训练模式进行有效采样的问题。因此,如将在下面描述的,当利用时钟clk2对训练模式进行采样时,检测到具有用于在第二方20恢复训练模式的相位的初始时钟,并且利用诸如采样时钟这样的时钟对数据分组进行采样并将经采样的数据分组发送到第二方20。When the training pattern transmitted by the first party 10 is sampled using the clock clk2, there is a question of whether the training pattern can be sampled effectively. Therefore, as will be described below, when the training pattern is sampled using the clock clk2, an initial clock having a phase for restoring the training pattern on the second party 20 is detected, and a data packet is sampled using a clock such as the sampling clock and the sampled data packet is transmitted to the second party 20.

在图3(b)中,如上所述,第二方20的时钟clk2与由第二方20接收的经采样的训练模式s_ts1之间的相位差异不同于第一方10的时钟clk与经采样的训练模式s_ts1之间的相位差异。例如,当解串器214利用时钟clk2的上升沿来执行采样时,时钟clk2的上升沿位于训练模式s_ts1的比特过渡期(bit transition period)中,并因此不能够对训练模式s_ts1的比特进行精确采样。因此,当利用时钟clk2对模式s_ts1进行采样时,经采样的模式与预定的训练模式不同。在该情况下,第二方20将不一致信号发送到第一方10。作为一个示例性实施方式,该不一致信号可以经由多个数据信道当中的未被执行相位校准的数据信道来发送。In FIG3(b), as described above, the phase difference between the clock clk2 of the second party 20 and the sampled training pattern s_ts1 received by the second party 20 is different from the phase difference between the clock clk of the first party 10 and the sampled training pattern s_ts1 . For example, when the deserializer 214 performs sampling using the rising edge of the clock clk2, the rising edge of the clock clk2 is located in the bit transition period of the training pattern s_ts1 , and therefore cannot accurately sample the bits of the training pattern s_ts1 . Therefore, when the pattern s_ts1 is sampled using the clock clk2, the sampled pattern is different from the predetermined training pattern. In this case, the second party 20 transmits an inconsistency signal to the first party 10. As an exemplary embodiment, the inconsistency signal can be transmitted via a data channel among the multiple data channels that has not been phase-calibrated.

发送相位调整器126接收时钟clk以生成相位与第一初始时钟pre_clk1的相位不同的第二初始时钟pre_clk2,并且将第二初始时钟pre_clk2提供到串行器124。串行器124利用所提供的第二初始时钟pre_clk2对预定的训练模式进行采样,因此生成经采样的训练模式s_ts2。如上所述,经采样的训练模式的相位与用于采样的时钟的相位对应。The transmission phase adjuster 126 receives the clock clk to generate a second initial clock pre_clk 2 having a different phase from the first initial clock pre_clk 1 , and provides the second initial clock pre_clk 2 to the serializer 124. The serializer 124 samples a predetermined training pattern using the provided second initial clock pre_clk 2 , thereby generating a sampled training pattern s_ts 2. As described above, the phase of the sampled training pattern corresponds to the phase of the clock used for sampling.

串行器124将经采样的训练模式s_ts2提供到发送缓冲器122,而发送缓冲器122经由数据信道将经采样的训练模式s_ts2提供到第二方20。第二方20的接收缓冲器212对经采样的训练模式s_ts2进行缓冲,并且将经采样的训练模式s_ts2提供到解串器214。解串器214利用时钟clk2对经采样的训练模式s_ts2进行采样。如图3(b)所示,利用第二初始时钟pre_clk2进行采样的训练模式s_ts2的相位与利用第一初始时钟pre_clk1进行采样的训练模式s_ts1的相位不同。由于用于执行采样的时钟clk2的上升沿不在比特过渡期中,因此能够对经采样的训练模式s_ts2进行有效采样。因此,利用时钟clk2对训练模式s_ts2进行采样的结果与预定的训练模式一致。第二方20经由未被执行相位校准的另一数据信道向第一方10发送一致信号。Serializer 124 provides the sampled training pattern s_ts2 to transmit buffer 122, which in turn provides the sampled training pattern s_ts2 to second party 20 via a data channel. Receive buffer 212 of second party 20 buffers the sampled training pattern s_ts2 and provides it to deserializer 214. Deserializer 214 samples the sampled training pattern s_ts2 using clock clk2. As shown in FIG3(b), the phase of training pattern s_ts2 sampled using the second initial clock pre_clk2 differs from the phase of training pattern s_ts1 sampled using the first initial clock pre_clk1 . Because the rising edge of clock clk2 used for sampling does not fall within a bit transition period, the sampled training pattern s_ts2 can be effectively sampled. Therefore, the result of sampling training pattern s_ts2 using clock clk2 is consistent with the predetermined training pattern. The second side 20 transmits a coincidence signal to the first side 10 via another data channel on which phase alignment is not performed.

发送相位调整器126生成相位依次改变的初始时钟,并且将相应的初始时钟提供到串行器124,因此生成利用相应的初始时钟进行采样的训练模式。按照这种方式生成的经采样的训练模式显示图3(b)中示出的相位偏移。因此,当对s_tsk-1进行采样时,时钟clk2的上升沿不在比特过渡期中,并且能够对模式进行有效采样。然而,当对s_tsk进行采样时,时钟clk2的上升沿包含在比特过渡期中,不能对模式进行有效采样。因此,第二方20发送一致信号,直到对s_tsk-1进行采样为止,并且当由于经采样的训练模式与预定的训练模式不同而对s_tsk进行采样时,第二方20向第一方发送不一致信号。The transmission phase adjuster 126 generates initial clocks whose phases change sequentially, and provides the corresponding initial clocks to the serializer 124, thereby generating a training pattern sampled using the corresponding initial clock. The sampled training pattern generated in this manner exhibits the phase offset shown in FIG3(b). Therefore, when s_ts k-1 is sampled, the rising edge of the clock clk2 is not within the bit transition period, and the pattern can be effectively sampled. However, when s_ts k is sampled, the rising edge of the clock clk 2 is included in the bit transition period, and the pattern cannot be effectively sampled. Therefore, the second party 20 transmits a consistent signal until s_ts k-1 is sampled, and when s_ts k is sampled because the sampled training pattern is different from the predetermined training pattern, the second party 20 transmits an inconsistent signal to the first party.

第一方10确定接收到一致信号的初始时钟的相位范围。参照图3(b),能够利用时钟clk2对从s_ts2至s_tsk-1的模式进行有效采样。因此,在一个示例性实施方式中,第一方10选择以下初始时钟作为发送采样时钟t_clk:该初始时钟具有在从用于对s_ts2进行采样的时钟信号pre_clk2的相位到用于对s_tsk-1进行采样的时钟信号pre_clkk-1的相位的范围内的任何一个相位。在另一示例性实施方式中,第一方10选择以下初始时钟作为发送采样时钟t_clk:该初始时钟具有在从用于对s_ts2进行采样的时钟信号pre_clk2的相位到用于对s_tsk-1采样的时钟信号pre_clkk-1的相位的范围中间的相位。The first party 10 determines the phase range of the initial clock that receives the coincidence signal. Referring to FIG3( b ), the pattern from s_ts 2 to s_ts k-1 can be effectively sampled using clock clk 2. Therefore, in one exemplary embodiment, the first party 10 selects the following initial clock as the transmission sampling clock t_clk: the initial clock having any phase within the range from the phase of the clock signal pre_clk 2 used to sample s_ts 2 to the phase of the clock signal pre_clk k - 1 used to sample s_ts k-1 . In another exemplary embodiment, the first party 10 selects the following initial clock as the transmission sampling clock t_clk: the initial clock having a phase in the middle of the range from the phase of the clock signal pre_clk 2 used to sample s_ts 2 to the phase of the clock signal pre_clk k-1 used to sample s_ts k-1 .

在图3(b)中,s_data是示出以下情况的定时图,其中第一方10选择具有在所述范围中间的相位的初始时钟作为发送采样时钟t_clk,并且第二方接收利用发送采样时钟t_clk进行采样的数据s_data。如附图中所示,时钟clk2的采样沿被定位成使得采样数据s_data的比特能够被采样。In FIG3(b), s_data is a timing diagram showing a case where the first party 10 selects an initial clock having a phase in the middle of the range as the transmission sampling clock t_clk, and the second party receives data s_data sampled using the transmission sampling clock t_clk. As shown in the figure, the sampling edge of the clock clk2 is positioned so that bits of the sampled data s_data can be sampled.

图4示出了例示接收相位校准处理的示例性定时图。参照图4,例如,第二方20的内部电路(未示出)向串行器224提供预定的训练模式,并且串行器224利用时钟clk2对所提供的训练模式进行采样,并且经由发送缓冲器222将经采样的训练模式提供到数据信道。第一方10的接收缓冲器112接收由第二方20经由数据信道提供的训练模式r_ts,并且对该训练模式r_ts进行缓冲并将其提供到解串器114。在另一示例中,可以在串行器224中设置预定的训练模式。FIG4 shows an exemplary timing diagram illustrating a receive phase calibration process. Referring to FIG4 , for example, an internal circuit (not shown) of the second side 20 provides a predetermined training pattern to the serializer 224, and the serializer 224 samples the provided training pattern using the clock clk2 and provides the sampled training pattern to the data channel via the transmit buffer 222. The receive buffer 112 of the first side 10 receives the training pattern r_ts provided by the second side 20 via the data channel, buffers the training pattern r_ts, and provides it to the deserializer 114. In another example, the predetermined training pattern may be set in the serializer 224.

通过利用第二方20的时钟clk2进行采样并发送来获得模式r_ts。如上所述,第二方20的时钟clk2具有与第一方10的时钟clk不同的相位,并因此用于采样的接收采样时钟应该在第一方10被生成。接收相位调整器116接收时钟clk,并且生成相位为的初始时钟pre_clka。接收相位调整器116将所生成的初始时钟pre_clka提供到解串器114,并且解串器114利用所提供的初始时钟pre_clka对模式r_ts进行采样。The pattern r_ts is obtained by sampling and transmitting the pattern using the clock clk2 of the second side 20. As described above, the clock clk2 of the second side 20 has a different phase from the clock clk of the first side 10, and therefore the receive sampling clock used for sampling should be generated on the first side 10. The receive phase adjuster 116 receives the clock clk and generates an initial clock pre_clk a with a phase of 0.001. The receive phase adjuster 116 provides the generated initial clock pre_clk a to the deserializer 114, and the deserializer 114 samples the pattern r_ts using the provided initial clock pre_clk a .

在一示例中,接收相位调整器116可以被实现为相位内插器,该相位内插器接收时钟clk,并且通过对相位进行内插来生成具有目标相位的初始时钟。在另一示例中,接收相位调整器116可以包括延迟元件,该延迟元件接收时钟clk,并且通过将时钟clk延迟预定的延迟时间来生成具有目标相位的初始时钟。In one example, the receive phase adjuster 116 may be implemented as a phase interpolator that receives the clock clk and generates an initial clock having a target phase by interpolating the phase. In another example, the receive phase adjuster 116 may include a delay element that receives the clock clk and generates an initial clock having a target phase by delaying the clock clk by a predetermined delay time.

如附图中所示,解串器114用于执行采样的初始时钟pre_clka的上升沿处于模式r_ts的比特过渡期中,并因此不能够对模式r_ts进行有效采样。因此,当将采样结果与预定的训练模式进行比较时,能够确定它们彼此不同。在一个示例性实施方式中,第一方10向第二方20发送不一致信号。As shown in the figure, the rising edge of the initial clock pre_clk a used by deserializer 114 for sampling falls during a bit transition period of pattern r_ts, and therefore cannot effectively sample pattern r_ts. Therefore, when the sampling result is compared with the predetermined training pattern, it can be determined that they are different. In one exemplary embodiment, first party 10 sends an inconsistency signal to second party 20.

接收相位调整器116通过调整时钟clk的相位来生成相位为的初始时钟pre_clkb,并且将该初始时钟pre_clkb提供到解串器114。解串器114用于执行采样的初始时钟pre_clkb的上升沿不位于模式r_ts的比特过渡期中,并因此能够对模式r_ts进行有效采样。因此,当将采样结果与预定的训练模式进行比较时,能够确定它们相同。The receive phase adjuster 116 generates an initial clock pre_clk b with a phase of by adjusting the phase of the clock clk, and provides the initial clock pre_clk b to the deserializer 114. The rising edge of the initial clock pre_clk b used by the deserializer 114 for sampling does not fall within the bit transition period of the pattern r_ts, and thus the pattern r_ts can be effectively sampled. Therefore, when the sampling result is compared with the predetermined training pattern, it can be determined that they are the same.

接收相位调整器116在顺序地改变时钟clk的相位的同时生成初始时钟,并且将所生成的初始时钟顺序地提供到解串器114。解串器114利用所提供的初始时钟对模式r_ts进行采样,并且确定经采样的模式是否与预定的训练模式一致。如图4所示,相位为的初始时钟pre_clkk具有位于模式r_ts的比特过渡期之外的上升沿,并因此解串器114能够对模式r_ts进行有效采样。然而,相位为的初始时钟pre_clkk+1具有位于模式r_ts的比特过渡期中的上升沿,并因此不能够对模式r_ts进行有效采样。The reception phase adjuster 116 generates an initial clock while sequentially changing the phase of the clock clk, and sequentially provides the generated initial clock to the deserializer 114. The deserializer 114 samples the pattern r_ts using the provided initial clock and determines whether the sampled pattern is consistent with the predetermined training pattern. As shown in FIG4 , the initial clock pre_clk k with a phase of has a rising edge outside the bit transition period of the pattern r_ts, and thus the deserializer 114 can effectively sample the pattern r_ts. However, the initial clock pre_clk k+1 with a phase of has a rising edge within the bit transition period of the pattern r_ts, and therefore cannot effectively sample the pattern r_ts.

在一个示例性实施方式中,第一方10选择具有第b个相位的初始时钟pre_clkb至具有第k个相位的初始时钟pre_clkk中的任何一个作为接收采样时钟r_clk,以对由第二方10提供的数据进行采样。In an exemplary embodiment, the first side 10 selects any one of the initial clocks pre_clk b having the bth phase to pre_clk k having the kth phase as the reception sampling clock r_clk to sample data provided by the second side 10 .

在另一示例性实施方式中,第一方10可以确定能够对模式进行有效采样的初始时钟的相位的范围,并且选择相位在该相位范围中间的初始时钟作为接收采样时钟r_clk。在一示例中,当能够对模式进行有效采样的初始时钟的相位是第a个相位第b个相位和第c个相位这三个连续的相位时,第一方10能够选择具有在这些相位中间的第b个相位的初始时钟作为接收采样时钟r_clk。在另一示例中,当能够对模式进行有效采样的初始时钟的相位是第a个相位第b个相位第c个相位和第d个相位这四个连续的相位时,第一方10可以选择具有在这些相位中间的第b个相位和第c个相位中的任何一个的初始时钟作为接收采样时钟r_clk。In another exemplary embodiment, the first side 10 may determine a range of initial clock phases capable of validly sampling a pattern, and select an initial clock with a phase in the middle of this phase range as the receive sampling clock r_clk. In one example, when the initial clock phases capable of validly sampling a pattern are three consecutive phases: the a-th phase, the b-th phase, and the c-th phase, the first side 10 may select an initial clock with a b-th phase in the middle of these phases as the receive sampling clock r_clk. In another example, when the initial clock phases capable of validly sampling a pattern are four consecutive phases: the a-th phase, the b-th phase, the c-th phase, and the d-th phase, the first side 10 may select an initial clock with either a b-th phase or a c-th phase in the middle of these phases as the receive sampling clock r_clk.

在一个示例性实施方式中,相位校准处理还包括对由第一方10提供的命令分组进行采样的命令时钟相位校准处理。从第一方10向第二方20提供命令分组,并且对命令采样时钟的相位进行校准的处理与以上描述的对发送采样时钟的相位进行校准的处理相似。从第一方10的内部电路(未示出)向串行器414提供命令分组,并且串行器414利用命令采样时钟cmd_clk对命令分组进行采样并将经采样的命令分组发送到第二方20。In one exemplary embodiment, the phase calibration process also includes a command clock phase calibration process for sampling a command packet provided by the first side 10. The process of providing a command packet from the first side 10 to the second side 20 and calibrating the phase of the command sampling clock is similar to the process of calibrating the phase of the transmission sampling clock described above. The command packet is provided from an internal circuit (not shown) of the first side 10 to the serializer 414, and the serializer 414 samples the command packet using the command sampling clock cmd_clk and transmits the sampled command packet to the second side 20.

第二方20经由命令信道CMD接收命令分组,并且命令缓冲器422对所接收的命令分组进行缓冲并将其提供到解串器424。解串器424利用时钟clk2对命令分组进行采样,对经采样的命令分组进行解串行化,并且将经解串行化的命令分组提供到第二方内部电路(未示出)。在一个示例性实施方式中,命令相位调整器416接收公共时钟clk,生成具有目标相位的初始时钟,利用该初始时钟对训练模式进行采样,并且将经采样的训练模式提供到第二方命令接收器420。The second party 20 receives the command packet via the command channel CMD, and the command buffer 422 buffers the received command packet and provides it to the deserializer 424. The deserializer 424 samples the command packet using the clock clk2, deserializes the sampled command packet, and provides the deserialized command packet to the second party internal circuit (not shown). In an exemplary embodiment, the command phase adjuster 416 receives the common clock clk, generates an initial clock with a target phase, samples a training pattern using the initial clock, and provides the sampled training pattern to the second party command receiver 420.

解串器424利用第二方时钟clk2对所接收的模式进行采样,确定经采样的模式是否与预定的训练模式一致,并且将一致信号或不一致信号提供到第一方10。如下面将描述的,存在用于在第一方10和第二方20之间传输信息的三种类型的信道:时钟信道CLK、数据信道DATA 1至DATA n、以及命令信道CMD。在这些信道当中,仅能够在数据信道DATA 1至DATA n中实现双向传输。因此,第二方内部电路(未示出)经由数据信道向第一方10发送一致信号或不一致信号。The deserializer 424 samples the received pattern using the second-party clock clk2, determines whether the sampled pattern matches the predetermined training pattern, and provides a consistency signal or a non-consistency signal to the first party 10. As will be described below, there are three types of channels for transmitting information between the first party 10 and the second party 20: a clock channel CLK, data channels DATA 1 to DATA n, and a command channel CMD. Of these channels, bidirectional transmission is only possible on the data channels DATA 1 to DATA n. Therefore, the second-party internal circuit (not shown) transmits a consistency signal or a non-consistency signal to the first party 10 via the data channels.

例如,在对命令采样时钟的相位进行校准的处理中,第二方内部电路(未示出)能够通过使所有的数据信道DATA 1至DATA n向第一方10发送逻辑1或逻辑0来发送一致信号或不一致信号。在另一示例中,第二方内部电路(未示出)能够经由第一方10与第二方20之间预定的任何一个数据信道来发送一致信号或不一致信号。For example, in the process of calibrating the phase of the command sampling clock, the second-party internal circuit (not shown) can transmit a coincidence signal or a disagreement signal by causing all the data channels DATA 1 to DATA n to transmit logic 1 or logic 0 to the first party 10. In another example, the second-party internal circuit (not shown) can transmit a coincidence signal or a disagreement signal via any one predetermined data channel between the first party 10 and the second party 20.

命令相位调整器416能够从一致信号或不一致信号来确定解串器424能够对训练模式进行有效采样的初始时钟的相位的范围。例如,命令相位调整器416能够选择具有在该相位范围中间的相位的初始时钟作为命令采样时钟cmd_clk。在另一示例中,命令相位调整器416能够选择具有在该相位范围内的任何一个相位的初始时钟作为命令采样时钟cmd_clk。The command phase adjuster 416 can determine the phase range of the initial clock that can effectively sample the training pattern for the deserializer 424 based on the consistent signal or the inconsistent signal. For example, the command phase adjuster 416 can select an initial clock with a phase in the middle of the phase range as the command sampling clock cmd_clk. In another example, the command phase adjuster 416 can select an initial clock with a phase within any phase range as the command sampling clock cmd_clk.

相位校准的结果可以根据包括数据信道和命令信道的所有信道而改变。因此,根据相应的信道来对相位校准进行调整或分组。The result of the phase calibration may vary according to all channels including the data channel and the command channel. Therefore, the phase calibration is adjusted or grouped according to the corresponding channel.

包括在第一方10中的多个收发器100中的每一个执行相位校准处理,以生成发送采样时钟和接收采样时钟。当包括在第一方10中的多个收发器100同时执行相位校准时,可以缺少用于发送一致信号和/或不一致信号的信道,并且形成发送采样时钟的相位校准处理可能需要过长的时间。在一个示例性实施方式中,所有的收发器100能够被分类成两组,以分别执行相位校准处理。在另一示例性实施方式中,所有的收发器100可以被分类成偶数编号的数据收发器和奇数编号的数据收发器,并且分别执行相位校准处理。Each of the multiple transceivers 100 included in the first party 10 performs a phase calibration process to generate a transmit sampling clock and a receive sampling clock. When the multiple transceivers 100 included in the first party 10 perform phase calibration simultaneously, there may be a lack of channels for transmitting consistent signals and/or inconsistent signals, and the phase calibration process for forming the transmit sampling clock may take an excessively long time. In one exemplary embodiment, all transceivers 100 can be classified into two groups to perform phase calibration processes separately. In another exemplary embodiment, all transceivers 100 can be classified into even-numbered data transceivers and odd-numbered data transceivers, and the phase calibration process can be performed separately.

在一个示例性实施方式中,当第一方10和第二方20以由多条线组成的帧为单位收发数据时,在完成预定数目的帧的数据发送和接收之后执行相位校准。由于相位可以依据提供到第一方10和第二方20的电压和环境的改变而改变,因此能够通过在完成预定数目的帧的数据发送和接收之后执行相位校准来减小由相位改变而导致的数据传输错误。因此,当定期地执行帧数据发送和接收时,定期地执行相位校准步骤,而当不定期地执行帧数据发送和接收时,不定期地执行相位校准步骤。例如,能够在完成预定数目的帧的数据发送和接收之后,在垂直消隐期中执行相位校准。In one exemplary embodiment, when the first and second parties 10 and 20 transmit and receive data in frames consisting of multiple lines, phase calibration is performed after a predetermined number of frames have been transmitted and received. Because the phase can change depending on changes in the voltage supplied to the first and second parties 10 and 20 and the environment, performing phase calibration after a predetermined number of frames have been transmitted and received can reduce data transmission errors caused by phase changes. Therefore, when frame data is transmitted and received periodically, the phase calibration step is performed periodically, while when frame data is transmitted and received irregularly, the phase calibration step is performed irregularly. For example, phase calibration can be performed during the vertical blanking period after a predetermined number of frames have been transmitted and received.

在另一示例性实施方式中,能够在第一方10和第二方20中的任何一个不进行操作的消隐期中执行相位校准。例如,当第一方10是数据发送芯片并且第二方20是动态随机存取存储器(DRAM)时,DRAM不能在刷新周期中接收或输出数据。因此,第一方10不能在存储器的刷新周期中执行相位校准。In another exemplary embodiment, phase calibration can be performed during a blanking period in which neither the first side 10 nor the second side 20 is operating. For example, when the first side 10 is a data transmission chip and the second side 20 is a dynamic random access memory (DRAM), the DRAM cannot receive or output data during a refresh cycle. Therefore, the first side 10 cannot perform phase calibration during the memory's refresh cycle.

换句话说,当定期地执行存储器刷新时,定期地执行相位校准步骤,而当不定期地执行存储器刷新时,不定期地执行相位校准步骤。In other words, when memory refresh is performed periodically, the phase calibration step is performed periodically, and when memory refresh is performed aperiodically, the phase calibration step is performed aperiodically.

在一个示例性实施方式中,当包括第一方10和第二方20的设备被供应有电力并且进行初始操作时,第一方10和第二方20执行相位校准步骤。当在命令采样时钟、发送采样时钟和接收采样时钟全部被生成之后完成初始操作时,执行相位校准步骤。In one exemplary embodiment, when the apparatus including the first side 10 and the second side 20 is supplied with power and performs initial operation, the first side 10 and the second side 20 perform a phase calibration step. When the initial operation is completed after the command sampling clock, the transmission sampling clock, and the reception sampling clock are all generated, the phase calibration step is performed.

第一方10向第二方20发送命令分组(S200,见图2)。命令分组是第一方10指示第二方20以执行处理的分组。命令分组可以是例如用于第一方10读取第二方20所存储的信息的读取分组RD、用于在第二方20写入由第一方10提供的信息的写入分组WR、用于当第二方20是DRAM时执行刷新的刷新分组RF等。The first side 10 sends a command packet to the second side 20 (S200, see FIG2 ). The command packet is a packet that the first side 10 instructs the second side 20 to perform a process. The command packet may be, for example, a read packet RD for the first side 10 to read information stored in the second side 20, a write packet WR for writing information provided by the first side 10 to the second side 20, or a refresh packet RF for performing a refresh when the second side 20 is a DRAM.

另外,命令分组可以包括用于指定第二方20的行地址的行地址选通(RAS)分组、以及用于指定第二方20的列地址的列地址选通(CAS)分组,并且还可以包括指示不存在命令的无操作(NOP)分组。普通技术人员将能够按照除了在下面的描述中例示的命令分组以外的各种形式来限定并使用命令分组。In addition, the command packet may include a row address strobe (RAS) packet for specifying a row address of the second party 20, and a column address strobe (CAS) packet for specifying a column address of the second party 20, and may also include a no operation (NOP) packet indicating the absence of a command. A person of ordinary skill will be able to define and use the command packet in various forms other than the command packet exemplified in the following description.

图5是示意性地示出第一方将存储的数据写入到第二方的处理的定时图。参照图5,将描述将由第一方提供的数据写入到第二方的处理。第一方10经由命令信道CMD发送写入分组WR(S200,见图2)。第一方10发送多个NOP分组,因此确保第二方20接收写入分组WR并对其进行解码并且执行内部处理的时间。例如,发送的NOP分组的数目可以根据第二方解码和内部处理所花费的时间而改变。FIG5 is a timing diagram schematically illustrating a process in which a first party writes stored data to a second party. Referring to FIG5 , the process of writing data provided by the first party to the second party will be described. The first party 10 sends a write packet WR via a command channel CMD (S200, see FIG2 ). The first party 10 sends a plurality of NOP packets, thereby ensuring time for the second party 20 to receive the write packet WR, decode it, and perform internal processing. For example, the number of NOP packets sent can be changed according to the time taken for the second party to decode and perform internal processing.

在发送了足够数目的NOP分组之后,第一方10经由命令信道CMD发送RAS分组,并且经由数据信道DATA 1、DATA 2、…、和DATA n发送同步分组SYNC。同步分组SYNC是用于指示当数据从第一方10被发送到第二方20或者数据从第二方20被发送到第一方10时该数据的起点的分组。After transmitting a sufficient number of NOP packets, the first party 10 transmits a RAS packet via the command channel CMD and transmits a synchronization packet SYNC via the data channels DATA 1, DATA 2, ..., and DATA n. The synchronization packet SYNC is a packet used to indicate the starting point of data when data is transmitted from the first party 10 to the second party 20 or when data is transmitted from the second party 20 to the first party 10.

在经由命令信道CMD发送CAS分组的同时,第一方10经由数据信道DATA 1、DATA2、…、和DATA n发送用于写入的数据。图5示出了经由每个数据信道发送两个分组,但是经由每个信道发送的数据分组的数目能够改变。第二方20对经由数据信道DATA 1、DATA2、…、和DATA n提供的数据进行解码,并且将经解码的数据存储在由RAS分组和CAS分组指定的地址处。如附图中所示,通过发送另一RAS分组和另一CAS分组,能够附加地发送数据。虽然附图中未示出,但是通过发送RAS分组或CAS分组中的任何一个,能够附加地发送将存储在对应的行或列中的数据。While sending the CAS packet via the command channel CMD, the first party 10 sends data for writing via the data channels DATA 1, DATA2, ..., and DATA n. FIG5 shows that two packets are sent via each data channel, but the number of data packets sent via each channel can be changed. The second party 20 decodes the data provided via the data channels DATA 1, DATA2, ..., and DATA n and stores the decoded data at the address specified by the RAS packet and the CAS packet. As shown in the drawings, data can be additionally sent by sending another RAS packet and another CAS packet. Although not shown in the drawings, by sending either the RAS packet or the CAS packet, data to be stored in the corresponding row or column can be additionally sent.

如图5中所示,从第一方10发送到第二方20的分组不具有相同的相位。这是因为第二方20的信道特定数据接收器210设置了发送采样时钟t_clk,使得能够与由于第一方10和第二方20之间的电压变化和温度变化而发生的时钟偏移无关地利用第二方时钟clk2对所发送的分组进行有效采样。因此,经由相应的数据信道DATA 1、DATA2、…、和DATA n和命令信道CMD而发送的分组能够具有不同的相位。As shown in FIG5 , packets transmitted from the first party 10 to the second party 20 do not have the same phase. This is because the channel-specific data receiver 210 of the second party 20 sets the transmission sampling clock t_clk so that the transmitted packets can be effectively sampled using the second-party clock clk2 regardless of clock offsets caused by voltage variations and temperature variations between the first party 10 and the second party 20. Therefore, packets transmitted via the corresponding data channels DATA 1, DATA 2, ..., and DATA n and the command channel CMD can have different phases.

图6是示意性地示出了第一方10读取存储在第二方20的数据的处理的定时图。参照图6,将描述第一方10读取存储在第二方20的数据的处理。第一方10经由命令分组CMD发送读取分组RD(S200,见图2)。和写入处理一样,第一方10发送多个NOP分组,使得第二方20接收读取分组RD,并且执行诸如解码等这样的内部处理。FIG6 is a timing diagram schematically illustrating a process in which the first party 10 reads data stored in the second party 20. Referring to FIG6 , the process in which the first party 10 reads data stored in the second party 20 will be described. The first party 10 transmits a read packet RD via a command packet CMD (S200, see FIG2 ). As in the write process, the first party 10 transmits a plurality of NOP packets, allowing the second party 20 to receive the read packet RD and perform internal processing such as decoding.

通过经由命令信道CMD发送RAS分组和CAS分组,第一方10向第二方20提供将被读取的数据的地址。第二方20利用由RAS分组和CAS分组指定的地址来获取数据。第二方20对所获取的数据执行预定解码处理,并且经由数据信道DATA 1、DATA 2、…、和DATA n向第一方10发送经解码的数据。By sending RAS and CAS packets via the command channel CMD, the first party 10 provides the address of the data to be read to the second party 20. The second party 20 obtains the data using the address specified by the RAS and CAS packets. The second party 20 performs a predetermined decoding process on the obtained data and transmits the decoded data to the first party 10 via the data channels DATA 1, DATA 2, ..., and DATA n.

和写入处理一样,通过经由命令信道CMD发送另一RAS分组和另一CAS分组,能够附加地读取数据。虽然附图中未示出,但是通过发送RAS分组或CAS分组中的任何一个,能够附加地发送将存储在对应的行或列中的数据。As with the write process, data can be additionally read by sending another RAS packet and another CAS packet via the command channel CMD. Although not shown in the drawings, by sending either a RAS packet or a CAS packet, data to be stored in the corresponding row or column can be additionally sent.

如图6中所示,从第二方20经由数据信道DATA 1、DATA 2、…、和DATA n提供的数据分组利用第二方示例clk2进行采样并且被发送。虽然附图中未示出,但是由于第一方10和第二方20之间的电压差异、温度差异等而可能发生时钟偏移。然而,每个第一方数据接收器110设置接收采样时钟r_clk,以克服相位校准处理中的相位偏移和采样数据。因此,尽管存在相位偏移,也能够对数据分组进行有效采样。As shown in FIG6 , data packets provided from the second party 20 via data channels DATA 1, DATA 2, ..., and DATA n are sampled using the second party instance clk2 and transmitted. Although not shown in the figure, clock offsets may occur due to voltage differences, temperature differences, etc. between the first party 10 and the second party 20. However, each first-party data receiver 110 sets a reception sampling clock r_clk to overcome phase offsets during the phase calibration process and sample data. Therefore, despite the phase offset, data packets can be effectively sampled.

图7是示出了当第二方20是要求刷新的DRAM时、第二方20执行刷新的处理的图。参照图7,第一方10经由命令信道CMD发送刷新分组RF。和以上描述的读取处理和写入处理一样,第一方10发送多个NOP分组以确保命令解码处理。第一方10指定要求分别利用RAS分组和CAS分组刷新的行地址和/或列地址,并且将RAS分组和CAS分组发送到第二方20,使得刷新被执行。FIG7 illustrates a process in which the second side 20 performs a refresh when the second side 20 is a DRAM requiring refresh. Referring to FIG7 , the first side 10 transmits a refresh packet RF via the command channel CMD. As with the read and write processes described above, the first side 10 transmits multiple NOP packets to ensure command decoding. The first side 10 specifies the row address and/or column address to be refreshed using RAS and CAS packets, respectively, and transmits the RAS and CAS packets to the second side 20, causing the refresh to be executed.

根据本实施方式,能够在第一方和使用由该第一方提供的时钟信号的第二方之间执行数据通信,并且即使当发送方和接收方发生改变时,PLL或时钟数据恢复(CDR)装置也不执行时钟锁定。因此,能够减少延迟时间。According to this embodiment, data communication can be performed between a first party and a second party using a clock signal provided by the first party, and even when the transmitting and receiving parties change, the PLL or clock data recovery (CDR) device does not perform clock lock. Therefore, delay time can be reduced.

尽管已经参照本发明的特定示例性实施方式示出并描述了本发明,然而本领域技术人员将要理解的是,可以在不脱离本发明的如由所附的权利要求限定的精神和范围内做出形式和细节上的各种改变。While the present invention has been shown and described with reference to particular exemplary embodiments thereof, it will be understood by those skilled in the art that various changes in form and details may be made without departing from the spirit and scope of the invention as defined by the following claims.

工业实用性Industrial Applicability

以上所记载The above records

Claims (26)

1.一种在第一方和利用由该第一方提供的时钟进行操作的第二方之间的通信方法,该通信方法包括以下步骤:1. A communication method between a first party and a second party operating using a clock provided by the first party, the communication method comprising the following steps: 相位校准步骤;Phase calibration steps; 由所述第一方向所述第二方发送命令分组的步骤;以及The steps of the first party sending command packets to the second party; and 在所述第一方和所述第二方之间根据所述命令分组来收发数据分组的数据发送和接收步骤,The steps of sending and receiving data packets between the first party and the second party according to the command packets. 其中,执行所述相位校准步骤,以对所述第一方的接收采样时钟的相位进行校准,并且Specifically, the phase calibration step is performed to calibrate the phase of the first party's received sampling clock, and 其中,所述相位校准步骤包括以下步骤:The phase calibration step includes the following steps: 由所述第二方向所述第一方提供相互预定的训练模式;The second party provides the first party with a mutually predetermined training mode; 由所述第一方从所述时钟生成初始时钟;The first party generates the initial clock from the clock. 由所述第一方利用所述初始时钟对由所述第二方提供的所述训练模式进行采样;The first party uses the initial clock to sample the training pattern provided by the second party; 确定利用所述初始时钟进行采样的模式是否与预定的所述训练模式一致;以及Determine whether the sampling pattern using the initial clock is consistent with the predetermined training pattern; and 选择具有使利用所述初始时钟进行采样的模式与预定的所述训练模式相等的相位的初始时钟作为所述接收采样时钟。An initial clock with a phase that makes the sampling mode using the initial clock equal to the predetermined training mode is selected as the receiving sampling clock. 2.根据权利要求1所述的通信方法,其中,执行所述相位校准步骤以使得所述接收采样时钟的采样沿对包含在所述训练模式中的比特进行采样。2. The communication method according to claim 1, wherein the phase calibration step is performed such that the sampling edge of the received sampling clock samples the bits contained in the training mode. 3.根据权利要求1所述的通信方法,其中,所述相位校准步骤被定期地执行。3. The communication method according to claim 1, wherein the phase calibration step is performed periodically. 4.根据权利要求1所述的通信方法,其中,所述相位校准步骤被不定期地执行。4. The communication method according to claim 1, wherein the phase calibration step is performed periodically. 5.根据权利要求1所述的通信方法,其中,所述第一方是定时控制器,5. The communication method according to claim 1, wherein the first party is a timing controller. 所述第二方是存储器,并且The second party is a memory, and 所述数据分组显示在显示面板上。The data groups are displayed on the display panel. 6.根据权利要求1所述的通信方法,其中,所述相位校准步骤还包括以下步骤:对命令采样时钟的相位进行校准,所述命令采样时钟用于对从所述第一方发送到所述第二方的所述命令分组进行采样。6. The communication method according to claim 1, wherein the phase calibration step further includes the following step: calibrating the phase of a command sampling clock, the command sampling clock being used to sample the command packets sent from the first party to the second party. 7.一种通信方法,在该通信方法中,第一方利用由该第一方提供的时钟向第二方发送数据,所述通信方法包括以下步骤:7. A communication method in which a first party transmits data to a second party using a clock provided by the first party, the communication method comprising the following steps: (a)由所述第一方改变所述时钟的相位,以生成具有目标相位的初始时钟;(a) The first party changes the phase of the clock to generate an initial clock with a target phase; (b)由所述第一方利用所述初始时钟对相互预定的训练模式进行采样,并且将经采样的模式发送到所述第二方;(b) The first party samples mutually predetermined training patterns using the initial clock and sends the sampled patterns to the second party; (c)由所述第二方利用所述时钟对所接收的模式进行采样,将经采样的模式与预定的所述训练模式进行比较,并且发送比较结果;(c) The second party uses the clock to sample the received pattern, compares the sampled pattern with the predetermined training pattern, and sends the comparison result; (d)由所述第一方根据所述比较结果来选择初始时钟作为发送采样时钟;以及(d) The first party selects an initial clock as the transmission sampling clock based on the comparison result; and (e)由所述第一方利用已经被调整相位的所述发送采样时钟对要发送的所述数据进行采样,并且将经采样的数据发送到所述第二方。(e) The first party samples the data to be transmitted using the transmission sampling clock whose phase has been adjusted, and transmits the sampled data to the second party. 8.根据权利要求7所述的通信方法,其中,执行步骤(a)以对所述时钟进行延迟或内插,使得所述初始时钟具有所述目标相位。8. The communication method according to claim 7, wherein step (a) is performed to delay or interpolate the clock such that the initial clock has the target phase. 9.根据权利要求7所述的通信方法,其中,步骤(a)至步骤(c)被执行多次,并且9. The communication method according to claim 7, wherein steps (a) to (c) are performed multiple times, and 所述初始时钟根据步骤(a)至步骤(c)被执行的次数而按照不同的相位来生成。The initial clock is generated according to different phases based on the number of times steps (a) to (c) are executed. 10.根据权利要求9所述的通信方法,其中,步骤(d)包括以下步骤:10. The communication method according to claim 9, wherein step (d) comprises the following steps: 对比较结果指示经采样的模式与预定的所述训练模式一致的初始时钟的相位范围进行计算;以及The phase range of the initial clock, which indicates that the sampled pattern matches the predetermined training pattern, is calculated; and 确定相位在所述相位范围内的初始时钟作为所述发送采样时钟。An initial clock within the phase range is determined as the transmission sampling clock. 11.根据权利要求7所述的通信方法,其中,在完成要发送的所述数据的发送之后,再次执行步骤(a)至步骤(d)。11. The communication method according to claim 7, wherein, after the transmission of the data to be transmitted is completed, steps (a) to (d) are performed again. 12.一种通信方法,在该通信方法中,第二方利用由第一方提供的时钟向该第一方发送数据,所述通信方法包括以下步骤:12. A communication method in which a second party transmits data to a first party using a clock provided by the first party, the communication method comprising the following steps: (a)由所述第二方向所述第一方发送相互预定的训练模式;(a) The second party sends a mutually predetermined training mode to the first party; (b)由所述第一方改变所述时钟的相位,以生成具有目标相位的初始时钟;(b) The first party changes the phase of the clock to generate an initial clock with a target phase; (c)由所述第一方利用所述初始时钟对由所述第二方提供的所述模式进行采样,并且将经采样的模式与预定的所述训练模式进行比较;(c) The first party samples the pattern provided by the second party using the initial clock, and compares the sampled pattern with the predetermined training pattern; (d)由所述第一方根据比较结果来选择初始时钟作为接收采样时钟;以及(d) The first party selects an initial clock as the receiving sampling clock based on the comparison result; and (e)利用所述接收采样时钟对由所述第二方发送的所述数据进行采样。(e) The data sent by the second party is sampled using the received sampling clock. 13.根据权利要求12所述的通信方法,其中,执行步骤(b)以对所述时钟进行延迟或内插,使得所述初始时钟具有所述目标相位。13. The communication method of claim 12, wherein step (b) is performed to delay or interpolate the clock such that the initial clock has the target phase. 14.根据权利要求12所述的通信方法,其中,步骤(a)至步骤(c)被执行多次,并且14. The communication method according to claim 12, wherein steps (a) to (c) are performed multiple times, and 所述初始时钟根据步骤(a)至步骤(c)被执行的次数而按照不同的相位来生成。The initial clock is generated according to different phases based on the number of times steps (a) to (c) are executed. 15.根据权利要求14所述的通信方法,其中,步骤(d)包括以下步骤:15. The communication method according to claim 14, wherein step (d) comprises the following steps: 对比较结果指示经采样的模式与预定的所述训练模式一致的初始时钟的相位范围进行计算;以及The phase range of the initial clock, which indicates that the sampled pattern matches the predetermined training pattern, is calculated; and 确定具有包含在所述相位范围中的相位的初始时钟作为所述接收采样时钟。An initial clock having a phase contained within the said phase range is determined as the received sampling clock. 16.根据权利要求12所述的通信方法,其中,在完成要发送的数据的发送之后,再次执行步骤(a)至步骤(d)。16. The communication method according to claim 12, wherein, after the transmission of the data to be transmitted is completed, steps (a) to (d) are performed again. 17.一种通信设备,该通信设备包括:17. A communication device, the communication device comprising: 第一方,所述第一方包括:时钟提供器,所述时钟提供器被配置为提供时钟;和多个第一方数据收发器,所述多个第一方数据收发器被配置为提供数据或接收数据;A first party, comprising: a clock provider configured to provide a clock; and a plurality of first party data transceivers configured to provide or receive data; 第二方,所述第二方包括时钟接收器和多个第二方数据收发器,所述多个第二方数据收发器被配置为提供所述数据或接收所述数据;The second party includes a clock receiver and a plurality of second-party data transceivers configured to provide or receive the data. 数据信道单元,所述数据信道单元包括数据信道,所述数据信道被配置为将所述多个第一方数据收发器与所述多个第二方数据收发器分别连接;以及A data channel unit, comprising a data channel configured to connect the plurality of first-party data transceivers to the plurality of second-party data transceivers respectively; and 时钟信道,所述时钟信道被配置为将来自所述第一方的所述时钟提供到所述第二方,A clock channel configured to provide the clock from the first party to the second party. 其中,所述第一方和所述第二方利用所述时钟进行操作,The first party and the second party operate using the clock. 其中,所述第一方数据收发器包括:The first-party data transceiver includes: 输入单元,所述输入单元包括:解串器,所述解串器被配置为将从所述数据信道提供的串行数据转换成并行数据,并且输出所述并行数据;以及输入相位调整器,所述输入相位调整器被配置为接收所述时钟,从所述时钟生成用于对所述并行数据进行采样的接收采样时钟,并且将所述接收采样时钟提供到所述解串器;以及An input unit, comprising: a deserializer configured to convert serial data provided from the data channel into parallel data and output the parallel data; and an input phase adjuster configured to receive the clock, generate a receive sampling clock from the clock for sampling the parallel data, and provide the receive sampling clock to the deserializer; and 输出单元,所述输出单元包括:串行器,所述串行器被配置为将提供的并行数据转换成串行数据,并且将所述串行数据输出到所述数据信道;以及输出相位调整器,所述输出相位调整器被配置为接收所述时钟,从所述时钟生成用于对所述串行数据进行采样的发送采样时钟,并且将所述发送采样时钟提供到所述串行器,并且An output unit, comprising: a serializer configured to convert provided parallel data into serial data and output the serial data to the data channel; and an output phase adjuster configured to receive the clock, generate a transmit sampling clock from the clock for sampling the serial data, and provide the transmit sampling clock to the serializer. 其中,相位校准步骤被执行,并且Among these steps, the phase calibration step is performed, and 在所述相位校准步骤中,所述输入相位调整器利用初始接收时钟对由所述第二方提供的预定的训练模式进行采样,确定采样的数据是否与预定的所述训练模式一致,并且选择初始接收时钟作为所述接收采样时钟。In the phase calibration step, the input phase adjuster uses an initial receiving clock to sample a predetermined training pattern provided by the second party, determines whether the sampled data is consistent with the predetermined training pattern, and selects the initial receiving clock as the receiving sampling clock. 18.根据权利要求17所述的通信设备,该通信设备还包括命令信道,所述命令信道被配置为向所述第二方提供命令分组,18. The communication device of claim 17, further comprising a command channel configured to provide command packets to the second party. 其中,所述第一方还包括命令单元,所述命令单元被配置为提供所述命令分组。The first party further includes a command unit configured to provide the command group. 19.一种在第一方和利用由该第一方提供的时钟进行操作的第二方之间的通信方法,该通信方法包括以下步骤:19. A communication method between a first party and a second party operating using a clock provided by the first party, the communication method comprising the following steps: 相位校准步骤;Phase calibration steps; 由所述第一方向所述第二方发送命令分组的步骤;以及The steps of the first party sending command packets to the second party; and 在所述第一方和所述第二方之间根据所述命令分组来收发数据分组的数据发送和接收步骤,The steps of sending and receiving data packets between the first party and the second party according to the command packets are as follows: 其中,执行所述相位校准步骤,以对所述第一方的发送采样时钟的相位进行校准,并且Specifically, the phase calibration step is performed to calibrate the phase of the first party's transmitting sampling clock, and 其中,所述相位校准步骤包括以下步骤:The phase calibration step includes the following steps: 由所述第一方从所述时钟生成初始时钟;The first party generates the initial clock from the clock. 利用所述初始时钟对预定的训练模式进行采样,并且将经采样的模式发送到所述第二方;The predetermined training pattern is sampled using the initial clock, and the sampled pattern is sent to the second party. 由所述第二方利用所述时钟对所接收的模式进行采样;The second party uses the clock to sample the received pattern; 确定由所述第二方进行采样的模式是否与预定的所述训练模式一致;以及Determine whether the sampling pattern performed by the second party is consistent with the predetermined training pattern; and 选择具有使利用所述时钟进行采样的模式与预定的所述训练模式相等的相位的初始时钟作为所述发送采样时钟。An initial clock with a phase that makes the sampling mode using the clock equal to the predetermined training mode is selected as the transmission sampling clock. 20.根据权利要求19所述的通信方法,其中,执行所述相位校准步骤以使得所述发送采样时钟的采样沿对包含在所述训练模式中的比特进行采样。20. The communication method of claim 19, wherein the phase calibration step is performed such that the sampling edge of the transmission sampling clock samples the bits contained in the training mode. 21.根据权利要求19所述的通信方法,其中,所述相位校准步骤被定期地执行。21. The communication method of claim 19, wherein the phase calibration step is performed periodically. 22.根据权利要求19所述的通信方法,其中,所述相位校准步骤被不定期地执行。22. The communication method according to claim 19, wherein the phase calibration step is performed periodically. 23.根据权利要求19所述的通信方法,其中,所述第一方是定时控制器,23. The communication method according to claim 19, wherein the first party is a timing controller. 所述第二方是存储器,并且The second party is a memory, and 所述数据分组显示在显示面板上。The data groups are displayed on the display panel. 24.根据权利要求19所述的通信方法,其中,所述相位校准步骤还包括以下步骤:对命令采样时钟的相位进行校准,所述命令采样时钟用于对从所述第一方发送到所述第二方的所述命令分组进行采样。24. The communication method according to claim 19, wherein the phase calibration step further includes the step of: calibrating the phase of a command sampling clock, the command sampling clock being used to sample the command packets sent from the first party to the second party. 25.一种通信设备,该通信设备包括:25. A communication device, the communication device comprising: 第一方,所述第一方包括:时钟提供器,所述时钟提供器被配置为提供时钟;和多个第一方数据收发器,所述多个第一方数据收发器被配置为提供数据或接收数据;A first party, comprising: a clock provider configured to provide a clock; and a plurality of first party data transceivers configured to provide or receive data; 第二方,所述第二方包括时钟接收器和多个第二方数据收发器,所述多个第二方数据收发器被配置为提供所述数据或接收所述数据;The second party includes a clock receiver and a plurality of second-party data transceivers configured to provide or receive the data. 数据信道单元,所述数据信道单元包括数据信道,所述数据信道被配置为将所述多个第一方数据收发器与所述多个第二方数据收发器分别连接;以及A data channel unit, comprising a data channel configured to connect the plurality of first-party data transceivers to the plurality of second-party data transceivers respectively; and 时钟信道,所述时钟信道被配置为将来自所述第一方的所述时钟提供到所述第二方,A clock channel configured to provide the clock from the first party to the second party. 其中,所述第一方和所述第二方利用所述时钟进行操作,The first party and the second party operate using the clock. 其中,所述第二方数据收发器包括:The second-party data transceiver includes: 输入单元,所述输入单元包括:解串器,所述解串器被配置为从所述数据信道接收串行数据,利用所述时钟对所述串行数据进行采样,将经采样的串行数据转换成并行数据,并且输出所述并行数据;以及An input unit, comprising: a deserializer configured to receive serial data from the data channel, sample the serial data using the clock, convert the sampled serial data into parallel data, and output the parallel data; and 串行器,所述串行器被配置为接收并行数据,将所接收的并行数据转换成串行数据,利用所述时钟对所述串行数据进行采样,并且将经采样的串行数据提供到所述数据信道,并且A serializer, configured to receive parallel data, convert the received parallel data into serial data, sample the serial data using the clock, and provide the sampled serial data to the data channel, and 其中,相位校准步骤被执行,并且Among these steps, the phase calibration step is performed, and 在所述相位校准步骤中,输出相位调整器利用初始发送时钟对预定的训练模式进行采样,并且将经采样的模式提供到所述第二方,In the phase calibration step, the output phase adjuster samples a predetermined training pattern using an initial transmission clock and provides the sampled pattern to the second party. 所述第二方的所述输入单元对由所述第一方提供的所述模式进行采样,确定采样的数据是否与预定的所述训练模式一致,并将相位匹配信号提供到所述第一方,并且The input unit of the second party samples the pattern provided by the first party, determines whether the sampled data is consistent with the predetermined training pattern, and provides a phase-matching signal to the first party. 所述第一方选择初始发送时钟作为发送采样时钟。The first party selects the initial transmission clock as the transmission sampling clock. 26.根据权利要求25所述的通信设备,该通信设备还包括命令信道,所述命令信道被配置为向所述第二方提供命令分组,26. The communication device of claim 25, further comprising a command channel configured to provide command packets to the second party. 其中,所述第一方还包括命令单元,所述命令单元被配置为提供所述命令分组。The first party further includes a command unit configured to provide the command group.
HK16108259.1A 2014-07-02 2015-07-02 Bidirectional communication method and bidirectional communication device using same HK1220269B (en)

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
KR10-2014-0082330 2014-07-02
KR20140082330 2014-07-02
PCT/KR2015/006791 WO2016003207A1 (en) 2014-07-02 2015-07-02 Bidirectional communication method and bidirectional communication device using same

Publications (2)

Publication Number Publication Date
HK1220269A1 HK1220269A1 (en) 2017-04-28
HK1220269B true HK1220269B (en) 2019-08-23

Family

ID=

Similar Documents

Publication Publication Date Title
US9842080B2 (en) Bidirectional communication method and bidirectional communication apparatus using the same
US8045663B2 (en) Circuit and method for removing skew in data transmitting/receiving system
US8812928B2 (en) Memory device and memory control unit
US8631266B2 (en) Semiconductor memory device and method of controlling the same
US20110249718A1 (en) Method and apparatus for correcting phase errors during transient events in high-speed signaling systems
JP2011248989A (en) Semiconductor memory device and operation method thereof
US8687457B2 (en) Semiconductor memory device and operating method thereof
US11658645B2 (en) Duty correction device and method, and semiconductor apparatus using the same
CN101669318B (en) Bias and random delay cancellation
US20190222410A1 (en) Transceiver and clock generation module
US9214200B2 (en) Methods and apparatus for transmitting data in a phase modulated signal derived from early and late timing signals
US20070206428A1 (en) High-speed phase-adjusted quadrature data rate (qdr) transceiver and method thereof
US8023608B2 (en) Communication system using multi-phase clock signals
KR20080082450A (en) Memory controller and computer device including same
US20060193413A1 (en) Method of capturing data transferred in synchronization with a data strobe signal and data capture circuit performing same
US12294379B2 (en) Clock generating circuit and semiconductor apparatus using the same
TWI608721B (en) Bidirectional communication method and bidirectional communication apparatus using the same
HK1220269B (en) Bidirectional communication method and bidirectional communication device using same
JP3831142B2 (en) Semiconductor integrated circuit
JP4050763B2 (en) Semiconductor integrated circuit