JPH10301681A - Interface device, its control method and information processor - Google Patents

Interface device, its control method and information processor

Info

Publication number
JPH10301681A
JPH10301681A JP9112424A JP11242497A JPH10301681A JP H10301681 A JPH10301681 A JP H10301681A JP 9112424 A JP9112424 A JP 9112424A JP 11242497 A JP11242497 A JP 11242497A JP H10301681 A JPH10301681 A JP H10301681A
Authority
JP
Japan
Prior art keywords
interface
output
data
serial data
speed
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
JP9112424A
Other languages
Japanese (ja)
Inventor
Toshihisa Okutsu
俊久 奥津
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 JP9112424A priority Critical patent/JPH10301681A/en
Publication of JPH10301681A publication Critical patent/JPH10301681A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To obtain an interface device, its control method and an information processor which cope with physical restriction of a package which accompanies making a system multiple bits by reducing the number of output pins of a gate array and also make signal processing efficient. SOLUTION: In a gate array 101, a clock outputting means 130 generates and outputs fast and slow independent clocks, and also a serial data outputting means 120 converts status data into serial data. The serial data are converted into parallel data by dividing the serial data after conversion into two clocks which are a fast clock and a slow clock and processing them by using a serial- parallel converting means 120.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、インタフェース装
置およびその制御方法に関し、さらには、セントロニク
スインタフェースを用いた場合の出力信号制御を行うプ
リンタ等の情報処理装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an interface device and a control method thereof, and more particularly, to an information processing device such as a printer for controlling an output signal when a Centronics interface is used.

【0002】[0002]

【従来の技術】図5は、従来のセントロニクスインタフ
ェースの構成例を示す。
2. Description of the Related Art FIG. 5 shows an example of the configuration of a conventional Centronics interface.

【0003】プリンタPは、セントロニクスインタフェ
ースを用いてホストコンピュータHと接続され、データ
転送を行っている。この場合、プリンタPの出力信号
は、システムのハードウエア部を構成するゲートアレイ
301の出力信号をコネクタ302からケーブル303
を介して、ホストコンピュータHに伝送される。
[0005] The printer P is connected to a host computer H using a Centronics interface, and performs data transfer. In this case, an output signal of the printer P is output from a connector 302 to a cable 303 from a gate array 301 constituting a hardware portion of the system.
Is transmitted to the host computer H via

【0004】このプリンタP側において、300はメイ
ンコントローラ基板であり、ゲートアレイ301が実装
されている。このゲートアレイ301はセントロニクス
インタフェースの出力信号をパラメータ状態で直接出力
する。そして、ゲートアレイ301内部の回路が各出力
信号を独立して操作することによって、ホストコンピュ
ータHとの間でハンドシェイク、ステータス通知を行
う。すなわち、ゲートアレイ301から出力される各出
力信号は、コネクタ302、ケーブル303を通じて、
ホストコンピュータHに信号の状態を出力することによ
って、プリンタP側の状態を通知する。このように、各
出力信号は、セントロニクスインタフェース回路が内蔵
されているゲートアレイ301からパラレルで出力され
る。
On the printer P side, reference numeral 300 denotes a main controller board on which a gate array 301 is mounted. The gate array 301 directly outputs an output signal of the Centronics interface in a parameter state. Then, a circuit inside the gate array 301 independently operates each output signal to perform handshake and status notification with the host computer H. That is, each output signal output from the gate array 301 is transmitted through the connector 302 and the cable 303.
The status of the printer P is notified by outputting the status of the signal to the host computer H. As described above, each output signal is output in parallel from the gate array 301 having the built-in Centronics interface circuit.

【0005】[0005]

【発明が解決しようとする課題】しかしながら、上記従
来において、セントロニクスインタフェースはパラレル
出力であり、出力信号である制御信号の数がシリアルイ
ンタフェースと比較して多いため、ゲートアレイ301
の入出力ピンが全体に占める割合が高くなる。近年、特
に、システムのCPU,RAM,ROMのデータバス、
アドレスバスの多ビット化(例えば16bit→32b
it)に伴い、ゲートアレイ301のパッケージの入出
力ピンの数を多くとることが必要となってきたが、パッ
ケージの物理的制約のため入出力ピンの数を削減するこ
とが課題となっている。
However, in the above prior art, the centronics interface is a parallel output, and the number of control signals as output signals is larger than that of the serial interface.
The ratio of the input / output pins to the whole increases. In recent years, in particular, the system CPU, RAM, and data bus of ROM,
Multi-bit address bus (for example, 16 bits → 32b
It), it has become necessary to increase the number of input / output pins of the package of the gate array 301, but reducing the number of input / output pins due to physical constraints of the package has become an issue. .

【0006】そこで、ゲートアレイ301の出力ピンに
おいて、シリアル化することによってピン数を減らし、
ゲートアレイ301の外部に設けた回路においてパラレ
ル変換することによって、セントロニクスインタフェー
スの制御信号を出力することが考えられる。
Therefore, the output pins of the gate array 301 are serialized to reduce the number of pins.
It is conceivable to output a control signal of a Centronics interface by performing parallel conversion in a circuit provided outside the gate array 301.

【0007】しかしながら、セントロニクスインタフェ
ースの制御信号数は多いために、単にシリアル化してパ
ラレル変換する構成にしたのでは、シリアルパラレル変
換の処理に時間がかかり、ホストコンピュータHに対し
て高速な応答が期待できない。
However, since the number of control signals of the Centronics interface is large, the serial-to-parallel conversion simply takes a long time to perform serial-to-parallel conversion processing, and a high-speed response to the host computer H is expected. Can not.

