JP4413321B2 - Reader / writer unit - Google Patents
Reader / writer unit Download PDFInfo
- Publication number
- JP4413321B2 JP4413321B2 JP19645899A JP19645899A JP4413321B2 JP 4413321 B2 JP4413321 B2 JP 4413321B2 JP 19645899 A JP19645899 A JP 19645899A JP 19645899 A JP19645899 A JP 19645899A JP 4413321 B2 JP4413321 B2 JP 4413321B2
- Authority
- JP
- Japan
- Prior art keywords
- control element
- interface
- signal line
- data
- transmitted
- 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.)
- Expired - Fee Related
Links
Images
Description
【0001】
【発明の属する技術分野】
この発明は、上位装置と無線カードとの間でデータのやり取りを行い、様々な通信方式に対応できるインターフェースと全体を制御するMPUとからなるリーダライタユニットに関する。
【0002】
【従来の技術】
従来、無線カード用の無線カード処理システムは、ホスト(上位装置、PC)とリーダライタユニット(RWU)と無線カードとからなる。上記リーダライタユニットは、ホスト(PC)と無線カードとを接続するものである。このリーダライタユニットは、このユニットを制御するMPUと様々な通信方式に対応できる汎用的なLSIからなるインターフェースと送受信回路とにより構成されている。このインターフェースは、様々な通信方式に対応できるように、内部にレジスタを有している。このため、インターフェースでは、レジスタを設定するために、バスでMPUと接続する必要があり、また、各制御端子を制御するために多くのピンを必要としていた。さらに、MPUとインターフェースを接続するための多くの線が必要であった。
【0003】
たとえば、シリアルインプットデータ(SI)用の信号線、シリアルアウトプットデータ(SO)用の信号線、送受信モード用の信号線、リセット信号用の信号線、変調モード1用の信号線、変調モード2用の信号線、変調モード3用の信号線、復調モード1用の信号線、復調モード2用の信号線、復調モード3用の信号線、分周比1用の信号線、分周比2用の信号線の12本の信号線が必要であった。
【0004】
このように、上述したような接続が必要なため、MPU側に多くのI/Oポートが要求され、I/Oポートが少ないMPUの場合には使用できないという問題があった。
【0005】
さらに、上記LSIをIP(開発資産(IP:Intellectual Property))化し、MPUを含むシステムLSIにする場合に外部との接続端子が多いため仕様が複雑となるという問題があった。
【0006】
したがって、上位装置と無線カードとの間でデータのやり取りを行い、様々な通信方式に対応できるインターフェースと全体を制御するMPUとからなるものにおいて、MPUとインターフェースを接続するための線を少なくでき、インターフェースのピン(端子)数を少なくすることができ、MPU側でこのインターフェースのために使用するポートも減少でき、ポートの少ないMPUでも使用することができるものが要望されている。
【0007】
【発明が解決しようとする課題】
この発明は、上位装置と無線カードとの間でデータのやり取りを行い、様々な通信方式に対応できるインターフェースと全体を制御する制御素子とからなるものにおいて、制御素子とインターフェースを接続するための線を少なくでき、インターフェースのピン数を少なくすることができ、制御素子側でこのインターフェースのために使用するポートも減少でき、ポートの少ない制御素子でも使用することができるものが要望されているもので、制御素子とインターフェースを接続するための線を少なくでき、インターフェースのピン数を少なくすることができ、制御素子側でこのインターフェースのために使用するポートも減少でき、ポートの少ない制御素子でも使用することができるリーダライタユニットを提供することを目的としている。
【0008】
【課題を解決するための手段】
この発明のリーダライタユニットは、無線カードとの間でデータのやり取りを行い、様々な通信方式に対応できるインターフェースと全体を制御する制御素子とからなるものにおいて、上記制御素子と上記インターフェースとの間に設けられ、上記制御素子からのシリアルデータが上記インターフェースに伝送される第1の信号線と、上記制御素子と上記インターフェースとの間に設けられ、上記インターフェースからの同期クロックが上記制御素子に伝送される第2の信号線と、上記制御素子と上記インターフェースとの間に設けられ、上記制御素子からのコントロール信号が上記インターフェースに伝送される第3の信号線とを具備し、上記インターフェースが、上記制御素子から上記第3の信号線を介して供給されるコントロール信号に基づいて、上記第2の信号線を介して上記制御素子へ同期クロックを送信する送信手段と、この送信手段により送信される同期クロックに基づいて、上記制御素子から上記第1の信号線を介して供給される通信方式などを示すデータを受付ける受付手段と、この受付手段により受付けた通信方式などを示すデータにより、上記無線カードとの通信を行うための通信方式などを設定する設定手段と、この設定手段により設定される通信方式などに基づいて、上記無線カードとの通信を行う処理手段とからなる。
【0009】
この発明のリーダライタユニットは、送信データを無線カードに送信し、様々な通信方式に対応できるインターフェースと全体を制御する制御素子とからなるものおいて、上記制御素子と上記インターフェースとの間に設けられ、上記制御素子からのシリアルデータが上記インターフェースに伝送される第1の信号線と、上記制御素子と上記インターフェースとの間に設けられ、上記インターフェースからの同期クロックが上記制御素子に伝送される第2の信号線と、上記制御素子と上記インターフェースとの間に設けられ、上記制御素子からのコントロール信号が上記インターフェースに伝送される第3の信号線とを具備し、上記制御素子が、コントロール信号を上記第3の信号線を介して上記インターフェースへ送信する第1の送信手段と、この第1の送信手段による送信に応答して、上記インターフェースから上記第2の信号線を介して供給される同期クロックに同期して、通信方式などを示すデータを上記第1の信号線を介して送信する第2の送信手段と、上記第1の送信手段による送信に応答して、上記インターフェースから上記第2の信号線を介して供給される同期クロックに同期して、上記送信データを上記第1の信号線を介して送信する第3の送信手段とからなり、上記インターフェースが、上記制御素子から上記第3の信号線を介して供給されるコントロール信号に基づいて、上記第2の信号線を介して上記制御素子へ同期クロックを送信する第4の送信手段と、この第4の送信手段により送信される同期クロックに基づいて、上記制御素子から上記第1の信号線を介して供給される通信方式などを示すデータを受付ける受付手段と、この受付手段により受付けた通信方式などを示すデータにより、上記無線カードとの通信を行うための通信方式などを設定する設定手段と、この設定手段により設定される通信方式などに基づいて、上記制御素子から上記第1の信号線を介して供給される送信データを上記無線カードへ送信する第5の送信手段とからなる。
【0010】
この発明のリーダライタユニットは、無線カードから受信データを受信し、様々な通信方式に対応できるインターフェースと全体を制御する制御素子とからなるものにおいて、上記制御素子と上記インターフェースとの間に設けられ、上記制御素子からのシリアルデータが上記インターフェースに伝送される第1の信号線と、上記制御素子と上記インターフェースとの間に設けられ、上記インターフェースからの同期クロックが上記制御素子に伝送される第2の信号線と、上記制御素子と上記インターフェースとの間に設けられ、上記制御素子からのコントロール信号が上記インターフェースに伝送される第3の信号線と、上記制御素子と上記インターフェースとの間に設けられ、上記インターフェースからのシリアルデータが上記制御素子に伝送される第4の信号線とを具備し、上記制御素子が、コントロール信号を上記第3の信号線を介して上記インターフェースへ送信する第1の送信手段と、この第1の送信手段による送信に応答して、上記インターフェースから上記第2の信号線を介して供給される同期クロックに同期して、通信方式などを示すデータを上記第1の信号線を介して送信する第2の送信手段とからなり、上記インターフェースが、上記制御素子から上記第3の信号線を介して供給されるコントロール信号に基づいて、上記第2の信号線を介して上記制御素子へ同期クロックを送信する第3の送信手段と、この第3の送信手段により送信される同期クロックに基づいて、上記制御素子から上記第1の信号線を介して供給される通信方式などを示すデータを受付ける受付手段と、この受付手段により受付けた通信方式などを示すデータにより、上記無線カードとの通信を行うための通信方式などを設定する設定手段と、この設定手段により設定される通信方式などに基づいて上記無線カードから受信した受信データを、上記第3の送信手段により送信される同期クロックに基づいて、上記第1の信号線を介して上記制御素子へ送信する第4の送信手段とからなる。
【0011】
この発明のリーダライタユニットは、無線カードから受信データを受信し、様々な通信方式に対応できるインターフェースと全体を制御する制御素子とからなるものにおいて、上記制御素子と上記インターフェースとの間に設けられ、上記制御素子からのシリアルデータが上記インターフェースに伝送される第1の信号線と、上記制御素子と上記インターフェースとの間に設けられ、上記インターフェースからの同期クロックが上記制御素子に伝送される第2の信号線と、上記制御素子と上記インターフェースとの間に設けられ、上記制御素子からのコントロール信号が上記インターフェースに伝送される第3の信号線と、上記制御素子と上記インターフェースとの間に設けられ、上記インターフェースからのシリアルデータが上記制御素子に伝送される第4の信号線とを具備し、上記制御素子が、コントロール信号を上記第3の信号線を介して上記インターフェースへ送信する第1の送信手段と、この第1の送信手段による送信に応答して、上記インターフェースから上記第2の信号線を介して供給される同期クロックに同期して、通信方式などを示すデータを上記第1の信号線を介して送信する第2の送信手段とからなり、上記インターフェースが、上記制御素子から上記第3の信号線を介して供給されるコントロール信号に基づいて、上記第2の信号線を介して上記制御素子へ同期クロックを送信する第3の送信手段と、この第3の送信手段により送信される同期クロックに基づいて、上記制御素子から上記第1の信号線を介して供給される通信方式などを示すデータを受付ける受付手段と、この受付手段により受付けた通信方式などを示すデータにより、上記無線カードとの通信を行うための通信方式などを設定する設定手段と、この設定手段により設定される通信方式などに基づいて上記無線カードから受信した受信データを、上記第3の送信手段により送信される同期クロックに基づいて、上記第1の信号線を介して上記制御素子へ送信する第4の送信手段と、この第4の送信手段の送信に応答して上記制御素子から上記第3の信号線を介してコントロール信号が供給された際に、上記第3の送信手段により送信される同期クロックに基づいて、上記無線カードから受信した受信データのステータスデータを上記第4の信号線を介して上記制御素子へ送信する第5の送信手段とからなる。
【0012】
この発明のリーダライタユニットは、無線カードから受信データを受信し、様々な通信方式に対応できるインターフェースと全体を制御する制御素子とからなるものにおいて、上記制御素子と上記インターフェースとの間に設けられ、上記制御素子からのシリアルデータが上記インターフェースに伝送される第1の信号線と、上記制御素子と上記インターフェースとの間に設けられ、上記インターフェースからの同期クロックが上記制御素子に伝送される第2の信号線と、上記制御素子と上記インターフェースとの間に設けられ、上記制御素子からのコントロール信号が上記インターフェースに伝送される第3の信号線と、上記制御素子と上記インターフェースとの間に設けられ、上記インターフェースからのシリアルデータが上記制御素子に伝送される第4の信号線と、上記制御素子と上記インターフェースとの間に設けられ、上記インターフェースからのエラーを示す信号が上記制御素子に伝送される第5の信号線とを具備し、上記制御素子が、コントロール信号を上記第3の信号線を介して上記インターフェースへ送信する第1の送信手段と、この第1の送信手段による送信に応答して、上記インターフェースから上記第2の信号線を介して供給される同期クロックに同期して、通信方式などを示すデータを上記第1の信号線を介して送信する第2の送信手段とからなり、上記インターフェースが、上記制御素子から上記第3の信号線を介して供給されるコントロール信号に基づいて、上記第2の信号線を介して上記制御素子へ同期クロックを送信する第3の送信手段と、この第3の送信手段により送信される同期クロックに基づいて、上記制御素子から上記第1の信号線を介して供給される通信方式などを示すデータを受付ける受付手段と、この受付手段により受付けた通信方式などを示すデータにより、上記無線カードとの通信を行うための通信方式などを設定する設定手段と、この設定手段により設定される通信方式などに基づいて上記無線カードから受信した受信データを、上記第3の送信手段により送信される同期クロックに基づいて、上記第1の信号線を介して上記制御素子へ送信する第4の送信手段と、上記無線カードから受信した受信データによるエラーを判断する判断手段と、この判断手段によりエラーを判断した際に、エラーを示す信号を上記第5の信号線を介して上記制御素子へ送信する第5の送信手段とからなる。
【0013】
この発明のリーダライタユニットは、送信データを無線カードに送信するとともに、無線カードから受信データを受信し、様々な通信方式に対応できるインターフェースと全体を制御する制御素子とからなるものにおいて、上記制御素子と上記インターフェースとの間に設けられ、上記制御素子からのシリアルデータが上記インターフェースに伝送される第1の信号線と、上記制御素子と上記インターフェースとの間に設けられ、上記インターフェースからの同期クロックが上記制御素子に伝送される第2の信号線と、上記制御素子と上記インターフェースとの間に設けられ、上記制御素子からのコントロール信号が上記インターフェースに伝送される第3の信号線と、上記制御素子と上記インターフェースとの間に設けられ、上記インターフェースからのシリアルデータが上記制御素子に伝送される第4の信号線とを具備し、上記制御素子が、コントロール信号を上記第3の信号線を介して上記インターフェースへ送信する第1の送信手段と、この第1の送信手段による送信に応答して、上記インターフェースから上記第2の信号線を介して供給される同期クロックに同期して、通信方式などを示すデータを上記第1の信号線を介して送信する第2の送信手段と、上記第1の送信手段による送信に応答して、上記インターフェースから上記第2の信号線を介して供給される同期クロックに同期して、上記送信データを上記第1の信号線を介して送信する第3の送信手段とからなり、上記インターフェースが、上記制御素子から上記第3の信号線を介して供給されるコントロール信号に基づいて、上記第2の信号線を介して上記制御素子へ同期クロックを送信する第4の送信手段と、この第4の送信手段により送信される同期クロックに基づいて、上記制御素子から上記第1の信号線を介して供給される通信方式などを示すデータを受付ける受付手段と、この受付手段により受付けた通信方式などを示すデータにより、上記無線カードとの通信を行うための通信方式などを設定する設定手段と、この設定手段により設定される通信方式などに基づいて、上記制御素子から上記第1の信号線を介して供給される送信データを上記無線カードへ送信する第5の送信手段と、上記設定手段により設定される通信方式などに基づいて上記無線カードから受信した受信データを、上記第4の送信手段により送信される同期クロックに基づいて、上記第1の信号線を介して上記制御素子へ送信する第6の送信手段とからなる。
【0014】
この発明のリーダライタユニットは、無線カードとの間でデータのやり取りを行い、様々な通信方式に対応できるインターフェースと全体を制御する制御素子とからなるものにおいて、上記制御素子と上記インターフェースとの間に設けられ、上記制御素子からのシリアルデータが上記インターフェースに伝送される第1の信号線と、上記制御素子と上記インターフェースとの間に設けられ、上記インターフェースからの同期クロックが上記制御素子に伝送される第2の信号線と、上記制御素子と上記インターフェースとの間に設けられ、上記制御素子からのコントロール信号が上記インターフェースに伝送される第3の信号線とを具備し、上記インターフェースが、上記制御素子から上記第3の信号線を介して供給されるコントロール信号に基づいて、上記第2の信号線を介して上記制御素子へ同期クロックを送信する送信手段と、この送信手段により送信される同期クロックに基づいて、第1の通信速度で通信される上記制御素子から上記第1の信号線を介して供給される通信方式などを示すデータを受付ける受付手段と、この受付手段により受付けた通信方式などを示すデータにより、上記無線カードとの通信を行うための通信方式などを設定する設定手段と、この設定手段により設定される通信方式などに基づいて、上記無線カードとの通信を上記第1の通信速度よりも遅い速度で行う処理手段とからなる。
【0015】
この発明のリーダライタユニットは、無線カードとの間でデータのやり取りを行い、様々な通信方式に対応できるインターフェースと全体を制御する制御素子とからなるものにおいて、上記制御素子と上記インターフェースとの間に設けられ、上記制御素子からのシリアルデータが上記インターフェースに伝送される第1の信号線と、上記制御素子と上記インターフェースとの間に設けられ、上記インターフェースからの同期クロックが上記制御素子に伝送される第2の信号線と、上記制御素子と上記インターフェースとの間に設けられ、上記制御素子からのコントロール信号が上記インターフェースに伝送される第3の信号線とを具備し、上記インターフェースが、上記制御素子から上記第3の信号線を介して供給されるコントロール信号に基づいて、上記第2の信号線を介して上記制御素子へ同期クロックを送信する送信手段と、この送信手段により送信される同期クロックに基づいて、上記制御素子から上記第1の信号線を介して供給される通信方式などを示すデータを受付ける受付手段と、この受付手段により受付けた通信方式などを示すデータにより、上記無線カードとの通信を行うための通信方式などを設定する設定手段と、この設定手段により設定される通信方式などと上記同期クロックよりも低い周波数のクロックとに基づいて、上記無線カードとの通信を行う処理手段とからなる。
【0019】
【発明の実施の形態】
以下、この発明の第1の実施形態について図面を参照して説明する。
【0020】
図1は、この発明の無線カード処理システムの概略構成を示すものである。
【0021】
すなわち、無線カード処理システムは、上位装置としてのパーソナルコンピュータ(PC)1と、このPC1に接続されるリーダライタユニット(RWU)2とこのリーダライタユニット2のアンテナ部3との間で無線通信を行う無線カード4、…とにより構成されている。
【0022】
PC1は、図示しない制御部、操作部、表示部、リーダライタユニット2の接続部により構成されている。
【0023】
リーダライタユニット2は、リーダライタユニット2の全体を制御する制御回路(制御素子)としてのMPU5、様々な通信方式に対応できるインターフェースとしての無線カードリーダライタ用のLSI6、送受信回路7、アンテナ部3とにより構成されている。
【0024】
MPU5は、MPU5の全体を制御するCPU11、制御プログラム、各種情報を記憶し、RAM、ROMからなるメモリ12、LSI6との通信用のシリアルデータのインプット、アウトプット用のSIO13により構成されている。
【0025】
CPU11は、上記PC1に接続され、データのやり取りが行われるものであり、たとえばデータリードコマンドの受信に対して、LSI6にデータリードコマンドの送信を行うようになっている。
【0026】
上記SIO13には、シリアルインプットデータ(SI)用のI/Oポート、シリアルアウトプットデータ(SO)用のI/Oポート、シリアルクロック(SCK)用のI/Oポート、コントロール信号(CONT)用のI/Oポートが設けられている。
【0027】
上記SIO13は、無線カード4のデータリードコマンドをSI用のI/OポートからLSI6へ出力するものである。
【0028】
アンテナ部3は、送信アンテナ14、受信アンテナ15により構成されている。
【0029】
上記送受信回路7は、送信回路16、受信回路17により構成されている。
【0030】
送信回路16は、送信アンテナ14に接続され、LSI6からの無線カード4に対する送信データ(TXD)を送信アンテナ14を用いて送信するものである。
【0031】
受信回路17は、受信アンテナ15に接続され、受信アンテナ15にて受信した無線カード4からの受信データ(RXD)をLSI6へ出力するものである。
【0032】
無線カード4は、全体を制御する制御回路、制御プログラム、乱数、ID(認識番号)データ等の各種情報を記憶するメモリ、変調復調回路、電源発生回路、送受信アンテナにより構成されている。
【0033】
上記LSI6は、図2に示すように、MPU5との通信用のシリアルデータのインプット、アウトプット用のSIO21、モード設定用のレジスタ22、分周比設定用のレジスタ23、タイミング設定用のレジスタ24、送信モード、受信モード、停止モードの3つのモード状態に切換わるモード切換器25、基準クロックを分周したクロックを出力する分周器26、タイミング信号を生成するタイミング生成器27、PC1からの送信データを変調した送信データ(TXD)を送信回路16へ出力する変調回路28、受信回路17からの受信データ(RXD)を復調する復調回路29により構成されている。変調回路28、復調回路29は、アナログ回路も含んでいる。
【0034】
上記レジスタ22、23、24は、無線カード4との通信を行うための、通信方式、分周比等の各種設定可能なレジスタである。
【0035】
上記SIO21には、シリアルインプットデータ(SI、シリアルデータ受信信号)端子(ピン)、シリアルアウトプットデータ(SO、シリアルデータ送信信号)端子、シリアルクロック(SCK、クロック送信信号)端子、コントロール信号(CONT)端子が設けられ、それぞれ上記MPU5のSIO13の、シリアルインプットデータ(SI)用のI/Oポート、シリアルアウトプットデータ(SO)用のI/Oポート、シリアルクロック(SCK)用のI/Oポート、コントロール信号(CONT)用のI/Oポートと、信号線(4本)により接続されている。この信号線は、SI用の信号線、SO用の信号線、SCK用の信号線、CONT用の信号線となっている。SI用の信号線は、レジスタを設定するためと無線カード4へデータを送信するための共通なシリアルデータ受信信号線となっている。SO用の信号線は、無線カード4から受信した信号を送信するためのシリアルデータ送信信号線となっている。SCK用の信号線は、2つのシリアルデータと同期を取ることができるように同期クロックを送信するクロック送信信号線となっている。CONT用の信号線は、送信データとレジスタ設定データとを区別するためのコントロール信号を送信するコントロール信号線となっている。
【0036】
上記SIO21は、上記MPU5のSIO13からCONT端子に供給される図3の(c)あるいは(d)に示す、コントロール信号(CONT)に基づいて、図3の(b)に示す、8ビット(1バイト)分の同期クロックとしてのシリアルクロック(SCK)をSCK端子から上記MPU5のSIO13へ出力するものである。上記コントロール信号(CONT)がLレベルとなっている期間は、図3の(c)に示すように、長いものであっても、図3の(d)に示すように、短いものであっても良い。コントロール信号(CONT)は、シリアルインプットデータ(SI)におけるシリアルデータが、レジスタ設定データか送信データかを区別するためのものとなっている。
【0037】
これにより、SIO21は、コントロール信号(CONT)がLレベルの際(Lレベルとなった後)、クロック同期方式に基づいて、上記MPU5のSIO13からSI端子に供給される8ビット構成のシリアルデータであるレジスタ設定データ(後半の4クロックの4ビットがレジスタアドレス、前半の4クロックの4ビットがレジスタの値)を受信するものである。
【0038】
すなわち、図3の(a)(b)に示すように、シリアルクロック(SCK)の立ち下がり時、上記MPU5のSIO13が1ビット分ずつの信号を出力し、シリアルクロック(SCK)の立ち上がり時、上記SIO21がそのMPU5のSIO13からの1ビット分ずつの信号を受信するようになっている。
【0039】
上記レジスタ設定データは、4ビットのレジスタ値と4ビットのレジスタアドレスとからなり、このレジスタアドレスはレジスタ22、23、24のいずれかを示すものである。
【0040】
上記SIO21は、上記MPU5のSIO13から受信したレジスタ設定データ内のアドレスに基づいたレジスタ22、23、24に、上記MPU5のSIO13から受信したレジスタ設定データ内のレジスタ値を出力するものである。
【0041】
上記SIO21は、上記モード切換器25に設定されている送信モードが供給されている際に、上記MPU5のSIO13からSI端子に供給される送信データを変調回路28へ出力するものである。
【0042】
上記SIO21は、上記モード切換器25に設定されている受信モードが供給されている際に、上記復調回路29から供給される復調済みの受信データをSO端子から上記MPU5のSIO13へ出力するものである。
【0043】
モード設定用のレジスタ22は、上記SIO21から供給されるレジスタ値を記憶し、この記憶したレジスタ値をモード切換器25へ出力するものである。
【0044】
分周比設定用のレジスタ23は、上記SIO21から供給されるレジスタ値を記憶し、この記憶したレジスタ値を分周器26へ出力するものである。
【0045】
タイミング設定用のレジスタ24は、上記SIO21から供給されるレジスタ値を記憶し、この記憶したレジスタ値をタイミング生成器27へ出力するものである。
【0046】
モード切換器25は、レジスタ22のレジスタ値に基づいて、変調モード、復調モード、送受信モードの3つのモード状態が設定されるものであり、この設定されているモードはSIO21、変調回路28、復調回路29へ出力される。上記変調モードとしては振幅変調、周波数変調、位相変調の3つのモードがある。上記復調モードとしては振幅変調に対する復調、周波数変調に対する復調、位相変調に対する復調の3つのモードがある。上記送受信モードとしては、送信モード、受信モード、停止モードの3つのモードがある。
【0047】
分周器26は、レジスタ23のレジスタ値に基づく分周比で図示しない発振回路から供給される基準クロックを分周したクロックを出力するものであり、このクロックは変調回路28、復調回路29へ出力される。
【0048】
タイミング生成器27は、レジスタ22のレジスタ値と図示しない発振回路から供給される基準クロックとに基づいて、第1、第2のタイミング信号を生成するものであり、この第1のタイミング信号は変調回路28、復調回路29へ出力され、上記第2のタイミング信号はシリアルクロックとしてSIO21へ出力される。第1のタイミング信号によるクロック周波数は、第2のタイミング信号(シリアルクロック)によるクロック周波数の半分(1/2)となっている。
【0049】
変調回路28は、上記モード切換器25で送信モードが設定されている際に、PC1からMPU5、SIO21を介して供給される送信データを、分周器26からのクロックに基づいて、上記モード切換器25で設定されている変調モードで変調するものであり、この変調された変調データ(TXD)はタイミング生成器27からの第1のタイミング信号に基づいて送信回路16へ出力される。
【0050】
復調回路29は、上記モード切換器25で受信モードが設定されている際に、受信回路17からの受信データ(RXD)を、分周器26からのクロックとタイミング生成器27からの第1のタイミング信号に基づいて、上記モード切換器25で設定されている復調モードで復調するものであり、この復調された復調データはSIO21、MPU5を介してPC1へ出力される。
【0051】
次に、上記構成において、リーダライタユニット2を介して行われるPC1とと無線カード4とのデータの送受信処理として、無線カード4のデータをリードする際の動作を、図4に示すフローチャートと、図5の(a)から(d)と図6の(a)から(e)に示す信号波形図を参照しつつ説明する。
【0052】
たとえば今、図示しない電源スイッチによりリーダライタユニット2の電源をオンする(ST1)。すると、MPU5の初期設定を行う(ST2)。この初期設定としては、SIO21の通信方法(速度)の設定等であり、あらかじめ決まっている複数の内の1つを選択する。MPU5はLSI6の初期設定を送信する(ST3)(図5の(1)参照)。これにより、LSI6の各レジスタ22、23、24にレジスタ値が設定される(ST4)。レジスタ22に変調モードを示すレジスタ値と復調モードを示すレジスタ値とが設定され、レジスタ23に分周比を示すレジスタ値が設定され、レジスタ24にタイミングを示すレジスタ値が設定される。
【0053】
すなわち、図3の(c)に示すように、MPU5からのコントロール信号CONTがLレベルとなった際に、SIO21は、図3の(b)に示すように、同期クロックとしてのシリアルクロック(SCK)をSCK端子からMPU5へ出力する。
【0054】
これにより、SIO21は、クロック同期方式に基づいて、上記MPU5のSIO13からSI端子に供給される8ビット構成のシリアルデータであるレジスタ設定データ(後半の4クロックの4ビットがレジスタアドレス、前半の4クロックの4ビットがレジスタの値)を受信する。
【0055】
すなわち、図3の(a)(b)に示すように、シリアルクロック(SCK)の立ち下がり時、上記MPU5のSIO13が1ビット分ずつの信号を出力し、シリアルクロック(SCK)の立ち上がり時、上記SIO21がそのMPU5のSIO13からの1ビット分ずつの信号を受信する。
【0056】
この結果、SIO21は、まず1バイト目に、変調モードを示すレジスタ値とレジスタ22の変調モードを示すアドレス値の受信を判断し、レジスタ22に変調モードを設定する。ついで、SIO21は、2バイト目に、復調モードを示すレジスタ値とレジスタ22の復調モードを示すアドレス値の受信を判断し、レジスタ22に復調モードを設定する。ついで、SIO21は、3バイト目に、分周比を示すレジスタ値とレジスタ23のアドレス値の受信を判断し、レジスタ23に分周比を設定する。ついで、SIO21は、4バイト目に、タイミングを示すレジスタ値とレジスタ24のアドレス値の受信を判断し、レジスタ24にタイミングを設定する。
【0057】
したがって、モード切換器25の変調モード、復調モードが設定され、分周器26がレジスタ23のレジスタ値に基づく分周比で図示しない発振回路から供給される基準クロックを分周したクロックを出力し、タイミング生成器27がレジスタ22のレジスタ値と図示しない発振回路から供給される基準クロックとに基づいて、第1、第2のタイミング信号を出力する。
【0058】
上記ステップ4によりLSI6の各レジスタ22、23、24にレジスタ値を設定した際に、すべての準備が終了後、MPU5はPC1からのコマンド受信待ち状態となる(ST5)。
【0059】
この状態において、PC1が、無線カード4のデータリードコマンドをリーダライタユニット2のMPU5へ送信する(ST6)。MPU5は、LSI6に無線カード送信用のレジスタ設定データを送信する(ST7)(図5の(b)から(d)、図5の(1)参照)。これにより、LSI6のレジスタ24に送信モードを示すレジスタ値が設定される(ST8)。
【0060】
この際、上述したように、MPU5からのコントロール信号CONTのLレベルにより、LSI6のSIO21から出力されるシリアルクロック(SCK)(第2のタイミング信号より生成)に基づいて、レジスタ設定データをLSI6のSIO21に送信する(図5の(b)から(d)、図5の(1)参照)。LSI6のSIO21は、レジスタ24の送受信モードを送信モードに設定する。この結果、モード切換器25が送信モードに設定される。
【0061】
この設定後、MPU5はLSI6へ送信データ(リードコマンド)を送信する(ST9)。すなわち、MPU5はSIO21から出力されるシリアルクロック(SCK)に基づいて、シリアルインプットデータSIとして8ビット(1バイト)単位の送信データを順次LSI6のSIO21に送信する(図5の(b)(c)、図5の(2)参照)。
【0062】
また、LSI6のSIO21はMPU5からの1バイト単位の送信データを順次、変調回路28に出力する。これにより、変調回路28はモード切換器25からの変調モードと分周器26からのクロックとタイミング生成器27からの第1のタイミング信号とに基づいて送信データを変調し、この変調した送信データ(TXD)が、図5の(a)に示すように、連続データとして、送信回路16を介して送信アンテナ14に出力される(図5の(3)参照)。これにより、送信アンテナ1により送信データが無線カード4へ送信される(ST10)。この結果、無線カード4が送信データを受信する(ST11)。
【0063】
上記シリアルインプットデータSIとしての送信データ(MPU5からSIO21)の通信速度が、変調回路28から出力される送信データTXD(変調回路28から送信回路16)の通信速度の2倍となっている。
【0064】
上記ステップ9による送信データの送信が終了した際に、MPU5はコントロール信号をLレベルにする(ST12)(図5の(d)、図5の(4)参照)(図6の(e)、図6の(4)参照)。これにより、LSI6(SIO21)はMPU5からの送信データの送信を停止する(ST13)。
【0065】
ついで、MPU5は、LSI6に無線カード受信用のレジスタ設定データを送信する(ST14)(図5の(b)から(d)、図5の(1)参照)。これにより、LSI6のレジスタ24に受信モードを示すレジスタ値が設定される(ST15)。
【0066】
この際、上述したように、MPU5からのコントロール信号CONTのLレベルにより、LSI6のSIO21から出力されるシリアルクロック(SCK)(第2のタイミング信号より生成)に基づいて、レジスタ設定データをSIO21に送信する(図5の(b)から(d)、図5の(5)参照)(図6の(b)(c)(e)、図6の(5)参照)。SIO21は、レジスタ24の送受信モードを受信モードに設定する。この結果、モード切換器25が受信モードに設定される。
【0067】
この後、MPU5はコントロール信号をHレベルとし(ST16)、受信待ち状態となる(ST17)(図6の(e)、図6の(6)参照)。
【0068】
また、LSI6は、コントロール信号のHレベルにより、無線カード4からのデータ受信待ちとなる(ST18)。
【0069】
このような状態において、無線カード4からデータが送信される(レスポンスデータ、受信データ)(ST19)。
【0070】
これにより、受信アンテナ15、受信回路17を介して連続データとして受信した無線カード4からの受信データ(RXD)(図6の(a)、図6の(7)参照)が復調回路29に供給される。復調回路29は、上記モード切換器25が受信モードに設定されているため、受信回路17からの受信データ(RXD)を、分周器26からのクロックとタイミング生成器27からの第1のタイミング信号に基づいて、上記モード切換器25で設定されている復調モードで復調され、この復調された復調データはSIO21を介してMPU5へ出力される(ST20)。
【0071】
これにより、MPU5はSIO21から出力されるシリアルクロック(SCK)に基づいて、SIO21からのシリアルアウトプットデータSOとして8ビット(1バイト)単位の受信データを順次、受信する(図6の(c)(d)、図6の(8)参照)(ST21)。この受信データは一旦メモリ12に記憶される。
【0072】
そして、MPU5は無線カード4からの受信データを全て受信した際、コントロール信号をLレベルにする(ST22)(図6の(e)、図6の(9)参照)。これにより、LSI6(SIO21)はMPU5の無線カード4からの受信を停止する(ST23)。この停止動作はステータスデータをMPU5へ送信するきっかけであり、ステータスデータの中身(内容)とは関係ないものとなっている。
【0073】
この際、上述したように、MPU5からのコントロール信号CONTのLレベルにより、LSI6のSIO21から出力されるシリアルクロック(SCK)(第2のタイミング信号より生成)に基づいて、レジスタ設定データをSIO21に送信する(ST24)(図6の(b)(d)、図6の(10)参照)。SIO21は、レジスタ24の送受信モードを停止モードに設定する(ST25)。この結果、モード切換器25が停止モードに設定される。
【0074】
また、LSI6のSIO21はシリアルクロック(SCK)に基づいて、受信ステータスデータをシリアルアウトプットデータSOにより送信する。
【0075】
また、MPU5は、LSI6のSIO21から出力されるシリアルクロック(SCK)に基づいて、SIO21からのシリアルアウトプットデータSOとして受信ステータスデータを受信する(図6の(c)(d)、図6の(10)参照)(ST24)。この受信ステータスデータは、受信データRXDから受信した受信データのステータス(パリティエラー、ストップビット無しによるフレーミングエラーなど)である。また、受信ステータスデータは、MPU5がシリアルアウトプットデータSOの受信データが正しいデータかを判断でき、さらに動作シーケンスも正しいと判断できるためのステータスである。この受信ステータスデータは、受信データRXDの状態(パリティエラーなどの伝送エラー)やコントロール信号CONTがシリアルアウトプットデータSO、シリアルクロックSCKが出力されていない時にLレベルにされている(動作エラー、シーケンスエラーを示すデータとなる)。
【0076】
この後、MPU5はコントロール信号をHレベルとし(ST26)、無線カード4からの受信データと、LSI6からの受信ステータスデータをPC1に送信する(ST27)。
【0077】
この結果、PC1は無線カード4からのデータを受信する(ST28)。これにより、PC1はリードコマンドに基づいて無線カード4からデータのリードを行うことができる。
【0078】
また、PC1はステータスデータにより無線カード4からの受信データの正当性を判断することができる。
【0079】
上述したように、MPU5がコントロール信号(CONT)端子をLレベルにすると、LSI6は、シリアルクロック(SCK)端子から1バイト分(8クロック)またはそれ以上の同期クロックSCKを出力し、その出力された同期クロックSCKにあわせてMPU5側からシリアルデータ(後半の4クロックの4ビットがレジスタアドレス、前半の4クロックの4ビットがレジスタの値)をLSI6へ送信することにより、LSI6の各レジスタ22、23、24の設定を、シリアルインプットデータ(SI)端子、シリアルクロック(SCK)端子、コントロール信号(CONT)端子の3つの端子のみで設定できる機能を有する。
【0080】
また、リーダライタユニット2が無線カード4へ送信データ(TXD)の送信を行う方法として、まずMPU5がコントロール信号CONTをLレベルにし、LSI6のレジスタ22の送受信モードを送信用モードに設定にし、コントロール信号CONTをHレベルにした後、LSI6は送信用クロックとしてのシリアルクロックSCKをMPU5に対し出力し、このシリアルクロックSCKに合わせてLSI6への送信データの送信を開始する。1バイト目の送信データAをLSI6は受け取りその送信データAを変調し送信データTXDとして無線カード4へ送信する。シリアルクロックSCKは、送信データTXDの出力タイミングに合わせて出力が開始される。このため、送信データTXDの送信が停止されるまで繰り返され、送信データA、B、Cはリーダライタユニット2から無線カード4に送信される。
【0081】
次に、送信データTXDの送信を停止する場合に、LSI6から送信回路16への送信データTXDの送信速度より速い通信速度で、MPU5とLSI6が送信データの送信を行うものである。これにより、送信データTXDとシリアルインプットデータSIとの通信速度の差のために、シリアルインプットデータSIとシリアルクロックSCKには空き時間ができ、この空き時間内にコントロール信号CONTをLレベルにし、送信を停止するものである。
【0082】
この空き時間のコントロール信号CONTの状態により、LSI6はMPU5から次の必要の無いデータを受信すること無く送信を終了させることが可能となっている。
【0083】
さらに、このコントロール信号CONTをLレベルにした際に、次の動作を行うため、MPU5に対してシリアルクロックSCKを出力しMPU5からレジスタ設定用データを出力させ、レジスタ設定を行うことが可能である。
【0084】
さらに、このシリアルインプットデータSIの通信速度を送信データTXDの2倍にしたものである。さらに、シリアルインプットデータSIの一本にレジスタ設定用データと送信データをのせ、コントロール信号CONTのレベルによりレジスタの設定かまたは、送信データかを区別することができる。
【0085】
さらに、無線カード4からの受信データ(RXD)の受信を行う方法として、まずMPU5がコントロール信号CONTをLレベルにし、LSI6のレジスタ22の送受信モードを受信用モードに設定にし、コントロール信号CONTをHレベルにした後、無線カード4の送信データの受信待ちになる。
【0086】
次に、無線カード4から送信データを受信すると、LSI6は受信データを復調し、シリアルアウトプットデータSOからシリアルクロックSCKを使用してMPU5にクロックに同期して送信する。
【0087】
この送信方法により、受信データRXDの受信速度より速い通信速度でMPU5にデータの送信を行う。
【0088】
次に、MPU5への無線カード4からの受信データRXDの送信を停止する場合に、この受信データRXDとシリアルアウトプットデータSOとの通信速度の差のために、シリアルアウトプットデータSOとシリアルクロックSCKには空き時間ができ、この空き時間内にコントロール信号CONTをLレベルにし、受信を停止するものである。
【0089】
さらに、このコントロール信号CONTをLレベルにした際に、次の動作を行うためにシリアルクロックSCKを出力しMPU5がレジスタ設定データを送信しレジスタ設定を行うことが可能である。
【0090】
さらに、上記シリアルアウトプットデータSOの通信速度を受信データRXDの2倍にしたものである。
【0091】
また、受信データRXDの受信中に停止した際に、受信データRXDから受信した受信データのステータス(パリティエラーなど)を、MPU5からシリアルアウトプットデータSIに送信したデータでLSI6のレジスタの設定を同時にシリアルアウトプットデータSOでMPU5に送信することができる。
【0092】
また、LSI6において、シリアルインプットデータ(SI)の信号線とシリアルアウトプットデータ(SO)の信号線による通信の通信速度が、無線カード4との通信速度(TXD、RXDの通信速度)より速い速度で行い、SIの信号線とSOの信号線による通信データに隙間を作ることができる。
【0093】
また、LSI6において、同期クロックのクロック周期以上の隙間が空くものである。
【0094】
また、LSI6において、無線カード4との通信速度(TXD、RXDの通信速度)を、シリアルインプットデータ(SI)の信号線とシリアルアウトプットデータ(SO)の信号線による通信の通信速度の、2倍またはそれ以上の整数倍にしたものである。
【0095】
また、LSI6において、同期クロックがない期間に、コントロール信号CONTによる信号の変化により、LSI6の各レジスタ22、23、24の状態を変化させるようにしたものである。
【0096】
また、コントロール信号CONTによる信号変化により無線カード4への送信、無線カード4からの受信状態をリセットするようにしたものである。
【0097】
また、LSI6において、受信を完了する際にコントロール信号CONTによる信号を変化させ受信を終了し、次のレジスタを設定するための同期クロックが出力され、レジスタ設定データ受信する際に同時にこのクロックと同期したステータスデータを出力するようにしたものである。
【0098】
また、LSI6において、コントロール信号CONTがシリアルクロック(同期クロック)SCKが出力されている期間(タイミング)で変化し(Lレベルとなる)、受信データRXDの受信中(受信を完了する前)に停止した際に、シーケンスエラーを表すステータスデータをシリアルアウトプットデータSOでMPU5に送信する。(図6の(c)(d)(f)、図6の(11)(10)参照)次に、上記第1の実施形態では、MPU5とLSI6のSIO21とが、シリアルインプットデータ(SI)、シリアルアウトプットデータ(SO)、シリアルクロック(SCK)、コントロール信号(CONT)の4つの信号線により接続され、SIO21に、シリアルインプットデータ(SI)端子(ピン)、シリアルアウトプットデータ(SO)端子、シリアルクロック(SCK)端子、コントロール信号(CONT)端子が設けられている場合について説明したが、これに限らず、第2の実施形態として、図7に示すように、MPU5とLSI6のSIO21との信号線として、シリアルインプットアウトプットエラー信号SIOERRの信号線を追加し、SIO21に、SIOエラー信号SIOERR端子を設けるようにしても良い。この場合、LSI6内に復調回路29からの復調データの伝送エラーを判定する判定回路30が設けられ、この判定回路30により復調データの伝送エラーを判定した際に出力される信号がSIOエラー信号SIOERRとして、MPU5へ送信されるようになっている。上記伝送エラーの判定は、パリティビットによる判定あるいは最終ビットにストップビットが無いことによるフレーミングエラーの判定等である。また、判定回路30は、SIO21に接続され、伝送エラーの判定結果をSIO21に出力するようになっている。
【0099】
この第2の実施形態では、受信データRXDにエラーがあった場合に、エラー個所を特定でき、エラーが発生した直後に受信を終了することができる。
【0100】
この第2の実施形態の要部の説明を、図4のフローチャートと、図8の(a)から(f)の信号波形図を用いて説明する。この場合、上記第1の実施形態のステップ1から18までは、同一のため、ステップ19から説明する。
【0101】
まず、無線カード4からデータが連続して送信される(レスポンスデータ、受信データ)(ST19)。
【0102】
これにより、受信アンテナ15、受信回路17を介して連続データとして受信した無線カード4からの受信データ(RXD)(図8の(a)、図8の(7)参照)が復調回路29に供給される。復調回路29は、上記モード切換器25が受信モードに設定されているため、受信回路17からの受信データ(RXD)を、分周器26からのクロックとタイミング生成器27からの第1のタイミング信号に基づいて、上記モード切換器25で設定されている復調モードで復調され、この復調された復調データはSIO21を介してMPU5へ出力される(ST20)。
【0103】
これにより、MPU5はSIO21から出力されるシリアルクロック(SCK)に基づいて、SIO21からのシリアルアウトプットデータSOとして8ビット(1バイト)単位の受信データを順次、受信する(図8の(c)(d)、図8の(8)参照)(ST21)。この受信データは一旦メモリ12に記憶される。
【0104】
そして、MPU5が無線カード4からの受信データを全て受信する前、つまりLSI6の判定回路30により復調データの伝送エラーを判定しており、この判定回路30は受信データCによるエラーを判断した際に、SIOエラー信号(SIOERR)をHレベルする。このSIOエラー信号(SIOERR)により、MPU5はコントロール信号CONTをLレベルにする(ST22)(図8の(f)(e)、図8の(9)参照)。これにより、MPU5の無線カード4からの受信を停止する(ST23)。LSI6(SIO21)はエラー発生のデータで受信を止めて、受信回路17からの受信データRXDの受信データCまでをMPU5に送信する。
【0105】
また、MPU5からのコントロール信号CONTのLレベルにより、LSI6のSIO21から出力されるシリアルクロック(SCK)(第2のタイミング信号より生成)に基づいて、レジスタ設定データをSIO21に送信する(ST24)(図8の(b)(d)、図8の(10)参照)。SIO21は、レジスタ24の送受信モードを停止モードに設定する(ST25)。この結果、モード切換器25が停止モードに設定される。
【0106】
また、LSI6のSIO21はシリアルクロック(SCK)に基づいて、受信ステータスデータをシリアルアウトプットデータSOにより送信する。
【0107】
また、MPU5はLSI6のSIO21から出力されるシリアルクロック(SCK)に基づいて、SIO21からのシリアルアウトプットデータSOとして受信ステータスデータ(エラー)を受信する(図8の(c)(d)、図8の(10)参照)(ST24)。
【0108】
この後、MPU5はコントロール信号をHレベルとし(ST26)、無線カード4からの受信データと、LSI6からの受信ステータスデータ(エラー)をPC1に送信する(ST27)。
【0109】
この結果、PC1は無線カード4からのエラーが発生するまでのデータを受信する(ST28)。これにより、PC1はリードコマンドに基づいて無線カード4からエラーが発生するまでのデータのリードを行うことができる。
【0110】
また、上記第1、第2の実施形態では、PCとリーダライタユニットと無線カードからなる無線カード処理システムについて説明したが、これに限らず、第3の実施形態として、図9に示すように、リーダライタユニット(RWU)と無線カードからなる無線カード処理システムを、たとえば入退ゲートに用いるようにしても良い。この入退ゲートとしては、無線カード4とリーダライタユニット(RWU)とのデータの送受信(無線カード4からの送信だけでも良い)により、無線カード4の保持者の入出、退出、通過等を許可(ドアの開閉)するものである。
【0111】
この第3の実施形態の処理を、図9に示すフローチャートを参照して説明する。ただし、図4に示すフローチャートと同一部分には、同じステップを付与し、説明を省略する。まず、ステップ5、6、27、28を削除し、ステップ7、9を、ステップ31、32に変更し、ステップ17と21の間にステップ33を追加し、ステップ26の後にステップ34、35を追加する。
【0112】
すなわち、上記ステップ4によりLSI6の各レジスタ22、23、24にレジスタ値を設定した際に、すべての準備が終了後、MPU5は、LSI6に無線カード送信用のレジスタ設定データを準備後、送信する(ST31)。これにより、LSI6のレジスタ24に送信モードを示すレジスタ値が設定される(ST8)。この設定後、MPU5はLSI6への送信データ(リードコマンド)を準備後、送信する(ST32)。
【0113】
また、ステップ18によるデータ受信待ち後、MPU5は、所定時間経過(タイムアップ)した際(ST33)、ステップ22に進む。
【0114】
また、ステップ26によるコントロール信号をHレベルとした後、MPU5は、データが正しいか否かをチェックし(ST34)、正しい場合に、ドアをオープンし(ST35)、正しくない場合およびドアのオープン後に、ステップ31に戻る。
【0115】
上記したように、PCと無線カードとの間でデータのやり取りを行い、様々な通信方式に対応できるインターフェースとしてのLSIと全体を制御するMPUとからなるリーダライタユニット(RWU)において、MPUとLSIを接続するための線を少なくでき、LSIのピン数を少なくすることができ、MPU側でこのLSIのために使用するポートも減少でき、ポートの少ないMPUでも使用することができる。
【0116】
また、LSIのレジスタの設定も容易にできるようになり、さらに外部との接続が少ないため通信部分のLSIとしての独立性が高くなり、より汎用性が高くなるという利点を持ったものである。
【0117】
【発明の効果】
以上詳述したように、この発明によれば、上位装置と無線カードとの間でデータのやり取りを行い、様々な通信方式に対応できるインターフェースと全体を制御する制御素子とからなるものにおいて、制御素子とインターフェースを接続するための線を少なくでき、インターフェースのピン数を少なくすることができ、MPU側でこのインターフェースのために使用するポートも減少でき、ポートの少ないMPUでも使用することができるリーダライタユニットを提供できる。
【図面の簡単な説明】
【図1】この発明の第1の実施形態の無線カード処理システムの概略構成を示すブロック図。
【図2】リーダライタユニットの概略構成を示すブロック図。
【図3】MPUとLSI間の信号を説明するための信号波形図。
【図4】無線カードのデータをリードする際の動作を説明するためのフローチャート。
【図5】MPUとLSI間の信号を説明するための信号波形図。
【図6】MPUとLSI間の信号を説明するための信号波形図。
【図7】この発明の第2の実施形態のリーダライタユニットの概略構成を示すブロック図。
【図8】MPUとLSI間の信号を説明するための信号波形図。
【図9】無線カードのデータをリードする際の動作を説明するためのフローチャート。
【符号の説明】
1…PC
2…リーダライタユニット
4…無線カード
5…MPU
6…LSI
21…SIO
22、23、24…レジスタ
25…モード切換器
26…分周器
27…タイミング生成器
28…変調回路
29…復調回路[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a reader / writer unit that exchanges data between a host device and a wireless card and includes an interface that can handle various communication methods and an MPU that controls the whole.
[0002]
[Prior art]
2. Description of the Related Art Conventionally, a wireless card processing system for a wireless card includes a host (a host device, PC), a reader / writer unit (RWU), and a wireless card. The reader / writer unit connects a host (PC) and a wireless card. The reader / writer unit includes an MPU that controls the unit, an interface composed of a general-purpose LSI that can support various communication methods, and a transmission / reception circuit. This interface has a register inside so as to be compatible with various communication methods. For this reason, in order to set registers, the interface needs to be connected to the MPU via a bus, and many pins are required to control each control terminal. In addition, many lines are required to connect the MPU and the interface.
[0003]
For example, a signal line for serial input data (SI), a signal line for serial output data (SO), a signal line for transmission / reception mode, a signal line for reset signal, a signal line for
[0004]
As described above, since the connection as described above is necessary, there is a problem that many I / O ports are required on the MPU side and cannot be used in the case of an MPU having a small number of I / O ports.
[0005]
Further, when the LSI is converted into an IP (Development Asset (IP)) to form a system LSI including an MPU, there is a problem that the specifications are complicated because there are many connection terminals to the outside.
[0006]
Therefore, data can be exchanged between the host device and the wireless card, and an interface that can cope with various communication methods and an MPU that controls the whole can reduce the number of lines for connecting the MPU and the interface. The number of pins (terminals) of the interface can be reduced, the number of ports used for this interface on the MPU side can be reduced, and an MPU with fewer ports can be used.
[0007]
[Problems to be solved by the invention]
The present invention provides a line for connecting a control element and an interface in an interface that exchanges data between a host device and a wireless card and includes an interface that can handle various communication methods and a control element that controls the whole. The number of pins of the interface can be reduced, the number of ports used for this interface on the control element side can be reduced, and a control element with few ports can be used. The number of wires for connecting the control element and the interface can be reduced, the number of pins of the interface can be reduced, the number of ports used for this interface on the control element side can be reduced, and the control element with few ports can be used. The purpose is to provide a reader / writer unit that can .
[0008]
[Means for Solving the Problems]
A reader / writer unit according to the present invention includes an interface capable of exchanging data with a wireless card and supporting various communication methods and a control element for controlling the whole, and between the control element and the interface. Is provided between the control element and the interface, and a synchronous clock from the interface is transmitted to the control element. A second signal line, and a third signal line provided between the control element and the interface for transmitting a control signal from the control element to the interface. Control signal supplied from the control element via the third signal line Based on the first signal line from the control element via the first signal line based on the synchronization clock transmitted by the transmission means and the transmission means for transmitting the synchronous clock to the control element via the second signal line. Receiving means for receiving data indicating the communication method and the like, and setting means for setting a communication method for performing communication with the wireless card by data indicating the communication method received by the receiving means; Based on the communication method set by the setting unit, the processing unit performs communication with the wireless card.
[0009]
The reader / writer unit of the present invention comprises an interface capable of transmitting transmission data to a wireless card and supporting various communication methods and a control element for controlling the whole, and is provided between the control element and the interface. And a first signal line through which serial data from the control element is transmitted to the interface and between the control element and the interface, and a synchronous clock from the interface is transmitted to the control element. A second signal line; and a third signal line provided between the control element and the interface for transmitting a control signal from the control element to the interface. First transmission means for transmitting a signal to the interface via the third signal line In response to the transmission by the first transmission means, the data indicating the communication method and the like is sent to the first signal line in synchronization with the synchronous clock supplied from the interface via the second signal line. In response to transmission by the second transmission means and the first transmission means, the transmission data is synchronized with a synchronization clock supplied from the interface via the second signal line. And a third transmitting means for transmitting via the first signal line, wherein the interface is based on a control signal supplied from the control element via the third signal line. A fourth transmission means for transmitting a synchronous clock to the control element via a signal line; and the first signal from the control element based on the synchronous clock transmitted by the fourth transmission means. Accepting means for receiving data indicating a communication method supplied via the card, and setting means for setting a communication method for performing communication with the wireless card by the data indicating the communication method received by the receiving means And a fifth transmission means for transmitting transmission data supplied from the control element via the first signal line to the wireless card based on the communication method set by the setting means.
[0010]
The reader / writer unit according to the present invention comprises an interface that receives received data from a wireless card and is compatible with various communication systems and a control element that controls the whole, and is provided between the control element and the interface. A first signal line through which serial data from the control element is transmitted to the interface, and a first clock line that is provided between the control element and the interface, and a synchronous clock from the interface is transmitted to the control element. 2 between the control element and the interface, and a third signal line provided between the control element and the interface, and provided between the control element and the interface. Serial data from the interface is provided to the control element A fourth signal line to be transmitted, wherein the control element transmits a control signal to the interface via the third signal line, and transmission by the first transmission means Second transmission means for transmitting data indicating a communication method or the like via the first signal line in synchronization with a synchronous clock supplied from the interface via the second signal line. And the interface transmits a synchronous clock to the control element via the second signal line based on a control signal supplied from the control element via the third signal line. Based on the synchronous clock transmitted by the third transmitter and the third transmitter, data indicating the communication system supplied from the control element via the first signal line is received. Receiving means, data indicating the communication method received by the receiving means, setting means for setting a communication method for communicating with the wireless card, and a communication method set by the setting means. Based on the synchronous clock transmitted from the third transmission means, the reception data received from the wireless card is transmitted from the fourth transmission means to the control element via the first signal line. Become.
[0011]
The reader / writer unit according to the present invention comprises an interface that receives received data from a wireless card and is compatible with various communication systems and a control element that controls the whole, and is provided between the control element and the interface. A first signal line through which serial data from the control element is transmitted to the interface, and a first clock line that is provided between the control element and the interface, and a synchronous clock from the interface is transmitted to the control element. 2 between the control element and the interface, and a third signal line provided between the control element and the interface, and provided between the control element and the interface. Serial data from the interface is provided to the control element A fourth signal line to be transmitted, wherein the control element transmits a control signal to the interface via the third signal line, and transmission by the first transmission means Second transmission means for transmitting data indicating a communication method or the like via the first signal line in synchronization with a synchronous clock supplied from the interface via the second signal line. And the interface transmits a synchronous clock to the control element via the second signal line based on a control signal supplied from the control element via the third signal line. Based on the synchronous clock transmitted by the third transmitter and the third transmitter, data indicating the communication system supplied from the control element via the first signal line is received. Receiving means, data indicating the communication method received by the receiving means, setting means for setting a communication method for communicating with the wireless card, and a communication method set by the setting means. 4th transmission means for transmitting the received data received from the wireless card to the control element via the first signal line based on the synchronous clock transmitted by the third transmission means; When a control signal is supplied from the control element via the third signal line in response to the transmission of the fourth transmission means, based on the synchronous clock transmitted by the third transmission means, It comprises a fifth transmission means for transmitting status data of received data received from the wireless card to the control element via the fourth signal line.
[0012]
The reader / writer unit according to the present invention comprises an interface that receives received data from a wireless card and is compatible with various communication systems and a control element that controls the whole, and is provided between the control element and the interface. A first signal line through which serial data from the control element is transmitted to the interface, and a first clock line that is provided between the control element and the interface, and a synchronous clock from the interface is transmitted to the control element. 2 between the control element and the interface, and a third signal line provided between the control element and the interface, and provided between the control element and the interface. Serial data from the interface is provided to the control element A fourth signal line to be transmitted; and a fifth signal line provided between the control element and the interface, wherein a signal indicating an error from the interface is transmitted to the control element. A control element transmits a control signal to the interface via the third signal line, and in response to transmission by the first transmission means, the interface transmits the second signal line from the interface. And a second transmission means for transmitting data indicating a communication method or the like via the first signal line in synchronization with a synchronous clock supplied via the interface, and the interface is connected to the control element from the control element. A third transmission means for transmitting a synchronous clock to the control element via the second signal line based on a control signal supplied via the third signal line; Accepting means for accepting data indicating a communication method or the like supplied from the control element via the first signal line based on the synchronous clock transmitted by the third transmitting means, and the communication accepted by the accepting means Setting means for setting a communication method for performing communication with the wireless card by data indicating the method, etc., and received data received from the wireless card based on the communication method set by the setting means, Based on the synchronous clock transmitted by the third transmission means, a fourth transmission means for transmitting to the control element via the first signal line and an error due to received data received from the wireless card are determined. And a fifth means for transmitting a signal indicating an error to the control element via the fifth signal line when an error is determined by the determination means. The transmission means.
[0013]
The reader / writer unit according to the present invention includes an interface capable of transmitting transmission data to a wireless card, receiving received data from the wireless card, and supporting various communication methods, and a control element for controlling the whole. Provided between the control element and the interface, and is provided between the control element and the interface, and is provided between the first signal line through which serial data from the control element is transmitted to the interface and synchronized with the interface. A second signal line for transmitting a clock to the control element; a third signal line provided between the control element and the interface; and a control signal from the control element transmitted to the interface; Provided between the control element and the interface; And a fourth signal line through which serial data from the case is transmitted to the control element, and the control element transmits a control signal to the interface via the third signal line. In response to transmission by the first transmission means, data indicating a communication method or the like is sent to the first signal line in synchronization with a synchronous clock supplied from the interface via the second signal line. The transmission data in synchronization with a synchronization clock supplied from the interface via the second signal line in response to transmission by the first transmission means. A control signal supplied from the control element via the third signal line. Based on, it transmits a synchronous clock to the control device via the second signal line Fourth transmission means And this Fourth transmission means Accepting means for accepting data indicating the communication method supplied from the control element via the first signal line based on the synchronous clock transmitted by the control element, and data indicating the communication method accepted by the accepting means Based on the setting means for setting the communication method for performing communication with the wireless card and the communication method set by the setting means, the control element supplies the first signal line via the first signal line. Data to be sent to the wireless card 5th transmission means And the received data received from the wireless card based on the communication method set by the setting means, Fourth transmission means Is transmitted to the control element via the first signal line based on the synchronous clock transmitted by Sixth transmission means It consists of.
[0014]
A reader / writer unit according to the present invention includes an interface capable of exchanging data with a wireless card and supporting various communication methods and a control element for controlling the whole, and between the control element and the interface. Is provided between the control element and the interface, and a synchronous clock from the interface is transmitted to the control element. A second signal line, and a third signal line provided between the control element and the interface for transmitting a control signal from the control element to the interface. Control signal supplied from the control element via the third signal line And a transmission means for transmitting a synchronous clock to the control element via the second signal line, and the control element communicated at a first communication speed based on the synchronous clock transmitted by the transmission means. Receiving means for receiving data indicating the communication method and the like supplied via the first signal line, and communication for performing communication with the wireless card using the data indicating the communication method received by the receiving means A setting means for setting a method and the like, and a processing means for performing communication with the wireless card at a speed slower than the first communication speed based on a communication method set by the setting means.
[0015]
A reader / writer unit according to the present invention includes an interface capable of exchanging data with a wireless card and supporting various communication methods and a control element for controlling the whole, and between the control element and the interface. Is provided between the control element and the interface, and a synchronous clock from the interface is transmitted to the control element. A second signal line, and a third signal line provided between the control element and the interface for transmitting a control signal from the control element to the interface. Control signal supplied from the control element via the third signal line Based on the first signal line from the control element via the first signal line based on the synchronization clock transmitted by the transmission means and the transmission means for transmitting the synchronous clock to the control element via the second signal line. Receiving means for receiving data indicating the communication method and the like, and setting means for setting a communication method for performing communication with the wireless card by data indicating the communication method received by the receiving means; It comprises processing means for communicating with the wireless card based on a communication method set by the setting means and a clock having a frequency lower than the synchronous clock.
[0019]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, a first embodiment of the present invention will be described with reference to the drawings.
[0020]
FIG. 1 shows a schematic configuration of a wireless card processing system according to the present invention.
[0021]
That is, the wireless card processing system performs wireless communication between a personal computer (PC) 1 as a host device, a reader / writer unit (RWU) 2 connected to the
[0022]
The
[0023]
The reader /
[0024]
The
[0025]
The
[0026]
The
[0027]
The
[0028]
The
[0029]
The transmission /
[0030]
The
[0031]
The receiving
[0032]
The
[0033]
As shown in FIG. 2, the
[0034]
The
[0035]
The
[0036]
Based on the control signal (CONT) shown in (c) or (d) of FIG. 3 supplied from the
[0037]
As a result, the
[0038]
That is, as shown in FIGS. 3A and 3B, when the serial clock (SCK) falls, the
[0039]
The register setting data includes a 4-bit register value and a 4-bit register address, and this register address indicates one of the
[0040]
The
[0041]
The
[0042]
The
[0043]
The mode setting register 22 stores the register value supplied from the
[0044]
The frequency division
[0045]
The
[0046]
The
[0047]
The
[0048]
The
[0049]
When the transmission mode is set by the
[0050]
When the reception mode is set by the
[0051]
Next, in the above configuration, as a data transmission / reception process between the
[0052]
For example, the reader /
[0053]
That is, as shown in FIG. 3C, when the control signal CONT from the
[0054]
As a result, the
[0055]
That is, as shown in FIGS. 3A and 3B, when the serial clock (SCK) falls, the
[0056]
As a result, the
[0057]
Therefore, the modulation mode and the demodulation mode of the
[0058]
When the register values are set in the
[0059]
In this state, the
[0060]
At this time, as described above, based on the serial clock (SCK) (generated from the second timing signal) output from the
[0061]
After this setting, the
[0062]
Further, the
[0063]
The communication speed of the transmission data (MPU5 to SIO21) as the serial input data SI is twice the communication speed of the transmission data TXD (
[0064]
When the transmission of the transmission data in
[0065]
Next, the
[0066]
At this time, as described above, the register setting data is transferred to the
[0067]
Thereafter, the
[0068]
Further, the
[0069]
In such a state, data is transmitted from the wireless card 4 (response data, received data) (ST19).
[0070]
Thus, the reception data (RXD) (see (a) of FIG. 6 and (7) of FIG. 6) received as the continuous data via the
[0071]
Accordingly, the
[0072]
When the
[0073]
At this time, as described above, the register setting data is transferred to the
[0074]
Further, the
[0075]
Further, the
[0076]
Thereafter, the
[0077]
As a result, the
[0078]
Further, the
[0079]
As described above, when the
[0080]
As a method for transmitting data (TXD) from the reader /
[0081]
Next, when transmission of the transmission data TXD is stopped, the
[0082]
The
[0083]
Further, when the control signal CONT is set to the L level, the next operation is performed. Therefore, it is possible to output the serial clock SCK to the
[0084]
Further, the communication speed of the serial input data SI is twice that of the transmission data TXD. Furthermore, register setting data and transmission data can be put on one of the serial input data SI, and it is possible to distinguish between register setting and transmission data according to the level of the control signal CONT.
[0085]
Further, as a method of receiving the reception data (RXD) from the
[0086]
Next, when the transmission data is received from the
[0087]
By this transmission method, data is transmitted to the
[0088]
Next, when the transmission of the reception data RXD from the
[0089]
Further, when the control signal CONT is set to the L level, the serial clock SCK can be output to perform the next operation, and the
[0090]
Further, the communication speed of the serial output data SO is twice that of the reception data RXD.
[0091]
When the reception data RXD is stopped during reception, the status of the reception data received from the reception data RXD (parity error, etc.) is set simultaneously with the data transmitted from the
[0092]
Further, in the
[0093]
Further, in the
[0094]
Further, in the
[0095]
Further, in the
[0096]
In addition, transmission to the
[0097]
Further, in the
[0098]
Further, in the
[0099]
In the second embodiment, when there is an error in the reception data RXD, the error location can be specified, and reception can be terminated immediately after the error has occurred.
[0100]
The main part of the second embodiment will be described with reference to the flowchart of FIG. 4 and signal waveform diagrams of FIGS. In this case, since
[0101]
First, data is continuously transmitted from the wireless card 4 (response data, received data) (ST19).
[0102]
Thereby, the reception data (RXD) (see (a) of FIG. 8 and (7) of FIG. 8) received from the
[0103]
Thereby, the
[0104]
The
[0105]
Also, register setting data is transmitted to the
[0106]
Further, the
[0107]
The
[0108]
Thereafter, the
[0109]
As a result, the
[0110]
In the first and second embodiments, the wireless card processing system including the PC, the reader / writer unit, and the wireless card has been described. However, the present invention is not limited to this, and the third embodiment is illustrated in FIG. A wireless card processing system including a reader / writer unit (RWU) and a wireless card may be used for an entrance / exit gate, for example. As this entrance / exit gate, the entry / exit / exit / pass of the holder of the
[0111]
The processing of the third embodiment will be described with reference to the flowchart shown in FIG. However, the same steps as those in the flowchart shown in FIG. First, steps 5, 6, 27 and 28 are deleted,
[0112]
That is, when register values are set in the
[0113]
Further, after waiting for data reception in step 18, the
[0114]
After setting the control signal at
[0115]
As described above, in a reader / writer unit (RWU) comprising an LSI as an interface that exchanges data between a PC and a wireless card and can handle various communication methods and an MPU that controls the whole, the MPU and the LSI As a result, the number of LSI pins can be reduced, the number of ports used for the LSI on the MPU side can be reduced, and an MPU with fewer ports can also be used.
[0116]
In addition, the LSI registers can be easily set. Further, since there are few connections to the outside, the independence of the communication portion as the LSI is increased, and the versatility is increased.
[0117]
【The invention's effect】
As described above in detail, according to the present invention, data is exchanged between the host device and the wireless card, and includes an interface that can handle various communication methods and a control element that controls the whole. The number of lines for connecting elements and interfaces can be reduced, the number of pins of the interface can be reduced, the number of ports used for this interface on the MPU side can be reduced, and a reader that can be used even with an MPU with few ports A writer unit can be provided.
[Brief description of the drawings]
FIG. 1 is a block diagram showing a schematic configuration of a wireless card processing system according to a first embodiment of the present invention.
FIG. 2 is a block diagram showing a schematic configuration of a reader / writer unit.
FIG. 3 is a signal waveform diagram for explaining signals between the MPU and the LSI.
FIG. 4 is a flowchart for explaining an operation when reading data from a wireless card;
FIG. 5 is a signal waveform diagram for explaining signals between the MPU and the LSI.
FIG. 6 is a signal waveform diagram for explaining signals between the MPU and the LSI.
FIG. 7 is a block diagram showing a schematic configuration of a reader / writer unit according to a second embodiment of the present invention.
FIG. 8 is a signal waveform diagram for explaining signals between the MPU and the LSI.
FIG. 9 is a flowchart for explaining an operation when reading data from a wireless card;
[Explanation of symbols]
1 ... PC
2 Reader / writer unit
4 ... Wireless card
5 ... MPU
6 ... LSI
21 ... SIO
22, 23, 24 ... registers
25. Mode selector
26: Frequency divider
27 ... Timing generator
28. Modulation circuit
29. Demodulator circuit
Claims (9)
上記制御素子と上記インターフェースとの間に設けられ、上記制御素子からのシリアルデータが上記インターフェースに伝送される第1の信号線と、
上記制御素子と上記インターフェースとの間に設けられ、上記インターフェースからの同期クロックが上記制御素子に伝送される第2の信号線と、
上記制御素子と上記インターフェースとの間に設けられ、上記制御素子からのコントロール信号が上記インターフェースに伝送される第3の信号線とを具備し、
上記インターフェースが、
上記制御素子から上記第3の信号線を介して供給されるコントロール信号に基づいて、上記第2の信号線を介して上記制御素子へ同期クロックを送信する送信手段と、
この送信手段により送信される同期クロックに基づいて、上記制御素子から上記第1の信号線を介して供給される通信方式などを示すデータを受付ける受付手段と、
この受付手段により受付けた通信方式などを示すデータにより、上記無線カードとの通信を行うための通信方式などを設定する設定手段と、
この設定手段により設定される通信方式などに基づいて、上記無線カードとの通信を行う処理手段とからなる、
ことを特徴とするリーダライタユニット。In a reader / writer unit that exchanges data with a wireless card and consists of an interface that can handle various communication methods and a control element that controls the entire system.
A first signal line provided between the control element and the interface, through which serial data from the control element is transmitted to the interface;
A second signal line provided between the control element and the interface, and a synchronous clock from the interface is transmitted to the control element;
A third signal line provided between the control element and the interface for transmitting a control signal from the control element to the interface;
The above interface
Transmission means for transmitting a synchronous clock to the control element via the second signal line based on a control signal supplied from the control element via the third signal line;
Accepting means for accepting data indicating a communication method or the like supplied from the control element via the first signal line based on the synchronous clock transmitted by the transmitting means;
Setting means for setting a communication method for performing communication with the wireless card based on data indicating the communication method received by the receiving unit;
Based on the communication method set by the setting means, the processing means for communicating with the wireless card,
A reader / writer unit.
上記制御素子と上記インターフェースとの間に設けられ、上記制御素子からのシリアルデータが上記インターフェースに伝送される第1の信号線と、
上記制御素子と上記インターフェースとの間に設けられ、上記インターフェースからの同期クロックが上記制御素子に伝送される第2の信号線と、
上記制御素子と上記インターフェースとの間に設けられ、上記制御素子からのコントロール信号が上記インターフェースに伝送される第3の信号線とを具備し、
上記制御素子が、
コントロール信号を上記第3の信号線を介して上記インターフェースへ送信する第1の送信手段と、
この第1の送信手段による送信に応答して、上記インターフェースから上記第2の信号線を介して供給される同期クロックに同期して、通信方式などを示すデータを上記第1の信号線を介して送信する第2の送信手段と、
上記第1の送信手段による送信に応答して、上記インターフェースから上記第2の信号線を介して供給される同期クロックに同期して、上記送信データを上記第1の信号線を介して送信する第3の送信手段とからなり、
上記インターフェースが、
上記制御素子から上記第3の信号線を介して供給されるコントロール信号に基づいて、上記第2の信号線を介して上記制御素子へ同期クロックを送信する第4の送信手段と、
この第4の送信手段により送信される同期クロックに基づいて、上記制御素子から上記第1の信号線を介して供給される通信方式などを示すデータを受付ける受付手段と、
この受付手段により受付けた通信方式などを示すデータにより、上記無線カードとの通信を行うための通信方式などを設定する設定手段と、
この設定手段により設定される通信方式などに基づいて、上記制御素子から上記第1の信号線を介して供給される送信データを上記無線カードへ送信する第5の送信手段とからなる、
ことを特徴とするリーダライタユニット。In a reader / writer unit consisting of an interface capable of transmitting transmission data to a wireless card and supporting various communication methods and a control element for controlling the whole,
A first signal line provided between the control element and the interface, through which serial data from the control element is transmitted to the interface;
A second signal line provided between the control element and the interface, and a synchronous clock from the interface is transmitted to the control element;
A third signal line provided between the control element and the interface for transmitting a control signal from the control element to the interface;
The control element is
First transmission means for transmitting a control signal to the interface via the third signal line;
In response to the transmission by the first transmission means, data indicating a communication method or the like is transmitted via the first signal line in synchronization with a synchronous clock supplied from the interface via the second signal line. Second transmission means for transmitting
In response to transmission by the first transmission means, the transmission data is transmitted via the first signal line in synchronization with a synchronous clock supplied from the interface via the second signal line. A third transmission means,
The above interface
Fourth transmission means for transmitting a synchronous clock to the control element via the second signal line based on a control signal supplied from the control element via the third signal line;
Receiving means for receiving data indicating a communication method or the like supplied from the control element via the first signal line based on the synchronous clock transmitted by the fourth transmitting means;
Setting means for setting a communication method for performing communication with the wireless card based on data indicating the communication method received by the receiving unit;
Based on the communication method set by the setting means, etc., it comprises a fifth transmission means for transmitting transmission data supplied from the control element via the first signal line to the wireless card.
A reader / writer unit.
上記制御素子と上記インターフェースとの間に設けられ、上記制御素子からのシリアルデータが上記インターフェースに伝送される第1の信号線と、
上記制御素子と上記インターフェースとの間に設けられ、上記インターフェースからの同期クロックが上記制御素子に伝送される第2の信号線と、
上記制御素子と上記インターフェースとの間に設けられ、上記制御素子からのコントロール信号が上記インターフェースに伝送される第3の信号線と、
上記制御素子と上記インターフェースとの間に設けられ、上記インターフェースからのシリアルデータが上記制御素子に伝送される第4の信号線と、
を具備し、
上記制御素子が、
コントロール信号を上記第3の信号線を介して上記インターフェースへ送信する第1の送信手段と、
この第1の送信手段による送信に応答して、上記インターフェースから上記第2の信号線を介して供給される同期クロックに同期して、通信方式などを示すデータを上記第1の信号線を介して送信する第2の送信手段とからなり、
上記インターフェースが、
上記制御素子から上記第3の信号線を介して供給されるコントロール信号に基づいて、上記第2の信号線を介して上記制御素子へ同期クロックを送信する第3の送信手段と、
この第3の送信手段により送信される同期クロックに基づいて、上記制御素子から上記第1の信号線を介して供給される通信方式などを示すデータを受付ける受付手段と、
この受付手段により受付けた通信方式などを示すデータにより、上記無線カードとの通信を行うための通信方式などを設定する設定手段と、
この設定手段により設定される通信方式などに基づいて上記無線カードから受信した受信データを、上記第3の送信手段により送信される同期クロックに基づいて、上記第1の信号線を介して上記制御素子へ送信する第4の送信手段とからなる、
ことを特徴とするリーダライタユニット。In the reader / writer unit that receives the received data from the wireless card and consists of an interface that can handle various communication methods and a control element that controls the whole.
A first signal line provided between the control element and the interface, through which serial data from the control element is transmitted to the interface;
A second signal line provided between the control element and the interface, and a synchronous clock from the interface is transmitted to the control element;
A third signal line provided between the control element and the interface, through which a control signal from the control element is transmitted to the interface;
A fourth signal line provided between the control element and the interface, through which serial data from the interface is transmitted to the control element;
Comprising
The control element is
First transmission means for transmitting a control signal to the interface via the third signal line;
In response to the transmission by the first transmission means, data indicating a communication method or the like is transmitted via the first signal line in synchronization with a synchronous clock supplied from the interface via the second signal line. Second transmission means for transmitting
The above interface
Third transmission means for transmitting a synchronous clock to the control element via the second signal line based on a control signal supplied from the control element via the third signal line;
Accepting means for accepting data indicating a communication method or the like supplied from the control element via the first signal line based on the synchronous clock transmitted by the third transmitting means;
Setting means for setting a communication method for performing communication with the wireless card based on data indicating the communication method received by the receiving unit;
The received data received from the wireless card based on the communication method set by the setting means is controlled via the first signal line based on the synchronous clock transmitted by the third transmitting means. Comprising a fourth transmitting means for transmitting to the element,
A reader / writer unit.
上記制御素子と上記インターフェースとの間に設けられ、上記制御素子からのシリアルデータが上記インターフェースに伝送される第1の信号線と、
上記制御素子と上記インターフェースとの間に設けられ、上記インターフェースからの同期クロックが上記制御素子に伝送される第2の信号線と、
上記制御素子と上記インターフェースとの間に設けられ、上記制御素子からのコントロール信号が上記インターフェースに伝送される第3の信号線と、
上記制御素子と上記インターフェースとの間に設けられ、上記インターフェースからのシリアルデータが上記制御素子に伝送される第4の信号線と、
を具備し、
上記制御素子が、
コントロール信号を上記第3の信号線を介して上記インターフェースへ送信する第1の送信手段と、
この第1の送信手段による送信に応答して、上記インターフェースから上記第2の信号線を介して供給される同期クロックに同期して、通信方式などを示すデータを上記第1の信号線を介して送信する第2の送信手段とからなり、
上記インターフェースが、
上記制御素子から上記第3の信号線を介して供給されるコントロール信号に基づいて、上記第2の信号線を介して上記制御素子へ同期クロックを送信する第3の送信手段と、
この第3の送信手段により送信される同期クロックに基づいて、上記制御素子から上記第1の信号線を介して供給される通信方式などを示すデータを受付ける受付手段と、
この受付手段により受付けた通信方式などを示すデータにより、上記無線カードとの通信を行うための通信方式などを設定する設定手段と、
この設定手段により設定される通信方式などに基づいて上記無線カードから受信した受信データを、上記第3の送信手段により送信される同期クロックに基づいて、上記第1の信号線を介して上記制御素子へ送信する第4の送信手段と、
この第4の送信手段の送信に応答して上記制御素子から上記第3の信号線を介してコントロール信号が供給された際に、上記第3の送信手段により送信される同期クロックに基づいて、上記無線カードから受信した受信データのステータスデータを上記第4の信号線を介して上記制御素子へ送信する第5の送信手段とからなる、
ことを特徴とするリーダライタユニット。In the reader / writer unit that receives the received data from the wireless card and consists of an interface that can handle various communication methods and a control element that controls the whole.
A first signal line provided between the control element and the interface, through which serial data from the control element is transmitted to the interface;
A second signal line provided between the control element and the interface, and a synchronous clock from the interface is transmitted to the control element;
A third signal line provided between the control element and the interface, through which a control signal from the control element is transmitted to the interface;
A fourth signal line provided between the control element and the interface, through which serial data from the interface is transmitted to the control element;
Comprising
The control element is
First transmission means for transmitting a control signal to the interface via the third signal line;
In response to the transmission by the first transmission means, data indicating a communication method or the like is transmitted via the first signal line in synchronization with a synchronous clock supplied from the interface via the second signal line. Second transmission means for transmitting
The above interface
Third transmission means for transmitting a synchronous clock to the control element via the second signal line based on a control signal supplied from the control element via the third signal line;
Accepting means for accepting data indicating a communication method or the like supplied from the control element via the first signal line based on the synchronous clock transmitted by the third transmitting means;
Setting means for setting a communication method for performing communication with the wireless card based on data indicating the communication method received by the receiving unit;
The received data received from the wireless card based on the communication method set by the setting means is controlled via the first signal line based on the synchronous clock transmitted by the third transmitting means. A fourth transmission means for transmitting to the element;
When a control signal is supplied from the control element via the third signal line in response to the transmission of the fourth transmission means, based on the synchronous clock transmitted by the third transmission means, Comprising: fifth transmission means for transmitting status data of received data received from the wireless card to the control element via the fourth signal line;
A reader / writer unit.
上記制御素子と上記インターフェースとの間に設けられ、上記制御素子からのシリアルデータが上記インターフェースに伝送される第1の信号線と、
上記制御素子と上記インターフェースとの間に設けられ、上記インターフェースからの同期クロックが上記制御素子に伝送される第2の信号線と、
上記制御素子と上記インターフェースとの間に設けられ、上記制御素子からのコントロール信号が上記インターフェースに伝送される第3の信号線と、
上記制御素子と上記インターフェースとの間に設けられ、上記インターフェースからのシリアルデータが上記制御素子に伝送される第4の信号線と、
上記制御素子と上記インターフェースとの間に設けられ、上記インターフェースからのエラーを示す信号が上記制御素子に伝送される第5の信号線と、
を具備し、
上記制御素子が、
コントロール信号を上記第3の信号線を介して上記インターフェースへ送信する第1の送信手段と、
この第1の送信手段による送信に応答して、上記インターフェースから上記第2の信号線を介して供給される同期クロックに同期して、通信方式などを示すデータを上記第1の信号線を介して送信する第2の送信手段とからなり、
上記インターフェースが、
上記制御素子から上記第3の信号線を介して供給されるコントロール信号に基づいて、上記第2の信号線を介して上記制御素子へ同期クロックを送信する第3の送信手段と、
この第3の送信手段により送信される同期クロックに基づいて、上記制御素子から上記第1の信号線を介して供給される通信方式などを示すデータを受付ける受付手段と、
この受付手段により受付けた通信方式などを示すデータにより、上記無線カードとの通信を行うための通信方式などを設定する設定手段と、
この設定手段により設定される通信方式などに基づいて上記無線カードから受信した受信データを、上記第3の送信手段により送信される同期クロックに基づいて、上記第1の信号線を介して上記制御素子へ送信する第4の送信手段と、
上記無線カードから受信した受信データによるエラーを判断する判断手段と、
この判断手段によりエラーを判断した際に、エラーを示す信号を上記第5の信号線を介して上記制御素子へ送信する第5の送信手段とからなる、
ことを特徴とするリーダライタユニット。In the reader / writer unit that receives the received data from the wireless card and consists of an interface that can handle various communication methods and a control element that controls the whole.
A first signal line provided between the control element and the interface, through which serial data from the control element is transmitted to the interface;
A second signal line provided between the control element and the interface, and a synchronous clock from the interface is transmitted to the control element;
A third signal line provided between the control element and the interface, through which a control signal from the control element is transmitted to the interface;
A fourth signal line provided between the control element and the interface, through which serial data from the interface is transmitted to the control element;
A fifth signal line provided between the control element and the interface and transmitting a signal indicating an error from the interface to the control element;
Comprising
The control element is
First transmission means for transmitting a control signal to the interface via the third signal line;
In response to the transmission by the first transmission means, data indicating a communication method or the like is transmitted via the first signal line in synchronization with a synchronous clock supplied from the interface via the second signal line. Second transmission means for transmitting
The above interface
Third transmission means for transmitting a synchronous clock to the control element via the second signal line based on a control signal supplied from the control element via the third signal line;
Accepting means for accepting data indicating a communication method or the like supplied from the control element via the first signal line based on the synchronous clock transmitted by the third transmitting means;
Setting means for setting a communication method for performing communication with the wireless card based on data indicating the communication method received by the receiving unit;
The received data received from the wireless card based on the communication method set by the setting means is controlled via the first signal line based on the synchronous clock transmitted by the third transmitting means. A fourth transmission means for transmitting to the element;
Determining means for determining an error caused by received data received from the wireless card;
When the error is determined by the determination means, the signal is transmitted from the fifth signal line to the control element via the fifth signal line.
A reader / writer unit.
上記制御素子と上記インターフェースとの間に設けられ、上記制御素子からのシリアルデータが上記インターフェースに伝送される第1の信号線と、
上記制御素子と上記インターフェースとの間に設けられ、上記インターフェースからの同期クロックが上記制御素子に伝送される第2の信号線と、
上記制御素子と上記インターフェースとの間に設けられ、上記制御素子からのコントロール信号が上記インターフェースに伝送される第3の信号線と、
上記制御素子と上記インターフェースとの間に設けられ、上記インターフェースからのシリアルデータが上記制御素子に伝送される第4の信号線と、
を具備し、
上記制御素子が、
コントロール信号を上記第3の信号線を介して上記インターフェースへ送信する第1の送信手段と、
この第1の送信手段による送信に応答して、上記インターフェースから上記第2の信号線を介して供給される同期クロックに同期して、通信方式などを示すデータを上記第1の信号線を介して送信する第2の送信手段と、
上記第1の送信手段による送信に応答して、上記インターフェースから上記第2の信号線を介して供給される同期クロックに同期して、送信データを上記第1の信号線を介して送信する第3の送信手段とからなり、
上記インターフェースが、
上記制御素子から上記第3の信号線を介して供給されるコントロール信号に基づいて、上記第2の信号線を介して上記制御素子へ同期クロックを送信する第4の送信手段と、
この第4の送信手段により送信される同期クロックに基づいて、上記制御素子から上記第1の信号線を介して供給される通信方式などを示すデータを受付ける受付手段と、
この受付手段により受付けた通信方式などを示すデータにより、上記無線カードとの通信を行うための通信方式などを設定する設定手段と、
この設定手段により設定される通信方式などに基づいて、上記制御素子から上記第1の信号線を介して供給される送信データを上記無線カードへ送信する第5の送信手段と、
上記設定手段により設定される通信方式などに基づいて上記無線カードから受信した受信データを、上記第4の送信手段により送信される同期クロックに基づいて、上記第1の信号線を介して上記制御素子へ送信する第6の送信手段とからなる、
ことを特徴とするリーダライタユニット。In the reader / writer unit that transmits the transmission data to the wireless card, receives the reception data from the wireless card, and includes an interface that can handle various communication methods and a control element that controls the whole.
A first signal line provided between the control element and the interface, through which serial data from the control element is transmitted to the interface;
A second signal line provided between the control element and the interface, and a synchronous clock from the interface is transmitted to the control element;
A third signal line provided between the control element and the interface, through which a control signal from the control element is transmitted to the interface;
A fourth signal line provided between the control element and the interface, through which serial data from the interface is transmitted to the control element;
Comprising
The control element is
First transmission means for transmitting a control signal to the interface via the third signal line;
In response to the transmission by the first transmission means, data indicating a communication method or the like is transmitted via the first signal line in synchronization with a synchronous clock supplied from the interface via the second signal line. Second transmission means for transmitting
In response to transmission by the first transmission means, transmission data is transmitted via the first signal line in synchronization with a synchronous clock supplied from the interface via the second signal line. 3 transmission means,
The above interface
Fourth transmission means for transmitting a synchronous clock to the control element via the second signal line based on a control signal supplied from the control element via the third signal line;
Receiving means for receiving data indicating a communication method or the like supplied from the control element via the first signal line based on the synchronous clock transmitted by the fourth transmitting means ;
Setting means for setting a communication method for performing communication with the wireless card based on data indicating the communication method received by the receiving unit;
A fifth transmission means for transmitting transmission data supplied from the control element via the first signal line to the wireless card based on a communication method set by the setting means;
The received data received from the wireless card based on the communication method set by the setting means is controlled via the first signal line based on the synchronous clock transmitted by the fourth transmitting means. Comprising sixth transmitting means for transmitting to the element,
A reader / writer unit.
上記制御素子と上記インターフェースとの間に設けられ、上記制御素子からのシリアルデータが上記インターフェースに伝送される第1の信号線と、
上記制御素子と上記インターフェースとの間に設けられ、上記インターフェースからの同期クロックが上記制御素子に伝送される第2の信号線と、
上記制御素子と上記インターフェースとの間に設けられ、上記制御素子からのコントロール信号が上記インターフェースに伝送される第3の信号線とを具備し、
上記インターフェースが、
上記制御素子から上記第3の信号線を介して供給されるコントロール信号に基づいて、上記第2の信号線を介して上記制御素子へ同期クロックを送信する送信手段と、
この送信手段により送信される同期クロックに基づいて、第1の通信速度で通信される上記制御素子から上記第1の信号線を介して供給される通信方式などを示すデータを受付ける受付手段と、
この受付手段により受付けた通信方式などを示すデータにより、上記無線カードとの通信を行うための通信方式などを設定する設定手段と、
この設定手段により設定される通信方式などに基づいて、上記無線カードとの通信を上記第1の通信速度よりも遅い速度で行う処理手段とからなる、
ことを特徴とするリーダライタユニット。In a reader / writer unit that exchanges data with a wireless card and consists of an interface that can handle various communication methods and a control element that controls the entire system.
A first signal line provided between the control element and the interface, through which serial data from the control element is transmitted to the interface;
A second signal line provided between the control element and the interface, and a synchronous clock from the interface is transmitted to the control element;
A third signal line provided between the control element and the interface for transmitting a control signal from the control element to the interface;
The above interface
Transmission means for transmitting a synchronous clock to the control element via the second signal line based on a control signal supplied from the control element via the third signal line;
Accepting means for accepting data indicating a communication method or the like supplied via the first signal line from the control element communicated at the first communication speed based on the synchronous clock transmitted by the transmitting means;
Setting means for setting a communication method for performing communication with the wireless card based on data indicating the communication method received by the receiving unit;
Based on the communication method set by the setting means, the processing means is configured to perform communication with the wireless card at a speed slower than the first communication speed.
A reader / writer unit.
上記制御素子と上記インターフェースとの間に設けられ、上記制御素子からのシリアルデータが上記インターフェースに伝送される第1の信号線と、
上記制御素子と上記インターフェースとの間に設けられ、上記インターフェースからの同期クロックが上記制御素子に伝送される第2の信号線と、
上記制御素子と上記インターフェースとの間に設けられ、上記制御素子からのコントロール信号が上記インターフェースに伝送される第3の信号線とを具備し、
上記インターフェースが、
上記制御素子から上記第3の信号線を介して供給されるコントロール信号に基づいて、上記第2の信号線を介して上記制御素子へ同期クロックを送信する送信手段と、
この送信手段により送信される同期クロックに基づいて、上記制御素子から上記第1の信号線を介して供給される通信方式などを示すデータを受付ける受付手段と、
この受付手段により受付けた通信方式などを示すデータにより、上記無線カードとの通信を行うための通信方式などを設定する設定手段と、
この設定手段により設定される通信方式などと上記同期クロックよりも低い周波数のクロックとに基づいて、上記無線カードとの通信を行う処理手段とからなる、
ことを特徴とするリーダライタユニット。In a reader / writer unit that exchanges data with a wireless card and consists of an interface that can handle various communication methods and a control element that controls the entire system.
A first signal line provided between the control element and the interface, through which serial data from the control element is transmitted to the interface;
A second signal line provided between the control element and the interface, and a synchronous clock from the interface is transmitted to the control element;
A third signal line provided between the control element and the interface for transmitting a control signal from the control element to the interface;
The above interface
Transmission means for transmitting a synchronous clock to the control element via the second signal line based on a control signal supplied from the control element via the third signal line;
Accepting means for accepting data indicating a communication method or the like supplied from the control element via the first signal line based on the synchronous clock transmitted by the transmitting means;
Setting means for setting a communication method for performing communication with the wireless card based on data indicating the communication method received by the receiving unit;
Based on a communication method set by the setting means and a clock having a frequency lower than the synchronous clock, the processing means performs communication with the wireless card.
A reader / writer unit.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP19645899A JP4413321B2 (en) | 1999-07-09 | 1999-07-09 | Reader / writer unit |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP19645899A JP4413321B2 (en) | 1999-07-09 | 1999-07-09 | Reader / writer unit |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2001022900A JP2001022900A (en) | 2001-01-26 |
| JP4413321B2 true JP4413321B2 (en) | 2010-02-10 |
Family
ID=16358153
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP19645899A Expired - Fee Related JP4413321B2 (en) | 1999-07-09 | 1999-07-09 | Reader / writer unit |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP4413321B2 (en) |
-
1999
- 1999-07-09 JP JP19645899A patent/JP4413321B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JP2001022900A (en) | 2001-01-26 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US5862354A (en) | Universal asynchronous receiver/transmitter (UART) slave device containing an identifier for communication on a one-wire bus | |
| US7512726B2 (en) | Reconfigurable flash media reader system | |
| EP0409241B1 (en) | Ic card with additional terminals and method of controlling the ic card | |
| US5778195A (en) | PC card | |
| US6658493B1 (en) | Microcomputer exchanging data with host computer | |
| JPH08227444A (en) | IC card reader / writer | |
| EP0529887A2 (en) | Bidirectional parallel protocol | |
| JPH0217753A (en) | Integrated modem operated without exclusive controller | |
| CA1147865A (en) | Message interchange system among microprocessors connected by a synchronous transmitting means | |
| US5564061A (en) | Reconfigurable architecture for multi-protocol data communications having selection means and a plurality of register sets | |
| JPH1173479A (en) | Chip card reader equipped with high-speed communication protocol | |
| US20030217213A1 (en) | Method and apparatus for implementing chip-to-chip interconnect bus initialization | |
| JP4413321B2 (en) | Reader / writer unit | |
| US20050060458A1 (en) | Method and apparatus for sharing a device among multiple CPU systems | |
| WO1985003147A1 (en) | Generic communications terminal | |
| JPH01188060A (en) | Automatic transmission speed setting system for stepping synchronous transmission | |
| EP0829095B1 (en) | Method and apparatus for reducing latency time on an interface by overlapping transmitted packets | |
| TW202427205A (en) | Microcontroller and serial peripheral interface system using the same | |
| KR20010074800A (en) | Interface circuit and method for transferring data between a serial interface and a processor | |
| KR950004949B1 (en) | High speed transceiving circuit in keyphone system | |
| JP3673770B2 (en) | Data processing method in IC card reader / writer and IC card reader / writer | |
| KR100295683B1 (en) | General call acknowledge apparatus and method for inter-integrated circuit | |
| JP2623816B2 (en) | Signal transmission method | |
| JP3395600B2 (en) | Data transfer device | |
| KR100531729B1 (en) | Apparatus for interface pheriperal device with PC using parallel port and method thereof |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20060710 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20090728 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20090804 |
|
| A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20091005 |
|
| TRDD | Decision of grant or rejection written | ||
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20091027 |
|
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20091118 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20121127 Year of fee payment: 3 |
|
| R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20131127 Year of fee payment: 4 |
|
| LAPS | Cancellation because of no payment of annual fees |