JP2016178425A - Information processing apparatus and delay adjustment method - Google Patents

Information processing apparatus and delay adjustment method Download PDF

Info

Publication number
JP2016178425A
JP2016178425A JP2015056225A JP2015056225A JP2016178425A JP 2016178425 A JP2016178425 A JP 2016178425A JP 2015056225 A JP2015056225 A JP 2015056225A JP 2015056225 A JP2015056225 A JP 2015056225A JP 2016178425 A JP2016178425 A JP 2016178425A
Authority
JP
Japan
Prior art keywords
data
clock
unit
delay amount
control unit
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
JP2015056225A
Other languages
Japanese (ja)
Inventor
一彰 丸橋
Kazuaki Maruhashi
一彰 丸橋
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP2015056225A priority Critical patent/JP2016178425A/en
Publication of JP2016178425A publication Critical patent/JP2016178425A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Synchronisation In Digital Transmission Systems (AREA)

Abstract

PROBLEM TO BE SOLVED: To allow for appropriate adjustment of the timing of a clock and data in the data communication, without increasing the design scale.SOLUTION: An information processing apparatus has a PHY section performing the processing of a physical layer in the data communication with an apparatus connected via a network, and a MAC section for transmitting data and clock to the PHY section while delaying the clock with a set delay amount, and performing the processing of a logical layer in the data communication by transmitting and receiving data to and from the PHY section. A CPU makes the MAC section perform transmission of the data and clock by changing the delay amount of the clock, determines whether or not the data communication is performed normally based on the response thereto, and then determines a delay amount which allows for normal data communication from the determination results, and sets the delay amount in the MAC section.SELECTED DRAWING: Figure 1

Description

本発明は、情報処理装置及び遅延調整方法に関する。   The present invention relates to an information processing apparatus and a delay adjustment method.

プリンタ、スキャナ、ファクシミリ、複合機などの情報処理装置は、LAN(Local Area Network)インタフェース等の通信インタフェースを持つ形態が増えてきている。また、取り扱うデータの増加に伴い、通信インタフェースの最大通信速度も高速化が求められている。また、情報処理装置は、他の情報処理装置等とのデータ通信の高速化だけでなく、情報処理装置自体の小型化のニーズも高まってきている。   An increasing number of information processing apparatuses such as printers, scanners, facsimiles, and multifunction machines have a communication interface such as a LAN (Local Area Network) interface. In addition, as the amount of data handled increases, the maximum communication speed of the communication interface is also required to be increased. In addition, the information processing apparatus is not only required to speed up data communication with other information processing apparatuses, but also needs for downsizing the information processing apparatus itself.

通信インタフェースの高速化を実現するには、装置内部のデバイスの動作周波数も高速化が必要となる。例えば、通信インタフェースの物理層部(PHY部)とその上位層であるメディアアクセス制御部(MAC部)との間のインタフェースにおいては、LAN規格のギガビットイーサネット(登録商標)では、クロック速度は125MHzの動作周波数まで高速化されている。   In order to increase the speed of the communication interface, it is necessary to increase the operating frequency of the devices inside the apparatus. For example, in the interface between the physical layer part (PHY part) of the communication interface and the media access control part (MAC part) which is the upper layer, the LAN speed Gigabit Ethernet (registered trademark) has a clock speed of 125 MHz. Speed up to operating frequency.

ギガビットイーサネットにおけるPHY部とMAC部の間のインタフェース規格の1つに、RGMII(Reduced Gigabit Media Independent Interface)がある。RGMIIは、GMII(Gigabit Media Independent Interface)に比べ、PHY部とMAC部の間の信号線数が少なくなるので、情報処理装置の小型化の設計が可能となる。しかし、RGMIIは、クロックによるデータの取り込みを行う時間間隔がGMIIの半分になり、PHY部とMAC部の間でのデータに対するクロックの遅延調整が必要となってくる。   One of the interface standards between the PHY part and the MAC part in Gigabit Ethernet is RGMII (Reduced Gigabit Media Independent Interface). Since RGMII has a smaller number of signal lines between the PHY unit and the MAC unit than GMII (Gigabit Media Independent Interface), it is possible to design a smaller information processing apparatus. However, in RGMII, the time interval for taking in data by a clock is half that of GMII, and it is necessary to adjust the delay of the clock for the data between the PHY part and the MAC part.

RGMIIにおけるクロックの遅延調整には、クロックの物理的な配線を長くする方法や、受信側のデバイスに内蔵されるクロックの内部遅延機能を使う方法が知られている。しかしながら、いずれの方法も基板の設計において、クロック及びデータの物理的な配線に、ミアンダと呼ばれる信号配線で配線長を追加することが必要となる。これは、情報処理装置の小型化の妨げとなる。   To adjust the clock delay in RGMII, there are known a method of lengthening the physical wiring of the clock and a method of using an internal delay function of the clock built in the device on the receiving side. However, in any of the methods, it is necessary to add a wiring length with a signal wiring called a meander to the physical wiring of the clock and data in designing the board. This hinders downsizing of the information processing apparatus.

下記特許文献1には、ミアンダが不要な方法でクロックとデータのタイミングを調整する方法が提案されている。この方法では、デバイス内で受信したデータを一時的にバッファに保存して、その間にデータの先頭を識別し、識別されたデータの先頭のタイミングでタイミング調整用パルスを生成する。さらに、デバイス内では受信した第1クロックとは別に第2クロックを生成し、タイミング調整用パルスと第2クロックとの間でタイミングの調整を図って、バッファリングされたデータを送信する。   Patent Document 1 below proposes a method of adjusting clock and data timings in a manner that does not require meandering. In this method, data received in the device is temporarily stored in a buffer, the head of data is identified during that time, and a timing adjustment pulse is generated at the timing of the head of the identified data. Further, in the device, a second clock is generated separately from the received first clock, the timing is adjusted between the timing adjustment pulse and the second clock, and the buffered data is transmitted.

国際公開第2009/081472号International Publication No. 2009/081472

しかしながら、特許文献1に記載の技術では、タイミング調整用パルスを生成する回路や第2クロックを生成する回路を新たに搭載する必要があるため、設計規模が増大してしまう。前述した方法以外にも、送信側のデバイスに内蔵されるクロックの遅延機能を使ってクロックに遅延を与え、クロックとデータのタイミングを調整することも可能である。この場合、送信側のデバイス単体毎に、設定した遅延量に対する実際のデバイスのばらつき特性を考慮する必要がある。例えば、ファームウェア等で送信側のデバイスに設定するクロックの遅延量に対して実際の遅延量がずれてしまうことで、受信側のデバイスに入力すべきクロックの遅延量の規定を満たせなくなる可能性がある。   However, in the technique described in Patent Document 1, it is necessary to newly install a circuit for generating a timing adjustment pulse and a circuit for generating a second clock, which increases the design scale. In addition to the method described above, it is also possible to adjust the clock and data timing by delaying the clock by using a clock delay function built in the device on the transmission side. In this case, it is necessary to consider an actual device variation characteristic with respect to the set delay amount for each device on the transmission side. For example, the actual delay amount may deviate from the delay amount of the clock set in the device on the transmission side by firmware, etc., which may prevent the clock delay amount to be input to the device on the reception side from being satisfied. is there.

本発明は、このような事情に鑑みてなされたものであり、設計規模を増大させることなく、データ通信におけるクロックとデータのタイミングを適切に調整できるようにすることを目的とする。   The present invention has been made in view of such circumstances, and an object of the present invention is to enable appropriate adjustment of clock and data timings in data communication without increasing the design scale.