【0008】言い替えると、図5に示す出力信号すなわ
ち制御信号の中には、ホストコンピュータとの間で高速
応答が必要な信号(例えば、BUSY,ACK信号)
や、低速応答でもかまわない信号(例えば、Erro
r,Fault信号)があるが、それらの信号を使い分
けておらず、このため高速な処理、ひいてはゲートアレ
イの入出力ピンの数を削減することができず、システム
の多ビット化に伴うパッケージの物理的制約に対処する
ことができない。
In other words, among the output signals shown in FIG. 5, that is, the control signals, signals requiring a high-speed response with the host computer (for example, BUSY and ACK signals)
Or a signal that can be responded at a low speed (for example,
r, Fault signals), but these signals are not properly used. Therefore, high-speed processing and, consequently, the number of input / output pins of the gate array cannot be reduced. Inability to address physical constraints.

【0009】そこで、本発明の目的は、セントロニクス
インタフェースの出力信号を、高速応答が必要な信号
(ハンドシェイク信号)と、低速応答でかまわない信号
(ステータス信号)とに大別して処理することによっ
て、ゲートアレイの出力ピン数を削減し、システムの多
ビット化に伴うパッケージの物理的制約に対処すると共
に、信号処理の効率化を図ることが可能なインタフェー
ス装置およびその制御方法、ならびに情報処理装置を提
供することにある。
Therefore, an object of the present invention is to process the output signal of the Centronics interface roughly into a signal requiring a high-speed response (handshake signal) and a signal requiring only a low-speed response (status signal). An interface device, a control method thereof, and an information processing device capable of reducing the number of output pins of a gate array, addressing physical constraints of a package accompanying multi-bit system, and improving signal processing efficiency. To provide.

【0010】[0010]

【課題を解決するための手段】本発明は、マスター側の
装置との間で信号のやりとりを行うスレーブ側の装置に
おけるインタフェース装置であって、インタフェース出
力制御部に設けられ、制御信号をシリアルデータに変換
して出力するシリアルデータ出力手段と、複数本のクロ
ックを作成して出力するクロック出力手段と、外部接続
部に設けられ、前記インタフェース出力制御部から出力
された前記シリアルデータおよび前記複数本のクロック
が入力され、各クロック毎の複数系統に分割して処理を
行うことによってシリアルデータをパラレルデータに変
換するシリアルパラレル変換手段とを具えることによっ
て、インタフェース装置を構成する。
SUMMARY OF THE INVENTION The present invention relates to an interface device in a slave device for exchanging signals with a master device. The interface device is provided in an interface output control unit and converts a control signal into serial data. Serial data output means for converting and outputting the serial data, clock output means for creating and outputting a plurality of clocks, and the serial data and the plurality of serial data output from the interface output control unit, which are provided in an external connection unit. And a serial-to-parallel conversion means for converting serial data into parallel data by performing processing by dividing the clock into a plurality of systems for each clock, thereby constituting an interface device.

【0011】ここで、前記シリアルパラレル変換手段
は、シリアルデータをパラレルデータに高速処理によっ
て変換する高速変換手段と、シリアルデータをパラレル
データに低速処理によって変換する低速変換手段とを含
んでもよい。前記高速変換手段は、前記低速変換手段よ
りもパラレルデータに変換するビット数を少なくして構
成する。
Here, the serial-parallel conversion means may include high-speed conversion means for converting serial data to parallel data by high-speed processing, and low-speed conversion means for converting serial data to parallel data by low-speed processing. The high-speed conversion means is configured with a smaller number of bits for converting to parallel data than the low-speed conversion means.

【0012】前記シリアルデータ出力手段は、1系統の
シリアルデータを、前記高速変換手段および前記低速変
換手段に共用したデータとして送出したり、また、複数
系統のシリアルデータを、前記高速変換手段と前記低速
変換手段に各々独立して送出することができる。
The serial data output means sends one system of serial data as data shared by the high-speed conversion means and the low-speed conversion means, and outputs serial data of a plurality of systems to the high-speed conversion means and the high-speed conversion means. Each of them can be sent independently to the low-speed conversion means.

【0013】また、本発明は、マスター側の装置との間
で信号のやりとりを行うスレーブ側の装置におけるイン
タフェースの制御方法であって、インタフェース出力制
御部において、制御信号をシリアルデータに変換して出
力すると共に、複数本のクロックを作成して出力し、外
部接続部において、前記インタフェース出力制御部から
出力された前記シリアルデータおよび前記複数本のクロ
ックが入力され、各クロック毎の複数系統に分割して処
理を行うことによってシリアルデータをパラレルデータ
に変換することができる。
The present invention is also a method of controlling an interface in a slave device for exchanging signals with a master device, wherein an interface output control unit converts a control signal into serial data. Output and generate and output a plurality of clocks, and in the external connection unit, the serial data and the plurality of clocks output from the interface output control unit are input and divided into a plurality of systems for each clock. Then, the serial data can be converted into parallel data by performing the processing.

【0014】ここで、前記シリアルデータをパラレルデ
ータに変換する際、高速処理によって変換すると共に、
低速処理によって変換することができる。
When converting the serial data into parallel data, the serial data is converted by high-speed processing.
It can be converted by slow processing.

【0015】前記高速処理による変換は、前記低速処理
による変換よりもパラレルデータに変換するビット数を
少なくすることができる。
In the conversion by the high-speed processing, the number of bits to be converted into parallel data can be reduced as compared with the conversion by the low-speed processing.

