JP2004328483A - Connection method and circuit for data module - Google Patents

Connection method and circuit for data module Download PDF

Info

Publication number
JP2004328483A
JP2004328483A JP2003122101A JP2003122101A JP2004328483A JP 2004328483 A JP2004328483 A JP 2004328483A JP 2003122101 A JP2003122101 A JP 2003122101A JP 2003122101 A JP2003122101 A JP 2003122101A JP 2004328483 A JP2004328483 A JP 2004328483A
Authority
JP
Japan
Prior art keywords
data module
terminal
uart
txd
control device
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
Application number
JP2003122101A
Other languages
Japanese (ja)
Inventor
Hirotoshi Ishitobi
裕才 石飛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Alps Alpine Co Ltd
Original Assignee
Alps Electric Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Alps Electric Co Ltd filed Critical Alps Electric Co Ltd
Priority to JP2003122101A priority Critical patent/JP2004328483A/en
Publication of JP2004328483A publication Critical patent/JP2004328483A/en
Withdrawn legal-status Critical Current

Links

Images

Landscapes

  • Communication Control (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a data module connection circuit capable of connecting a data module with a control unit of a terminal device at low cost and to prevent the shortage of UART resources in hardware, used at the control unit of the terminal device, etc. <P>SOLUTION: A UART-switch control circuit 14 is provided between TXD and RXD terminals of UART1 and TXD and RXD terminals of UART2 in a CDMA data module 11 and TXD and RXD terminals of UART1, in a control unit 12 of a terminal device. The UART-switching control circuit 14 selectively connects the TXD and RXD terminals of UART1 in the control unit 12 of the terminal device with the TXD and RXD terminals of UART1 or with the TXD and RXD terminals of UART2 in the CDMA data module 11, according to a UART-switching control signal from the control unit 12 of the terminal device. <P>COPYRIGHT: (C)2005,JPO&NCIPI

Description

【0001】
【発明の属する技術分野】
本発明は、データモジュールの接続方法及び接続回路に係り、特に、CDMA回線に接続するモデム等のデータモジュールとPC等の端末との接続に使用して好適なデータモジュールの接続方法及び接続回路に関する。
【0002】
【従来の技術】
近年、PC等の端末をモデム等のデータモジュールを介して通信回線に接続し、PC等の端末を通信回線を介して外部装置に接続して使用する形態のシステムが多くなってきている。この種のシステムは、モデムと端末とをRS232Cと呼ばれるシリアルインタフェースの一種であるUARTにより接続し、PCが、モデム、通信回線を介して通信回線の先に接続されている通信相手との通信を行ったり、PCとモデムとの間で制御信号の授受を行ったりすることができる。
【0003】
図4は固定電話回線に接続可能なモデム等のデータモジュールが取ることができるモードを説明する図である。固定電話回線に接続するデータモジュールが取ることができるモードとしては、図に示すように、オフラインモード(Off Line Mode)と、オンラインモード(On Line Mode)と、オンラインコマンドモード(On Line Comand Mode)との3つのモードがある。オフラインモードは、電源投入直後等で、何の機能を行っていない状態である。そして、このモードにおいて、データモジュールに接続されている端末からUARTを介してATDコマンドによる発呼を行って、回線接続を確立した後にオンラインモードとなり、端末は、通信回線を介して通信回線の先に接続されている通信相手との通信を行うことが可能となる。
【0004】
オンラインモードの状態で端末からデータモジュールに対してATコマンド等を送信しようとする場合、すなわち、端末とデータモジュールとの間で制御信号等の授受を行おうとする場合、+++コマンドを送信する。これにより、データモジュールは、オンラインコマンドモードとなり、PCとモデムとの間で制御信号の授受を行うことが可能となり、例えば、PCとモデムとの間でATコマンド等を用いたデータの送受を行うことができる。
【0005】
オンラインコマンドモードの状態で、TATコマンド等を送信すれば、データモジュールは、再びオンラインモードに移行する。また、オンラインコマンドモード、オンラインモードの状態で、DTR信号をディセーブルすることにより、データモジュールをオフラインモードに移行させることができる。
【0006】
前述で説明したように、固定電話回線に接続するデータモジュールは、3つのモードを備えて、PC等の端末が、データモジュール、通信回線を介して通信回線の先に接続されている通信相手との通信を行ったり、PCとデータモジュールとの間で制御信号の授受を行ったりすることができる。
【0007】
最近、CDMAデータモジュールを使用して、PC等の端末を無線通信回線を介して外部と接続する形態のシステムも運用されるようになっている。
【0008】
図5はCDMAによる無線通信回線に接続可能なCDMAデータモジュールが取ることができるモードを説明する図である。
【0009】
CDMAデータモジュールは、図に示すようにオフラインモードと、オンラインモードとの2つのモードしか取ることができない。そして、このオフラインモードにおいて、データモジュールに接続されている端末からATDコマンドによる発呼を行って、回線接続を確立した後にオンラインモードとなり、端末は、通信回線を介して通信回線の先に接続されている通信相手との通信を行うことが可能なパケットデータ通信モードとなる。しかし、CDMAデータモジュールは、固定電話回線に接続するデータモジュールの場合のように、オンラインモード時に、+++コマンドを発してオンラインコマンドモードに移行する仕様を備えていないため、オンラインモードとなった後には、PPPパケットデータのみの授受を行うことができるだけで、ATコマンド等を受け付けることができない。
【0010】
このため、従来、CDMAデータモジュールは、UART1、UART2の2つのインタフェースを設け、PPPパケットの授受をUART1を用いて行い、無線リンク確立後にデータモジュールと端末との間でのデータの授受、例えば、端末が受信電力(アンテナ本数の表示)、送信電力等のCDMAデータモジュール内のリアルタイム情報を取得する必要がある場合、UART2を用いて行うようにされている。
【0011】
図6は前述したような従来技術によるCDMAデータモジュールと端末とを接続するインタフェース回路を説明する図である。図6において、11はCDMAデータモジュール、12は端末の制御装置である。
【0012】
図6に示すように、CDMAデータモジュール11と端末の制御装置12との間を接続するインタフェースは、UART1及びUART2の2組のインタフェースにより構成されている。UART1インタフェースは、DTR(データターミナルレディー)、DSR(データセットレディー)、RI(リング)、DCD(データキャリアディテクト)、RTS(リングトゥセンド)、CTS(クリアトゥセンド)、TXD(データ送信)、RXD(データ受信)及び接地の各インタフェースにより構成される。また、UART2インタフェースは、TXD(データ送信)及びRXD(データ受信)のインタフェースにより構成されている。
【0013】
そして、UART1インタフェースは、RTS/CTSのフロー制御を行っているが、UART2インタフェースは、フロー制御を行っていない。また、UART1インタフェースは、オフラインモードでATコマンドの処理、パケット通信時にPPPデータ(HDLCパケット)の授受を行っている。
【0014】
また、CDMAデータモジュール11と端末の制御装置12との間は、電源ライン及び電源を制御するラインにより接続されるが、それらは、本発明と直接関連するものではないので、説明を省略する。
【0015】
なお、UARTインタフェースを使用する無線通信に関する従来技術として、例えば、特許文献1等に記載された技術が知られている。
【0016】
【特許文献1】
特開平11−355848号公報
【0017】
【発明が解決しようとする課題】
前述したように、従来技術によるCDMAモジュールは、インタフェースとして、UART1、UART2の2つのインタフェースを備えるため、端末等がこのCDMAモジュールを使用するシステムは、端末等の制御装置にUART入出力デバイスを2組用意するする必要があり、このため、UART回路とコネクタピンとを2組設けなければならず、そのための費用が余分に必要となるという問題点を有している。また、端末の制御装置に使用されるハードウェアの構成によっては、ハードウェア内のUARTリソースの2組をCDMAデータモジュール側に割り当てることができない場合があるという問題点を有している。
【0018】
本発明の目的は、前述した従来技術の問題点を解決し、端末等の制御装置にUART入出力デバイスを1組設けるだけで、データモジュールの2組のUARTインタフェースを使用可能とし、コストの低減を図ることを可能としたデータモジュールの接続方法及び接続回路を提供することにある。
【0019】
【課題を解決するための手段】
本発明によれば前記目的は、2組のUARTインタフェース有し、CDMA回線への接続を行うデータモジュールと端末に設けられ1組のUARTインタフェースを有する制御装置とを接続するデータモジュールの接続方法において、端末の制御装置からのUART切り替え制御信号により、端末の制御装置のUARTインタフェースのTXD、RXDの端子を、データモジュールにおける2組のUARTのTXD、RXDの端子の一方の組の端子に選択的に接続することにより達成される。
【0020】
また、前記目的は、前記データモジュールにおける2組のUARTインタフェースの一方が、前記端末の制御装置が前記データモジュール、通信回線を介した通信のためのインタフェースであり、他方が、前記端末の制御装置と前記データモジュールとが制御信号の授受を行うためのインタフェースであることにより達成される。
【0021】
さらに、前記目的は、2組のUARTインタフェース有し、CDMA回線への接続を行うデータモジュールと端末に設けられ1組のUARTインタフェースを有する制御装置とを接続するデータモジュールの接続回路において、前記データモジュールの2組のUARTインタフェースのそれぞれのTXD、RXDの端子と、前記端末の制御装置のUARTインタフェースのTXD、RXDの端子との間にUART切り替え制御回路を備え、該UART切り替え制御回路が、端末の制御装置からのUART切り替え制御信号により、端末の制御装置のUARTインタフェースのTXD、RXDの端子を、データモジュールにおける2組のUARTのTXD、RXDの端子の一方の組の端子に選択的に接続することにより達成される。
【0022】
【発明の実施の形態】
以下、本発明によるデータモジュールと端末との接続方法及び回路の実施形態を図面により詳細に説明する。
【0023】
図1は本発明が前提とするプロトコルシーケンスについて説明する図であり、本発明の実施形態を説明する前に、まず、図1により、本発明が前提とするプロトコルシーケンスについて説明する。
【0024】
従来技術の欄で説明したように、UART1インタフェースは、RTS/CTSのフロー制御を行っているが、UART2インタフェースは、フロー制御を行っていない。また、UART1インタフェースは、オフラインモードでATコマンドの処理、パケット通信時にPPPデータ(HDLCパケット)の授受を行っている。そして、UART1インタフェースでのATコマンド及びPPPパケットのプロトコルシーケンスは、図1に示すように、1つのコマンド送信(Request Packet)に対して、そのコマンドに対するレスポンス受信(Response Packet)で完結するシーケンスである。例えば、ATコマンドにより発呼を行う際、ATD####コマンドの送信に対して、必ずOKやCONNETのレスポンスを受けることになる。
【0025】
前述したように本発明が前提とするプロトコルシーケンスは、1つのコマンド送信に対して、そのコマンドに対するレスポンス受信で完結するプロトコルシーケンスであり、複数のコマンド送信に対して、それらのコマンドに対するレスポンスが順不同で得られるようなプロトコルシーケンスではない。
【0026】
図2は本発明の一実施形態でのCDMAデータモジュールと端末とを接続するインタフェース回路を説明する図、図3は本発明の一実施形態でのプロトコルシーケンスの例について説明する図である。図2において、13はUART切り替え制御回路、14〜17はゲート回路であり、他の符号は図6の場合と同一である。
【0027】
図2に示す本発明の実施形態でのCDMAデータモジュール11と端末の制御装置12との間を接続するインタフェースは、図6を参照して説明した従来技術におけるCDMAデータモジュール11におけるUART1のTXD、RXDの端子及びUART2のTXD、RXDの端子と、端末の制御装置12におけるUART1のTXD、RXDの端子との間にUART切り替え制御回路14を設けて構成される。そして、端末の制御装置12にUART切り替え制御回路14内の複数のゲート回路を制御するUART切り替え制御信号を出力する端子を設け、端末の制御装置12のUART1のTXD、RXDの端子を、CDMAデータモジュール11におけるUART1のTXD、RXDの端子またはUART2のTXD、RXDの端子に選択的に接続可能としたものである。
【0028】
UART切り替え制御回路14は、CDMAデータモジュール11におけるUART1のTXD、RXDの端子を端末の制御装置12のUART1のTXD、RXDの端子に接続するゲート回路14、15と、CDMAデータモジュール11におけるUART2のTXD、RXDの端子を端末の制御装置12のUART1のTXD、RXDの端子に接続するゲート回路16、17とを備えて構成される。そして、ゲート回路14、15と、ゲート回路16、17とは、端末の制御装置12から出力される“1”、“0”のUART切り替え制御信号により排他的に、すなわち、これらの一方がCDMAデータモジュール11と端末の制御装置12とを接続しているとき、他方は、接続を遮断するように制御される。
【0029】
次に、前述したように構成されるインタフェースを持つCDMAデータモジュール11と端末の制御装置12との間での通信におけるプロトコルシーケンスの例を図3を参照して説明する。
【0030】
いま、端末の制御装置12が、UART切り替え信号によりUART切り替え制御回路13を端末の制御装置12のUART1のTXD、RXDの端子をCDMAデータモジュールのUART1のTXD、RXDの端子に接続(シーケンス301)し、UART1のRTS信号をイネーブルとし、UART1用のボーレートに変更し、CDMAデータモジュールのUART1を使用して、PPPリクエストパケットデータを送信(シーケンス302)し、そのレスポンス(応答)パケットを受信(シーケンス303)したものとする。
【0031】
前述の時点で、端末の制御装置12が、CDMAデータモジュール11のUART2を使用して、特殊モニタコマンド通信を行おうとするものとする。この場合、端末の制御装置12は、まず、UART切り替え信号によりUART切り替え制御回路13を端末の制御装置12のUART1のTXD、RXDの端子をCDMAデータモジュールのUART2のTXD、RXDの端子に接続(シーケンス304)し、UART1のRTS信号をディセーブルとし、UART2用のボーレートを、例えば、UART2用の115.2Kbpsに変更する。これにより、CDMAデータモジュール11からの送信要求が禁止状態にされ、以後、CDMAデータモジュール11は、端末の制御装置12のUART1によるPPPパケットデータ送信を保留する。
【0032】
次に、端末の制御装置12は、CDMAデータモジュール11のUART2に対して、特殊モニタコマンドを使用して各種リアルタイムモニタ情報を取得する。図示例では、モニタ特殊リクエストパケット1の送信とこれに対するレスポンスパケット1の受信(シーケンス305、306)、それに続くモニタ特殊リクエストパケット2の送信とこれに対するレスポンスパケット2の受信(シーケンス307、308)を示している。
【0033】
その後、再び、UART切り替え制御信号をUART1側に切り替えた後に、UART1のRTS制御線をイネーブル状態にすることにより、CDMAデータモジュール11のUART1からPPPパケットデータの送信が、前述したシーケンス301〜303の場合と同様に可能となる(シーケンス309〜313)。
【0034】
前述した本発明の実施形態によれば、端末等の制御装置にUART入出力デバイスを1組設けるだけで、データモジュールの2組のUARTインタフェースを使用可能とし、コストの低減を図ることができ、また、端末等の制御装置に使用されるハードウェア内でUARTリソースが足りなくなるようなことを防止することができる。
【0035】
【発明の効果】
以上説明したように本発明によれば、データモジュールと端末の制御装置と接続を、低コストで行うことができ、端末等の制御装置に使用されるハードウェア内でUARTリソースが足りなくなるようなことを防止することができる。
【図面の簡単な説明】
【図1】本発明が前提とするプロトコルシーケンスについて説明する図である。
【図2】本発明の一実施形態でのCDMAデータモジュールと端末とを接続するインタフェース回路を説明する図である。
【図3】本発明の一実施形態でのプロトコルシーケンスの例について説明する図である。
【図4】固定電話回線に接続可能なモデム等のデータモジュールが取ることができるモードを説明する図である。
【図5】CDMAによる無線通信回線に接続可能なCDMAデータモジュールが取ることができるモードを説明する図である。
【図6】前述したような従来技術によるCDMAデータモジュールと端末とを接続するインタフェース回路を説明する図である。
【符号の説明】
11 CDMAデータモジュール
12 端末の制御装置
13 UART切り替え制御回路
14〜17 ゲート回路
[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to a data module connection method and connection circuit, and more particularly to a data module connection method and connection circuit suitable for connection between a data module such as a modem connected to a CDMA line and a terminal such as a PC. .
[0002]
[Prior art]
2. Description of the Related Art In recent years, there has been an increasing number of systems in which a terminal such as a PC is connected to a communication line via a data module such as a modem, and a terminal such as a PC is connected to an external device via the communication line for use. In this type of system, a modem and a terminal are connected by a UART that is a type of serial interface called RS232C, and a PC communicates with a communication partner connected to a communication line via a modem and a communication line. Or a control signal can be exchanged between the PC and the modem.
[0003]
FIG. 4 is a diagram for explaining modes that can be set by a data module such as a modem connectable to a fixed telephone line. As shown in the drawing, the modes that can be taken by the data module connected to the fixed telephone line are an offline mode (Off Line Mode), an online mode (On Line Mode), and an online command mode (On Line Command Mode). There are three modes: The offline mode is a state in which no function is performed, for example, immediately after the power is turned on. In this mode, the terminal connected to the data module makes a call using an ATD command via the UART and establishes the line connection, and then enters the online mode, and the terminal connects to the end of the communication line via the communication line. It is possible to perform communication with a communication partner connected to.
[0004]
When transmitting an AT command or the like from the terminal to the data module in the online mode, that is, when transmitting or receiving a control signal or the like between the terminal and the data module, a +++ command is transmitted. As a result, the data module enters the online command mode, and can transmit and receive control signals between the PC and the modem. For example, data is transmitted and received between the PC and the modem using an AT command or the like. be able to.
[0005]
If a TAT command or the like is transmitted in the online command mode, the data module shifts to the online mode again. Further, by disabling the DTR signal in the online command mode and the online mode, the data module can be shifted to the offline mode.
[0006]
As described above, the data module connected to the fixed telephone line has three modes, and a terminal such as a PC communicates with a communication partner connected to the end of the communication line via the data module and the communication line. , And exchange of control signals between the PC and the data module.
[0007]
Recently, a system in which a terminal such as a PC is connected to the outside via a wireless communication line using a CDMA data module has been operated.
[0008]
FIG. 5 is a diagram illustrating modes that can be taken by a CDMA data module that can be connected to a wireless communication line by CDMA.
[0009]
The CDMA data module can take only two modes, an offline mode and an online mode, as shown in the figure. In this offline mode, the terminal connected to the data module makes a call using an ATD command to establish a line connection, and then enters the online mode. The terminal is connected to the end of the communication line via the communication line. This is the packet data communication mode in which communication can be performed with the communication partner. However, since the CDMA data module does not have a specification to issue a +++ command and shift to the online command mode in the online mode as in the case of the data module connected to the fixed telephone line, the CDMA data module is not provided after the online mode. , Only the PPP packet data can be exchanged, and AT commands and the like cannot be accepted.
[0010]
For this reason, conventionally, a CDMA data module is provided with two interfaces, UART1 and UART2, performs transmission and reception of PPP packets using UART1, and transmits and receives data between the data module and the terminal after a wireless link is established. When the terminal needs to acquire real-time information in the CDMA data module such as the reception power (display of the number of antennas) and the transmission power, the UART2 is used to perform this.
[0011]
FIG. 6 is a diagram illustrating an interface circuit for connecting a CDMA data module and a terminal according to the related art as described above. In FIG. 6, reference numeral 11 denotes a CDMA data module, and reference numeral 12 denotes a terminal control device.
[0012]
As shown in FIG. 6, the interface connecting between the CDMA data module 11 and the control device 12 of the terminal includes two sets of interfaces UART1 and UART2. The UART1 interface includes DTR (data terminal ready), DSR (data set ready), RI (ring), DCD (data carrier detect), RTS (ring to send), CTS (clear to send), TXD (data transmission), It is composed of RXD (data reception) and ground interfaces. The UART2 interface is composed of a TXD (data transmission) and an RXD (data reception) interface.
[0013]
The UART1 interface performs RTS / CTS flow control, but the UART2 interface does not perform flow control. The UART1 interface processes an AT command in the offline mode and exchanges PPP data (HDLC packet) during packet communication.
[0014]
Further, the CDMA data module 11 and the control device 12 of the terminal are connected by a power supply line and a line for controlling the power supply, but they are not directly related to the present invention, and therefore, the description is omitted.
[0015]
As a conventional technique related to wireless communication using a UART interface, for example, a technique described in Patent Document 1 or the like is known.
[0016]
[Patent Document 1]
JP 11-355848 A
[Problems to be solved by the invention]
As described above, the CDMA module according to the related art has two interfaces, UART1 and UART2, as interfaces. Therefore, a system in which a terminal or the like uses this CDMA module requires two UART input / output devices for a control device such as a terminal. It is necessary to prepare a set, and therefore, two sets of the UART circuit and the connector pin must be provided, and there is a problem that extra cost is required. Further, depending on the configuration of hardware used for the control device of the terminal, there is a problem that two sets of UART resources in the hardware cannot be allocated to the CDMA data module side.
[0018]
SUMMARY OF THE INVENTION An object of the present invention is to solve the above-described problems of the prior art, and to provide a UART input / output device in a control device such as a terminal so that two UART interfaces of a data module can be used, thereby reducing costs. It is an object of the present invention to provide a connection method and a connection circuit of a data module, which can realize the following.
[0019]
[Means for Solving the Problems]
According to the present invention, the object is to provide a method for connecting a data module having two sets of UART interfaces for connecting to a CDMA line and a control device provided in a terminal and having one set of UART interfaces. In response to a UART switching control signal from the terminal control device, the terminal of the UART interface of the terminal control device is selectively connected to one of the two sets of TXD and RXD terminals of the two UARTs in the data module. This is achieved by connecting to
[0020]
Also, the object is that one of the two sets of UART interfaces in the data module is an interface for the control device of the terminal to communicate via the data module and the communication line, and the other is a control device of the terminal. And the data module are interfaces for transmitting and receiving control signals.
[0021]
In addition, the object is to provide a data module connection circuit for connecting a data module having two sets of UART interfaces and connecting to a CDMA line and a control device provided in a terminal and having one set of UART interfaces. A UART switching control circuit is provided between the TXD and RXD terminals of each of the two sets of UART interfaces of the module and the TXD and RXD terminals of the UART interface of the control device of the terminal. Terminal of the UART interface of the control device of the terminal is selectively connected to the terminal of one of the two sets of TXD and RXD terminals of the UART in the data module by the UART switching control signal from the control device of the terminal. It is achieved by doing.
[0022]
BEST MODE FOR CARRYING OUT THE INVENTION
Hereinafter, embodiments of a method and a circuit for connecting a data module to a terminal according to the present invention will be described in detail with reference to the drawings.
[0023]
FIG. 1 is a diagram illustrating a protocol sequence assumed by the present invention. Before describing an embodiment of the present invention, a protocol sequence assumed by the present invention will be described first with reference to FIG.
[0024]
As described in the section of the related art, the UART1 interface performs RTS / CTS flow control, but the UART2 interface does not perform flow control. The UART1 interface processes an AT command in the offline mode and exchanges PPP data (HDLC packet) during packet communication. As shown in FIG. 1, the protocol sequence of the AT command and the PPP packet in the UART1 interface is a sequence completed for one command transmission (Request Packet) by receiving a response to the command (Response Packet). . For example, when an outgoing call is made by an AT command, an OK or CONNECT response is always received in response to the transmission of the ATD #### command.
[0025]
As described above, the protocol sequence presupposed by the present invention is a protocol sequence that is completed by receiving a response to a command for one command transmission, and the response to those commands is not random for a plurality of command transmissions. It is not a protocol sequence as obtained in
[0026]
FIG. 2 is a diagram illustrating an interface circuit for connecting a CDMA data module and a terminal according to an embodiment of the present invention, and FIG. 3 is a diagram illustrating an example of a protocol sequence according to an embodiment of the present invention. 2, 13 is a UART switching control circuit, 14 to 17 are gate circuits, and other symbols are the same as those in FIG.
[0027]
The interface connecting the CDMA data module 11 and the terminal control device 12 in the embodiment of the present invention shown in FIG. 2 is the TXD of the UART1 in the CDMA data module 11 in the prior art described with reference to FIG. The UART switching control circuit 14 is provided between the RXD terminal and the UART2 TXD and RXD terminals and the UART1 TXD and RXD terminal in the terminal control device 12. Then, a terminal for outputting a UART switching control signal for controlling a plurality of gate circuits in the UART switching control circuit 14 is provided in the terminal control device 12, and the TXD and RXD terminals of the UART1 of the terminal control device 12 are connected to the CDMA data. In the module 11, the UART1 can be selectively connected to the TXD and RXD terminals of the UART1 or to the TXD and RXD terminals of the UART2.
[0028]
The UART switching control circuit 14 includes gate circuits 14 and 15 for connecting the TXD and RXD terminals of the UART1 of the CDMA data module 11 to the TXD and RXD terminals of the UART1 of the terminal control device 12, and the UART2 of the CDMA data module 11. Gate circuits 16 and 17 are provided for connecting the terminals of TXD and RXD to the terminals of TXD and RXD of UART1 of the control device 12 of the terminal. The gate circuits 14 and 15 and the gate circuits 16 and 17 are exclusively controlled by a UART switching control signal of “1” or “0” output from the control device 12 of the terminal, that is, one of them is CDMA. When the data module 11 is connected to the control device 12 of the terminal, the other is controlled to cut off the connection.
[0029]
Next, an example of a protocol sequence in communication between the CDMA data module 11 having the interface configured as described above and the control device 12 of the terminal will be described with reference to FIG.
[0030]
Now, the terminal control device 12 connects the UART switching control circuit 13 with the UART1 TXD and RXD terminals of the terminal control device 12 to the UART1 TXD and RXD terminals of the CDMA data module by the UART switching signal (sequence 301). Then, the RTS signal of the UART1 is enabled, the baud rate for the UART1 is changed, the PPP request packet data is transmitted (sequence 302) using the UART1 of the CDMA data module, and the response (response) packet is received (sequence). 303).
[0031]
At this point, it is assumed that the control device 12 of the terminal intends to perform the special monitor command communication using the UART2 of the CDMA data module 11. In this case, the control device 12 of the terminal first connects the UART switching control circuit 13 with the TXD and RXD terminals of the UART1 of the control device 12 of the terminal to the TXD and RXD terminals of the UART2 of the CDMA data module by a UART switching signal ( Sequence 304), the RTS signal of UART1 is disabled, and the baud rate for UART2 is changed to, for example, 115.2 Kbps for UART2. As a result, the transmission request from the CDMA data module 11 is disabled, and thereafter, the CDMA data module 11 suspends the PPP packet data transmission by the UART1 of the control device 12 of the terminal.
[0032]
Next, the control device 12 of the terminal acquires various real-time monitor information for the UART 2 of the CDMA data module 11 using a special monitor command. In the illustrated example, the transmission of the monitor special request packet 1 and the reception of the response packet 1 in response thereto (sequences 305 and 306), the subsequent transmission of the monitor special request packet 2 and the reception of the response packet 2 in response thereto (sequences 307 and 308). Is shown.
[0033]
After that, the UART switching control signal is again switched to the UART1 side, and then the RTS control line of the UART1 is enabled, so that the transmission of the PPP packet data from the UART1 of the CDMA data module 11 is performed in the above-described sequence 301 to 303. This becomes possible as in the case (sequences 309 to 313).
[0034]
According to the above-described embodiment of the present invention, by providing one set of UART input / output devices in a control device such as a terminal, two sets of UART interfaces of data modules can be used, and cost can be reduced. In addition, it is possible to prevent a shortage of UART resources in hardware used for a control device such as a terminal.
[0035]
【The invention's effect】
As described above, according to the present invention, the connection between the data module and the control device of the terminal can be performed at low cost, and the UART resources may be insufficient in the hardware used for the control device such as the terminal. Can be prevented.
[Brief description of the drawings]
FIG. 1 is a diagram for explaining a protocol sequence on which the present invention is based.
FIG. 2 is a diagram illustrating an interface circuit that connects a CDMA data module and a terminal according to an embodiment of the present invention.
FIG. 3 is a diagram illustrating an example of a protocol sequence according to an embodiment of the present invention.
FIG. 4 is a diagram illustrating modes that can be set by a data module such as a modem connectable to a fixed telephone line.
FIG. 5 is a diagram illustrating modes that a CDMA data module connectable to a wireless communication line using CDMA can take;
FIG. 6 is a diagram illustrating an interface circuit for connecting a CDMA data module and a terminal according to the related art as described above.
[Explanation of symbols]
11 CDMA Data Module 12 Terminal Control Device 13 UART Switching Control Circuits 14-17 Gate Circuit

Claims (3)

2組のUARTインタフェース有し、CDMA回線への接続を行うデータモジュールと端末に設けられ1組のUARTインタフェースを有する制御装置とを接続するデータモジュールの接続方法において、端末の制御装置からのUART切り替え制御信号により、端末の制御装置のUARTインタフェースのTXD、RXDの端子を、データモジュールにおける2組のUARTのTXD、RXDの端子の一方の組の端子に選択的に接続することを特徴とするデータモジュールの接続方法。In a method of connecting a data module having two sets of UART interfaces and connecting to a CDMA line and a control device provided in a terminal and having one set of UART interfaces, a UART switch from a control device of a terminal is provided. Data, characterized by selectively connecting the TXD and RXD terminals of the UART interface of the control device of the terminal to one of the two sets of TXD and RXD terminals of the UART in the data module by a control signal. Module connection method. 前記データモジュールにおける2組のUARTインタフェースの一方は、前記端末の制御装置が前記データモジュール、通信回線を介した通信のためのインタフェースであり、他方は、前記端末の制御装置と前記データモジュールとが制御信号の授受を行うためのインタフェースであることを特徴とする請求項1記載のデータモジュールの接続方法。One of the two sets of UART interfaces in the data module is an interface for the terminal control device to communicate with the data module via a communication line, and the other is a communication between the terminal control device and the data module. 2. The method according to claim 1, wherein the interface is an interface for transmitting and receiving a control signal. 2組のUARTインタフェース有し、CDMA回線への接続を行うデータモジュールと端末に設けられ1組のUARTインタフェースを有する制御装置とを接続するデータモジュールの接続回路において、前記データモジュールの2組のUARTインタフェースのそれぞれのTXD、RXDの端子と、前記端末の制御装置のUARTインタフェースのTXD、RXDの端子との間にUART切り替え制御回路を備え、該UART切り替え制御回路は、端末の制御装置からのUART切り替え制御信号により、端末の制御装置のUARTインタフェースのTXD、RXDの端子を、データモジュールにおける2組のUARTのTXD、RXDの端子の一方の組の端子に選択的に接続することを特徴とするデータモジュールの接続回路。In a data module connection circuit for connecting a data module having two sets of UART interfaces and connecting to a CDMA line and a control device provided in a terminal and having one set of UART interfaces, two sets of UARTs of the data modules are provided. A UART switching control circuit is provided between the respective TXD and RXD terminals of the interface and the TXD and RXD terminals of the UART interface of the control device of the terminal. The switching control signal selectively connects the TXD and RXD terminals of the UART interface of the control device of the terminal to one of two TXD and RXD terminals of the two UARTs in the data module. Connection circuit for data module.
JP2003122101A 2003-04-25 2003-04-25 Connection method and circuit for data module Withdrawn JP2004328483A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003122101A JP2004328483A (en) 2003-04-25 2003-04-25 Connection method and circuit for data module

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003122101A JP2004328483A (en) 2003-04-25 2003-04-25 Connection method and circuit for data module

Publications (1)

Publication Number Publication Date
JP2004328483A true JP2004328483A (en) 2004-11-18

Family

ID=33500444

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003122101A Withdrawn JP2004328483A (en) 2003-04-25 2003-04-25 Connection method and circuit for data module

Country Status (1)

Country Link
JP (1) JP2004328483A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9460813B2 (en) 2013-03-14 2016-10-04 Kabushiki Kaisha Toshiba Memory system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9460813B2 (en) 2013-03-14 2016-10-04 Kabushiki Kaisha Toshiba Memory system

Similar Documents

Publication Publication Date Title
US7401162B2 (en) Multi-functional port
US20020161844A1 (en) Method and apparatus for peer to peer communication over a master slave interface
CA2723657C (en) Router collaboration
US20100202358A1 (en) Processing apparatus and transmission method thereof
AU629759B2 (en) Multiplexed synchronous/asynchronous data bus
KR20040093228A (en) Dual band dual mode mobile terminal supporting diverse packet frame modes and supporting method therof
JP2004328483A (en) Connection method and circuit for data module
US20070130297A1 (en) Interface device, interface cable apparatus, and communication method and system having the same
KR100325323B1 (en) Local Digital Subscriber&#39;s Line; LDSL
JP4497584B2 (en) Interface device and button telephone system having the interface device
TW200818815A (en) Coexistence device communication
CN101360292A (en) Method and system implementing dual SIM card interchanging supported by single Bluetooth in mobile phone
JP2002094595A (en) Multilink method
EP1655865A2 (en) Data tranfer method using infrared data association
KR101475179B1 (en) The converter of wireless network switch based on ICMP and the method for conversion
CN116033404B (en) Multi-path Bluetooth-linked hybrid communication system and method
JP2003198567A (en) Mobile radio terminal device and communication network using the same
JP3807064B2 (en) Portable information terminal
KR20020056767A (en) Method and circuit for power supplyer of ip system in using lan cable in heb
KR20040107071A (en) Digital camera having bluetooth therein
KR200328928Y1 (en) Matching device between base station controller for mobile communication and personal computer
JP3601437B2 (en) PHS data communication system and PHS data communication protocol converter
JPH10336264A (en) Method for setting transmission rate automatically between personal computer and portable terminal
KR20040026793A (en) System, apparatus and method for connecting a mobile phone to a personal computer using wireless mode
JP4380500B2 (en) Communication device

Legal Events

Date Code Title Description
A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20060704