本発明に係る情報処理装置は、受信したクロックにて受信したデータの信号レベルを判定して該信号レベルを基にしたデータを送信し、ネットワークを介して接続される機器とのデータ通信における物理層の処理を行う物理層部と、設定される遅延量でクロックをデータの出力タイミングに対して遅延させて前記データ及び前記クロックを前記物理層部に送信するとともに、前記物理層部とデータを送受信し前記データ通信における論理層の処理を行うメディアアクセス制御部と、前記メディアアクセス制御部での前記クロックの遅延量を制御する制御部とを有し、前記制御部が、前記クロックの遅延量を変化させて前記メディアアクセス制御部による前記データ及び前記クロックの送信を行わせ、該送信に対する応答に基づいてデータ通信が正常に行えたか否かを判定し、判定結果から正常なデータ通信を行える前記遅延量を決定し前記メディアアクセス制御部に設定することを特徴とする。   An information processing apparatus according to the present invention determines the signal level of data received at a received clock, transmits data based on the signal level, and performs physical communication in data communication with a device connected via a network. A physical layer unit that performs layer processing, and delays a clock with respect to an output timing of data by a set delay amount, and transmits the data and the clock to the physical layer unit. A media access control unit that performs transmission and reception and performs logical layer processing in the data communication; and a control unit that controls a delay amount of the clock in the media access control unit, and the control unit includes the delay amount of the clock The data access and the clock are transmitted by the media access control unit by changing the data, and data communication is performed based on a response to the transmission. It determines whether performed normally, and determining the amount of delay that allows the normal data communications from the determination result and sets the media access controller.

本発明によれば、特別な回路を使わずにデータ通信におけるクロックの遅延量を装置毎に適切に設定でき、設計規模を増大させることなく、データ通信におけるクロックとデータのタイミングを適切に調整することが可能となる。   According to the present invention, the delay amount of the clock in the data communication can be appropriately set for each apparatus without using a special circuit, and the timing of the clock and the data in the data communication can be adjusted appropriately without increasing the design scale. It becomes possible.

本発明の実施形態における情報処理装置の構成例を示す図である。It is a figure which shows the structural example of the information processing apparatus in embodiment of this invention. 本実施形態における情報処理装置の接続形態の例を示す図である。It is a figure which shows the example of the connection form of the information processing apparatus in this embodiment. 本実施形態におけるMAC部及びPHY部の構成例を示す図である。It is a figure which shows the structural example of the MAC part in this embodiment, and a PHY part. 第1の実施形態における処理シーケンスの例を示す図である。It is a figure which shows the example of the process sequence in 1st Embodiment. 第1の実施形態における情報処理装置の動作例を示すフローチャートである。It is a flowchart which shows the operation example of the information processing apparatus in 1st Embodiment. 第2の実施形態における処理シーケンスの例を示す図である。It is a figure which shows the example of the process sequence in 2nd Embodiment. 第2の実施形態における情報処理装置の動作例を示すフローチャートである。10 is a flowchart illustrating an operation example of the information processing apparatus according to the second embodiment.

以下、本発明の実施形態を図面に基づいて説明する。   Hereinafter, embodiments of the present invention will be described with reference to the drawings.

(第1の実施形態)
本発明の第1の実施形態について説明する。図1は、本発明の実施形態における情報処理装置100のハードウェア構成例を示すブロック図である。本実施形態における情報処理装置100は、他の情報処理装置等とデータ通信を行うための通信インタフェースを有している。図1には、通信インタフェースとしてLAN(Local Area Network)インタフェースを有する情報処理装置100を一例として示している。
(First embodiment)
A first embodiment of the present invention will be described. FIG. 1 is a block diagram illustrating a hardware configuration example of an information processing apparatus 100 according to an embodiment of the present invention. The information processing apparatus 100 in this embodiment has a communication interface for performing data communication with other information processing apparatuses and the like. FIG. 1 shows an information processing apparatus 100 having a LAN (Local Area Network) interface as a communication interface as an example.

情報処理装置100は、コントローラ110、プリンタ111、電源部112、及びパネル114を有する。コントローラ110は、情報処理装置100の主たる制御を行う。コネクタ101は、LANケーブルのモジュラーを接続するためのコネクタである。トランス102は、情報処理装置100とネットワークを電気的に絶縁するためのものである。   The information processing apparatus 100 includes a controller 110, a printer 111, a power supply unit 112, and a panel 114. The controller 110 performs main control of the information processing apparatus 100. The connector 101 is a connector for connecting a modular LAN cable. The transformer 102 is for electrically insulating the information processing apparatus 100 and the network.

物理層部(PHY部)103は、データ通信における物理層の処理を行う。PHY部103は、例えば情報処理装置100がLANインタフェースを介してネットワークで接続される接続先の機器との電気的な信号のやり取りを行う。メディアアクセス制御部(MAC部)104は、データ通信における論理層の処理を行う。MAC部104は、例えばPHY部103にて受信した信号を装置内のデバイスが取り扱うフレームに変換する。本実施形態では、PHY部とMAC部とはRGMII(Reduced Gigabit Media Independent Interface)によって接続されており、PHY部とMAC部との間でデータを送受信する。   A physical layer unit (PHY unit) 103 performs physical layer processing in data communication. The PHY unit 103 exchanges electrical signals with, for example, a connection destination device to which the information processing apparatus 100 is connected via a LAN interface. The media access control unit (MAC unit) 104 performs logical layer processing in data communication. For example, the MAC unit 104 converts the signal received by the PHY unit 103 into a frame handled by a device in the apparatus. In the present embodiment, the PHY unit and the MAC unit are connected by RGMII (Reduced Gigabit Media Independent Interface), and data is transmitted and received between the PHY unit and the MAC unit.

TXデータTXDTは、MAC部104からPHY部103へ送信される送信データであり、TXクロックTXCKは、MAC部104からPHY部103へ送信される送信クロックである。TX情報群TXIFは、MAC部104からPHY部103へ送信データの送信状態を表す。TX情報群TXIFにより、MAC部104からの送信有効状態や送信エラー状態をPHY部103に通知することができる。   TX data TXDT is transmission data transmitted from the MAC unit 104 to the PHY unit 103, and TX clock TXCK is a transmission clock transmitted from the MAC unit 104 to the PHY unit 103. The TX information group TXIF represents a transmission state of transmission data from the MAC unit 104 to the PHY unit 103. The TX information group TXIF can notify the PHY unit 103 of the transmission valid state and transmission error state from the MAC unit 104.

また、RXデータRXDTは、MAC部104がPHY部103から受信する受信データであり、RXクロックRXCKは、MAC部104がPHY部103から受信する受信クロックである。RX情報群RXIFは、MAC部104がPHY部103から受信する受信データの状態を表す。RX情報群RXIFにより、受信データの検出状態や受信データのエラー情報をMAC部104に通知することができる。管理情報MNGは、PHY部103とMAC部104との間で双方向使用し、管理情報のやり取りを行う。   RX data RXDT is reception data that the MAC unit 104 receives from the PHY unit 103, and RX clock RXCK is a reception clock that the MAC unit 104 receives from the PHY unit 103. RX information group RXIF represents the state of received data that MAC unit 104 receives from PHY unit 103. The RX information group RXIF can notify the MAC unit 104 of the detection state of received data and error information of received data. The management information MNG is used bidirectionally between the PHY unit 103 and the MAC unit 104 to exchange management information.