【0016】前記インタフェース出力制御部から出力さ
れた1系統のシリアルデータは、前記外部接続部内の前
記高速変換手段および前記低速変換手段に共用したデー
タとして入力することができる。また、前記インタフェ
ース出力制御部から出力された複数系統のシリアルデー
タは、前記外部接続部内の前記高速変換手段と前記低速
変換手段に各々独立して入力することができる。
One system of serial data output from the interface output control unit can be input as data shared by the high-speed conversion unit and the low-speed conversion unit in the external connection unit. Further, serial data of a plurality of systems output from the interface output control unit can be independently input to the high-speed conversion unit and the low-speed conversion unit in the external connection unit.

【0017】前記インタフェース出力制御部を、セント
ロニクスインタフェースの中に組み込んで構成すること
ができる。
[0017] The interface output control section may be configured by being incorporated in a Centronics interface.

【0018】また、本発明は、ホストコンピュータとの
間でインタフェースを介して信号のやりとりを行うプリ
ンタであって、前記インタフェースとして、上述した本
発明に係るインタフェース装置を用い、当該インタフェ
ースにより作成された制御信号を前記ホストコンピュー
タに送出することによって、情報処理装置を構成するこ
とができる。
According to the present invention, there is provided a printer for exchanging signals with a host computer via an interface, wherein the interface device according to the present invention is used as the interface, and the printer is created by the interface. By transmitting a control signal to the host computer, an information processing apparatus can be configured.

【0019】[0019]

【発明の実施の形態】以下、図面を参照して、本発明の
実施の形態を詳細に説明する。
Embodiments of the present invention will be described below in detail with reference to the drawings.

【0020】本発明の第1の実施の形態を、図1〜図3
に基づいて説明する。
The first embodiment of the present invention will be described with reference to FIGS.
It will be described based on.

【0021】図1は、ホストコンピュータHと接続され
た情報処理装置(以下、ここではプリンタPとする)の
セントロニクスインタフェースの構成例を示す。なお、
本例では、プリンタP内のセントロニクスインタフェー
スの構成の内、出力側の構成のみを示し、従来と同様な
入力側の構成に関しては省略する。
FIG. 1 shows an example of the configuration of a Centronics interface of an information processing apparatus (hereinafter, referred to as a printer P) connected to a host computer H. In addition,
In this example, of the configuration of the Centronics interface in the printer P, only the configuration on the output side is shown, and the configuration on the input side similar to the conventional one is omitted.

【0022】100はメインコントローラ基板であり、
メモリ(ROM,RAM)を含むマイクロプロセッサシ
ステムで構成されるプリンタPの処理を司る。このメイ
ンコントローラ基板100には、セントロニクスインタ
フェースの信号処理を行うゲートアレイ101が実装さ
れる。このゲートアレイ101には、制御信号(BUS
Y,ACK,Select…の信号)をシリアルデータ
にして出力するシリアルデータ出力手段120と、高速
用および低速用のクロックを発生させるクロック出力手
段130とが設けられている。
100 is a main controller board,
It manages the processing of the printer P composed of a microprocessor system including memories (ROM, RAM). On this main controller board 100, a gate array 101 for performing signal processing of a Centronics interface is mounted. This gate array 101 has a control signal (BUS
Y, ACK, Select...) Are output as serial data, and a clock output unit 130 that generates high-speed and low-speed clocks is provided.

【0023】200はコネクタ基板である。このコネク
タ基板200には、セントロニクスインタフェースのホ
ストコンピュータHと接続するためのコネクタ204が
実装され、また、ゲートアレイ101が出力するシリア
ル化された制御信号(セントロニクス出力信号)のシリ
アルパラレル変換を行う回路210が実装されている。
Reference numeral 200 denotes a connector board. A connector 204 for connecting to a host computer H of a Centronics interface is mounted on the connector board 200, and a circuit that performs serial-parallel conversion of a serialized control signal (Centronics output signal) output from the gate array 101. 210 are implemented.

【0024】高速用シフトレジスタ201は、シフトレ
ジスタであり、セントロニクスインタフェースのハンド
シェイク信号(BUSY,ACK信号等)を保持するも
のである。そして、ゲートアレイ101から出力される
制御信号(シリアルデータ)は、高速用シフトクロック
(クロック信号)が入力されることによって、シリアル
パラレル変換が行なわれ、高速用シフトレジスタ201
にセントロニクスインタフェースのハンドシェイク信号
が保持される。
The high-speed shift register 201 is a shift register, and holds a handshake signal (BUSY, ACK signal, etc.) of the Centronics interface. The control signal (serial data) output from the gate array 101 is subjected to serial-to-parallel conversion when a high-speed shift clock (clock signal) is input, and the high-speed shift register 201 is output.
Holds the handshake signal of the Centronics interface.

【0025】また、低速用シフトレジスタ202は、シ
フトレジスタであり、セントロニクスインタフェースの
ステータス信号(Error,Select信号等)を
保持するものである。そして、ゲートアレイ101から
出力される制御信号(シリアルデータ)は、低速用シフ
トクロック(クロック信号)が入力されることによっ
て、シリアルパラレル変換が行なわれ、低速用シフトレ
ジスタ202にセントロニクスインタフェースのステー
タス信号が保持される。
The low-speed shift register 202 is a shift register and holds a status signal (Error, Select signal, etc.) of the Centronics interface. The control signal (serial data) output from the gate array 101 is subjected to serial-to-parallel conversion when a low-speed shift clock (clock signal) is input, and the status signal of the Centronics interface is sent to the low-speed shift register 202. Is held.

