JP2004304326A - Data transmitting and receiving method, data transmitter-receiver and printer - Google Patents
Data transmitting and receiving method, data transmitter-receiver and printer Download PDFInfo
- Publication number
- JP2004304326A JP2004304326A JP2003092444A JP2003092444A JP2004304326A JP 2004304326 A JP2004304326 A JP 2004304326A JP 2003092444 A JP2003092444 A JP 2003092444A JP 2003092444 A JP2003092444 A JP 2003092444A JP 2004304326 A JP2004304326 A JP 2004304326A
- Authority
- JP
- Japan
- Prior art keywords
- data
- signal
- transmission
- transmitting
- circuit
- 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.)
- Withdrawn
Links
Images
Landscapes
- Communication Control (AREA)
Abstract
Description
【0001】
【発明の属する技術分野】
本発明は、非同期に動作するデータ送信部とデータ受信部との間におけるデータ送受信に関する。
【0002】
【従来の技術】
複数の装置から構成されるシステム、あるいは、複数の回路から構成される装置等では、それぞれの装置あるいは回路の動作が同期していないことがある。この場合、非同期に動作する装置間、あるいは、非同期に動作する回路間等でデータを送受信することが必要となる。
【0003】
例えば、制御部と印刷エンジンとを備えた印刷装置では、制御部で生成したイメージデータを印刷エンジンに送信する処理が行なわれるが、データ送信側の制御部はCPU、RAM等の動作周波数に依存するシステムクロックで動作し、データ受信側の印刷エンジンはシステムクロックとは別のビデオクロックで動作するため、両者は非同期に動作する。
【0004】
図5は、従来のデータ送信側およびデータ受信側の回路構成を示すブロック図である。データ送信側は、データを送信するデータ送信回路110とデータ送信のタイミング制御を行なう送信同期回路112とを備えており、いずれも送信側のクロック(TCLK)で動作する。一方、データ受信側は、データを受信するデータ受信回路120とデータ受信のタイミング制御を行なう受信同期回路122とを備えており、いずれも受信側のクロック(RCLK)で動作する。データ送信回路110からデータ受信回路120へのデータ送信は、TDATA信号線によって行なわれる。
【0005】
データ送信回路110から受信同期回路122にはTDVLD信号が送られる。TDVLD信号は、アサート状態でデータ送信回路110からのデータが有効であることを示す。受信同期回路122は、TDVLDに同期したtdvld_s信号を内部的に発生する。
【0006】
受信同期回路122からデータ受信回路120にはTDWRパルスが送られる。TDWRパルスにより、データ受信回路120は、TDATAをラッチしてデータを受信する。
【0007】
データ受信回路120から受信同期回路122にはRRDY信号が送られる。RRDY信号は、アサート状態でデータ受信回路120がデータを受信可能であることを示す。
【0008】
送信同期回路112からデータ送信回路110にはTACKパルスが送られる。TACKパルスは、次のデータを出力してもよいことを示す。
【0009】
受信同期回路122から送信同期回路122には上述のTDWRパルスが送られる。送信同期回路112は、TDVLDに同期したtdwr_s信号および1クロック遅れのtdwr_s2信号を内部的に発生する。送信同期回路112は、TDWRをパルスを検出してTACKパルスを発生する。
【0010】
図6は、上記回路におけるデータ送受信のタイミング図である。また、図7は、受信同期回路122と送信同期回路112の状態遷移図である。これらの図を参照して、従来のデータ送受信の手順を説明する。
1.データ送信回路110は、送信すべきデータが準備できたらTDVLDをアサートして、同時にTDATAを出力する(t1)。
2.受信同期回路122は、TDVLDアサートを検出して同期化(tdvld_s)し(t2)、TDWRパルスを出力する(t3)。図7(a)に示すように受信同期回路122は、tdvld_s & RRDYでRIDL状態からWR状態に遷移する。そして、次のRCLKでWR状態からRIDL状態に遷移する。
3.データ受信回路120は、TDWRパルスでTDATAをラッチしてデータを取り込む(t3)。
4.送信同期回路112は、TDWRパルスを検出して同期化(tdwr_s)し(t4)、TACKパルスをデータ送信回路110に出力する(t5)。なお、TACKパルスは、TDWR(tdwr_s)のネゲートエッジから生成する。すなわち、図7(b)に示すように、送信同期回路112は、 ̄tdwr_s & tdwr_s2で、TIDL状態からACK状態に遷移する。そして、次のTCLKでACK状態からTIDL状態に遷移する。
5.データ送信回路110は、TACKパルスを検出すると、送信すべき次のデータが準備できている場合は次のデータを出力する(t6)。ただし、送信すべき次のデータが準備できていない場合はTDVLDをネゲートする。
【0011】
なお、非同期的な装置間における同期化技術については特許文献1が知られている。
【0012】
【特許文献1】
【特開平8−320845】
【発明が解決しようとする課題】
上述のように、送信同期回路112は、TDWRパルスを検出して同期化(tdwr_s)し(t4)、TACKパルスをデータ送信回路110に出力する(t5)。このため、TDWRパルスを検出するためには、TDWRパルスがアサート状態にある間に少なくとも1回はTCLKが立ち上がる必要がある。
【0013】
ここで、TDWRパルスはTCLK幅であるから、送信同期回路112がTDWRパルスを検出するためには、送信側のクロックであるTCLKの周波数を、受信側のクロックであるRCLKの周波数より高くしなければならない。
【0014】
ところが、受信側のクロック周波数を送信側より高くしたり、双方、特に、受信側のクロックを柔軟に変更したい場合がある。例えば、印刷装置のビデオクロックは印刷解像度に関係するため、解像度の高い印刷を行なうときには高い周波数とすることで画質を向上させることができる。一方で、解像度を低くすればデータ量が少なくなるためスループットが向上するが、解像度が低い場合は、それに合わせて動作周波数を低く設定する必要がある。また、受信側の回路の周波数を、送信側の周波数との高低関係にかかわらず設定できるようになれば、受信側の回路を汎用化できるようになり便利である。このとき、データ送受信のための回路はなるべく簡易な構成とすることが望ましい。
【0015】
本発明は、データ送信側とデータ受信側とが非同期で動作する場合に、周波数の高低に依存しないデータの送受信を簡易な構成で行なえるようにすることを目的とする。
【0016】
【課題を解決するための手段】
上記課題を解決するため本発明の第1の態様は、
非同期に動作するデータ送信部とデータ受信部との間におけるデータ送受信方法であって、
送信側が送信データ、および、送信データが有効であることを示す第1の信号を受信側に出力するステップと
受信側が第1の信号に応じて送信データを受信し、送信データを受信したことを示す第2の信号を送信側に出力するステップと、
送信側が第2の信号に応じて第2の信号の停止を許可する第3の信号を受信側に出力し、次の送信データおよび第1の信号を受信側に出力するステップと、
送信側が第2の信号の停止に応じて第3の信号を停止するステップと、を備えることを特徴とする。
【0017】
第2の信号によりデータ受信が完了したことを送信側が検知することができるため、送信側と受信側との周波数の高低に依存しないデータの送受信を簡易な構成で行なえる。
【0018】
ここで、送信側は実施例のデータ送信回路と送信同期回路とに対応し、受信側は実施例のデータ受信回路と受信同期回路とに対応し、第1の信号は実施例のTDVLDに対応し、第2の信号は実施例のRCYCENDに対応し、第3の信号は実施例のTCYCENDに対応する。
【0019】
上記課題を解決するため本発明の第2の態様は、
非同期に動作するデータ送信装置とデータ受信装置とを備えたデータ送受信装置であって、
送信データを伝送する信号線と、
送信データが有効であることを示す第1の信号を伝送する信号線と、
送信データを受信したことを示す第2の信号を伝送する信号線と、
第2の信号の停止を許可する第3の信号を伝送する信号線とを備え、
前記データ送信装置は、
送信データを出力する際に、第1の信号を出力する手段と、
第2の信号に応じて第3の信号を出力し、次の送信データを出力する手段と、
第2の信号の停止に応じて第3の信号を停止する手段とを備え、
前記データ受信装置は、
第1の信号に応じて送信データを受信し、第2の信号を出力する手段と、
第3の信号に応じて第2の信号を停止する手段と、を備えることを特徴とする。
【0020】
第2の信号によりデータ受信が完了したことを送信側が検知することができるため、送信側と受信側との周波数の高低に依存しないデータの送受信を簡易な構成で行なえる。
【0021】
ここで、第1の信号は実施例のTDVLDに対応し、第2の信号は実施例のRCYCENDに対応し、第3の信号は実施例のTCYCENDに対応する。
【0022】
また、より具体的に、
前記データ送信装置は、
送信データを出力するデータ送信回路と、データ送信回路のデータ出力タイミングを制御する送信同期回路とを備え、
前記データ受信装置は、送信データを入力するデータ受信回路と、データ受信回路のデータ入力タイミングを制御する受信同期回路とを備え、
前記送信データを伝送する信号線は、データ送信回路とデータ受信回路とを接続し、
第1の信号を伝送する信号線は、データ送信回路と受信同期回路とを接続し、第2の信号を伝送する信号線および第3の信号を伝送する信号線は、受信同期回路と送信同期回路とを接続し、
さらに、
データ受信回路と受信同期回路とを接続する、第1の信号を受信したことを示す第4の信号を伝送する信号線と、
データ送信回路と送信同期回路とを接続する、第2の信号を受信したことを示す第5の信号を伝送する信号線と、を備えることができる。
【0023】
ここで、第4の信号は実施例のTDWRに対応し、第5の信号は実施例のTACKに対応する。
【0024】
上記課題を解決するため本発明の第3の態様は、
上記のデータ送受信装置を備えた印刷装置であって、
前記データ送信装置は、第1のクロック周波数で動作し、印刷データに基づいてイメージデータを生成して、送信するものであり、
前記データ受信装置は、第2のクロック周波数で動作し、受信したイメージデータに基づいて印字を行なうものであることを特徴とする。
【0025】
また、前記データ受信装置は、第3のクロック周波数での動作が可能であり、前記データ送信装置は、イメージデータの解像度に基づいて、前記データ受信装置のクロック周波数を切り替えるための指示を行なうことを特徴とし、さらに、
第2のクロック周波数<第1のクロック周波数<第3のクロック周波数の関係を満たし、
前記データ送信装置は、イメージデータの解像度が所定の解像度より高い場合には、前記データ受信装置のクロック周波数を第3のクロック周波数に切り替えるための指示を行ない、イメージデータの解像度が所定の解像度以下の場合には、前記データ受信装置のクロック周波数を第2のクロック周波数に切り替えるための指示を行なうことを特徴とすることができる。
【0026】
これにより、解像度の高い印刷は、高い動作周波数でデータ受信装置を動作させ、解像度の低い印刷は、低い動作周波数でデータ受信装置を動作させることができる。すなわち、解像度が高ければ画質が向上するという利点があり、解像度が低ければ処理すべきデータ量が少ないためスループットが向上するという利点がある。
【0027】
そして、いずれの場合であっても、データ送信装置とデータ受信装置との間における非同期のデータ送受信を簡易な構成で行なうことができる。
【0028】
【発明の実施の形態】
本発明の実施の形態について図面を参照して説明する。
【0029】
図1は、本発明を適用したデータ送信側およびデータ受信側の回路構成を示すブロック図である。データ送信側は、データを送信するデータ送信回路10とデータ送信のタイミング制御を行なう送信同期回路12とを備えており、いずれも送信側のクロック(TCLK)で動作する。一方、データ受信側は、データを受信するデータ受信回路20とデータ受信のタイミング制御を行なう受信同期回路22とを備えており、いずれも受信側のクロック(RCLK)で動作する。データ送信回路10からデータ受信回路20へのデータ送信は、TDATA信号線によって行なわれる。
【0030】
データ送信回路10から受信同期回路22にはTDVLD信号が送られる。TDVLD信号は、アサート状態でデータ送信回路10からのデータが有効であることを示す。受信同期回路22は、TDVLDに同期したtdvld_s信号を内部的に発生する。
【0031】
受信同期回路22からデータ受信回路20にはTDWRパルスが送られる。TDWRパルスにより、データ受信回路20は、TDATAをラッチしてデータを取り込む。
【0032】
データ受信回路20から受信同期回路22にはRRDY信号が送られる。RRDY信号は、アサート状態でデータ受信回路20がデータを受信可能であることを示す。
【0033】
送信同期回路12からデータ送信回路10にはTACKパルスが送られる。TACKパルスは、次のデータを出力してもよいことを示す。
【0034】
受信同期回路22から送信同期回路12にはRCYCEND信号が送られる。
RCYCEND信号は、アサート状態でデータ受信が完了したことを示す。送信同期回路12は、RCYCENDに同期したrcycend_s信号を内部的に発生する。そして、RCYCENDアサートにより、TACKパルスを発生するとともに、後述するTCYCENDをアサートする。また、送信同期回路12は、RCYCENDネゲートにより、TCYCENDをネゲートする
送信同期回路12から受信同期回路22にはTCYCEND信号が送られる。
TCYCEND信号は、アサート状態で受信同期回路22にRCYCENDのネゲートを許可する。受信同期回路22は、TCYCENDに同期したtcycend_s信号を内部的に発生し、これによりRCYCENDをネゲートする。
【0035】
図2は、上記回路におけるデータ送受信のタイミング図である。また、図3は、受信同期回路22と送信同期回路12の状態遷移図である。これらの図を参照して、本実施例のデータ送受信の手順を説明する。
1.データ送信回路10は、送信すべきデータが準備できたらTDVLDをアサートして、同時にTDATAを出力する(t1)。
2.受信同期回路22は、TDVLDアサートを検出して同期化(tdvld_s)し(t2)、TDWRパルスを出力する(t3)。図3(a)に示すように、受信同期回路22は、tdvld_s & RRDY &  ̄tcycendでRIDLE状態から、WR状態に遷移する。
3.データ受信回路20は、TDWRパルスでTDATAをラッチしてデータを取り込む(t3)。
4.受信同期回路22は、TDWRパルスを出力した後、直ちにRCYCENDをアサートする(t4)。これにより、データ受信が完了したことを送信同期回路12に通知する。そして、図3(a)に示すように、WR状態からREND状態に遷移する。
5.送信同期回路12は、RCYCENDアサートを検出して同期化(rcycend_s)し(t5)、TACKパルスをデータ送信回路10に出力する(t6)。また、TCYCENDをアサートする(t6)。これにより、受信同期回路22にRCYCENDのネゲートを許可する。図3(b)に示すように、送信同期回路12は、rcycend_sでTIDLE状態からACK状態に遷移する。そして、次のTCLKで、TEND状態に遷移する。
6.データ送信回路10は、TACKパルスを検出すると、送信すべき次のデータが準備できている場合は次のデータを出力する(t9)。一方、送信すべき次のデータが準備できていない場合はTDVLDをネゲートする。
7.受信同期回路22は、TCYCENDアサートを検出して同期化(tcycend_s)し(t7)、直ちにRCYCENDをネゲートする(t8)。図3(a)に示すように、受信同期回路22は、tcycend_sでREND状態からRIDLW状態に遷移する。
8.送信同期回路12は、RCYCENDネゲートを検出して同期化(rcycend_s)し(t9)、直ちにTCYCENDをネゲートする(t10)。図3(b)に示すように送信同期回路12は、 ̄rcycend_sでTEND状態からTIDLE状態に遷移する。
【0036】
このように本実施例によれば、RCYCENDのアサート状態によりデータ受信が完了したことを送信側が検知することができ、次の出力データを準備することができるため、TCLKをRCLKより高くする必要がなくなる。すなわち、データ送信側とデータ受信側とが非同期で動作する場合に、周波数の高低に依存しないデータの送受信を簡易な構成で行なえるようになる。
【0037】
次に、上述のデータ送受信部を適用した印刷装置について説明する。図4は、印刷装置の構成を示すブロック図である。
【0038】
本図に示すように印刷装置は、ホストコンピュータから送られる印刷データをホストI/F56が受信し、CPU51がROM54に記録されたプログラムにしたがってRAM55上でイメージデータに展開する。このイメージデータをシステムコントローラ52の送信部52aがビデオコントローラ53の受信部53aに送信する。そして、ビデオコントローラ53がプリンタエンジン58を制御して印字を実行する。
【0039】
システムコントローラ52の送信部52aは、CPU51の動作周波数であるTCLKで動作し、ビデオコントローラ53の受信部53aはプリンタエンジンを動作させるビデオクロックRCLKで動作するため、両者のクロック周波数は異なる。このため、データ送信側とデータ受信側とが非同期で動作することになる。
【0040】
ここで、システムコントローラ52の送信部52aは、上記のデータ送信回路10と送信同期回路12とを備えて構成するようにし、また、ビデオコントローラ53の受信部53aは、上記のデータ受信回路20と受信同期回路22とを備えて構成するようにする。
【0041】
例えば、解像度が600dpiの画像は、300dpiの画像に対して、1ラインあたり2倍、1ページあたり4倍のデータ量となる。プリンタエンジン58における紙送り速度が同じであるとすると、600dpiの画像印刷時には、300dpiの画像印刷時よりも高速にデータをビデオコントローラ53に転送しなければならない。
【0042】
そこで、本印刷装置では、例えば、要求される印刷解像度によりビデオコントローラ53の動作周波数RCLKを切り替えることができるようになっており、このためのセレクタ57を備えている。本例では、例えば、TCLKより周波数の高いRCLK1と、RCLKより周波数の低いRCLK2とが切り替え可能であるとする。
【0043】
セレクタ57による動作周波数RCLKの切替は、例えば、次のようにして行なうことができる。
【0044】
すなわち、CPU51は、ホストコンピュータから送信された印刷データのヘッダ部で印刷解像度を判断し、あらかじめ定めた解像度値より高い解像度の印刷を行なう場合には、TCLKより周波数の高いRCLK1でビデオコントローラ53を動作させるようにセレクタ57に指示を送り、あらかじめ定めた解像度値以下の解像度の印刷を行なう場合には、TCLKより周波数の低いRCLK2でビデオコントローラ53を動作させるようにセレクタ57に指示を送る。この指示にしたがい、セレクタ57がビデオコントローラのクロックを切り替えることにより動作周波数RCLKが切り替えられる。
【0045】
これにより、解像度の高い印刷は、ページあたりのデータ量が多いため、高い動作周波数でビデオコントローラ53を動作させ、解像度の低い印刷は、ページあたりのデータ量が少ないため、低い動作周波数でビデオコントローラ53を動作させることができる。
【0046】
そして、いずれの場合であっても、システムコントローラ52の送信部52aとビデオコントローラ53の受信部53aとの間における非同期のデータ送受信を行なうことができる。
【図面の簡単な説明】
【図1】本実施形態の構成を示すブロック図。
【図2】本実施形態のデータ送受信のタイミング図。
【図3】本実施形態の同期回路の状態遷移図。
【図4】データ送受信部を適用した印刷装置の構成を示すブロック図。
【図5】従来例の構成を示すブロック図。
【図6】従来例のデータ送受信のタイミング図。
【図7】従来例の同期回路の状態遷移図。
【符号の説明】
10…データ送信回路、12…送信同期回路、20…データ受信回路、22…受信同期回路、51…CPU、52…システムコントローラ、52a…送信部、53…ビデオコントローラ、53a…受信部、54…ROM、55…RAM、56…ホストI/F、57…セレクタ、58…プリンタエンジン、110…データ送信回路、112…送信同期回路、120…データ受信回路、121…受信同期回路、122…受信同期回路、122…送信同期回路[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to data transmission and reception between a data transmitting unit and a data receiving unit that operate asynchronously.
[0002]
[Prior art]
In a system including a plurality of devices or an apparatus including a plurality of circuits, the operation of each device or circuit may not be synchronized. In this case, it is necessary to transmit and receive data between devices that operate asynchronously or between circuits that operate asynchronously.
[0003]
For example, in a printing apparatus including a control unit and a print engine, a process of transmitting image data generated by the control unit to the print engine is performed, but the control unit on the data transmission side depends on the operating frequency of the CPU, RAM, and the like. Since the print engine on the data receiving side operates on a video clock different from the system clock, both operate asynchronously.
[0004]
FIG. 5 is a block diagram showing a circuit configuration of a conventional data transmission side and data reception side. The data transmission side includes a
[0005]
The TDVLD signal is sent from the
[0006]
A TDWR pulse is sent from the
[0007]
An RRDY signal is sent from the
[0008]
A TACK pulse is sent from the
[0009]
The above-mentioned TDWR pulse is sent from the
[0010]
FIG. 6 is a timing chart of data transmission and reception in the above circuit. FIG. 7 is a state transition diagram of the
1. When the data to be transmitted is ready, the
2. The
3. The
4. The
5. When detecting the TACK pulse, the
[0011]
[0012]
[Patent Document 1]
JP-A-8-320845
[Problems to be solved by the invention]
As described above, the
[0013]
Here, since the TDWR pulse has a TCLK width, in order for the
[0014]
However, there are cases where the clock frequency of the receiving side is higher than that of the transmitting side, and the clocks of both sides, particularly, the clock of the receiving side are to be flexibly changed. For example, since the video clock of the printing apparatus is related to the printing resolution, image quality can be improved by using a high frequency when printing with high resolution. On the other hand, if the resolution is reduced, the data amount is reduced, so that the throughput is improved. However, if the resolution is low, the operating frequency needs to be set low accordingly. In addition, if the frequency of the circuit on the receiving side can be set regardless of the level relationship with the frequency on the transmitting side, the circuit on the receiving side can be generalized and convenient. At this time, it is desirable that the circuit for transmitting and receiving data has a simple configuration as much as possible.
[0015]
SUMMARY OF THE INVENTION It is an object of the present invention to enable a simple configuration to transmit and receive data independent of the frequency level when a data transmitting side and a data receiving side operate asynchronously.
[0016]
[Means for Solving the Problems]
In order to solve the above problems, a first aspect of the present invention provides:
A method for transmitting and receiving data between a data transmitting unit and a data receiving unit that operate asynchronously,
A step in which the transmitting side outputs the transmission data and a first signal indicating that the transmission data is valid to the receiving side, and a step in which the receiving side receives the transmission data in response to the first signal and receives the transmission data. Outputting the second signal shown to the transmitting side;
A step in which the transmitting side outputs a third signal permitting the stop of the second signal to the receiving side in response to the second signal, and outputs the next transmission data and the first signal to the receiving side;
Stopping the third signal in response to the stop of the second signal on the transmission side.
[0017]
Since the transmission side can detect that the data reception has been completed by the second signal, the transmission and reception of the data between the transmission side and the reception side can be performed with a simple configuration regardless of the frequency level.
[0018]
Here, the transmission side corresponds to the data transmission circuit and the transmission synchronization circuit of the embodiment, the reception side corresponds to the data reception circuit and the reception synchronization circuit of the embodiment, and the first signal corresponds to TDVLD of the embodiment. The second signal corresponds to RCYCEND of the embodiment, and the third signal corresponds to TCYCEND of the embodiment.
[0019]
In order to solve the above-mentioned problem, a second aspect of the present invention provides:
A data transmitting and receiving device including a data transmitting device and a data receiving device that operate asynchronously,
A signal line for transmitting transmission data,
A signal line for transmitting a first signal indicating that the transmission data is valid;
A signal line for transmitting a second signal indicating that transmission data has been received;
A signal line for transmitting a third signal permitting the stop of the second signal,
The data transmission device,
Means for outputting a first signal when outputting transmission data;
Means for outputting a third signal in response to the second signal and outputting next transmission data;
Means for stopping the third signal in response to the stop of the second signal,
The data receiving device,
Means for receiving transmission data in response to the first signal and outputting a second signal;
Means for stopping the second signal in response to the third signal.
[0020]
Since the transmission side can detect that the data reception has been completed by the second signal, the transmission and reception of the data between the transmission side and the reception side can be performed with a simple configuration regardless of the frequency level.
[0021]
Here, the first signal corresponds to TDVLD of the embodiment, the second signal corresponds to RCYCEND of the embodiment, and the third signal corresponds to TCYCEND of the embodiment.
[0022]
Also, more specifically,
The data transmission device,
A data transmission circuit that outputs transmission data, and a transmission synchronization circuit that controls data output timing of the data transmission circuit,
The data reception device includes a data reception circuit that inputs transmission data, and a reception synchronization circuit that controls data input timing of the data reception circuit,
A signal line for transmitting the transmission data connects a data transmission circuit and a data reception circuit,
The signal line transmitting the first signal connects the data transmission circuit and the reception synchronization circuit, and the signal line transmitting the second signal and the signal line transmitting the third signal are connected to the reception synchronization circuit and the transmission synchronization circuit. Connect to the circuit,
further,
A signal line for connecting the data reception circuit and the reception synchronization circuit and transmitting a fourth signal indicating that the first signal has been received;
A signal line that connects the data transmission circuit and the transmission synchronization circuit and that transmits a fifth signal indicating that the second signal has been received.
[0023]
Here, the fourth signal corresponds to TDWR of the embodiment, and the fifth signal corresponds to TACK of the embodiment.
[0024]
In order to solve the above problems, a third aspect of the present invention provides:
A printing device including the data transmitting / receiving device described above,
The data transmission device operates at a first clock frequency, generates and transmits image data based on print data,
The data receiving apparatus operates at a second clock frequency and performs printing based on received image data.
[0025]
Further, the data receiving device is capable of operating at a third clock frequency, and the data transmitting device issues an instruction to switch the clock frequency of the data receiving device based on the resolution of image data. And furthermore,
The relationship of second clock frequency <first clock frequency <third clock frequency is satisfied,
If the resolution of the image data is higher than a predetermined resolution, the data transmitting apparatus issues an instruction to switch the clock frequency of the data receiving apparatus to a third clock frequency, and the resolution of the image data is equal to or lower than the predetermined resolution. In the above case, an instruction to switch the clock frequency of the data receiving device to the second clock frequency is issued.
[0026]
This allows the data receiving device to operate at a high operating frequency for high-resolution printing, and allows the data receiving device to operate at a low operating frequency for low-resolution printing. That is, if the resolution is high, there is an advantage that the image quality is improved, and if the resolution is low, there is an advantage that the throughput is improved because the amount of data to be processed is small.
[0027]
In any case, asynchronous data transmission and reception between the data transmitting device and the data receiving device can be performed with a simple configuration.
[0028]
BEST MODE FOR CARRYING OUT THE INVENTION
An embodiment of the present invention will be described with reference to the drawings.
[0029]
FIG. 1 is a block diagram showing a circuit configuration of a data transmitting side and a data receiving side to which the present invention is applied. The data transmitting side includes a
[0030]
The TDVLD signal is sent from the
[0031]
A TDWR pulse is sent from the
[0032]
An RRDY signal is sent from the
[0033]
A TACK pulse is sent from the
[0034]
An RCYCEND signal is sent from the
The RCYCEND signal indicates that data reception is completed in an asserted state. The
The TCYCEND signal allows the
[0035]
FIG. 2 is a timing chart of data transmission and reception in the above circuit. FIG. 3 is a state transition diagram of the
1. When the data to be transmitted is ready, the
2. The
3. The
4. After outputting the TDWR pulse, the
5. The
6. When detecting the TACK pulse, the
7. The
8. The
[0036]
As described above, according to the present embodiment, the transmitting side can detect that the data reception is completed by the asserted state of RCYCEND, and can prepare the next output data. Therefore, it is necessary to make TCLK higher than RCLK. Disappears. That is, when the data transmitting side and the data receiving side operate asynchronously, data transmission and reception independent of the level of the frequency can be performed with a simple configuration.
[0037]
Next, a printing apparatus to which the above data transmitting / receiving unit is applied will be described. FIG. 4 is a block diagram illustrating a configuration of the printing apparatus.
[0038]
As shown in the figure, in the printing apparatus, the host I /
[0039]
The transmitting
[0040]
Here, the
[0041]
For example, an image having a resolution of 600 dpi has a data amount twice as large as a 300 dpi image and four times as large as a page. Assuming that the paper feed speed in the
[0042]
Therefore, the printing apparatus can switch the operating frequency RCLK of the
[0043]
The switching of the operating frequency RCLK by the
[0044]
That is, the
[0045]
This allows the
[0046]
In either case, asynchronous data transmission and reception between the
[Brief description of the drawings]
FIG. 1 is a block diagram showing the configuration of the present embodiment.
FIG. 2 is a timing chart of data transmission and reception according to the embodiment;
FIG. 3 is a state transition diagram of the synchronous circuit according to the embodiment.
FIG. 4 is a block diagram illustrating a configuration of a printing apparatus to which a data transmission / reception unit is applied.
FIG. 5 is a block diagram showing a configuration of a conventional example.
FIG. 6 is a timing chart of data transmission and reception in a conventional example.
FIG. 7 is a state transition diagram of a conventional synchronous circuit.
[Explanation of symbols]
DESCRIPTION OF
Claims (6)
送信側が送信データ、および、送信データが有効であることを示す第1の信号を受信側に出力するステップと
受信側が第1の信号に応じて送信データを受信し、送信データを受信したことを示す第2の信号を送信側に出力するステップと、
送信側が第2の信号に応じて第2の信号の停止を許可する第3の信号を受信側に出力し、次の送信データおよび第1の信号を受信側に出力するステップと、
送信側が第2の信号の停止に応じて第3の信号を停止するステップと、を備えることを特徴とするデータ送受信方法。A method for transmitting and receiving data between a data transmitting unit and a data receiving unit that operate asynchronously,
A step in which the transmitting side outputs the transmission data and a first signal indicating that the transmission data is valid to the receiving side, and a step in which the receiving side receives the transmission data in response to the first signal and receives the transmission data. Outputting the second signal shown to the transmitting side;
A step in which the transmitting side outputs a third signal permitting the stop of the second signal in response to the second signal to the receiving side, and outputs the next transmission data and the first signal to the receiving side;
The transmitting side stopping the third signal in response to the stop of the second signal.
送信データを伝送する信号線と、
送信データが有効であることを示す第1の信号を伝送する信号線と、
送信データを受信したことを示す第2の信号を伝送する信号線と、
第2の信号の停止を許可する第3の信号を伝送する信号線とを備え、
前記データ送信装置は、
送信データを出力する際に、第1の信号を出力する手段と、
第2の信号に応じて第3の信号を出力し、次の送信データを出力する手段と、
第2の信号の停止に応じて第3の信号を停止する手段とを備え、
前記データ受信装置は、
第1の信号に応じて送信データを受信し、第2の信号を出力する手段と、
第3の信号に応じて第2の信号を停止する手段と、を備えることを特徴とするデータ送受信装置。A data transmitting and receiving device including a data transmitting device and a data receiving device that operate asynchronously,
A signal line for transmitting transmission data,
A signal line for transmitting a first signal indicating that the transmission data is valid;
A signal line for transmitting a second signal indicating that transmission data has been received;
A signal line for transmitting a third signal permitting the stop of the second signal,
The data transmission device,
Means for outputting a first signal when outputting transmission data;
Means for outputting a third signal in response to the second signal and outputting next transmission data;
Means for stopping the third signal in response to the stop of the second signal,
The data receiving device,
Means for receiving transmission data in response to the first signal and outputting a second signal;
Means for stopping the second signal in response to the third signal.
前記データ送信装置は、
送信データを出力するデータ送信回路と、データ送信回路のデータ出力タイミングを制御する送信同期回路とを備え、
前記データ受信装置は、送信データを入力するデータ受信回路と、データ受信回路のデータ入力タイミングを制御する受信同期回路とを備え、
前記送信データを伝送する信号線は、データ送信回路とデータ受信回路とを接続し、
第1の信号を伝送する信号線は、データ送信回路と受信同期回路とを接続し、第2の信号を伝送する信号線および第3の信号を伝送する信号線は、受信同期回路と送信同期回路とを接続し、
さらに、
データ受信回路と受信同期回路とを接続する、第1の信号を受信したことを示す第4の信号を伝送する信号線と、
データ送信回路と送信同期回路とを接続する、第2の信号を受信したことを示す第5の信号を伝送する信号線と、を備えることを特徴とするデータ送受信装置。The data transmitting / receiving device according to claim 2,
The data transmission device,
A data transmission circuit that outputs transmission data, and a transmission synchronization circuit that controls data output timing of the data transmission circuit,
The data reception device includes a data reception circuit that inputs transmission data, and a reception synchronization circuit that controls data input timing of the data reception circuit,
A signal line for transmitting the transmission data connects a data transmission circuit and a data reception circuit,
The signal line transmitting the first signal connects the data transmission circuit and the reception synchronization circuit, and the signal line transmitting the second signal and the signal line transmitting the third signal are connected to the reception synchronization circuit and the transmission synchronization circuit. Connect to the circuit,
further,
A signal line for connecting the data reception circuit and the reception synchronization circuit and transmitting a fourth signal indicating that the first signal has been received;
A data transmission / reception device, comprising: a signal line that connects a data transmission circuit and a transmission synchronization circuit, and that transmits a fifth signal indicating that a second signal has been received.
前記データ送信装置は、第1のクロック周波数で動作し、印刷データに基づいてイメージデータを生成して、送信するものであり、
前記データ受信装置は、第2のクロック周波数で動作し、受信したイメージデータに基づいて印字を行なうものであることを特徴とする印刷装置。A printing device comprising the data transmitting / receiving device according to claim 3,
The data transmission device operates at a first clock frequency, generates and transmits image data based on print data,
The printing apparatus, wherein the data receiving apparatus operates at a second clock frequency and performs printing based on received image data.
前記データ受信装置は、第3のクロック周波数での動作が可能であり、
前記データ送信装置は、イメージデータの解像度に基づいて、前記データ受信装置のクロック周波数を切り替えるための指示を行なうことを特徴とする印刷装置。The printing device according to claim 4,
The data receiving device is capable of operating at a third clock frequency,
A printing apparatus, wherein the data transmitting apparatus issues an instruction to switch a clock frequency of the data receiving apparatus based on a resolution of image data.
第2のクロック周波数<第1のクロック周波数<第3のクロック周波数の関係を満たし、
前記データ送信装置は、イメージデータの解像度が所定の解像度より高い場合には、前記データ受信装置のクロック周波数を第3のクロック周波数に切り替えるための指示を行ない、イメージデータの解像度が所定の解像度以下の場合には、前記データ受信装置のクロック周波数を第2のクロック周波数に切り替えるための指示を行なうことを特徴とする印刷装置。The printing device according to claim 5,
The relationship of second clock frequency <first clock frequency <third clock frequency is satisfied,
If the resolution of the image data is higher than a predetermined resolution, the data transmitting apparatus issues an instruction to switch the clock frequency of the data receiving apparatus to a third clock frequency, and the resolution of the image data is equal to or lower than the predetermined resolution. In the case of (1), the printing device issues an instruction to switch the clock frequency of the data receiving device to the second clock frequency.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2003092444A JP2004304326A (en) | 2003-03-28 | 2003-03-28 | Data transmitting and receiving method, data transmitter-receiver and printer |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2003092444A JP2004304326A (en) | 2003-03-28 | 2003-03-28 | Data transmitting and receiving method, data transmitter-receiver and printer |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2004304326A true JP2004304326A (en) | 2004-10-28 |
Family
ID=33405533
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2003092444A Withdrawn JP2004304326A (en) | 2003-03-28 | 2003-03-28 | Data transmitting and receiving method, data transmitter-receiver and printer |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2004304326A (en) |
-
2003
- 2003-03-28 JP JP2003092444A patent/JP2004304326A/en not_active Withdrawn
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5397739B2 (en) | Image processing apparatus, image processing method, and image processing program | |
JP2004304326A (en) | Data transmitting and receiving method, data transmitter-receiver and printer | |
US20040105688A1 (en) | Image forming apparatus, image forming system, and image forming operation control method | |
JP3593882B2 (en) | Printing apparatus and interface control method | |
EP0855641B1 (en) | Printer detecting data precisely in response to change in data transmission speed | |
JP2001236303A (en) | Universal serial bus control circuit | |
JP2007025880A (en) | Data transfer method | |
JP3050155B2 (en) | Printing equipment | |
JP3844024B2 (en) | Printing device | |
JP4095216B2 (en) | Printer and data communication method in printer | |
JP3050154B2 (en) | Printing equipment | |
JP3050153B2 (en) | Printing equipment | |
JP2776743B2 (en) | Electrophotographic printer | |
JP3548943B2 (en) | Interrupt control method | |
JP4044581B2 (en) | Image forming apparatus, image forming system, and image forming operation control method | |
JP2010069801A (en) | Controller, image formation device, and printing system | |
JPH11134486A (en) | Method and device for reading image | |
JP2000324285A (en) | Image forming device | |
JP2003320716A (en) | Printer | |
JP2007226737A (en) | Serial communication device and paper transport device and image formation device | |
JP2001119381A (en) | Data transmitter | |
JPH1153131A (en) | Printing device | |
JP2004042538A (en) | Printer | |
JP2003048345A (en) | Printer and method for transferring data of printer | |
JPH03239575A (en) | Print synchronization controller for printer |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20050113 |
|
RD02 | Notification of acceptance of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7422 Effective date: 20050113 |
|
RD04 | Notification of resignation of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7424 Effective date: 20060912 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20061221 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20070116 |
|
A761 | Written withdrawal of application |
Free format text: JAPANESE INTERMEDIATE CODE: A761 Effective date: 20070308 |