PHY部103は、TXクロックTXCKを受信した際、TXクロックTXCKが電気的にハイ(High)レベル又はロー(Low)レベルに変化したタイミングで、受信しているTXデータTXDTの電気的なハイレベル又はローレベルを検知する。ここで検知した信号レベル(ハイレベル又はローレベル)を、MAC部104から受信したデータとして認識する。ただし、RGMIIインタフェースにおいて、MAC部104が送信したデータをPHY部103が正常に取り込むためには、TXデータTXDTに対し、TXクロックTXCKが一定量の遅延を有する必要がある。この遅延がPHY部103にて定められる範囲の遅延量でない場合、PHY部103は、TXデータTXDTの電気的なハイレベル又はローレベルを、MAC部104が送信している通りのレベルで検知できない可能性がある。   When the PHY unit 103 receives the TX clock TXCK, the electrical level of the received TX data TXDT is the timing at which the TX clock TXCK is electrically changed to a high level or a low level. Alternatively, a low level is detected. The signal level (high level or low level) detected here is recognized as data received from the MAC unit 104. However, in the RGMII interface, in order for the PHY unit 103 to normally capture the data transmitted from the MAC unit 104, the TX clock TXCK needs to have a certain amount of delay with respect to the TX data TXDT. If this delay is not the amount of delay in the range determined by the PHY unit 103, the PHY unit 103 cannot detect the electrical high level or low level of the TX data TXDT at the level as transmitted by the MAC unit 104. there is a possibility.

また、MAC部104は、RXクロックRXCKを受信した際、RXクロックRXCKが電気的なハイレベル又はローレベルに変化したタイミングで、受信しているRXデータRXDTの電気的なハイレベル又はローレベルを検知する。ここで検知した信号レベル(ハイレベル又はローレベル)を、PHY部103から受信したデータとして認識する。ただし、RGMIIインタフェースにおいて、PHY部103が送信したデータをMAC部104が正常に取り込むためには、RXデータRXDTに対し、RXクロックRXCKが一定量の遅延を有する必要がある。この遅延がMAC部104にて定められる範囲の遅延量でない場合、MAC部104は、RXデータRXDTの電気的なハイレベル又はローレベルを、PHY部103が送信している通りのレベルで検知できない可能性がある。   Further, when the MAC unit 104 receives the RX clock RXCK, the MAC unit 104 sets the electrical high level or low level of the received RX data RXDT at the timing when the RX clock RXCK changes to the electrical high level or low level. Detect. The signal level (high level or low level) detected here is recognized as data received from the PHY unit 103. However, in the RGMII interface, in order for the MAC unit 104 to normally capture the data transmitted by the PHY unit 103, the RX clock RXCK needs to have a certain amount of delay with respect to the RX data RXDT. If this delay is not the amount of delay within the range determined by the MAC unit 104, the MAC unit 104 cannot detect the electrical high level or low level of the RX data RXDT at the level as transmitted by the PHY unit 103. there is a possibility.

CPU(Central Processing Unit)108は、装置内のデバイスに命令を実行する。RAM(Random Access Memory)109は、CPU108が実行するプログラムを一時的に格納する。ROM(Read Only Memory)116は、情報処理装置100の設定値や初期データ等を保存するメモリである。RTC(Real Time Clock)は、現在時刻を計時し、必要に応じてCPU108に対し時刻を通知する時計機能を有する。   A CPU (Central Processing Unit) 108 executes instructions to devices in the apparatus. A RAM (Random Access Memory) 109 temporarily stores a program executed by the CPU 108. A ROM (Read Only Memory) 116 is a memory that stores setting values and initial data of the information processing apparatus 100. The RTC (Real Time Clock) has a clock function that measures the current time and notifies the CPU 108 of the time as necessary.

プリンタ111は、CPUから受けた命令に従って印字や画像のプリントを行う。パネル114は、情報処理装置100の情報の表示やユーザーからの命令を入力するためのものであり、LCD(Liquid Crystal Display)115を有する。パネル114に取り付けられたLCD115には、パネル114がCPU108から受けた命令を表示することができる。電源部112は、情報処理装置100の内部に電力を供給する。電源部112は、CPU108により制御が可能であり、コントローラ110、プリンタ111、及びLCD115等に電力を供給する。電源スイッチ120は、電源部112の電源供給のオフオンを実施するためのスイッチである。   The printer 111 performs printing or image printing in accordance with a command received from the CPU. The panel 114 is for displaying information of the information processing apparatus 100 and inputting a command from the user, and has an LCD (Liquid Crystal Display) 115. The LCD 115 attached to the panel 114 can display commands received by the panel 114 from the CPU 108. The power supply unit 112 supplies power to the inside of the information processing apparatus 100. The power supply unit 112 can be controlled by the CPU 108 and supplies power to the controller 110, the printer 111, the LCD 115, and the like. The power switch 120 is a switch for turning on / off the power supply of the power supply unit 112.

図2は、本実施形態における情報処理装置100の接続形態の一例を示す図である。201は、複数のLAN回線との接続が可能で、またパケットの交換やパケットの同報転送が可能であるHUBである。HUB201は、他情報処理装置との接続に使用され通信における物理層の処理を行う物理層部(PHY部)204、及び通信における論理層の処理を行うメディアアクセス制御部(MAC部)205を、複数組有する。PHY部204及びMAC部205は、それぞれPHY部103及びMAC部104と同等の機能を有する。   FIG. 2 is a diagram illustrating an example of a connection form of the information processing apparatus 100 in the present embodiment. Reference numeral 201 denotes a HUB that can be connected to a plurality of LAN lines, and can exchange packets and broadcast packets. The HUB 201 includes a physical layer unit (PHY unit) 204 that is used to connect to other information processing apparatuses and performs physical layer processing in communication, and a media access control unit (MAC unit) 205 that performs logical layer processing in communication. Have multiple sets. The PHY unit 204 and the MAC unit 205 have functions equivalent to the PHY unit 103 and the MAC unit 104, respectively.

情報処理装置100は、コネクタ101を介して、通信に使用するLANケーブル206によりHUB201と接続されている。また、HUB201のPHY部204及びMAC部205の組に対して、情報処理装置100へのプリント要求等を行う端末A202、端末B203がそれぞれ接続されている。したがって、HUB201を介して情報処理装置100と端末A202、端末B203は通信が可能である。また、HUB201は、外部インターネット等のネットワーク211に接続されている。   The information processing apparatus 100 is connected to the HUB 201 via a connector 101 via a LAN cable 206 used for communication. Further, a terminal A 202 and a terminal B 203 that perform a print request to the information processing apparatus 100 are connected to a set of the PHY unit 204 and the MAC unit 205 of the HUB 201. Therefore, the information processing apparatus 100 can communicate with the terminal A 202 and the terminal B 203 via the HUB 201. The HUB 201 is connected to a network 211 such as an external Internet.

スイッチLSI207は、MAC部205経由で受信したパケットを所定の方向へ転送する機能を有する。CPU208は、HUB201内のデバイスに命令を実行する。RAM210は、CPU207が実行するプログラムを一時的に格納する。ROM209は、HUB201の設定値や初期データ等を保存するメモリである。PHY部204及びスイッチLSI207への設定変更等の命令は、CPU208が実行する。   The switch LSI 207 has a function of transferring a packet received via the MAC unit 205 in a predetermined direction. The CPU 208 executes instructions to the devices in the HUB 201. The RAM 210 temporarily stores a program executed by the CPU 207. The ROM 209 is a memory that stores setting values and initial data of the HUB 201. The CPU 208 executes commands such as setting changes to the PHY unit 204 and the switch LSI 207.