【0026】なお、本発明におけるシフトクロックやシ
フトレジスタ201,202に用いられる高速用および
低速用の意味は、シフトレジスタ201,202におけ
るシリアルパラレル変換処理の段階で、ビット数の少な
い(Q0,Q1の2ビット)処理がビット数の多い(Q
2〜Q8の7ビット)処理よりもパラレル変換に係る時
間が短いことに基づくものである。従って、ここでは、
クロックの速さの違いによってパラレル変換がなされる
のではなく、パラレル変換するビット数の違いによっ
て、高速用のレジスタとなったり低速用のレジスタとな
ったりする。
The meaning of the shift clock and the high speed and the low speed used in the shift registers 201 and 202 in the present invention means that the number of bits is small (Q0, Q1) in the serial / parallel conversion processing in the shift registers 201 and 202. 2 bits) processing is large in number of bits (Q
This is based on the fact that the time required for parallel conversion is shorter than that of the (2 bits to 8 bits of 7 bits) processing. Therefore, here
Rather than performing parallel conversion due to the difference in clock speed, a high-speed register or a low-speed register is determined according to the difference in the number of bits to be parallel-converted.

【0027】図2は、本例のセントロニクスインタフェ
ースの制御出力のシリアルパラレル変換処理の1例を示
す。
FIG. 2 shows an example of a serial / parallel conversion process of the control output of the Centronics interface of the present embodiment.

【0028】高速用シフトクロックは、ゲートアレイ1
01により出力され、高速用シフトレジスタ201のク
ロック入力端子(CLK)に入力される。低速用シフト
クロックは、ゲートアレイ101により出力され、低速
用シフトレジスタ202のクロック入力端子(CLK)
に入力される。ゲートアレイ101から出力される制御
信号のデータは、高速用シフトレジスタ201、低速用
シフトレジスタ202に共通のシリアルデータであり、
この制御信号(セントロニクスインタフェース出力信
号)の値はシリアルで出力される。この制御信号の値
は、シフトクロックにより順次シフトレジスタ201,
202に保持される。ゲートアレイ101から出力され
るセットパルスは、ラッチ203の制御信号である。こ
のセットパルスにより、入力端子に入力された値D0〜
D8を、ラッチ内部に保持して出力する。
The high-speed shift clock is supplied to the gate array 1
01 and is input to the clock input terminal (CLK) of the high-speed shift register 201. The low-speed shift clock is output by the gate array 101, and a clock input terminal (CLK) of the low-speed shift register 202.
Is input to Control signal data output from the gate array 101 is serial data common to the high-speed shift register 201 and the low-speed shift register 202.
The value of this control signal (Centronics interface output signal) is output serially. The value of this control signal is sequentially shifted by the shift register 201,
202. The set pulse output from the gate array 101 is a control signal for the latch 203. With this set pulse, the values D0 to D0 input to the input terminals
D8 is held and output inside the latch.

【0029】ここで、Q0,Q1は高速用シフトレジス
タ201が、Q2〜Q8は低速用シフトレジスタ202
がそれぞれ保持、出力する値である。また、Z0〜Z8
は、ラッチ203が保持、出力する値である。このラッ
チ203から出力された制御信号が、コネクタ204、
ケーブル205を通じてホストコンピュータH側に出力
される。
Here, Q0 and Q1 are high-speed shift registers 201, and Q2 to Q8 are low-speed shift registers 202.
Are the values to be retained and output, respectively. In addition, Z0 to Z8
Is a value held and output by the latch 203. The control signal output from the latch 203 is connected to the connector 204,
The data is output to the host computer H via the cable 205.

【0030】ここで、図2のタイミングチャートについ
て説明する。
Here, the timing chart of FIG. 2 will be described.

【0031】本タイミングチャートは、ラッチ203の
出力する制御信号Z0〜Z8がすべて0の値を初期値と
して保持している状態から、保持する値をすべて1に変
更するまでの処理の流れを示す。
This timing chart shows the flow of processing from the state where the control signals Z0 to Z8 output from the latch 203 hold all 0 values as initial values to the time when all the held values are changed to 1. .

【0032】初期時において、Q0〜Q8はすべて、保
持する値が0である。Z0〜Z8はすべて、保持する値
が0である。
At the initial stage, the values held in all of Q0 to Q8 are 0. The values held in all of Z0 to Z8 are 0.

【0033】タイミングt501において、信号データ
の値を0から1にする。そして、全てのセントロニクス
出力信号を1に変更するため、そのまま1を出力し続け
る。
At timing t501, the value of the signal data is changed from 0 to 1. Then, in order to change all the Centronics output signals to 1, 1 is continuously output.

【0034】シフトレジスタは、クロック入力毎にシリ
アルデータを保持する。すなわち、高速用シフトレジス
タ201においては、Q0→Q1,シリアルデータ入力
→Q0の各保持する値の移動がクロック入力の立ち上が
り毎に行われる。
The shift register holds serial data for each clock input. That is, in the high-speed shift register 201, the held values move from Q0 to Q1 and serial data input to Q0 are performed at every rising edge of the clock input.

【0035】低速用シフトレジスタ202においては、
Q7→Q8,Q6→Q7,Q5→Q6,Q4→Q5,Q
3→Q4,Q2→Q3,シリアルデータ入力→Q2の各
保持する値の移動がクロック入力の立ち上がり毎に行わ
れる。
In the low-speed shift register 202,
Q7 → Q8, Q6 → Q7, Q5 → Q6, Q4 → Q5, Q
The movement of the held values of 3 → Q4, Q2 → Q3, serial data input → Q2 is performed at every rising of the clock input.

【0036】タイミングt502,t503において、
高速用シフトレジスタ201のクロックパルスの立ち上
がりでは、順次信号データの値が、高速用シフトレジス
タ201に保持される。そして、Q0,Q1の値がセッ
トされる。
At timings t502 and t503,
At the rise of the clock pulse of the high-speed shift register 201, the values of the signal data are sequentially held in the high-speed shift register 201. Then, the values of Q0 and Q1 are set.

【0037】タイミングt504〜t510において、
低速用シフトレジスタ202のクロックパルスの立ち上
がりでは、順次信号データの値が、低速用シフトレジス
タ202に保持される。そして、Q2〜Q8の値がセッ
トされる。
At timings t504 to t510,
At the rise of the clock pulse of the low-speed shift register 202, the values of the signal data are sequentially held in the low-speed shift register 202. Then, the values of Q2 to Q8 are set.

【0038】タイミングt511ではセットパルス信号
が1になる。このタイミングで、ラッチ203はD0〜
D8に入力する値を内部に保持し、Z0〜Z8に出力す
る。Z0〜Z8の値は一斉に0から1に変化する。
At timing t511, the set pulse signal becomes 1. At this timing, the latch 203 sets D0 to D0.
The value input to D8 is held internally and output to Z0 to Z8. The values of Z0 to Z8 simultaneously change from 0 to 1.

【0039】このようにして、セントロニクスインタフ
ェースの出力信号の値を操作することが可能である。以
上の処理が、ゲートアレイ101のシリアル出力がパラ
レル変換され、ケーブル205に出力される信号を操作
するまでの処理である。
In this way, it is possible to manipulate the value of the output signal of the Centronics interface. The above processing is processing from serial conversion of the gate array 101 to parallel conversion and manipulation of a signal output to the cable 205.

【0040】本例では、シリアルパラレル変換を行うシ
フトレジスタへのシフトクロックを2系統(ただし、こ
の2系統に限るものではない)備えているため、ハンド
シェイク信号用である高速応答用のシフトレジスタ20
1と、ステータス信号用である低速応答用のシフトレジ
スタ202を独立して操作することが可能である。
In this embodiment, since the shift clock for the shift register for performing the serial-parallel conversion is provided in two systems (but not limited to these two systems), the shift register for the high-speed response for the handshake signal is provided. 20
1 and the low-speed response shift register 202 for the status signal can be independently operated.

【0041】図3は、本例の処理の一例を示すものであ
り、高速処理用のハンドシェイク信号を操作する処理を
示す。
FIG. 3 shows an example of the processing of the present embodiment, and shows processing for operating a handshake signal for high-speed processing.

【0042】セントロニクスインタフェースにおいて、
BUSYやnACK信号はデータ転送のハンドシェイク
信号として使用する。このため、ホストコンピュータH
との間のデータ転送の効率を上げるために高速な応答を
行う必要がある。
In the Centronics interface,
The BUSY and nACK signals are used as handshake signals for data transfer. Therefore, the host computer H
It is necessary to perform a high-speed response in order to increase the efficiency of data transfer to and from the device.

【0043】本例では、高速応答用の信号は独立したシ
フトクロックにより制御するために、ハンドシェイク時
にはハンドシェイク信号のみをシリアルパラレル変換し
て、低速応答のグループであるステータス信号は操作し
ないように制御することが可能である。このように、高
速応答のグループの出力信号(BUSY,nACK信号
の制御信号)のみをシリアルパラレル変換することによ
って、ホストコンピュータHに対する応答を高速で行う
ことができる。
In this embodiment, since the signal for high-speed response is controlled by an independent shift clock, only the handshake signal is serial-parallel converted at the time of handshake, and the status signal which is a group of low-speed response is not operated. It is possible to control. As described above, the response to the host computer H can be performed at a high speed by serial-to-parallel conversion of only the output signals (the control signals of the BUSY and nACK signals) of the high-speed response group.

【0044】図3のタイミングチャートは、Z0の出力
のBUSY信号と、Z1の出力のnACK信号を連続し
て制御する処理を示す。
The timing chart of FIG. 3 shows a process for continuously controlling the BUSY signal output from Z0 and the nACK signal output from Z1.

【0045】タイミングt601,t602では、高速
用シフトクロックの立ち上がりにおいて信号データの値
が順に高速用シフトレジスタ201のQ0,Q1に格納
される。Q0,Q1ともに保持する値は0から1に変化
する。
At timings t601 and t602, signal data values are sequentially stored in Q0 and Q1 of the high-speed shift register 201 at the rise of the high-speed shift clock. The value held for both Q0 and Q1 changes from 0 to 1.

【0046】タイミングt603では、セットパルス信
号が1になる。このタイミングで、ラッチ203はD0
〜D8の入力端子に入力された値を内部に保持し、Z0
〜Z8に出力する。本処理では、低速用シフトレジスタ
202の保持する値は操作していないので変化しない。
ラッチ203のD0,D1入力は0から1に変化してい
るので、Z0,Z1出力は0から1に変化する。すなわ
ち、BUSY(Z0)は0から1に変化し、nACK
(Z1)は0から1に変化する。
At timing t603, the set pulse signal becomes 1. At this timing, the latch 203 sets D0
To the input terminals D8 to D8.
To Z8. In this processing, the value held by the low-speed shift register 202 does not change because it is not operated.
Since the D0 and D1 inputs of the latch 203 change from 0 to 1, the Z0 and Z1 outputs change from 0 to 1. That is, BUSY (Z0) changes from 0 to 1 and nACK
(Z1) changes from 0 to 1.

【0047】タイミングt604,t605では、高速
用シフトクロックのクロックの立ち上がりにおいて信号
データの値が順に高速用シフトレジスタ201のQ0,
Q1に格納される。Q0は保持する値が、1→0→1
に、Q1は保持する値が、1→0に各々変化する。
At timings t604 and t605, at the rising edge of the high-speed shift clock, the signal data values are sequentially changed to Q0 and Q0 of the high-speed shift register 201.
It is stored in Q1. Q0 holds a value of 1 → 0 → 1
In addition, the value held in Q1 changes from 1 to 0.

【0048】タイミングt606では、セットパルス信
号が1になる。このタイミングで、ラッチ203はD0
〜D8に入力する値を内部に保持し、Z0〜Z8に出力
する。本処理では、シフトレジスタ低速用202の保持
する値は操作していないので変化しない。ラッチ203
の入力は、D0は1のまま、D1は0へ各々変化してい
るため、ラッチ203は保持する値がZ0→1,Z1→
0になる。すなわち、BUSY(Z0)は1のままであ
り、nACK(Z1)は1から0に変化する。
At timing t606, the set pulse signal becomes 1. At this timing, the latch 203 sets D0
DD8 are internally stored and output to Z0 to Z8. In this processing, the value held by the shift register low-speed operation 202 does not change because it is not operated. Latch 203
Since D0 remains 1 and D1 changes to 0, the values held by the latch 203 are Z0 → 1, Z1 →
It becomes 0. That is, BUSY (Z0) remains 1, and nACK (Z1) changes from 1 to 0.

【0049】以上の処理において、BUSY信号出力を
0から1に、nACK信号出力を0から1そして0へ各
々制御することが可能である。
In the above processing, it is possible to control the BUSY signal output from 0 to 1 and the nACK signal output from 0 to 1 and 0, respectively.

【0050】上述したように、全ての制御信号(セント
ロニクス出力信号)を制御する場合と比較して、高速応
答用のハンドシェイク信号のみを制御することによっ
て、ホストコンピュータHに対して高速な応答処理を行
うことができる。
As described above, by controlling only the handshake signal for high-speed response as compared with the case where all control signals (centronics output signals) are controlled, a high-speed response processing to the host computer H can be performed. It can be performed.

【0051】次に、本発明の第2の実施の形態を、図4
に基づいて説明する。
Next, a second embodiment of the present invention will be described with reference to FIG.
It will be described based on.

【0052】上述した例においては、制御信号のデータ
を高速応答用と、低速応答用で共用していたが、シフト
クロックと同様に独立した信号データを備える構成で
も、同様の処理を行うことができる。
In the above-described example, the control signal data is shared for the high-speed response and the low-speed response. However, the same processing can be performed even in a configuration having independent signal data like the shift clock. it can.

【0053】図4は、その場合のセントロニクスインタ
フェースの構成例を示す。本例では、ゲートアレイ10
1の出力するシリアル出力信号が、高速用信号データ、
低速用信号データとで、2系統独立した構成となってい
る。
FIG. 4 shows a configuration example of the Centronics interface in that case. In this example, the gate array 10
1 is a high-speed signal data,
The signal data for low speed has a configuration independent of two systems.

【0054】本構成においては、ゲートアレイ101の
出力するピン、すなわちメインコントローラ基板100
とコネクタ基板200とを接続する信号線の数が1本増
加するが、これによって高速用シフトレジスタ201と
低速用シフトレジスタ202の制御の並行処理が可能に
なる。
In this configuration, the pins output from the gate array 101, that is, the main controller board 100
However, the number of signal lines connecting the connector and the connector board 200 is increased by one, so that the high-speed shift register 201 and the low-speed shift register 202 can be controlled in parallel.

【0055】[0055]

【発明の効果】以上、説明したように、本発明によれ
ば、セントロニクスインタフェースの出力信号をゲート
アレイのピン出力においてはシリアル、外づけ回路でパ
ラレル変換を行う構成のためゲートアレイの出力ピン数
を従来の構成に比較して削減することができる。
As described above, according to the present invention, the output signal of the Centronics interface is serially converted at the pin output of the gate array to parallel conversion by an external circuit. Can be reduced as compared with the conventional configuration.

【0056】また、シリアル信号のクロックを複数系統
備えるようにしたので、ゲートアレイのピン出力がシリ
アルとなり、外づけ回路でパラレル変換する構成におい
てもホストコンピュータとのハンドシェイクを高速に行
うことができる。
Also, since a plurality of serial signal clocks are provided, the pin output of the gate array becomes serial, and even in a configuration in which parallel conversion is performed by an external circuit, handshaking with the host computer can be performed at high speed. .

【0057】さらに、ゲートアレイのセントロニクスイ
ンタフェースの出力信号を削減したことにより、ゲート
アレイが実装されるメイン基板とセントロニクスインタ
フェースの外部機器接続用のコネクタが実装されるコネ
クタ基板を分離した構成において、両基板を接続するケ
ーブルの信号本数を削減することが可能となる。
Further, by reducing the output signals of the centronics interface of the gate array, in the configuration in which the main board on which the gate array is mounted and the connector board on which the connector for connecting the external device of the centronics interface is mounted are separated. This makes it possible to reduce the number of signals of cables connecting the boards.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明の第1の実施の形態であるセントロニク
スインタフェースの構成例を示すブロック図である。
FIG. 1 is a block diagram illustrating a configuration example of a Centronics interface according to a first embodiment of the present invention.

【図2】セントロニクスインタフェースの出力信号のシ
リアルパラレル変換処理を示すタイミングチャートであ
る。
FIG. 2 is a timing chart showing a serial / parallel conversion process of an output signal of a Centronics interface.

【図3】ハンドシェイク高速信号を操作する処理例を示
すタイミングチャートである。
FIG. 3 is a timing chart showing a processing example of operating a handshake high-speed signal.

【図4】本発明の第2の実施の形態であるセントロニク
スインタフェースの構成例を示すブロック図である。
FIG. 4 is a block diagram illustrating a configuration example of a Centronics interface according to a second embodiment of the present invention.

【図5】従来のセントロニクスインタフェースの構成例
を示すブロック図である。
FIG. 5 is a block diagram showing a configuration example of a conventional Centronics interface.

【符号の説明】[Explanation of symbols]

101 インタフェース出力制御部 120 シリアルデータ出力手段 130 クロック出力手段 200 外部接続部 201 高速変換手段(シリアルパラレル変換手段) 202 低速変換手段(シリアルパラレル変換手段) Reference Signs List 101 Interface output control unit 120 Serial data output unit 130 Clock output unit 200 External connection unit 201 High speed conversion unit (serial / parallel conversion unit) 202 Low speed conversion unit (serial / parallel conversion unit)

Claims (13)

【特許請求の範囲】[Claims] 【請求項1】 マスター側の装置との間で信号のやりと
りを行うスレーブ側の装置におけるインタフェース装置
であって、 インタフェース出力制御部に設けられ、制御信号をシリ
アルデータに変換して出力するシリアルデータ出力手段
と、 複数本のクロックを作成して出力するクロック出力手段
と、 外部接続部に設けられ、前記インタフェース出力制御部
から出力された前記シリアルデータおよび前記複数本の
クロックが入力され、各クロック毎の複数系統に分割し
て処理を行うことによってシリアルデータをパラレルデ
ータに変換するシリアルパラレル変換手段とを具えたこ
とを特徴とするインタフェース装置。
1. An interface device in a slave device for exchanging signals with a master device, wherein the serial device is provided in an interface output control unit and converts a control signal into serial data and outputs the data. An output unit, a clock output unit that creates and outputs a plurality of clocks, and is provided in an external connection unit, and receives the serial data and the plurality of clocks output from the interface output control unit, and receives each clock. An interface device comprising: serial / parallel conversion means for converting serial data into parallel data by dividing the data into a plurality of systems and performing processing.
【請求項2】 前記シリアルパラレル変換手段は、シリ
アルデータをパラレルデータに高速処理によって変換す
る高速変換手段と、シリアルデータをパラレルデータに
低速処理によって変換する低速変換手段とを含むことを
特徴とする請求項1記載のインタフェース装置。
2. The serial-to-parallel conversion means includes high-speed conversion means for converting serial data to parallel data by high-speed processing, and low-speed conversion means for converting serial data to parallel data by low-speed processing. The interface device according to claim 1.
【請求項3】 前記高速変換手段は、前記低速変換手段
よりもパラレルデータに変換するビット数が少ないこと
を特徴とする請求項2記載のインタフェース装置。
3. The interface apparatus according to claim 2, wherein said high-speed conversion means has a smaller number of bits for converting to parallel data than said low-speed conversion means.
【請求項4】 前記シリアルデータ出力手段は、1系統
のシリアルデータを、前記高速変換手段および前記低速
変換手段に共用したデータとして送出することを特徴と
する請求項2又は3記載のインタフェース装置。
4. The interface device according to claim 2, wherein said serial data output means sends one system of serial data as data shared by said high-speed conversion means and said low-speed conversion means.
【請求項5】 前記シリアルデータ出力手段は、複数系
統のシリアルデータを、前記高速変換手段と前記低速変
換手段に各々独立して送出することを特徴とする請求項
2又は3記載のインタフェース装置。
5. The interface device according to claim 2, wherein said serial data output means sends serial data of a plurality of systems to said high-speed conversion means and said low-speed conversion means independently of each other.
【請求項6】 前記インタフェース出力制御部を、セン
トロニクスインタフェースの中に組み込んだことを特徴
とする請求項1ないし5のいずれかに記載のインタフェ
ース装置。
6. The interface device according to claim 1, wherein the interface output control unit is incorporated in a Centronics interface.
【請求項7】 マスター側の装置との間で信号のやりと
りを行うスレーブ側の装置におけるインタフェースの制
御方法であって、 インタフェース出力制御部において、制御信号をシリア
ルデータに変換して出力すると共に、複数本のクロック
を作成して出力し、 外部接続部において、前記インタフェース出力制御部か
ら出力された前記シリアルデータおよび前記複数本のク
ロックが入力され、各クロック毎の複数系統に分割して
処理を行うことによってシリアルデータをパラレルデー
タに変換することを特徴とするインタフェースの制御方
法。
7. A method of controlling an interface in a slave device that exchanges signals with a master device, wherein an interface output control unit converts a control signal into serial data and outputs the data. A plurality of clocks are created and output, and the serial data and the plurality of clocks output from the interface output control unit are input to an external connection unit, and divided into a plurality of systems for each clock for processing. A method of controlling an interface, comprising: converting serial data into parallel data by performing the conversion.
【請求項8】 前記シリアルデータをパラレルデータに
変換する際、高速処理によって変換すると共に、低速処
理によって変換することを特徴とする請求項7記載のイ
ンタフェースの制御方法。
8. The interface control method according to claim 7, wherein, when converting the serial data into parallel data, the serial data is converted by high-speed processing and converted by low-speed processing.
【請求項9】 前記高速処理による変換は、前記低速処
理による変換よりもパラレルデータに変換するビット数
が少ないことを特徴とする請求項8記載のインタフェー
スの制御方法。
9. The interface control method according to claim 8, wherein the conversion by the high-speed processing has a smaller number of bits to be converted into parallel data than the conversion by the low-speed processing.
【請求項10】 前記インタフェース出力制御部から出
力された1系統のシリアルデータは、前記外部接続部内
の前記高速変換手段および前記低速変換手段に共用した
データとして入力されることを特徴とする請求項8又は
9記載のインタフェースの制御方法。
10. The serial data of one system output from the interface output control unit is input as data shared by the high-speed conversion unit and the low-speed conversion unit in the external connection unit. 10. The method for controlling an interface according to 8 or 9.
【請求項11】 前記インタフェース出力制御部から出
力された複数系統のシリアルデータは、前記外部接続部
内の前記高速変換手段と前記低速変換手段に各々独立し
て入力されることを特徴とする請求項8又は9記載のイ
ンタフェースの制御方法。
11. The serial data of a plurality of systems output from the interface output control unit is independently input to the high-speed conversion unit and the low-speed conversion unit in the external connection unit. 10. The method for controlling an interface according to 8 or 9.
【請求項12】 前記インタフェース出力制御部を、セ
ントロニクスインタフェースの中に組み込んだことを特
徴とする請求項7ないし11のいずれかに記載のインタ
フェースの制御方法。
12. The interface control method according to claim 7, wherein said interface output control unit is incorporated in a Centronics interface.
【請求項13】 ホストコンピュータとの間でインタフ
ェースを介して信号のやりとりを行うプリンタであっ
て、 前記インタフェースとして、請求項1ないし6のいずれ
かに記載のインタフェース装置を用い、 当該インタフェースにより作成された制御信号を前記ホ
ストコンピュータに送出することを特徴とする情報処理
装置。
13. A printer that exchanges signals with a host computer via an interface, wherein the interface is the interface device according to claim 1 and is created by the interface. An information processing device for transmitting a control signal to the host computer.
JP9112424A 1997-04-30 1997-04-30 Interface device, its control method and information processor Pending JPH10301681A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9112424A JPH10301681A (en) 1997-04-30 1997-04-30 Interface device, its control method and information processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9112424A JPH10301681A (en) 1997-04-30 1997-04-30 Interface device, its control method and information processor

Publications (1)

Publication Number Publication Date
JPH10301681A true JPH10301681A (en) 1998-11-13

Family

ID=14586304

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9112424A Pending JPH10301681A (en) 1997-04-30 1997-04-30 Interface device, its control method and information processor

Country Status (1)

Country Link
JP (1) JPH10301681A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011138466A (en) * 2009-12-31 2011-07-14 Alcor Micro Corp Circuit structure and integrated circuit structure of i2c/spi control interface, and bus structure
CN102135948A (en) * 2010-01-25 2011-07-27 安国国际科技股份有限公司 Inter-integrated circuit/serial peripheral interface master control interface circuit structure

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011138466A (en) * 2009-12-31 2011-07-14 Alcor Micro Corp Circuit structure and integrated circuit structure of i2c/spi control interface, and bus structure
CN102135948A (en) * 2010-01-25 2011-07-27 安国国际科技股份有限公司 Inter-integrated circuit/serial peripheral interface master control interface circuit structure

Similar Documents

Publication Publication Date Title
JP2006515941A (en) Pipeline accelerator having multiple pipeline units, associated computing machine, and method
JP4761487B2 (en) Bus architecture and information processing apparatus using the same
JP2000155552A (en) Liquid crystal display device and video data transfer method
JP5200396B2 (en) Image forming apparatus, image processing apparatus, control apparatus, and connection apparatus
CN106980587B (en) General input/output time sequence processor and time sequence input/output control method
JPH10301681A (en) Interface device, its control method and information processor
WO1996033464A1 (en) Processing unit to clock interface
US7213090B2 (en) Data transfer apparatus for serial data transfer in system LSI
JP3068394B2 (en) Sensor system
US5724615A (en) Communication circuit receiving data selectably synchronized to the rising or falling edge of a timing signal provided from the data source
JP4447341B2 (en) Information processing device
CN113539343B (en) Multi-path output method, device and equipment of shift register and storage medium
KR100799684B1 (en) Communication system and method of controlling the same
EP0148307B1 (en) Programmable controller
JP4952177B2 (en) Storage device
CN113391570A (en) Low-cost low-complexity multi-channel DA synchronous control method
JP2006170761A (en) Test system for semiconductor integrated circuit
JPH02226454A (en) Computer system and transfer of data
JPH05342172A (en) Multiprocessor system
JP2013099949A (en) Image forming apparatus, and connecting apparatus
JP2000285067A (en) Data bus system
JP2000057051A (en) Memory subsystem
JP2008077279A (en) Pipeline circuit verification device and method
JPWO2008044486A1 (en) Multi-station communication device
JPH056335A (en) Inter-device interface system