次に、本実施形態における情報処理装置100のTXクロックTXCKの遅延量設定に係る動作について説明する。
図3は、本実施形態におけるMAC部104及びPHY部103の内部構成例を示す図である。MAC部104は、TX送信部301及びRX受信部306を有する。また、PHY部103は、TX受信部303及びRX送信部305を有する。
Next, an operation related to the delay amount setting of the TX clock TXCK of the information processing apparatus 100 in the present embodiment will be described.
FIG. 3 is a diagram illustrating an internal configuration example of the MAC unit 104 and the PHY unit 103 in the present embodiment. The MAC unit 104 includes a TX transmission unit 301 and an RX reception unit 306. The PHY unit 103 includes a TX reception unit 303 and an RX transmission unit 305.

TX送信部301は、PHY部103へ送信するTXクロックTXCK及びTXデータTXDTを生成する。TX送信部301のTX遅延部302は、TXクロックTXCKについて、TXデータTXDTの出力タイミングに対し任意の遅延を与える。TX遅延部302にて設定できる遅延量は、CPU108の命令により、MAC部104で設定することが可能である。RX受信部306は、PHY部103からのRXクロックRXCK及びRXデータRXDTを受信する。RX受信部306に内蔵されているRX判定部307は、PHY部103のRX送信部306が送信したRXクロックRXCKにてRXデータRXDTの信号レベルがハイレベルであるかローレベルであるかを判定する。   The TX transmission unit 301 generates a TX clock TXCK and TX data TXDT to be transmitted to the PHY unit 103. The TX delay unit 302 of the TX transmission unit 301 gives an arbitrary delay with respect to the output timing of the TX data TXDT with respect to the TX clock TXCK. The amount of delay that can be set by the TX delay unit 302 can be set by the MAC unit 104 in accordance with an instruction from the CPU 108. The RX receiving unit 306 receives the RX clock RXCK and the RX data RXDT from the PHY unit 103. The RX determination unit 307 included in the RX reception unit 306 determines whether the signal level of the RX data RXDT is high or low based on the RX clock RXCK transmitted by the RX transmission unit 306 of the PHY unit 103. To do.

TX受信部303は、MAC部104からのTXクロックTXCK及びTXデータTXDTを受信する。TX受信部303に内蔵されているTX判定部304は、TX受信部303が受信したTXクロックTXCKにてTXデータTXDTの信号レベルがハイレベルであるかローレベルであるかを判定する。TX受信部303は、TX判定部304にて判定されたハイレベル又はローレベルを基にした信号を送信データMDITXとしてPHY部103の外部インタフェースへ送信する。送信データMDITXは、通常図2に示したLANケーブル206により外部機器へ送信され、HUB201を経由し端末A202や端末B203などへ送信される。なお、HUB201を使用しない場合には、LANケーブル206を情報処理装置100と直接つなぐことで、端末A202や端末B203などに直接送信できる。   The TX reception unit 303 receives the TX clock TXCK and the TX data TXDT from the MAC unit 104. The TX determination unit 304 included in the TX reception unit 303 determines whether the signal level of the TX data TXDT is high or low based on the TX clock TXCK received by the TX reception unit 303. The TX reception unit 303 transmits a signal based on the high level or the low level determined by the TX determination unit 304 to the external interface of the PHY unit 103 as transmission data MDITX. The transmission data MDITX is normally transmitted to an external device via the LAN cable 206 shown in FIG. 2 and is transmitted to the terminal A 202 and the terminal B 203 via the HUB 201. When the HUB 201 is not used, the LAN cable 206 can be directly transmitted to the terminal A 202, the terminal B 203, or the like by directly connecting the LAN cable 206 to the information processing apparatus 100.

RX送信部305は、RXクロックRXCK及びRXデータRXDTをMAC部104へ送信する。また、RX送信部305は、PHY部103の外部インタフェースから受信データMDIRXを受信する。受信データMDIRXは、通常端末A202や端末B203などの外部機器から送信され、HUB201を経由して図2に示したLANケーブル206により受信される。なお、HUB201を使用しない場合は、LANケーブル206を情報処理装置100と直接つなぐことで、端末A202や端末B203などから直接受信できる。   The RX transmission unit 305 transmits the RX clock RXCK and the RX data RXDT to the MAC unit 104. The RX transmission unit 305 receives reception data MDIRX from the external interface of the PHY unit 103. The reception data MDIRX is normally transmitted from an external device such as the terminal A 202 or the terminal B 203 and received via the HUB 201 by the LAN cable 206 shown in FIG. When the HUB 201 is not used, the LAN cable 206 can be directly received from the terminal A 202 or the terminal B 203 by directly connecting the LAN cable 206 to the information processing apparatus 100.

また、PHY部103は、TX受信部303のTX判定部304で判定したTXデータTXDTの信号レベル(ハイレベル又はローレベル)を、RX送信部305へ送信することのできるループ経路308を有する。すなわち、PHY部103は、折り返し機能を有しており、ループ経路308を用いることで、TX判定部304から受信したTXデータTXDTのハイレベル又はローレベルを、RXデータRXDTとして送信することが可能である。ループ経路308を使ってTX判定部304で判定したTXデータTXDTのハイレベル又はローレベルをRX送信部305へ送信するか否かは、CPU108より任意に設定することができる。また、CPU108は、ループ経路308を使用した際、任意のタイミングで任意のデータをTXデータTXDTとして送信することが可能である。   Further, the PHY unit 103 includes a loop path 308 that can transmit the signal level (high level or low level) of the TX data TXDT determined by the TX determination unit 304 of the TX reception unit 303 to the RX transmission unit 305. That is, the PHY unit 103 has a loopback function, and by using the loop path 308, the TX data TXDT high level or low level received from the TX determination unit 304 can be transmitted as the RX data RXDT. It is. Whether to transmit the high level or low level of the TX data TXDT determined by the TX determination unit 304 using the loop path 308 to the RX transmission unit 305 can be arbitrarily set by the CPU 108. Further, when using the loop path 308, the CPU 108 can transmit arbitrary data as TX data TXDT at an arbitrary timing.

また、PHY部103のループ経路308を使用した際、TXデータTXDTとして送信したデータがRXデータRXDTとしてRX受信部306で受信された際、RX判定部307で判定されたハイレベル又はローレベルをCPU108は確認することができる。つまり、CPU108は、ループ経路308を使用した際に、自身の命令で送信したデータがTX判定部304にて正しく検知されているかどうかを対応する受信したデータを基に確認することができる。さらに、CPU108は、自身の命令で、MAC部104に対し、TX遅延部302で任意の遅延を設定することが可能である。   Further, when the loop path 308 of the PHY unit 103 is used, when the data transmitted as the TX data TXDT is received as the RX data RXDT by the RX receiving unit 306, the high level or the low level determined by the RX determining unit 307 is set. The CPU 108 can confirm. That is, when using the loop path 308, the CPU 108 can confirm whether or not the data transmitted by its own instruction is correctly detected by the TX determination unit 304 based on the received data. Further, the CPU 108 can set an arbitrary delay with respect to the MAC unit 104 by the TX delay unit 302 with its own instruction.

以上の機能を使うことで、CPU108は、MAC部104内のTX遅延部302に任意の遅延量を設定し、かつその遅延量にて、送信したデータがPHY部103で正常に受信できているかどうかを判定することが可能となる。したがって、CPU108がTX遅延部302に設定した数々の遅延に対し、各遅延量でのデータの正常疎通を確認することで、データの正常疎通ができる範囲のTXクロックTXCKの遅延を求めることが可能となり、適切な遅延量を設定することができる。例えば、求められたデータの正常疎通できる遅延量の範囲の中心値をTX遅延部302に設定することで、TXデータTXDTに対するTXクロックTXCKの遅延量は、PHY部103が受信できる範囲の一番マージンのある最適値に設定することが可能である。   By using the above functions, the CPU 108 sets an arbitrary delay amount in the TX delay unit 302 in the MAC unit 104, and whether the transmitted data can be normally received by the PHY unit 103 with the delay amount. It is possible to determine whether or not. Therefore, it is possible to obtain the delay of the TX clock TXCK within a range in which the normal communication of the data can be obtained by confirming the normal communication of the data with each delay amount with respect to the various delays set by the CPU 108 in the TX delay unit 302. Thus, an appropriate delay amount can be set. For example, by setting the center value of the range of the delay amount in which the obtained data can be normally communicated to the TX delay unit 302, the delay amount of the TX clock TXCK with respect to the TX data TXDT is the most in the range that the PHY unit 103 can receive It is possible to set an optimum value with a margin.

図4は、第1の実施形態におけるCPU108、MAC部104、及びPHY部103のやりとりを示すシーケンスの一例を示す図である。ステップS401では、CPU108が、MAC部104経由でPHY部103にループ経路308の使用を設定するために、MAC部104に対しループ経路308の使用命令を行う。ステップS402では、MAC部104が、CPU108からの命令を受けて、PHY部103に対しループ経路308の使用命令を行う。PHY部103は、ループ経路308の使用命令を受けると、ループ経路308の使用を開始する。ステップS403では、CPU108が、MAC部104に対し、TX遅延部302に対して任意の遅延量を設定する。   FIG. 4 is a diagram illustrating an example of a sequence indicating exchanges between the CPU 108, the MAC unit 104, and the PHY unit 103 in the first embodiment. In step S <b> 401, the CPU 108 instructs the MAC unit 104 to use the loop path 308 in order to set the use of the loop path 308 to the PHY unit 103 via the MAC unit 104. In step S <b> 402, the MAC unit 104 receives a command from the CPU 108 and issues a use instruction for the loop path 308 to the PHY unit 103. When the PHY unit 103 receives a use instruction for the loop path 308, the PHY unit 103 starts using the loop path 308. In step S <b> 403, the CPU 108 sets an arbitrary delay amount for the TX delay unit 302 for the MAC unit 104.

ステップS404では、CPU108が、ネットワークへのデータ送信の命令をMAC部104に対し行う。ステップS405では、MAC部104が、CPU108からの命令を受けて、PHY部103に対しデータの送信を行う。ステップS406では、PHY部103が、MAC部104から受信したデータのハイレベル又はローレベルを検知した後、検知したデータのハイレベル又はローレベルをループ経路308を経由してMAC部104へ折り返す。ステップS407では、MAC部104が、ステップS406においてPHY部103から折り返されたデータを検知し、CPU108へ検知結果を知らせる。CPU108は、検知結果によってステップS403でTX遅延部302に対して設定した遅延量がデータの疎通に許容できるかどうかの決定を行う。   In step S404, the CPU 108 instructs the MAC unit 104 to transmit data to the network. In step S 405, the MAC unit 104 receives data from the CPU 108 and transmits data to the PHY unit 103. In step S 406, the PHY unit 103 detects the high level or low level of the data received from the MAC unit 104, and then returns the detected high level or low level of the data to the MAC unit 104 via the loop path 308. In step S407, the MAC unit 104 detects the data returned from the PHY unit 103 in step S406, and notifies the CPU 108 of the detection result. The CPU 108 determines whether or not the delay amount set for the TX delay unit 302 in step S403 is acceptable for data communication based on the detection result.

以上の一連の処理を、TX遅延部302に対して設定可能な遅延量に対し繰り返し行うことで、データ疎通可能なTXクロックTXCKの遅延量の範囲をCPU108は確認することができる。   The CPU 108 can confirm the range of the delay amount of the TX clock TXCK that can communicate data by repeating the above series of processing for the delay amount that can be set for the TX delay unit 302.

図5は、第1の実施形態における情報処理装置100のTXクロックTXCKの遅延量設定に係る動作例を示すフローチャートである。まず、ステップS501にて、情報処理装置100は電源ON(電源投入)される。ステップS502にて、PHY部103は、MAC部104から受信するデータをMAC部104へ折り返すため、ループ経路308を使用したデータのループバック経路を設定する。   FIG. 5 is a flowchart illustrating an operation example related to the delay amount setting of the TX clock TXCK of the information processing apparatus 100 according to the first embodiment. First, in step S501, the information processing apparatus 100 is turned on (powered on). In step S <b> 502, the PHY unit 103 sets a loopback path for data using the loop path 308 in order to return the data received from the MAC unit 104 to the MAC unit 104.

ステップS503にて、MAC部104は、CPU108からの命令に従い、TX遅延部302に対し、TXクロックTXCKの遅延量を設定する。次に、ステップS504にて、MAC部104は、CPU108からの命令に従い、任意のデータをPHY部103に対し送信する。ステップS505にて、MAC部104は、ステップS504においてPHY部103に送信したデータについて、PHY部103より折り返されたデータとして受信する。   In step S503, the MAC unit 104 sets a delay amount of the TX clock TXCK to the TX delay unit 302 in accordance with an instruction from the CPU. In step S <b> 504, the MAC unit 104 transmits arbitrary data to the PHY unit 103 in accordance with a command from the CPU 108. In step S505, the MAC unit 104 receives the data transmitted to the PHY unit 103 in step S504 as the data returned from the PHY unit 103.

続いて、ステップS506にて、CPU108は、ステップS505において受信されたデータが、ステップS504においてPHY部103に送信したデータと一致するか否か、すなわち正常に伝送されているか否かの判定を行う。ステップS507にて、CPU108は、ステップS506でのデータ伝送が正常か否かの判定結果と、それに対しステップS503においてTX遅延部302に設定した遅延量との関係をRAM109に保持させる。   Subsequently, in step S506, the CPU 108 determines whether the data received in step S505 matches the data transmitted to the PHY unit 103 in step S504, that is, whether the data is normally transmitted. . In step S507, the CPU 108 causes the RAM 109 to hold the relationship between the determination result of whether or not the data transmission in step S506 is normal and the delay amount set in the TX delay unit 302 in step S503.

そして、ステップS508にて、TX遅延部302に対しまだ設定していない遅延量がある場合(ステップS508のYes)、ステップS503に戻り、設定していない遅延量を設定して、ステップS503以降の動作を行う。一方、TX遅延部302に対しまだ設定していない遅延量がない場合(ステップS508のNo)、ステップS509に進む。   If there is a delay amount that has not yet been set for the TX delay unit 302 in step S508 (Yes in step S508), the process returns to step S503 to set a delay amount that has not been set. Perform the action. On the other hand, if there is no delay amount that has not been set for the TX delay unit 302 (No in step S508), the process proceeds to step S509.

ステップS509にて、CPU108は、ステップS507において保持させた遅延量とデータ伝送が正常か否かの関係から、適切な遅延量を算出する。例えば、データが正常に疎通した遅延量の範囲のなかから、中心にあたる遅延量を算出することで一番マージンのある遅延量とすることが可能である。ステップS510にて、MAC部104は、CPU108からの命令に従い、ステップS509において算出された遅延量をTX遅延部302に設定し、TXクロックTXCKの遅延量設定に係る動作を終了する。   In step S509, the CPU 108 calculates an appropriate delay amount from the relationship between the delay amount held in step S507 and whether the data transmission is normal. For example, it is possible to obtain the delay amount with the most margin by calculating the delay amount corresponding to the center from the range of delay amounts in which the data is normally communicated. In step S510, the MAC unit 104 sets the delay amount calculated in step S509 in the TX delay unit 302 in accordance with the instruction from the CPU 108, and ends the operation related to the delay amount setting of the TX clock TXCK.

本実施形態では、MAC部104内のTX遅延部302のみ遅延調整を行う例をあげたが、このほかにPHY部103の遅延調整機能を使い、PHY部103で可能な遅延をTXクロックTXCKに与えても良い。   In the present embodiment, an example in which only the TX delay unit 302 in the MAC unit 104 performs the delay adjustment has been described. In addition to this, the delay adjustment function of the PHY unit 103 is used, and the delay that can be performed by the PHY unit 103 is set to the TX clock TXCK. May be given.

(第2の実施形態)
次に、本発明の第2の実施形態について説明する。第2の実施形態では、図3におけるループ経路308を使用しないでTXクロックTXCKの適切な遅延量を決定する。第2の実施形態における情報処理装置100の構成は、第1の実施形態における情報処理装置100と同様である。なお、本実施形態では、ループ経路308を使用しないため、PHY部103はループ経路308を有していなくとも良い。
(Second Embodiment)
Next, a second embodiment of the present invention will be described. In the second embodiment, an appropriate delay amount of the TX clock TXCK is determined without using the loop path 308 in FIG. The configuration of the information processing apparatus 100 in the second embodiment is the same as that of the information processing apparatus 100 in the first embodiment. In the present embodiment, since the loop path 308 is not used, the PHY unit 103 does not need to have the loop path 308.

情報処理装置100が、送信データMDITX及び受信データMDIRXにて外部機器と通信できる環境においては、疎通確認を行うためのPingと呼ばれる端末同士の応答を確認するパケットにて、データの正常疎通を確認することができる。したがって、情報処理装置100は、TX遅延部302に対しTXクロックTXCKの任意の遅延量を設定した状態で、端末A202又は端末B203に対してのPing応答を確認することで、TX遅延部302に設定した遅延量が適切か否かを確認できる。   In an environment where the information processing apparatus 100 can communicate with an external device using the transmission data MDITX and the reception data MDIRX, the normal communication of data is confirmed by a packet for confirming a response between terminals called Ping for confirming communication. can do. Therefore, the information processing apparatus 100 confirms the Ping response to the terminal A 202 or the terminal B 203 in a state where an arbitrary delay amount of the TX clock TXCK is set for the TX delay unit 302, thereby causing the TX delay unit 302 to You can check whether the set delay amount is appropriate.

以下では、情報処理装置100と端末A202の間でのPingによる疎通確認を使用する場合を例に説明する。図6は、第2の実施形態におけるCPU108、MAC部104、PHY部103、及び端末A202のやりとりを示すシーケンスの一例を示す図である。ステップS601では、CPU108が、MAC部104に対し、TX遅延部302に対して任意の遅延量を設定する。   Below, the case where the communication confirmation by Ping between the information processing apparatus 100 and terminal A202 is used is demonstrated to an example. FIG. 6 is a diagram illustrating an example of a sequence indicating exchanges between the CPU 108, the MAC unit 104, the PHY unit 103, and the terminal A 202 in the second embodiment. In step S <b> 601, the CPU 108 sets an arbitrary delay amount for the TX delay unit 302 for the MAC unit 104.

ステップS602では、CPU108が、MAC部104及びPHY部103経由でPingパケットを端末A202に対し送信するため、MAC部104へPing送信の命令を行う。ステップS603では、MAC部104が、CPU108からの命令に応じて、端末A202にPingを送るためのデータをPHY部103へ送信する。ステップS604では、PHY部103が、MAC部104から受けたPingを送るためのデータを端末A202に対し送信する。   In step S <b> 602, the CPU 108 issues a Ping transmission command to the MAC unit 104 in order to transmit a Ping packet to the terminal A 202 via the MAC unit 104 and the PHY unit 103. In step S <b> 603, the MAC unit 104 transmits data for sending a Ping to the terminal A 202 to the PHY unit 103 in response to a command from the CPU 108. In step S604, the PHY unit 103 transmits data for sending the Ping received from the MAC unit 104 to the terminal A202.

ステップS605では、端末A202が、受信したPingを正常に認識できた場合、CPU108に対し応答を返信するためにPHY部103に対しPing応答のデータを送信する。ステップS606では、PHY部103が、ステップS605において送信された端末A202からのPing応答を、MAC部104に送信する。ステップS607では、MAC部104が、ステップS606において送信されたPHY部103からのPing応答を、CPU108に対し送信する。   In step S605, when the terminal A202 can normally recognize the received Ping, the terminal A202 transmits data of the Ping response to the PHY unit 103 in order to return a response to the CPU. In step S606, the PHY unit 103 transmits the Ping response from the terminal A 202 transmitted in step S605 to the MAC unit 104. In step S607, the MAC unit 104 transmits the Ping response from the PHY unit 103 transmitted in step S606 to the CPU.

ここで、TX遅延部302に設定された遅延量が、TX判定部304にて正しく信号レベル(ハイレベル又はローレベル)が正しく検知できる量であれば、CPU108が送信したPingパケットは、正常に端末A202に送信される。また、その場合、CPU108は送信したPingパケットに対応する端末A202からのPing応答を受け取ることで確認することができる。一方、TX遅延部302に設定された遅延量が、TX判定部304にて正しく信号レベル(ハイレベル又はローレベル)が正しく検知できない量であれば、送信したPingパケットに対応するPing応答はCPU108に返信されない。   Here, if the delay amount set in the TX delay unit 302 is an amount by which the TX determination unit 304 can correctly detect the signal level (high level or low level), the Ping packet transmitted by the CPU 108 is normally It is transmitted to terminal A202. In that case, the CPU 108 can confirm by receiving a Ping response from the terminal A 202 corresponding to the transmitted Ping packet. On the other hand, if the delay amount set in the TX delay unit 302 is an amount in which the signal level (high level or low level) cannot be correctly detected by the TX determination unit 304, the Ping response corresponding to the transmitted Ping packet is the CPU 108. Not responded to.

よって、TX遅延部302に設定するTXクロックTXCKの遅延量と端末A202からのPing応答の受信を確認することで、CPU108は、TX遅延部302に設定するTXクロックTXCKの遅延量が適切であるか否かを確認することが可能である。TX遅延部302に設定する遅延量を変えながら、前述のように送信したPingパケットに対応するPing応答を確認することで、適切な遅延量を決めることが可能である。   Therefore, by confirming the delay amount of the TX clock TXCK set in the TX delay unit 302 and the reception of the Ping response from the terminal A 202, the CPU 108 has an appropriate delay amount of the TX clock TXCK set in the TX delay unit 302. It is possible to confirm whether or not. An appropriate delay amount can be determined by checking the Ping response corresponding to the transmitted Ping packet as described above while changing the delay amount set in the TX delay unit 302.

図7に、第2の実施形態における情報処理装置100のTXクロックTXCKの遅延量設定に係る動作例を示すフローチャートである。まず、ステップS701にて、情報処理装置100は電源ON(電源投入)される。ステップS702にて、MAC部104は、CPU108からの命令に従い、TX遅延部302に対し、TXクロックTXCKの遅延量を設定する。   FIG. 7 is a flowchart illustrating an operation example related to the delay amount setting of the TX clock TXCK of the information processing apparatus 100 according to the second embodiment. First, in step S701, the information processing apparatus 100 is turned on (powered on). In step S702, the MAC unit 104 sets a delay amount of the TX clock TXCK to the TX delay unit 302 in accordance with an instruction from the CPU.

次に、ステップS703にて、MAC部104は、CPU108からの命令により、Ping送信をPHY部103経由で端末A202に送信する。そして、ステップS704にて、CPU108は、端末A202からのPing応答が来たかどうかの判定を行う。ステップS705にて、CPU108は、ステップS704でのPing応答が来たかどうかの判定結果と、それに対しステップS702においてTX遅延部302に設定した遅延量との関係をRAM109保持させる。   Next, in step S <b> 703, the MAC unit 104 transmits a Ping transmission to the terminal A 202 via the PHY unit 103 in accordance with a command from the CPU 108. In step S704, the CPU 108 determines whether or not a Ping response from the terminal A 202 has been received. In step S705, the CPU 108 stores the relationship between the determination result of whether or not the Ping response is received in step S704 and the delay amount set in the TX delay unit 302 in step S702 in the RAM 109.

ステップS706にて、TX遅延部302に対しまだ設定していない遅延量がある場合(ステップS706のYes)、ステップS702に戻り、設定してない遅延量を設定して、ステップS702以降の動作を行う。一方、TX遅延部302に対しまだ設定していない遅延量がない場合(ステップS706のNo)、ステップS707に進む。   If there is a delay amount that has not yet been set for the TX delay unit 302 in step S706 (Yes in step S706), the process returns to step S702, the delay amount that has not been set is set, and the operations after step S702 are performed. Do. On the other hand, if there is no delay amount that has not yet been set for the TX delay unit 302 (No in step S706), the process proceeds to step S707.

ステップS707にて、CPU108は、ステップS705において保持させた遅延量とPing応答が来たかどうかの関係から、適切な遅延量を算出する。例えば、Ping応答があった遅延量の範囲のなかから、中心にあたる遅延量を算出することで一番マージンのある遅延量とすることが可能である。ステップS708にて、MAC部104は、CPU108からの命令に従い、ステップS707において算出された遅延量をTX遅延部302に設定し、TXクロックTXCKの遅延量設定に係る動作を終了する。   In step S707, the CPU 108 calculates an appropriate delay amount from the relationship between the delay amount held in step S705 and whether a Ping response has been received. For example, it is possible to obtain the delay amount with the most margin by calculating the delay amount corresponding to the center from the range of the delay amount in which the Ping response has occurred. In step S708, the MAC unit 104 sets the delay amount calculated in step S707 in the TX delay unit 302 in accordance with the instruction from the CPU 108, and ends the operation related to the delay amount setting of the TX clock TXCK.

本実施形態を実施する方法としては、情報処理装置100にてサービスモードなどのメンテナンス用のモードを設けておくことで、一連のフローを簡単な操作で実施するように設定してもよい。また、本実施形態では、MAC部104内のTX遅延部302のみ遅延調整を行う例をあげたが、このほかにPHY部103の遅延調整機能を使い、PHY部103で可能な遅延をTXクロックTXCKに与えても良い。   As a method for implementing this embodiment, the information processing apparatus 100 may be set to perform a series of flows with a simple operation by providing a maintenance mode such as a service mode. In this embodiment, the delay adjustment is performed only for the TX delay unit 302 in the MAC unit 104. In addition to this, the delay adjustment function of the PHY unit 103 is used, and the delay possible in the PHY unit 103 is set to the TX clock. You may give to TXCK.

(本発明の他の実施形態)
本発明は、前述の実施形態の1以上の機能を実現するプログラムを、ネットワーク又は記憶媒体を介してシステム又は装置に供給し、そのシステム又は装置のコンピュータにおける1つ以上のプロセッサがプログラムを読み出し実行する処理でも実現可能である。また、1以上の機能を実現する回路(例えば、ASIC)によっても実現可能である。
(Other embodiments of the present invention)
The present invention supplies a program that realizes one or more functions of the above-described embodiments to a system or apparatus via a network or a storage medium, and one or more processors in the computer of the system or apparatus read and execute the program This process can be realized. It can also be realized by a circuit (for example, ASIC) that realizes one or more functions.

なお、前記実施形態は、何れも本発明を実施するにあたっての具体化のほんの一例を示したものに過ぎず、これらによって本発明の技術的範囲が限定的に解釈されてはならないものである。すなわち、本発明はその技術思想、又はその主要な特徴から逸脱することなく、様々な形で実施することができる。   The above-described embodiments are merely examples of implementation in carrying out the present invention, and the technical scope of the present invention should not be construed as being limited thereto. That is, the present invention can be implemented in various forms without departing from the technical idea or the main features thereof.

100:情報処理装置 103:物理層部(PHY部) 104:メディアアクセス制御部(MAC部) 108:CPU 109:RAM 110:コントローラ 116:ROM 301:TX送信部 302:TX遅延部 303:TX受信部 304:TX判定部 305:RX送信部 306:RX処理部 307:RX判定部 TXDT:TXデータ TXCK:TXクロック RXDT:RXデータ RXCK:RXクロック DESCRIPTION OF SYMBOLS 100: Information processing apparatus 103: Physical layer part (PHY part) 104: Media access control part (MAC part) 108: CPU 109: RAM 110: Controller 116: ROM 301: TX transmission part 302: TX delay part 303: TX reception Unit 304: TX determination unit 305: RX transmission unit 306: RX processing unit 307: RX determination unit TXDT: TX data TXCK: TX clock RXDT: RX data RXCK: RX clock

Claims (7)

受信したクロックにて受信したデータの信号レベルを判定して該信号レベルを基にしたデータを送信し、ネットワークを介して接続される機器とのデータ通信における物理層の処理を行う物理層部と、
設定される遅延量でクロックをデータの出力タイミングに対して遅延させて前記データ及び前記クロックを前記物理層部に送信するとともに、前記物理層部とデータを送受信し前記データ通信における論理層の処理を行うメディアアクセス制御部と、
前記メディアアクセス制御部での前記クロックの遅延量を制御する制御部とを有し、
前記制御部が、前記クロックの遅延量を変化させて前記メディアアクセス制御部による前記データ及び前記クロックの送信を行わせ、該送信に対する応答に基づいてデータ通信が正常に行えたか否かを判定し、判定結果から正常なデータ通信を行える前記遅延量を決定し前記メディアアクセス制御部に設定することを特徴とする情報処理装置。
A physical layer unit that determines a signal level of data received by the received clock, transmits data based on the signal level, and performs processing of a physical layer in data communication with a device connected via a network; ,
The clock is delayed with respect to the data output timing by a set delay amount, and the data and the clock are transmitted to the physical layer unit. A media access control unit for performing
A control unit for controlling a delay amount of the clock in the media access control unit,
The control unit causes the media access control unit to transmit the data and the clock by changing the delay amount of the clock, and determines whether data communication has been normally performed based on a response to the transmission. An information processing apparatus characterized by determining the delay amount capable of normal data communication from the determination result and setting the delay amount in the media access control unit.
前記制御部は、前記判定結果からデータ通信が正常に行えた遅延量の範囲における中心値を前記メディアアクセス制御部に設定することを特徴とする請求項1記載の情報処理装置。   The information processing apparatus according to claim 1, wherein the control unit sets, in the media access control unit, a center value in a delay amount range in which data communication can be normally performed based on the determination result. 前記物理層部は、前記メディアアクセス制御部から受信したデータの信号レベルを判定して該信号レベルを基にしたデータを前記メディアアクセス制御部に送信する折り返し機能を有し、
前記クロックの遅延量を変化させて前記メディアアクセス制御部から前記物理層部にデータを送信させ、前記物理層部に送信したデータと前記折り返し機能により折り返された該データに対応する前記物理層部から受信したデータとが一致するか否かの判定を行うことでデータ通信が正常に行えたか否かを判定することを特徴とする請求項1又は2記載の情報処理装置。
The physical layer unit has a loopback function of determining a signal level of data received from the media access control unit and transmitting data based on the signal level to the media access control unit;
The data is transmitted from the media access control unit to the physical layer unit by changing the delay amount of the clock, and the physical layer unit corresponding to the data transmitted to the physical layer unit and the data folded by the loopback function The information processing apparatus according to claim 1, wherein it is determined whether or not data communication is normally performed by determining whether or not the data received from the data matches.
前記クロックの遅延量を変化させて前記メディアアクセス制御部から前記物理層部を介して疎通確認のデータをネットワークを介して接続される機器に送信し、該疎通確認のデータに対応する応答に基づいてデータ通信が正常に行えたか否かを判定することを特徴とする請求項1又は2記載の情報処理装置。   Based on a response corresponding to the communication confirmation data, by changing the delay amount of the clock and transmitting the communication confirmation data from the media access control unit to the device connected via the network. 3. The information processing apparatus according to claim 1, wherein it is determined whether or not data communication has been normally performed. 前記物理層部と前記メディアアクセス制御部とは、RGMIIインタフェースによって接続されていることを特徴とする請求項1〜4の何れか1項に記載の情報処理装置。   The information processing apparatus according to claim 1, wherein the physical layer unit and the media access control unit are connected by an RGMII interface. 受信したクロックにて受信したデータの信号レベルを判定して該信号レベルを基にしたデータを送信し、ネットワークを介して接続される機器とのデータ通信における物理層の処理を行う物理層部と、設定される遅延量でクロックをデータの出力タイミングに対して遅延させて前記データ及び前記クロックを前記物理層部に送信するとともに、前記物理層部とデータを送受信し前記データ通信における論理層の処理を行うメディアアクセス制御部とを有する情報処理装置での遅延調整方法であって、
前記メディアアクセス制御部での前記クロックの遅延量を変化させて前記メディアアクセス制御部による前記データ及び前記クロックの送信を行わせ、該送信に対する応答に基づいてデータ通信が正常に行えたか否かを判定する工程と、
判定結果から正常なデータ通信を行える前記遅延量を決定し前記メディアアクセス制御部に設定する工程とを有することを特徴とする遅延調整方法。
A physical layer unit that determines a signal level of data received by the received clock, transmits data based on the signal level, and performs processing of a physical layer in data communication with a device connected via a network; The data and the clock are transmitted to the physical layer unit by delaying the clock with respect to the data output timing by a set delay amount, and the logical layer in the data communication is transmitted and received with the physical layer unit. A delay adjustment method in an information processing apparatus having a media access control unit that performs processing,
Whether or not the data access and the clock are transmitted by the media access control unit by changing the delay amount of the clock in the media access control unit, and whether or not the data communication is normally performed based on a response to the transmission A determining step;
Determining a delay amount that allows normal data communication from the determination result, and setting the delay amount in the media access control unit.
受信したクロックにて受信したデータの信号レベルを判定して該信号レベルを基にしたデータを送信し、ネットワークを介して接続される機器とのデータ通信における物理層の処理を行う物理層部と、設定される遅延量でクロックをデータの出力タイミングに対して遅延させて前記データ及び前記クロックを前記物理層部に送信するとともに、前記物理層部とデータを送受信し前記データ通信における論理層の処理を行うメディアアクセス制御部とを有する情報処理装置での遅延調整方法をコンピュータに実行させるためのプログラムであって、
前記メディアアクセス制御部での前記クロックの遅延量を変化させて前記メディアアクセス制御部による前記データ及び前記クロックの送信を行わせ、該送信に対する応答に基づいてデータ通信が正常に行えたか否かを判定するステップと、
判定結果から正常なデータ通信を行える前記遅延量を決定し前記メディアアクセス制御部に設定するステップとをコンピュータに実行させるためのプログラム。
A physical layer unit that determines a signal level of data received by the received clock, transmits data based on the signal level, and performs processing of a physical layer in data communication with a device connected via a network; The data and the clock are transmitted to the physical layer unit by delaying the clock with respect to the data output timing by a set delay amount, and the logical layer in the data communication is transmitted and received with the physical layer unit. A program for causing a computer to execute a delay adjustment method in an information processing apparatus having a media access control unit that performs processing,
Whether or not the data access and the clock are transmitted by the media access control unit by changing the delay amount of the clock in the media access control unit, and whether or not the data communication is normally performed based on a response to the transmission A determining step;
A program for causing a computer to execute the step of determining the delay amount capable of normal data communication from the determination result and setting the delay amount in the media access control unit.
JP2015056225A 2015-03-19 2015-03-19 Information processing apparatus and delay adjustment method Pending JP2016178425A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2015056225A JP2016178425A (en) 2015-03-19 2015-03-19 Information processing apparatus and delay adjustment method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2015056225A JP2016178425A (en) 2015-03-19 2015-03-19 Information processing apparatus and delay adjustment method

Publications (1)

Publication Number Publication Date
JP2016178425A true JP2016178425A (en) 2016-10-06

Family

ID=57071548

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2015056225A Pending JP2016178425A (en) 2015-03-19 2015-03-19 Information processing apparatus and delay adjustment method

Country Status (1)

Country Link
JP (1) JP2016178425A (en)

Similar Documents

Publication Publication Date Title
US20150347335A1 (en) USB 3.0 Link Layer Timer Adjustment to Extend Distance
TWI504196B (en) Physical layer device auto-adjustment based on power over ethernet magnetic heating
US10389551B2 (en) Network for an aircraft or spacecraft, an aircraft or spacecraft, and a method for configuring a network
US8576734B2 (en) Information processing apparatus, control method thereof and program
US9465565B2 (en) Image forming apparatus and image formation method suitable for changing between the normal mode and sleep mode
JP5495743B2 (en) NETWORK DEVICE, ITS CONTROL METHOD, AND PROGRAM
JP2016178425A (en) Information processing apparatus and delay adjustment method
US20060098722A1 (en) Repeating installation, communication speed adjusting method, program, and recording medium
JP2019016319A (en) Power supply device and method for controlling the same
US9154313B2 (en) Network relay apparatus and control method thereof
JP2018101917A (en) Communication apparatus, control method, and program
JP5902402B2 (en) Data output adjustment device, data output adjustment method, RGMII network system, and RGMII network communication path switching method
JP2008172329A (en) Power line communication method and device
JP2006051635A (en) Device, method and program for controlling printing
US20170026578A1 (en) Network camera system and network camera thereof
JP5683142B2 (en) Information processing apparatus or information processing method
US10797932B2 (en) Communication device, link-up method, and communication system
JP5573950B2 (en) Data transmission system, data transmission method, and transmission apparatus
JP5625569B2 (en) Communication unit, communication system, and communication unit control method
JP2006238317A (en) Equipment control apparatus
WO2018149325A1 (en) Reverse power feeding method and device
JP5672720B2 (en) POWER CONTROL DEVICE, POWER CONTROL METHOD, NETWORK DEVICE, AND NETWORK DEVICE CONTROL PROGRAM
CN117978349A (en) Data communication method and communication system
JP2004032369A (en) Optical wireless communication apparatus
JPH04205620A (en) Printer controller