[go: up one dir, main page]

JP2009199106A - Interface circuit, electronic device having interface circuit, communication system and voltage switching method - Google Patents

Interface circuit, electronic device having interface circuit, communication system and voltage switching method Download PDF

Info

Publication number
JP2009199106A
JP2009199106A JP2008036811A JP2008036811A JP2009199106A JP 2009199106 A JP2009199106 A JP 2009199106A JP 2008036811 A JP2008036811 A JP 2008036811A JP 2008036811 A JP2008036811 A JP 2008036811A JP 2009199106 A JP2009199106 A JP 2009199106A
Authority
JP
Japan
Prior art keywords
voltage
interface
electronic device
switching
slave
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2008036811A
Other languages
Japanese (ja)
Inventor
Keisuke Sakai
敬介 坂井
Takaharu Yoshida
貴治 吉田
Masayuki Toyama
昌之 外山
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.)
Panasonic Corp
Original Assignee
Panasonic Corp
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 Panasonic Corp filed Critical Panasonic Corp
Priority to JP2008036811A priority Critical patent/JP2009199106A/en
Publication of JP2009199106A publication Critical patent/JP2009199106A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Power Sources (AREA)

Abstract

【課題】複数のインターフェース電圧から動作電圧を選択することができる通信システムにおいて、通信システムの動作中に、安定してインターフェース電圧の切り替え処理を行う。
【解決手段】スレーブ機器はホスト機器からのインターフェース電圧を下げる命令に応答して、インターフェース電圧を切り替えた後に、スレーブ機器はインターフェース回路が安定して動作することを判断し、ホスト機器にスレーブ機器のインターフェース回路の電圧切り替え完了を通知する。その際、スレーブ機器からホスト機器への通知は、既存のインターフェースに使用している信号線上で、常にホスト機器側の電圧を元にした信号レベルを保つ。また、ホスト機器はスレーブ機器のインターフェース電圧切り替えが完了した後に、ホスト側インターフェースの電圧切り替えを実施する。
【選択図】 図4
In a communication system capable of selecting an operation voltage from a plurality of interface voltages, the interface voltage switching process is stably performed during operation of the communication system.
In response to a command to lower the interface voltage from the host device, the slave device switches the interface voltage, and then the slave device determines that the interface circuit operates stably. Notify completion of voltage switching of interface circuit. At that time, the notification from the slave device to the host device always maintains the signal level based on the voltage on the host device side on the signal line used for the existing interface. In addition, the host device performs voltage switching of the host side interface after the interface voltage switching of the slave device is completed.
[Selection] Figure 4

Description

本発明は、複数のインターフェース電圧から動作電圧を選択することができる通信システムにおいて、ホスト機器およびスレーブ機器の動作中に安定かつ効率的にインターフェース電圧を切り替えることを可能とするインターフェース回路、該インターフェース回路を備えた電子機器、通信システム、及び電圧切り替え方法に関する。   The present invention provides an interface circuit capable of stably and efficiently switching an interface voltage during operation of a host device and a slave device in a communication system capable of selecting an operation voltage from a plurality of interface voltages, and the interface circuit The present invention relates to an electronic device including the above, a communication system, and a voltage switching method.

近年、フラッシュメモリ等の大容量の不揮発性記憶素子を備え、高速でのデータ処理が可能な例えばカード形状のSDカード、メモリースティックといったスレーブ機器が市場に普及し、パーソナルコンピュータ、PDA(Personal Digital Assistants)、携帯電話、デジタルカメラ、オーディオプレーヤ及びカーナビゲーションシステム等のスレーブ機器を使用可能なホスト機器にて利用されている。   In recent years, slave devices such as card-shaped SD cards and memory sticks, which have high-capacity nonvolatile memory elements such as flash memory and can process data at high speed, have become popular in the market. Personal computers and PDAs (Personal Digital Assistants) It is used in host devices that can use slave devices such as mobile phones, digital cameras, audio players, and car navigation systems.

また、最近、メモリ機能に加えて、例えば、無線LAN機能、Bluetooth(登録商標)規格に基づく無線通信等のネットワーク接続機能、GPS(Global Positioning System)を用いた位置計測機能、地上デジタルテレビジョン放送のワンセグ放送受信機能等の入出力機能を搭載したスレーブ機器も登場し、ホスト機器は、これらのスレーブ機器を接続して、スレーブ機器に搭載された機能を利用できる。   Recently, in addition to the memory function, for example, a wireless LAN function, a network connection function such as wireless communication based on the Bluetooth (registered trademark) standard, a position measurement function using GPS (Global Positioning System), terrestrial digital television broadcasting Slave devices equipped with input / output functions such as the one-segment broadcasting reception function have also appeared, and host devices can connect these slave devices and use the functions installed in the slave devices.

このようなホスト機器およびスレーブ機器を使用した通信システムでは、年々処理するデータ量が増加しており、ホスト機器とスレーブ機器間のインターフェースの速度の向上に対して、市場からの強い要望がある。一方、市場で普及している既存のインターフェースを継続し活用できるようインターフェースのコンパチビリティを保つことも市場からの非常に強い要望である。  In such a communication system using a host device and a slave device, the amount of data to be processed increases year by year, and there is a strong demand from the market for improving the interface speed between the host device and the slave device. On the other hand, it is also a very strong demand from the market to maintain interface compatibility so that existing interfaces that are popular in the market can be used continuously.

既存のインターフェース回路を活用し、インターフェースの処理速度を向上させる為には、インターフェース電圧を低減させることが有効である。   It is effective to reduce the interface voltage in order to improve the interface processing speed by utilizing the existing interface circuit.

従来の複数のインターフェース電圧から動作電圧を選択することができるホスト機器、およびスレーブ機器においては、ホスト機器とスレーブ機器間でインターフェース電圧の種類を示す判別キーが設けられ、ホスト機器がスレーブ機器のインターフェース電圧を検知した上で、スレーブ機器に対して、供給する電圧を切り替えることにより、インターフェース電圧を決定するという技術が使われている(例えば、特許文献1参照。)。
特開2002‐169631号公報
In conventional host devices and slave devices that can select an operating voltage from a plurality of interface voltages, a discrimination key that indicates the type of interface voltage between the host device and the slave device is provided, and the host device is an interface for the slave device. A technique is used in which the interface voltage is determined by switching the voltage supplied to the slave device after detecting the voltage (see, for example, Patent Document 1).
JP 2002-169631 A

しかしながら上記従来技術においては、インターフェース電圧を判別する為の専用端子がインターフェース電圧毎に必要であり、既にインターフェースの本数が決定している既存のインターフェース規格へ適用することが困難であるという問題があり、
また、スレーブ機器からの判別キーを検知することによりホスト機器がインターフェース電圧を決定するため、動作中にインターフェース電圧を切り替える場合においては、スレーブ機器のインターフェース電圧の切り替えが正常に完了したかどうかを判断する術がなく、通信システムの信頼性の確保が困難であるという課題があった。
However, in the above-described conventional technology, a dedicated terminal for determining the interface voltage is required for each interface voltage, and there is a problem that it is difficult to apply to the existing interface standard in which the number of interfaces has already been determined. ,
In addition, because the host device determines the interface voltage by detecting the discrimination key from the slave device, when switching the interface voltage during operation, it is determined whether the switching of the interface voltage of the slave device has been completed normally. There is a problem that it is difficult to ensure the reliability of the communication system.

さらに、従来の技術においてはホスト機器とスレーブ機器間のインターフェース電圧は、ホスト機器からスレーブ機器に供給される電圧と同レベルであることが前提であり、スレーブ機器の動作電圧を変えることなく、インターフェース回路だけの電圧を動作中に安定して切り替えるということが困難であるという課題があった。   Furthermore, in the conventional technology, the interface voltage between the host device and the slave device is premised on the same level as the voltage supplied from the host device to the slave device, and the interface voltage can be changed without changing the operating voltage of the slave device. There has been a problem that it is difficult to stably switch the voltage of only the circuit during operation.

本発明の目的は以上の問題点を解決し、ホスト機器とスレーブ機器間のインターフェース電圧のみの切り替え制御を既存のインターフェース規格と同本数で、かつ従来技術に比較して確実に実行することが可能なインターフェース回路、該インターフェース回路を備えた電子機器、通信システム、及び電圧切り替え方法を提供することにある。   The object of the present invention is to solve the above-mentioned problems, and to perform switching control of only the interface voltage between the host device and the slave device with the same number as the existing interface standard and more reliably than the conventional technology. An interface circuit, an electronic device including the interface circuit, a communication system, and a voltage switching method are provided.

第1の発明の係るインターフェース回路は、
少なくとも2つの電子機器の間で、前記少なくとも2つの電子機器のうち少なくとも1つがホスト機器となり、前記少なくとも2つの電子機器のうち少なくとも1つのスレーブ機器に対してマスタ−スレーブ方式の通信を行う通信システムにおいて前記スレーブ機器に備えられたインターフェース回路であって、
前記インターフェース回路は、
前記ホスト機器と前記スレーブ機器間のインターフェース電圧を下げる際に、前記スレーブ機器のインターフェース電圧切り替え中は、前記ホスト機器に対して切り替え前の電圧レベルでHレベルを出力し続ける手段と、
前記スレーブ機器のインターフェース電圧切り替え完了後にLレベルを出力する手段と、を備えたことを特徴とする。
The interface circuit according to the first invention is:
A communication system in which at least one of the at least two electronic devices serves as a host device between at least two electronic devices, and performs master-slave communication with at least one slave device of the at least two electronic devices. An interface circuit provided in the slave device,
The interface circuit is
Means for continuously outputting the H level at the voltage level before switching to the host device during the interface voltage switching of the slave device when lowering the interface voltage between the host device and the slave device;
Means for outputting an L level after completion of switching of the interface voltage of the slave device.

上記切り替え前の電圧レベルの保持のために、前記ホスト側電源に接続されたプルアップ抵抗を使用する手段を備えたことを特徴とする。   In order to maintain the voltage level before switching, means for using a pull-up resistor connected to the host-side power supply is provided.

電圧切り替えの完了後に、前記プルアップ抵抗を切断する手段を備えたことを特徴とする。
第2の発明に係る通信装置は、
第1の発明に記載のインターフェース回路を備えたことを特徴とする。
第三の発明に係るインターフェース回路は、
少なくとも2つの電子機器(ホスト機器とスレーブ機器)を接続して通信を行う通信システムにおいて前記ホスト機器に備えられたインターフェース回路であって、
前記インターフェース回路は、
前記ホスト機器と前記スレーブ機器間のインターフェース電圧を下げる際に、前記スレーブ機器のインターフェース電圧切り替え完了を検知する手段と、
前記スレーブ機器のインターフェース電圧切り替え完了後に前記ホスト機器のインターフェース電圧を切り替える手段と、
を備えたことを特徴とする。
第四の発明に係る通信装置は、
第三の発明に係るインターフェース回路を備えたことを特徴とする。
第五の発明に係る通信装置は、
第2の発明に係る電子機器と、第四の発明に係る電子機器と、を備えたことを特徴とする。
第六の発明に係る電圧切り替え方法は、
少なくとも2つの電子機器の間で、前記少なくとも2つの電子機器のうち少なくとも1つがホスト機器となり、前記少なくとも2つの電子機器のうち少なくとも1つのスレーブ機器に対してマスタ−スレーブ方式の通信を行う通信システムにおいて前記ホスト機器と前記スレーブ機器間のインターフェース電圧を下げる際に、
前記スレーブ機器のインターフェース電圧切り替え中は、前記スレーブ機器から前記ホスト機器に対して切り替え前の電圧レベルでHレベルを出力し続けるステップと、
前記スレーブ機器のインターフェース電圧切り替え完了後に前記スレーブ機器から前記ホスト機器へLレベルを出力するステップと、
前記スレーブ機器からのLレベルを検知し、前記ホスト機器のインターフェース電圧を切り替えるステップと
を含むことを特徴とする。
第七の発明に係るインターフェース回路は、
少なくとも2つの電子機器の間で、前記少なくとも2つの電子機器のうち少なくとも1つがホスト機器となり、前記少なくとも2つの電子機器のうち少なくとも1つのスレーブ機器に対してマスタ−スレーブ方式の通信を行う通信システムにおいて前記ホスト機器に備えられたインターフェース回路であって、
前記インターフェース回路は、
前記ホスト機器と前記スレーブ機器間のインターフェース電圧を上げる際に、前記ホスト機器のインターフェース電圧切り替え中は、前記スレーブ機器に対して切り替え前の電圧以上のレベルでHレベルを出力し続ける手段と、
前記ホスト機器のインターフェース電圧切り替え完了後にLレベルを出力する手段と、
を備えたことを特徴とする。
第八の発明に係る電子機器は、
第七の発明に係るインターフェース回路を備えたことを特徴とする。
第九の発明に係るインターフェース回路は、
少なくとも2つの電子機器の間で、前記少なくとも2つの電子機器のうち少なくとも1つがホスト機器となり、前記少なくとも2つの電子機器のうち少なくとも1つのスレーブ機器に対してマスタ−スレーブ方式の通信を行う通信システムにおいて前記スレーブ機器に備えられたインターフェース回路であって、
前記インターフェース回路は、
前記ホスト機器と前記スレーブ機器間のインターフェース電圧を上げる際に、前記ホスト機器のインターフェース電圧の切り替え中はLレベルを出力する手段と、
前記ホスト機器のインターフェース電圧切り替え完了を検知する手段と
前記ホスト機器のインターフェース電圧切り替え完了後に、前記スレーブ機器のインターフェース電圧を切り替える手段と、
前記スレーブ機器のインターフェース電圧切り替え完了後に切り替え後の電圧レベルでHレベルを出力する手段と、
を備えたことを特徴とする。
第十の発明に係る電子機器は、
第九の発明に係るのインターフェースを備えたことを特徴とする。
第十一の発明に係る通信システムは、
第八の発明に係る電子機器と、第十の発明に係る電子機器と、を備えたことを特徴とする。
第十二の発明に係る電圧切り替え方法は、
少なくとも2つの電子機器の間で、前記少なくとも2つの電子機器のうち少なくとも1つがホスト機器となり、前記少なくとも2つの電子機器のうち少なくとも1つのスレーブ機器に対してマスタ−スレーブ方式の通信を行う通信システムにおいて前記ホスト機器と前記スレーブ機器間のインターフェース電圧を上げる際に、
前記ホスト機器のインターフェース電圧の切り替え中は前記スレーブ機器からLレベルを出力するステップと、
前記ホスト機器より前記スレーブ機器に対して切り替え前の電圧以上のレベルでHレベルを出力し続けるステップと、
前記ホスト機器のインターフェース電圧切り替え完了後に前記スレーブ機器に対してLレベルを出力するステップと、
前記ホスト機器からのLレベルを検知し、前記スレーブ機器のインターフェース電圧切り替えを実施するステップと、
前記スレーブ機器のインターフェース電圧を切り替え完了後に切り替え後の電圧レベルでHレベルを出力するステップと
を含むことを特徴とする。
A means for disconnecting the pull-up resistor after completion of the voltage switching is provided.
A communication device according to the second invention is:
The interface circuit according to the first invention is provided.
An interface circuit according to a third invention is
An interface circuit provided in the host device in a communication system that performs communication by connecting at least two electronic devices (host device and slave device),
The interface circuit is
Means for detecting completion of interface voltage switching of the slave device when lowering the interface voltage between the host device and the slave device;
Means for switching the interface voltage of the host device after completion of the interface voltage switching of the slave device;
It is provided with.
A communication device according to a fourth invention is
An interface circuit according to the third invention is provided.
A communication device according to a fifth invention is
An electronic device according to the second invention and an electronic device according to the fourth invention are provided.
The voltage switching method according to the sixth invention is:
A communication system in which at least one of the at least two electronic devices serves as a host device between at least two electronic devices, and performs master-slave communication with at least one slave device of the at least two electronic devices. In reducing the interface voltage between the host device and the slave device in
During the interface voltage switching of the slave device, the slave device continues to output H level at the voltage level before switching from the slave device to the host device;
Outputting L level from the slave device to the host device after completion of interface voltage switching of the slave device;
Detecting an L level from the slave device and switching an interface voltage of the host device.
An interface circuit according to a seventh invention is
A communication system in which at least one of the at least two electronic devices serves as a host device between at least two electronic devices, and performs master-slave communication with at least one slave device of the at least two electronic devices. An interface circuit provided in the host device,
The interface circuit is
Means for continuously outputting an H level at a level equal to or higher than the voltage before switching to the slave device during the interface voltage switching of the host device when raising the interface voltage between the host device and the slave device;
Means for outputting L level after completion of interface voltage switching of the host device;
It is provided with.
An electronic device according to an eighth invention is
An interface circuit according to the seventh invention is provided.
An interface circuit according to a ninth invention is
A communication system in which at least one of the at least two electronic devices serves as a host device between at least two electronic devices, and performs master-slave communication with at least one slave device of the at least two electronic devices. In the interface circuit provided in the slave device,
The interface circuit is
Means for outputting an L level during switching of the interface voltage of the host device when raising the interface voltage between the host device and the slave device;
Means for detecting completion of interface voltage switching of the host device and means for switching interface voltage of the slave device after completion of interface voltage switching of the host device;
Means for outputting an H level at the voltage level after switching after completion of the interface voltage switching of the slave device;
It is provided with.
An electronic device according to a tenth invention is
An interface according to the ninth invention is provided.
A communication system according to the eleventh invention is
An electronic device according to an eighth invention and an electronic device according to the tenth invention are provided.
The voltage switching method according to the twelfth invention is
A communication system in which at least one of the at least two electronic devices serves as a host device between at least two electronic devices, and performs master-slave communication with at least one slave device of the at least two electronic devices. In raising the interface voltage between the host device and the slave device in
Outputting an L level from the slave device during switching of the interface voltage of the host device;
Continuing to output H level from the host device to the slave device at a level equal to or higher than the voltage before switching;
Outputting L level to the slave device after completion of interface voltage switching of the host device;
Detecting L level from the host device and switching the interface voltage of the slave device;
And outputting the H level at the voltage level after switching after the interface voltage of the slave device has been switched.

本発明にかかるインターフェース回路、該インターフェース回路を備えた電子機器、通信システム、及び電圧切り替え方法によれば、スレーブ機器はホスト機器からのインターフェース電圧変更命令に応答して、スレーブ機器のインターフェース電圧を切り替えた後、ホスト機器に電圧切り替え完了を通知する際、少なくとも2本以上の既存のインターフェースに使用している信号線上で、常にホスト機器側の電圧を元にした信号レベルでの通信が可能となるため、インターフェース電圧の切り替え制御を既存のインターフェース規格と同本数で、かつ従来技術と比較して時間の無駄なく確実に実行できる。   According to the interface circuit, the electronic device including the interface circuit, the communication system, and the voltage switching method according to the present invention, the slave device switches the interface voltage of the slave device in response to the interface voltage change command from the host device. After that, when notifying completion of voltage switching to the host device, communication at a signal level based on the voltage on the host device side is always possible on at least two signal lines used for existing interfaces. Therefore, the switching control of the interface voltage can be executed with the same number as that of the existing interface standard and without waste of time as compared with the prior art.

以下、本発明に係る実施形態について図面を参照して説明する。なお、以下の各実施形態において、同様の構成要素については同一の符号を付している。
(第1の実施の形態)
図1は、本発明の第1の実施の形態に係る通信システムの構成を示す図である。
図1において、1はデジタルカメラや携帯電話といった電子機器、2はメモリカードやI/Oカードといった入出力装置を持つ電子機器である。また電子機器1と電子機器2とは通信システムを構成し、電子機器2は電子機器1から電源線40を介して供給される電源で動作し、クロック信号52と二本の信号バス50、51を介して電子機器1をマスタ機器、電子機器2をスレーブ機器とするマスタ・スレーブ方式の通信を行う。
Hereinafter, embodiments according to the present invention will be described with reference to the drawings. In addition, in each following embodiment, the same code | symbol is attached | subjected about the same component.
(First embodiment)
FIG. 1 is a diagram showing a configuration of a communication system according to the first embodiment of the present invention.
In FIG. 1, 1 is an electronic device such as a digital camera or a mobile phone, and 2 is an electronic device having an input / output device such as a memory card or an I / O card. Further, the electronic device 1 and the electronic device 2 constitute a communication system, and the electronic device 2 operates with power supplied from the electronic device 1 via the power line 40, and the clock signal 52 and the two signal buses 50 and 51 are operated. The master / slave communication is performed using the electronic device 1 as a master device and the electronic device 2 as a slave device.

また、図1において電子機器1は、第一の電圧(例えば3.3V)を持つ電圧源10と、電圧源10から供給される第一の電圧から動作するレギュレータ11を有する。ここでレギュレータ11は電圧源10から供給される第一の電圧もしくは第一の電圧から新たに生成する第二の電圧(例えば1.8V)を出力することが可能である。   In FIG. 1, the electronic device 1 includes a voltage source 10 having a first voltage (for example, 3.3 V) and a regulator 11 that operates from the first voltage supplied from the voltage source 10. Here, the regulator 11 can output a first voltage supplied from the voltage source 10 or a second voltage (for example, 1.8 V) newly generated from the first voltage.

電子機器1は、更にレギュレータ11から供給されるインターフェース電圧で駆動し、信号バス50を介して電子機器2とのデータの受け渡しを実施する第一の入出力バッファ16と、
同じくレギュレータ11から供給されるインターフェース電圧で駆動し、信号バス51を介して電子機器2とのデータの受け渡しを実施する第二の入出力バッファ17と、
同じくレギュレータ11から供給されるインターフェース電圧で駆動し、信号バス52を介して電子機器2へクロックを発信する第一の出力バッファ18と、
バス51をレギュレータ11から供給される電圧レベルへプルアップするプルアップ抵抗19と、
電子機器1と電子機器2間のインターフェース電圧の切り替え命令を発行する手段と、入出力バッファ16乃至は入出力バッファ17からの信号に応じて、レギュレータ11から供給される電圧を制御する手段とを有するコントローラ13と、
レギュレータ11の出力電圧を検知する検知回路12と、
コントローラ13がレギュレータ11の出力電圧を切替える制御を行うと、検知回路12の出力を元に電子機器1のインターフェース電圧がコントローラ13から指示された電圧範囲に正常に切り替わり、バッファ16〜18が安定して動作可能な状態に移行したかどうかを判断する安定待ち回路15と、
コントローラ13がインターフェース電圧の切り替え命令を発行した際に、電子機器1のインターフェース電圧切り替え動作中であることを入出力バッファ17からバス51を
介して電子機器2へ通知する手段と、安定待ち回路15にて電子機器1のインターフェース電圧が正常に切り替わったと判断した後に、入出力バッファ17からバス51を介して、電子機器2へ電子機器1のインターフェース電圧移行が正常に終了したことを発信する手段と、出力バッファ18からバス52を介して、電子機器2へクロックの供給を制御する出力制御回路14と、
から構成される。
The electronic device 1 is further driven by an interface voltage supplied from the regulator 11, and a first input / output buffer 16 that exchanges data with the electronic device 2 via the signal bus 50,
Similarly, a second input / output buffer 17 that is driven by an interface voltage supplied from the regulator 11 and that exchanges data with the electronic device 2 via the signal bus 51;
Similarly, a first output buffer 18 that is driven by an interface voltage supplied from the regulator 11 and transmits a clock to the electronic device 2 via the signal bus 52;
A pull-up resistor 19 for pulling up the bus 51 to a voltage level supplied from the regulator 11;
Means for issuing a command for switching the interface voltage between the electronic device 1 and the electronic device 2, and means for controlling a voltage supplied from the regulator 11 in accordance with a signal from the input / output buffer 16 or the input / output buffer 17. A controller 13 having
A detection circuit 12 for detecting the output voltage of the regulator 11;
When the controller 13 performs control to switch the output voltage of the regulator 11, the interface voltage of the electronic device 1 is normally switched to the voltage range designated by the controller 13 based on the output of the detection circuit 12, and the buffers 16 to 18 are stabilized. A stabilization waiting circuit 15 for determining whether or not the state has shifted to an operable state,
When the controller 13 issues an interface voltage switching command, means for notifying the electronic device 2 from the input / output buffer 17 via the bus 51 that the interface voltage switching operation of the electronic device 1 is in progress, and a stabilization wait circuit 15 A means for transmitting from the input / output buffer 17 via the bus 51 to the electronic device 2 that the transition of the interface voltage of the electronic device 1 has been completed normally after determining that the interface voltage of the electronic device 1 has been switched normally. An output control circuit 14 for controlling the supply of a clock from the output buffer 18 to the electronic device 2 via the bus 52;
Consists of

また、図1において電子機器2は、電源線40を介して供給される第一の電圧から動作するレギュレータ21を有する。ここでレギュレータ21は電源線40から供給される第一の電圧もしくは第一の電圧から新たに生成する第二の電圧を出力することが可能である。ここで、第二の電圧とは電子機器1のレギュレータ11で生成される第二の電圧レベルと同等の電圧レベルである。   In FIG. 1, the electronic device 2 includes a regulator 21 that operates from a first voltage supplied via the power line 40. Here, the regulator 21 can output a first voltage supplied from the power line 40 or a second voltage newly generated from the first voltage. Here, the second voltage is a voltage level equivalent to the second voltage level generated by the regulator 11 of the electronic device 1.

さらに電子機器2は、レギュレータ21から供給されるインターフェース電圧で駆動し、信号バス50を介して電子機器1とのデータの受け渡しを実施する第一の入出力バッファ26と、
同じくレギュレータ21から供給されるインターフェース電圧で駆動し、信号バス51を介して電子機器1とのデータの受け渡しを実施する第二の入出力バッファ27と、
同じくレギュレータ21から供給されるインターフェース電圧で駆動し、信号バス52を介して電子機器1とのデータの受け渡しを実施する第一の入力バッファ28と、
レギュレータ21の出力電圧を検知する検知回路22と、
バス50を電源線40の電圧へプルアップするプルアップ抵抗29と、
プルアップ抵抗29とバス50の接続を制御する抵抗制御回路30と、
クロック発振回路20と、
電子機器1からのインターフェース電圧切り替え命令に基づき、レギュレータ21が供給する電圧を制御するコントローラ23と、
コントローラ23がインターフェース電圧の切り替え命令を受信しレギュレータ21の出力電圧を切替える制御を行うと検知回路18の出力を元に電子機器1のインターフェース電圧がコントローラ23から指示された電圧範囲に正常に切り替わり、バッファ26〜28が安定して動作可能な状態に移行したかどうかを判断する安定待ち回路25と、
コントローラ23がインターフェース電圧の切り替え命令を受信してレギュレータ21の出力電圧を切替える制御を行うと、電子機器2のインターフェース電圧切り替え状態を入出力バッファ26からバス51を介して電子機器1へ通知する手段を有する出力制御回路24と、
から構成される。
Furthermore, the electronic device 2 is driven by the interface voltage supplied from the regulator 21, and a first input / output buffer 26 that performs data exchange with the electronic device 1 via the signal bus 50,
Similarly, a second input / output buffer 27 that is driven by an interface voltage supplied from the regulator 21 and that exchanges data with the electronic device 1 via the signal bus 51;
Similarly, a first input buffer 28 that is driven by an interface voltage supplied from the regulator 21 and that exchanges data with the electronic device 1 via the signal bus 52;
A detection circuit 22 for detecting the output voltage of the regulator 21;
A pull-up resistor 29 for pulling up the bus 50 to the voltage of the power line 40;
A resistance control circuit 30 for controlling the connection between the pull-up resistor 29 and the bus 50;
A clock oscillation circuit 20;
A controller 23 for controlling a voltage supplied by the regulator 21 based on an interface voltage switching command from the electronic device 1;
When the controller 23 receives the interface voltage switching command and performs control to switch the output voltage of the regulator 21, the interface voltage of the electronic device 1 is normally switched to the voltage range designated by the controller 23 based on the output of the detection circuit 18. A stabilization wait circuit 25 for determining whether or not the buffers 26 to 28 have shifted to a stable operable state;
When the controller 23 receives the interface voltage switching command and performs control to switch the output voltage of the regulator 21, means for notifying the electronic device 1 of the interface voltage switching state of the electronic device 2 from the input / output buffer 26 via the bus 51. An output control circuit 24 having
Consists of

ここで、プルアップ抵抗29を制御する抵抗制御回路30は、コントローラ23を介して、電子機器1からの命令により制御することが可能である。   Here, the resistance control circuit 30 that controls the pull-up resistor 29 can be controlled by a command from the electronic device 1 via the controller 23.

また電子機器2におけるコントローラ23および出力制御回路24は電子機器1からバス52を介して供給されるクロック もしくは電子機器2の発振回路20から供給されるクロックの何れか乃至は両方に同期して動作を実行する。   Further, the controller 23 and the output control circuit 24 in the electronic device 2 operate in synchronization with either or both of the clock supplied from the electronic device 1 via the bus 52 and the clock supplied from the oscillation circuit 20 of the electronic device 2. Execute.

なお、本発明の第1の実施の形態に係る通信システムにおいては、電源投入時には電子機器1のバッファ16〜18および電子機器2のバッファ26〜28は第一の電圧で動作する。   In the communication system according to the first embodiment of the present invention, the buffers 16 to 18 of the electronic device 1 and the buffers 26 to 28 of the electronic device 2 operate at the first voltage when the power is turned on.

上記の構成を有する通信システムにおいて、電圧源10で生成される第一の電圧が、電子機器1が有するレギュレータ11および電子機器2が有するレギュレータ21が生成する第二の電圧よりも電圧が高い場合において、電子機器1と電子機器2間のインターフェ
ース電圧を切り替える手順を以下に説明する。
In the communication system having the above configuration, when the first voltage generated by the voltage source 10 is higher than the second voltage generated by the regulator 11 included in the electronic device 1 and the regulator 21 included in the electronic device 2. The procedure for switching the interface voltage between the electronic device 1 and the electronic device 2 will be described below.

まず、図1に示す本発明の第1の実施の形態に係る通信システムにおいて、電子機器1と電子機器2間のインターフェース電圧を下げる手順、すなわち第一の電圧から第二の電圧に切り替える手順を図2のシーケンス図を用いて説明する。   First, in the communication system according to the first embodiment of the present invention shown in FIG. 1, a procedure for lowering the interface voltage between the electronic device 1 and the electronic device 2, that is, a procedure for switching from the first voltage to the second voltage. This will be described with reference to the sequence diagram of FIG.

図2において、
インターフェース電圧が第一の電圧で動作している電子機器1と電子機器2の通信システムにおいて、電子機器1のコントローラ13が電子機器1と電子機器2間のインターフェース電圧を第二の電圧に切り替える命令を発行すると、この命令は出力制御回路17よりバス51を介して電子機器2へ発信される(SH2−1)。
In FIG.
In the communication system between the electronic device 1 and the electronic device 2 in which the interface voltage is operating at the first voltage, the controller 13 of the electronic device 1 switches the interface voltage between the electronic device 1 and the electronic device 2 to the second voltage. Is issued from the output control circuit 17 to the electronic device 2 via the bus 51 (SH2-1).

電子機器2のコントローラ23はバス51を介して、電子機器1からのインターフェース電圧の第二の電圧に切り替える命令を受信すると、命令を誤りなく受信した場合には電子機器1へレスポンスを返し(SS2−1)、電子機器1より指示された第二の電圧で電子機器2のバッファ26〜28が動作可能かどうかを示すステータスを電子機器1へ返す(SS2−2)。ステータスには電子機器2のバッファ26〜28が第二の電圧で動作する場合の消費電流等の情報が含まれてもよい。   When the controller 23 of the electronic device 2 receives the command for switching to the second interface voltage from the electronic device 1 via the bus 51, if the command is received without error, a response is returned to the electronic device 1 (SS2). -1) A status indicating whether or not the buffers 26 to 28 of the electronic device 2 are operable at the second voltage specified by the electronic device 1 is returned to the electronic device 1 (SS2-2). The status may include information such as current consumption when the buffers 26 to 28 of the electronic device 2 operate at the second voltage.

その後、電子機器2のバッファ26〜28が第二の電圧で動作可能な場合(SS2−3)、コントローラ23はプルアップ抵抗29がバス50と接続されていない場合、出力制御回路24に対して、プルアップ抵抗29をバス50に接続する指示を出す。さらに出力制御回路24に対して、抵抗制御回路30を制御してバス50をプルアップ抵抗29を介して電源線40の電圧である第一の電圧と接続する指示を出す(SS2−4,SS2−5)。   After that, when the buffers 26 to 28 of the electronic device 2 can operate at the second voltage (SS2-3), the controller 23 controls the output control circuit 24 when the pull-up resistor 29 is not connected to the bus 50. Then, an instruction to connect the pull-up resistor 29 to the bus 50 is issued. Further, the output control circuit 24 is instructed to control the resistance control circuit 30 to connect the bus 50 to the first voltage which is the voltage of the power supply line 40 via the pull-up resistor 29 (SS2-4, SS2). -5).

電子機器2が入出力バッファ26によってバス50をドライブしている場合は、出力制御回路24は、入出力バッファ26を制御し、バス50のドライブを開放(Hi−Zと)する(SS2−6,SS2−7)。   When the electronic device 2 is driving the bus 50 by the input / output buffer 26, the output control circuit 24 controls the input / output buffer 26 and releases the drive of the bus 50 (Hi-Z) (SS2-6). , SS2-7).

続いてコントローラ23は、レギュレータ21の出力電圧を第一の電圧から第二の電圧に切替える制御を行う(SS2−8)。   Subsequently, the controller 23 performs control to switch the output voltage of the regulator 21 from the first voltage to the second voltage (SS2-8).

さらにコントローラ23は、安定待ち回路25に対して、電子機器2のインターフェース電圧の安定待ちを指示し、安定待ち回路25はレギュレータ21の出力電圧を検知する検知回路24の判定を元に、インターフェース電圧の切替が完了し電子機器2のバッファ26〜28が安定して第二の電圧で動作可能な状態に移行したかどうかを判断し(SS2−9)、切替が完了したと判断すると出力制御回路24に電子機器2のインターフェース電圧が正常に切り替わったことを通知する。   Further, the controller 23 instructs the stabilization wait circuit 25 to wait for the stabilization of the interface voltage of the electronic device 2, and the stabilization wait circuit 25 determines the interface voltage based on the determination of the detection circuit 24 that detects the output voltage of the regulator 21. When the switching is completed, it is determined whether or not the buffers 26 to 28 of the electronic device 2 have stably shifted to a state in which operation is possible with the second voltage (SS2-9). 24 is notified that the interface voltage of the electronic device 2 has been switched normally.

安定待ち回路25が電子機器2のインターフェース電圧が正常に切り替わったことを出力制御回路24へ通知すると、出力制御回路24は第一の入出力バッファ26を介してバス50へLレベルを出力する(SS2−10)。なお、本ステップまでバス50はプルアップ22により電源線40で供給される第一の電圧に基づくHレベルを保っているので、本ステップは電子機器1に対しては、バス50を介して第一の電圧レベルに基づくHレベルからLレベルへの信号の変化として通知される。   When the stabilization wait circuit 25 notifies the output control circuit 24 that the interface voltage of the electronic device 2 has been switched normally, the output control circuit 24 outputs an L level to the bus 50 via the first input / output buffer 26 ( SS2-10). Since the bus 50 is maintained at the H level based on the first voltage supplied from the power line 40 by the pull-up 22 until this step, this step is performed for the electronic device 1 via the bus 50. It is notified as a signal change from the H level to the L level based on one voltage level.

最後に、出力制御回路24は、抵抗制御回路30を制御して、バス50とプルアップ29の接続を切断する(SS2−11)。これにより、第一の入出力バッファ26はバス50に対して、第二の電圧レベルに基づくHレベルもしくはLレベルの信号を安定して入出
力することが可能となる。
Finally, the output control circuit 24 controls the resistance control circuit 30 to disconnect the bus 50 and the pull-up 29 (SS2-11). As a result, the first input / output buffer 26 can stably input / output an H level or L level signal based on the second voltage level to the bus 50.

なお、上記の電子機器2のインターフェース電圧の切り替え制御において、コントローラ23および出力制御回路24はSS2−4乃至はSS2−8から発振回路20のクロックにて動作する。   Note that, in the interface voltage switching control of the electronic device 2 described above, the controller 23 and the output control circuit 24 operate with the clock of the oscillation circuit 20 from SS2-4 to SS2-8.

また、SS2−3にて電子機器1より指示された第二の電圧が電子機器2の動作範囲外であった場合、電子機器2は以降の動作を実施せずに電圧インターフェースの切り替え制御を終了する。   If the second voltage instructed by the electronic device 1 at SS2-3 is outside the operation range of the electronic device 2, the electronic device 2 ends the voltage interface switching control without performing the subsequent operations. To do.

一方、SH2−1において電子機器2へ電子機器1と電子機器2間のインターフェース電圧の切り替え命令を発行した電子機器1は、SS2−1で電子機器2から返信されたレスポンスおよびSS2−2で電子機器2から返信されたステータスを受信すると、レスポンスおよびステータスが正常かつ電子機器2のバッファ26〜28が第二の電圧で動作可能であった場合は(SH2−2)、電子機器2のインターフェース電圧切り替えに必要な特定のサイクル数のクロックを電子機器2へ供給した後、クロックを停止する(SH2−3)。また、SH2−2でレスポンスもしくはステータスに異常があった場合または電子機器2のバッファ26〜28が第二の電圧で動作できない場合は、以降の動作を実施せずに電圧インターフェースの切り替え制御を終了する。   On the other hand, the electronic device 1 that has issued a command to switch the interface voltage between the electronic device 1 and the electronic device 2 to the electronic device 2 in SH2-1, the response returned from the electronic device 2 in SS2-1 and the electronic device in SS2-2. When the status returned from the device 2 is received, if the response and status are normal and the buffers 26 to 28 of the electronic device 2 are operable at the second voltage (SH2-2), the interface voltage of the electronic device 2 After a clock having a specific number of cycles necessary for switching is supplied to the electronic device 2, the clock is stopped (SH2-3). In addition, when there is an abnormality in the response or status in SH2-2, or when the buffers 26 to 28 of the electronic device 2 cannot operate at the second voltage, the voltage interface switching control is terminated without performing the subsequent operations. To do.

なお、レスポンスもしくはステータスに異常があった場合の異常処理では、電子機器2の電源を再投入し(パワーサイクル)、第一の電圧で電子機器1のバッファ16〜18および電子機器2のバッファ26〜28を動作させて通信システムの通信の確立を実施する。   In the abnormality process when there is an abnormality in the response or status, the power of the electronic device 2 is turned on again (power cycle), and the buffers 16 to 18 of the electronic device 1 and the buffer 26 of the electronic device 2 are used with the first voltage. To establish communication of the communication system.

SH2−3にてクロック停止後、電子機器1は電子機器2のインターフェース電圧の切り替え完了、すなわちバス50でLレベルが検出されるまで電子機器1のインターフェース電圧の切り替え処理をウェイトする(SH2−4)。ただし、予め設定された待ち時間内に電子機器2からのインターフェース電圧の切り替えが完了しない場合(SH2−5)、電子機器1は以降の動作を実施せずに異常処理を実施する(SH2−11)。この異常処理はSH2−2でレスポンスもしくはステータスに異常があった場合に行う処理と同じである。   After the clock is stopped at SH2-3, the electronic device 1 waits for the interface voltage switching processing of the electronic device 1 until the interface voltage switching of the electronic device 2 is completed, that is, the L level is detected by the bus 50 (SH2-4). ). However, when the switching of the interface voltage from the electronic device 2 is not completed within the preset waiting time (SH2-5), the electronic device 1 performs the abnormality process without performing the subsequent operations (SH2-11). ). This abnormality process is the same as the process performed when there is an abnormality in the response or status in SH2-2.

SH2−4にて、電子機器2のインターフェース電圧の切り替えが完了し、バス50の電圧がLレベルになったことを検出すると、電子機器1のコントローラ13は、
レギュレータ11を制御し、出力電圧を第一の電圧から第二の電圧に切り替える(SH2−6)。
In SH2-4, when it is detected that the switching of the interface voltage of the electronic device 2 has been completed and the voltage of the bus 50 has become L level, the controller 13 of the electronic device 1
The regulator 11 is controlled to switch the output voltage from the first voltage to the second voltage (SH2-6).

さらにコントローラ13は、安定待ち回路15に対して、電子機器1のインターフェース電圧の安定待ちを指示し、安定待ち回路15はレギュレータ11の出力電圧を検知する検知回路14の判定を元に、インターフェース電圧の切り替えが完了し電子機器1のバッファ16〜18が安定して第二の電圧で動作可能な状態に移行したかどうかを判断し(SH2−7)、切り替えが完了したと判断すると出力制御回路14に電子機器1のインターフェース電圧が正常に切り替わったことを通知する。   Further, the controller 13 instructs the stabilization wait circuit 15 to wait for the stabilization of the interface voltage of the electronic device 1, and the stabilization wait circuit 15 determines the interface voltage based on the determination of the detection circuit 14 that detects the output voltage of the regulator 11. When the switching is completed and the buffers 16 to 18 of the electronic device 1 are stably shifted to a state where they can operate at the second voltage (SH2-7), and when it is determined that the switching is completed, the output control circuit 14 is notified that the interface voltage of the electronic device 1 has been switched normally.

そして、出力制御回路14は出力バッファ18を介してバス52で電子機器2へのクロックを再開し(SH2−8)、電子機器2へ電子機器1のインターフェース電圧切り替えが正常に完了したことを通知するAck信号をバス51へ出力し(SH2−9)、電子機器1のインターフェース電圧の切り替え制御を完了する(SH2−10)。   Then, the output control circuit 14 restarts the clock to the electronic device 2 via the output buffer 18 via the bus 52 (SH2-8), and notifies the electronic device 2 that the switching of the interface voltage of the electronic device 1 has been normally completed. The Ack signal to be output is output to the bus 51 (SH2-9), and the interface voltage switching control of the electronic device 1 is completed (SH2-10).

ここで、電子機器1がAck信号を用いて電子機器2へ明示的にインターフェース電圧の切り替えを通知する代わりに、電子機器2はSH2−8でのクロックの再開を検知して、電子機器1のインターフェース電圧の切り替え完了を判断することも可能である。   Here, instead of the electronic device 1 explicitly notifying the electronic device 2 of the switching of the interface voltage using the Ack signal, the electronic device 2 detects the restart of the clock in SH2-8, and the electronic device 1 It is also possible to determine completion of switching of the interface voltage.

最後に、電子機器2は電子機器1からのインターフェース電圧切り替え完了のAck信号もしくは、クロックの再開によって電子機器1のインターフェース電圧の切り替えを判断し、(SS2−12)、出力バッファ26を介してバス50へHレベルを出力した後(SH2−13)、バス50への出力を開放する(Hi−Zとする)(SS2−14)ことで、本通信システムの電子機器1と電子機器2間のインターフェース電圧を第一の電圧から第二の電圧に切り替える手順が完了となる(SS2−15)。   Finally, the electronic device 2 determines switching of the interface voltage of the electronic device 1 by the Ack signal indicating completion of switching of the interface voltage from the electronic device 1 or by restarting the clock (SS2-12), and the bus is passed through the output buffer 26. After outputting the H level to 50 (SH2-13), the output to the bus 50 is released (Hi-Z is assumed) (SS2-14), so that the electronic device 1 and the electronic device 2 of this communication system are connected. The procedure for switching the interface voltage from the first voltage to the second voltage is completed (SS2-15).

また、図3は図2のシーケンスにおけるバス50、51、52の動作をタイミングチャートに表したものである。図3において「CMD」は電子機器1が発行するインターフェース電圧切り替え命令、「CMD」は電子機器2が返すレスポンス、「Status」は電子機器が返すステータス、「H」はHレベルが出力されている状態、「L」はLレベルが出力されている状態、「Z」は電子機器1、電子機器2とも信号を出力しておらず、バスがプルアップ抵抗を介してインターフェース電圧に固定されている状態を示している。図3では図2のステップSH2−9のAck信号は1サイクルの「L」出力で実現されている。   FIG. 3 is a timing chart showing the operations of the buses 50, 51 and 52 in the sequence of FIG. In FIG. 3, “CMD” is an interface voltage switching command issued by the electronic device 1, “CMD” is a response returned by the electronic device 2, “Status” is a status returned by the electronic device, and “H” is an H level output. State, “L” is a state where an L level is output, “Z” is that no signal is output from either the electronic device 1 or the electronic device 2, and the bus is fixed to the interface voltage via a pull-up resistor. Indicates the state. In FIG. 3, the Ack signal in step SH2-9 in FIG. 2 is realized by “L” output in one cycle.

次に図1に示す本発明の第1の実施の形態に係る通信システムにおいて電子機器1と電子機器2間のインターフェース電圧を第二の電圧から第一の電圧に切り替える手順を図4のシーケンス図を用いて説明する。
図4において、
インターフェース電圧が第二の電圧で動作している電子機器1と電子機器2の通信システムにおいて、電子機器1のコントローラ13が電子機器1と電子機器2間のインターフェース電圧を第一の電圧に切り替える命令を発行すると、この命令は出力制御回路17よりバス51を介して電子機器2へ発行される(SH4−1)。
Next, in the communication system according to the first embodiment of the present invention shown in FIG. 1, the procedure for switching the interface voltage between the electronic device 1 and the electronic device 2 from the second voltage to the first voltage is shown in the sequence diagram of FIG. Will be described.
In FIG.
In the communication system between the electronic device 1 and the electronic device 2 in which the interface voltage is operating at the second voltage, the controller 13 of the electronic device 1 switches the interface voltage between the electronic device 1 and the electronic device 2 to the first voltage. Is issued from the output control circuit 17 to the electronic device 2 via the bus 51 (SH4-1).

バス51を介して、電子機器1からのインターフェース電圧の第一の電圧に切り替える命令を受信すると、電子機器2のコントローラ23は、命令を誤り無く受信した場合、電子機器1へレスポンスを返し(SS4−1)、電子機器1より指示された第一の電圧で電子機器2のバッファ26〜28が動作可能かどうかを示す情報を含むステータスを電子機器1へ返す(SS4−2)。   When the command to switch to the first voltage of the interface voltage from the electronic device 1 is received via the bus 51, the controller 23 of the electronic device 2 returns a response to the electronic device 1 when receiving the command without error (SS4). -1) A status including information indicating whether or not the buffers 26 to 28 of the electronic device 2 are operable at the first voltage instructed by the electronic device 1 is returned to the electronic device 1 (SS4-2).

その後、第二の電圧で電子機器2のバッファ26〜28が動作可能な場合(SS4−3)、コントローラ23の指示に基づいて出力制御回路24は入出力バッファ26を制御し、バス50へLレベルの信号を出力する(SS4−4)。   Thereafter, when the buffers 26 to 28 of the electronic device 2 are operable at the second voltage (SS4-3), the output control circuit 24 controls the input / output buffer 26 based on an instruction from the controller 23, and outputs the signal to the bus 50. A level signal is output (SS4-4).

一方、SH4−1にて電子機器2へ電子機器1と電子機器2間のインターフェース電圧の切り替え命令を発行した電子機器1は、SS4−1で電子機器2から返信されたレスポンスおよびSS4−2で電子機器2から返信されたステータスを確認し、レスポンスおよびステータスが正常であった場合は(SH4−2)、電子機器2のインターフェース電圧切り替えに必要な特定のサイクル数のクロックを電子機器2へ供給した後、クロックを停止する(SH4−3)。また、SH4−2でレスポンスもしくはステータスに異常があった場合は、以降の動作を実施せずに電圧インターフェースの切り替え制御を終了する。   On the other hand, the electronic device 1 that has issued a command to switch the interface voltage between the electronic device 1 and the electronic device 2 to the electronic device 2 in SH4-1, the response returned from the electronic device 2 in SS4-1, and SS4-2. The status returned from the electronic device 2 is confirmed, and if the response and status are normal (SH4-2), a clock having a specific number of cycles necessary for switching the interface voltage of the electronic device 2 is supplied to the electronic device 2. After that, the clock is stopped (SH4-3). If the response or status is abnormal in SH4-2, the voltage interface switching control is terminated without performing the subsequent operations.

なお、レスポンスもしくはステータスに異常があった場合の異常処理では、前述したようにパワーサイクルを実施した後に第一の電圧でバッファ16〜18およびバッファ26〜28を動作させて通信システムの通信を確立する。   In the abnormality process when the response or status is abnormal, the communication of the communication system is established by operating the buffers 16 to 18 and the buffers 26 to 28 with the first voltage after performing the power cycle as described above. To do.

SH4−3にてクロック停止後、出力制御回路14は入出力バッファ17を介して、バス51へHレベルを出力し(SH4−4)、レギュレータ11を制御し、レギュレータの出力電圧を第二の電圧から第一の電圧に切り替える(SH4−5)。   After the clock is stopped at SH4-3, the output control circuit 14 outputs an H level to the bus 51 via the input / output buffer 17 (SH4-4), controls the regulator 11, and sets the output voltage of the regulator to the second voltage. The voltage is switched to the first voltage (SH4-5).

さらにコントローラ13は、安定待ち回路15に対して、電子機器1のインターフェース電圧の安定待ちを指示し、安定待ち回路15はレギュレータ11の出力電圧を検知する検知回路14の判定を元に、インターフェース電圧の切替が完了して電子機器1のバッファ16〜18が安定して第一の電圧で動作可能な状態に移行したかどうかを判断し(SH4−6)、切替が完了したと判断すると出力制御回路14に電子機器1のインターフェース電圧が正常に切り替わったことを通知する。出力制御回路14は入出力バッファ17を介してバス51をLレベルに出力することで、電子機器1のインターフェース電圧が正常に切り替わったことを通知する。(SH4−7)。なお、SH4−6までのステップにおいて、バス51は第二の電圧以上の電圧でHレベルを保っている。   Further, the controller 13 instructs the stabilization wait circuit 15 to wait for the stabilization of the interface voltage of the electronic device 1, and the stabilization wait circuit 15 determines the interface voltage based on the determination of the detection circuit 14 that detects the output voltage of the regulator 11. When the switching is completed, it is determined whether or not the buffers 16 to 18 of the electronic device 1 have stably shifted to a state in which they can operate at the first voltage (SH4-6). The circuit 14 is notified that the interface voltage of the electronic device 1 has been switched normally. The output control circuit 14 outputs the bus 51 to the L level via the input / output buffer 17, thereby notifying that the interface voltage of the electronic device 1 has been switched normally. (SH4-7). In steps up to SH4-6, the bus 51 is kept at the H level with a voltage equal to or higher than the second voltage.

コントローラ23は、バス51にLレベルが出力されたのを検出すると(SS4−5)、レギュレータ21の出力電圧を第一の電圧に切替えるよう制御する(SS4−6)。さらにコントローラ23は安定待ち回路25に対して、電子機器2のインターフェース電圧の安定待ちを指示し、安定待ち回路25はレギュレータ21の出力電圧を検知する検知回路24の判定を元に、インターフェース電圧の切り替えが完了して電子機器2のバッファ26〜28が安定して第一の電圧で動作可能な状態に移行したかどうかを判断し(SS4−7)、切替が完了したと判断すると出力制御回路24に電子機器2のインターフェース電圧が正常に切り替わったことを通知する。
安定待ち回路25から電子機器2のインターフェース電圧が正常に切り替わったことを通知されると、出力制御回路29は入出力バッファ26を介してバス50へHレベルを出力する(SS4−8)。なお、SS4−4以降本ステップまで電子機器2はバス50にLレベルを出力しており、SS4−8では電子機器1に対してはバス50を介してLレベルから第一の電圧レベルに基づくHレベルへの信号の変化が通知されることになる。
電子機器1は電子機器2のインターフェース電圧の切り替え完了、すなわちバス50にHレベルが出力されるまで電子機器1のインターフェース電圧の切り替え処理をウェイトする(SH4−8)。ただし、予め設定された待ち時間内に電子機器2からのインターフェース電圧の切り替えが完了しない場合(SH4−9)、電子機器1は以降の動作を実施せずに異常処理を実施する(SH4−13)。この異常処理はSH4−2でレスポンスまたはステータスに異常があった場合に行う異常処理と同じである。
When detecting that the L level is output to the bus 51 (SS4-5), the controller 23 controls the output voltage of the regulator 21 to be switched to the first voltage (SS4-6). Further, the controller 23 instructs the stabilization wait circuit 25 to wait for stabilization of the interface voltage of the electronic device 2, and the stabilization wait circuit 25 determines the interface voltage based on the determination of the detection circuit 24 that detects the output voltage of the regulator 21. It is determined whether or not the switching has been completed and the buffers 26 to 28 of the electronic device 2 have stably shifted to a state operable with the first voltage (SS4-7). If it is determined that the switching has been completed, the output control circuit 24 is notified that the interface voltage of the electronic device 2 has been switched normally.
When notified from the stabilization wait circuit 25 that the interface voltage of the electronic device 2 has been switched normally, the output control circuit 29 outputs an H level to the bus 50 via the input / output buffer 26 (SS4-8). From SS4-4 to this step, the electronic device 2 outputs an L level to the bus 50. In SS4-8, the electronic device 1 is based on the first voltage level from the L level via the bus 50. A signal change to the H level is notified.
The electronic device 1 waits for the interface voltage switching processing of the electronic device 1 until the interface voltage switching of the electronic device 2 is completed, that is, until the H level is output to the bus 50 (SH4-8). However, when the switching of the interface voltage from the electronic device 2 is not completed within the preset waiting time (SH4-9), the electronic device 1 performs the abnormality process without performing the subsequent operation (SH4-13). ). This abnormality process is the same as the abnormality process performed when there is an abnormality in the response or status in SH4-2.

SH4−8にて、電子機器2のインターフェース電圧の切り替えが完了し、バス50にHレベルが出力されたことを検出すると、電子機器1のコントローラ13は、
出力制御回路14を用いて、出力バッファ18を介してバス52で電子機器2へのクロック供給を再開し(SH4−10)、電子機器2へ電子機器1のインターフェース電圧切り替えが正常に完了したことをAck信号で通知し(SH4−11)、電子機器1のインターフェース電圧の切り替え制御を完了する(SH4−12)。
When the switching of the interface voltage of the electronic device 2 is completed and the H level is output to the bus 50 in SH4-8, the controller 13 of the electronic device 1
Using the output control circuit 14, the clock supply to the electronic device 2 is resumed by the bus 52 via the output buffer 18 (SH4-10), and the interface voltage switching of the electronic device 1 to the electronic device 2 has been normally completed. Is notified by the Ack signal (SH4-11), and the switching control of the interface voltage of the electronic device 1 is completed (SH4-12).

ここで、電子機器1はAck信号を用いて電子機器2へ明示的にインターフェース電圧の切り替えを通知する代わりに、電子機器2がSH4−10でのクロック供給の再開を検出して、電子機器1のインターフェース電圧の切り替え完了を判断することも可能である。   Here, instead of explicitly notifying the electronic device 2 of the switching of the interface voltage using the Ack signal, the electronic device 1 detects the resumption of clock supply in SH4-10, and the electronic device 1 It is also possible to determine the completion of switching of the interface voltage.

最後に、電子機器2が電子機器1からのインターフェース電圧切り替え完了のAck信号もしくはクロック供給の再開を検出して電子機器1のインターフェース電圧の切り替えを判断し(SS4−9)、バス50への出力を開放する(Hi−Zとする)(SS2−1
0)ことで、本通信システムの電子機器1と電子機器2間のインターフェース電圧を第二の電圧から第一の電圧に切り替える手順が完了となる(SS4−11)。
Finally, the electronic device 2 detects the switching of the interface voltage of the electronic device 1 by detecting the Ack signal indicating completion of switching of the interface voltage from the electronic device 1 or the restart of the clock supply (SS4-9), and the output to the bus 50 (Hi-Z) (SS2-1)
0), the procedure for switching the interface voltage between the electronic device 1 and the electronic device 2 of the communication system from the second voltage to the first voltage is completed (SS4-11).

ここで、図4のシーケンスにおけるバス50、51、52の動作を図5にタイミングチャートで示す。図5において「CMD」「RES」「Status」「H」「L」「Z」は図3と同じ状態を意味する。
(第2の実施の形態)
図6は、本発明の第2の実施の形態に係る通信システムの回路構成例を示す図である。
Here, the operation of the buses 50, 51 and 52 in the sequence of FIG. 4 is shown in a timing chart of FIG. In FIG. 5, “CMD”, “RES”, “Status”, “H”, “L”, and “Z” mean the same state as in FIG.
(Second Embodiment)
FIG. 6 is a diagram illustrating a circuit configuration example of a communication system according to the second embodiment of the present invention.

図6において、プルアップ抵抗31はレギュレータ11とバス50を接続している。図6の他の構成要素は図1に記載している第1の実施の形態に係る通信システムの構成要素と同様である。   In FIG. 6, the pull-up resistor 31 connects the regulator 11 and the bus 50. The other components of FIG. 6 are the same as those of the communication system according to the first embodiment described in FIG.

ここで、本発明の第2の実施の形態に係る通信システムの、電子機器1と電子機器2間のインターフェース電圧を下げる手順、すなわち第一の電圧から第二の電圧に切り替える手順をシーケンス図7を用いて説明する。   Here, in the communication system according to the second embodiment of the present invention, a procedure for lowering the interface voltage between the electronic device 1 and the electronic device 2, that is, a procedure for switching from the first voltage to the second voltage is shown in FIG. Will be described.

図7においては、電子機器1の制御手順SH7−1〜11は、各々シーケンス図2における第1の実施の形態に係る通信システムでの制御手順SH2−1〜11と同等の手順である。また電子機器2の制御手順SS7−1〜3、6〜10、12〜15は、各々シーケンス図2における第1の実施の形態に係る通信システムでの制御手順SS2−1〜3、6〜10、12〜15と同等の手順である。すなわち、第2の実施の形態に係る通信システムにおいては、第1の実施の形態に係る通信システムで実施した電子機器2内部のプルアップ抵抗29の制御に関するステップ(SS2−3、SS2−4、および SS2−11)は実施されないが、バス50はプルアップ抵抗31により、電子機器1における第1の入出力バッファ16および電子機器2における第1の入出力バッファ26が共にバスを解放している場合(=Hi−Z状態)、常に電子機器1のレギュレータ11から供給される電圧すなわち電子機器1のインターフェース電圧におけるHレベルを保っており、第1の実施の形態に係る通信システムと同等の効果を得ることが可能である。   In FIG. 7, control procedures SH7-1 to 11 of the electronic device 1 are procedures equivalent to the control procedures SH2-1 to 11 in the communication system according to the first embodiment in the sequence diagram 2, respectively. Further, the control procedures SS7-1 to 3, 6 to 10 and 12 to 15 of the electronic device 2 are respectively controlled by the communication procedures SS2-1 to SS3 and 6 to 10 in the communication system according to the first embodiment in the sequence diagram 2. , 12-15. In other words, in the communication system according to the second embodiment, the steps (SS2-3, SS2-4, SS2-4, SS2-4, control, etc.) inside the electronic device 2 performed in the communication system according to the first embodiment. And SS2-11) are not implemented, but the bus 50 has the bus released by the first input / output buffer 16 in the electronic device 1 and the first input / output buffer 26 in the electronic device 2 by the pull-up resistor 31. In the case (= Hi-Z state), the voltage supplied from the regulator 11 of the electronic device 1, that is, the interface voltage of the electronic device 1 is always maintained at the H level, and the same effect as the communication system according to the first embodiment is achieved. It is possible to obtain

次に、本発明の第2の実施の形態に係る通信システムにおいて、電子機器1と電子機器2間のインターフェース電圧を上げる手順、すなわち第二の電圧から第一の電圧に切り替える手順について図8のシーケンス図を用いて説明する。   Next, in the communication system according to the second embodiment of the present invention, the procedure for increasing the interface voltage between the electronic device 1 and the electronic device 2, that is, the procedure for switching from the second voltage to the first voltage is shown in FIG. This will be described with reference to a sequence diagram.

図8において、電子機器1の制御手順SH8−1〜10、12は、各々シーケンス図4における第1の実施の形態に係る通信システムでの制御手順SH4−1〜10、12と同等の手順である。また電子機器2の制御手順SS8−1〜7、11は、各々シーケンス図4における第1の実施の形態に係る通信システムでの制御手順SS4−1〜7、11と同等の手順である。ここで、第2の実施の形態に係る通信システムにおいては、電子機器2のインターフェース電圧切り替え完了後(SS8−7)、出力制御回路24は入出力バッファ26の出力を開放(=Hi−Z状態)とし、切り替えを完了する。すなわち、電子機器1からクロック供給が再開される(SH8−10)前にバス50を開放するが、バス50は、電子機器1のレギュレータ11から供給される電圧すなわち電子機器1のインターフェース電圧におけるHレベルを保っており、第1の実施の形態に係る通信システムと同等の効果を得ることが可能である。ここで、電子機器1はクロック供給の再開後にバス51を開放し、インターフェース電圧の切り替えを完了する(SH8−11)。   In FIG. 8, control procedures SH8-1 to 10 and 12 of the electronic device 1 are the same as the control procedures SH4-1 to 10 and 12 in the communication system according to the first embodiment in the sequence diagram 4 respectively. is there. Further, the control procedures SS8-1 to 7 and 11 of the electronic device 2 are procedures equivalent to the control procedures SS4-1 to 7 and 11 in the communication system according to the first embodiment in the sequence diagram 4 respectively. Here, in the communication system according to the second embodiment, after the interface voltage switching of the electronic device 2 is completed (SS8-7), the output control circuit 24 releases the output of the input / output buffer 26 (= Hi-Z state). ) And complete the switching. That is, the bus 50 is opened before the clock supply from the electronic device 1 is resumed (SH8-10). The bus 50 is connected to the voltage supplied from the regulator 11 of the electronic device 1, that is, the H in the interface voltage of the electronic device 1. The level is maintained, and it is possible to obtain the same effect as that of the communication system according to the first embodiment. Here, the electronic device 1 opens the bus 51 after restarting the clock supply, and completes the switching of the interface voltage (SH8-11).

ここで、図8のシーケンスにおけるバス50、51、52の動作を図9にタイミングチャートで示す。図9において「CMD」「RES」「Status」「H」「L「Z」は図3と同様の状態を意味する。   Here, the operations of the buses 50, 51, and 52 in the sequence of FIG. 8 are shown in a timing chart of FIG. In FIG. 9, “CMD”, “RES”, “Status”, “H”, and “L” Z ”mean the same state as in FIG.

なお、本発明の第一および第2の実施の形態に係る通信システムを説明するブロック構成図(図1、および図6)では、本発明に係るインターフェース回路に関する要素のみを図示しており、本発明と無関係な他の通信システムの動作に関する要素は図示していない。   In the block configuration diagrams (FIGS. 1 and 6) for explaining the communication systems according to the first and second embodiments of the present invention, only elements related to the interface circuit according to the present invention are shown. Elements relating to the operation of other communication systems unrelated to the invention are not shown.

また第1および第2の実施の形態において、電子機器1のレギュレータ11は電圧源10から与えられる第一の電圧もしくは第一の電圧から生成する第二の電圧を出力するが、本発明はこれに限らず、複数の電圧源からの電圧、および複数の生成電圧から出力電圧を選択する構成とすることも可能である。同様に電子機器2にレギュレータ21も電力線40から与えられる第一の電圧もしくは第一の電圧から生成する第二の電圧を出力するが、本発明はこれに限らず、複数の電圧源からの電圧 および複数の生成電圧から出力電圧を選択する構成とすることも可能である。このように第一の電圧および第二の電圧に限らずに複数の電圧からインターフェース電圧を選択できる構成においては、電子機器1および電子機器2間で各々に動作可能なインターフェース電圧範囲を確認できる手段と、電子機器1からインターフェース電圧切り替えの命令を発行する際に、何れの電圧に設定するかを指示できる命令を発行する手段とを有し、また通信システムの立上げ段階において、電子機器1と電子機器2間で特定の例えば電圧源10から供給される第1の電源で動作することが必要である。   In the first and second embodiments, the regulator 11 of the electronic device 1 outputs the first voltage supplied from the voltage source 10 or the second voltage generated from the first voltage. However, the present invention is not limited to this, and an output voltage can be selected from voltages from a plurality of voltage sources and a plurality of generated voltages. Similarly, the regulator 21 also outputs the first voltage supplied from the power line 40 or the second voltage generated from the first voltage to the electronic device 2, but the present invention is not limited to this, and the voltage from a plurality of voltage sources is output. It is also possible to select an output voltage from a plurality of generated voltages. As described above, in the configuration in which the interface voltage can be selected from a plurality of voltages without being limited to the first voltage and the second voltage, means capable of confirming the interface voltage range that can be operated between the electronic device 1 and the electronic device 2 respectively. And a means for issuing an instruction to instruct which voltage to set when issuing an interface voltage switching instruction from the electronic device 1, and at the start-up stage of the communication system, It is necessary to operate with a first power source supplied from a specific voltage source 10 between the electronic devices 2.

また、電子機器1と電子機器2とのバス構成は第1および第2の実施の形態に係る通信システムで詳述したブロック構成(図1、および図6)に限る必要はなく、例えば非同期でデータの送受信を行うシステムにおいては、クロック(出力バッファ18、入力バッファ28、およびバス52)は必要としない。また、第一もしくは第2の実施の形態におけるタイミングチャート(図3,図5、および図9)において、コマンドの送受信と電子機器1から電子機器2へのインターフェース電圧の切り替え状態の発信をバス50で、電子機器2から電子機器1へのステータスの発信と、インターフェース電圧の切り替え状態の発信をバス51で実施しているが、特にバスを2本に限る必要はなく、電子機器1および電子機器2のインターフェース電圧切り替え状態を発信する機能を独立してバスに割当てれば、残りの機能を2本以上のどのバスに割当てるかに、制限をもたない。   Further, the bus configuration between the electronic device 1 and the electronic device 2 need not be limited to the block configuration (FIGS. 1 and 6) detailed in the communication systems according to the first and second embodiments. In a system that transmits and receives data, a clock (output buffer 18, input buffer 28, and bus 52) is not required. Further, in the timing charts (FIGS. 3, 5, and 9) in the first or second embodiment, the bus 50 transmits and receives commands and transmits the interface voltage switching state from the electronic device 1 to the electronic device 2. Thus, although the status transmission from the electronic device 2 to the electronic device 1 and the transmission of the interface voltage switching state are performed by the bus 51, it is not necessary to limit the number of buses to two, and the electronic device 1 and the electronic device If the function for transmitting the interface voltage switching state of 2 is independently assigned to the bus, there is no restriction on which of the two or more buses the remaining functions are assigned to.

また予め電子機器2より電子機器1へ設定可能なインターフェース電圧を通知している場合、もしくはインターフェース電圧の切り替え処理によって、初期のインターフェース電圧に戻す場合といった、電子機器2にて設定可能な電圧条件が電子機器1にて明らかであれば、電子機器1からのコマンド発行に対して、電子機器2がレスポンスおよびステータスを発行する必要はなく、また電子機器1においても電子機器2からのレスポンス及びステータスが正常であることを確認せずに、本発明におけるインターフェース電圧の切り替えを実施する場合において、本発明の効果は変わらない。   Further, there are voltage conditions that can be set by the electronic device 2 such as when the interface voltage that can be set is notified from the electronic device 2 to the electronic device 1 in advance, or when the interface voltage is returned to the initial interface voltage by the switching process of the interface voltage If it is obvious from the electronic device 1, it is not necessary for the electronic device 2 to issue a response and status in response to a command issued from the electronic device 1, and the electronic device 1 also receives a response and status from the electronic device 2. In the case of switching the interface voltage in the present invention without confirming that it is normal, the effect of the present invention does not change.

また本発明に係るインターフェース回路を備えた電子機器はメモリカードやIOカードのような着脱可能な機器に限定されないことは明らかであり、例えばコントローラLSIとメモリやその他機能ブロックを単一パッケージに封止し、基板に半田付けして使用するLSI形状の電子機器に適用が可能である。   In addition, it is obvious that an electronic device including the interface circuit according to the present invention is not limited to a removable device such as a memory card or an IO card. For example, a controller LSI, a memory, and other functional blocks are sealed in a single package. However, the present invention can be applied to LSI-shaped electronic devices used by soldering to a substrate.

本発明にかかるインターフェース回路、該インターフェース回路を備えた電子機器、通信システム、及び電圧切り替え方法によれば、スレーブ機器はホスト機器からのインターフェース電圧変更命令に応答して、スレーブ機器のインターフェース電圧を切り替えた後、ホスト機器に電圧切り替え完了を通知する際、常にホスト機器インターフェース側の電圧を元にした信号レベルでの通信が可能となるため、インターフェース電圧の切り替え制
御を従来技術と比較して確実に実行でき、複数のインターフェース電圧から動作電圧を選択することができるシステムにおいて、ホスト機器およびスレーブ機器の動作中に少なくとも2本以上の既存のインターフェース規格であれば、同じバス本数で、安定かつ効率的にインターフェース電圧を切り替えることが可能となる。
According to the interface circuit, the electronic device including the interface circuit, the communication system, and the voltage switching method according to the present invention, the slave device switches the interface voltage of the slave device in response to the interface voltage change command from the host device. After that, when notifying the completion of voltage switching to the host device, communication at the signal level based on the voltage on the host device interface side is always possible, so the interface voltage switching control is more reliable than in the conventional technology. In a system that can be executed and can select an operating voltage from a plurality of interface voltages, at least two or more existing interface standards during operation of a host device and a slave device are stable and efficient with the same number of buses. Turn off the interface voltage It can be obtained to become.

本発明の第1の実施の形態に係る通信システムの構成を示すブロック図The block diagram which shows the structure of the communication system which concerns on the 1st Embodiment of this invention. 図1の通信システムにおいて、電子機器1と電子機器2間のインターフェース電圧を下げる場合の手順を示すシーケンス図1 is a sequence diagram showing a procedure for lowering the interface voltage between the electronic device 1 and the electronic device 2 in the communication system of FIG. 図2のシーケンスにおいて、バス50,51,52の動きを示したタイミングチャート2 is a timing chart showing the movement of the buses 50, 51 and 52 in the sequence of FIG. 図1の通信システムにおいて、電子機器1と電子機器2間のインターフェース電圧を上げる場合の手順を示すシーケンス図1 is a sequence diagram showing a procedure for increasing the interface voltage between the electronic device 1 and the electronic device 2 in the communication system of FIG. 図4のシーケンスにおいて、バス50,51,52の動きを示したタイミングチャート4 is a timing chart showing the movement of the buses 50, 51, and 52 in the sequence of FIG. 本発明の第2の実施の形態に係る通信システムの構成を示すブロック図The block diagram which shows the structure of the communication system which concerns on the 2nd Embodiment of this invention. 図6の通信システムにおいて、電子機器1と電子機器2間のインターフェース電圧を下げる場合の手順を示すシーケンス図6 is a sequence diagram showing a procedure for lowering the interface voltage between the electronic device 1 and the electronic device 2 in the communication system of FIG. 図6の通信システムにおいて、電子機器1と電子機器2間のインターフェース電圧を上げる場合の手順を示すシーケンス図6 is a sequence diagram showing a procedure for increasing the interface voltage between the electronic device 1 and the electronic device 2 in the communication system of FIG. 図8のシーケンスにおいて、バス50,51,52の動きを示したタイミングチャートTiming chart showing the movement of the buses 50, 51, 52 in the sequence of FIG.

符号の説明Explanation of symbols

1・・・ホスト側電子機器
2・・・スレーブ側電子機器
10・・・電圧源
11,21・・・レギュレータ
12,22・・・電圧検知回路
13,23・・・コントローラ
14,24・・・出力制御回路
15,25・・・安定待ち回路
16,17,26,27・・・入出力バッファ
18・・・出力バッファ
28・・・入力バッファ
19、29・・・プルアップ抵抗
30・・・プルアップ抵抗制御回路
40・・・電源線
50,51・・・通信バス
52・・・クロックバス
DESCRIPTION OF SYMBOLS 1 ... Host side electronic device 2 ... Slave side electronic device 10 ... Voltage source 11, 21 ... Regulator 12, 22 ... Voltage detection circuit 13, 23 ... Controller 14, 24 ... Output control circuits 15, 25 ... Stabilization wait circuits 16, 17, 26, 27 ... I / O buffer 18 ... Output buffer 28 ... Input buffers 19, 29 ... Pull-up resistor 30 ... Pull-up resistance control circuit 40: power supply lines 50, 51 ... communication bus 52 ... clock bus

Claims (14)

少なくとも2つの電子機器の間で、前記少なくとも2つの電子機器のうち少なくとも1つがホスト機器となり、前記少なくとも2つの電子機器のうち少なくとも1つのスレーブ機器に対してマスタ−スレーブ方式の通信を行う通信システムにおいて前記スレーブ機器に備えられたインターフェース回路であって、
前記インターフェース回路は、
前記ホスト機器と前記スレーブ機器間のインターフェース電圧を下げる際に、前記スレーブ機器のインターフェース電圧切り替え中は、前記ホスト機器に対して切り替え前の電圧レベルでHレベルを出力し続ける手段と、
前記スレーブ機器のインターフェース電圧切り替え完了後にLレベルを出力する手段と、を備えたことを特徴とするインターフェース回路。
A communication system in which at least one of the at least two electronic devices serves as a host device between at least two electronic devices, and performs master-slave communication with at least one slave device of the at least two electronic devices. An interface circuit provided in the slave device,
The interface circuit is
Means for continuously outputting the H level at the voltage level before switching to the host device during the interface voltage switching of the slave device when lowering the interface voltage between the host device and the slave device;
Means for outputting an L level after completion of switching of the interface voltage of the slave device.
上記切り替え前の電圧レベルの保持のために、前記ホスト側電源に接続されたプルアップ抵抗を使用する手段を備えたことを特徴とする請求項1記載のインターフェース回路。   2. The interface circuit according to claim 1, further comprising means for using a pull-up resistor connected to the host-side power supply for maintaining the voltage level before switching. 電圧切り替えの完了後に、前記プルアップ抵抗を切断する手段を備えたことを特徴とする請求項2記載のインターフェース回路。   3. The interface circuit according to claim 2, further comprising means for disconnecting the pull-up resistor after completion of voltage switching. 請求項1乃至3記載のうちのいずれかのインターフェース回路を備えたことを特徴とする電子機器。   An electronic device comprising the interface circuit according to claim 1. 少なくとも2つの電子機器の間で、前記少なくとも2つの電子機器のうち少なくとも1つがホスト機器となり、前記少なくとも2つの電子機器のうち少なくとも1つのスレーブ機器に対してマスタ−スレーブ方式の通信を行う通信システムにおいて前記ホスト機器に備えられたインターフェース回路であって、
前記インターフェース回路は、
前記ホスト機器と前記スレーブ機器間のインターフェース電圧を下げる際に、前記スレーブ機器のインターフェース電圧切り替え完了を検知する手段と、
前記スレーブ機器のインターフェース電圧切り替え完了後に前記ホスト機器のインターフェース電圧を切り替える手段と、
を備えたことを特徴とするインターフェース回路。
A communication system in which at least one of the at least two electronic devices serves as a host device between at least two electronic devices, and performs master-slave communication with at least one slave device of the at least two electronic devices. An interface circuit provided in the host device,
The interface circuit is
Means for detecting completion of interface voltage switching of the slave device when lowering the interface voltage between the host device and the slave device;
Means for switching the interface voltage of the host device after completion of the interface voltage switching of the slave device;
An interface circuit characterized by comprising:
請求項5記載のインターフェース回路を備えたことを特徴とする電子機器。   An electronic device comprising the interface circuit according to claim 5. 請求項4の記載の電子機器と、請求項6記載の電子機器と、を備えたことを特徴とする通信システム。   A communication system comprising: the electronic device according to claim 4; and the electronic device according to claim 6. 少なくとも2つの電子機器の間で、前記少なくとも2つの電子機器のうち少なくとも1つがホスト機器となり、前記少なくとも2つの電子機器のうち少なくとも1つのスレーブ機器に対してマスタ−スレーブ方式の通信を行う通信システムにおいて前記ホスト機器と前記スレーブ機器間のインターフェース電圧を下げる際に、
前記スレーブ機器のインターフェース電圧切り替え中は、前記スレーブ機器から前記ホスト機器に対して切り替え前の電圧レベルでHレベルを出力し続けるステップと、
前記スレーブ機器のインターフェース電圧切り替え完了後に前記スレーブ機器から前記ホスト機器へLレベルを出力するステップと、
前記スレーブ機器からのLレベルを検知し、前記ホスト機器のインターフェース電圧を切り替えるステップと
を含むことを特徴とする電圧切り替え方法。
A communication system in which at least one of the at least two electronic devices serves as a host device between at least two electronic devices, and performs master-slave communication with at least one slave device of the at least two electronic devices. In reducing the interface voltage between the host device and the slave device in
During the interface voltage switching of the slave device, the slave device continues to output H level at the voltage level before switching from the slave device to the host device;
Outputting L level from the slave device to the host device after completion of interface voltage switching of the slave device;
Detecting the L level from the slave device and switching the interface voltage of the host device.
少なくとも2つの電子機器の間で、前記少なくとも2つの電子機器のうち少なくとも1つがホスト機器となり、前記少なくとも2つの電子機器のうち少なくとも1つのスレーブ機器に対してマスタ−スレーブ方式の通信を行う通信システムにおいて前記ホスト機器に備えられたインターフェース回路であって、
前記インターフェース回路は、
前記ホスト機器と前記スレーブ機器間のインターフェース電圧を上げる際に、前記ホスト機器のインターフェース電圧切り替え中は、前記スレーブ機器に対して切り替え前の電圧以上のレベルでHレベルを出力し続ける手段と、
前記ホスト機器のインターフェース電圧切り替え完了後にLレベルを出力する手段と、
を備えたことを特徴とするインターフェース回路。
A communication system in which at least one of the at least two electronic devices serves as a host device between at least two electronic devices, and performs master-slave communication with at least one slave device of the at least two electronic devices. An interface circuit provided in the host device,
The interface circuit is
Means for continuously outputting an H level at a level equal to or higher than the voltage before switching to the slave device during the interface voltage switching of the host device when raising the interface voltage between the host device and the slave device;
Means for outputting L level after completion of interface voltage switching of the host device;
An interface circuit characterized by comprising:
請求項9記載のインターフェース回路を備えたことを特徴とする電子機器。   An electronic device comprising the interface circuit according to claim 9. 少なくとも2つの電子機器の間で、前記少なくとも2つの電子機器のうち少なくとも1つがホスト機器となり、前記少なくとも2つの電子機器のうち少なくとも1つのスレーブ機器に対してマスタ−スレーブ方式の通信を行う通信システムにおいて前記スレーブ機器に備えられたインターフェース回路であって、
前記インターフェース回路は、
前記ホスト機器と前記スレーブ機器間のインターフェース電圧を上げる際に、前記ホスト機器のインターフェース電圧の切り替え中はLレベルを出力する手段と、
前記ホスト機器のインターフェース電圧切り替え完了を検知する手段と
前記ホスト機器のインターフェース電圧切り替え完了後に、前記スレーブ機器のインターフェース電圧を切り替える手段と、
前記スレーブ機器のインターフェース電圧切り替え完了後に切り替え後の電圧レベルでHレベルを出力する手段と、
を備えたことを特徴とするインターフェース回路。
A communication system in which at least one of the at least two electronic devices serves as a host device between at least two electronic devices, and performs master-slave communication with at least one slave device of the at least two electronic devices. An interface circuit provided in the slave device,
The interface circuit is
Means for outputting an L level during switching of the interface voltage of the host device when raising the interface voltage between the host device and the slave device;
Means for detecting completion of interface voltage switching of the host device and means for switching interface voltage of the slave device after completion of interface voltage switching of the host device;
Means for outputting an H level at the voltage level after switching after completion of the interface voltage switching of the slave device;
An interface circuit characterized by comprising:
請求項11記載のインターフェースを備えたことを特徴とする電子機器。   An electronic apparatus comprising the interface according to claim 11. 請求項10の記載の電子機器と、請求項11記載の電子機器と、を備えたことを特徴とする通信システム。   A communication system comprising the electronic device according to claim 10 and the electronic device according to claim 11. 少なくとも2つの電子機器の間で、前記少なくとも2つの電子機器のうち少なくとも1つがホスト機器となり、前記少なくとも2つの電子機器のうち少なくとも1つのスレーブ機器に対してマスタ−スレーブ方式の通信を行う通信システムにおいて前記ホスト機器と前記スレーブ機器間のインターフェース電圧を上げる際に、
前記ホスト機器のインターフェース電圧の切り替え中は前記スレーブ機器からLレベルを出力するステップと、
前記ホスト機器より前記スレーブ機器に対して切り替え前の電圧以上のレベルでHレベルを出力し続けるステップと、
前記ホスト機器のインターフェース電圧切り替え完了後に前記スレーブ機器に対してLレベルを出力するステップと、
前記ホスト機器からのLレベルを検知し、前記スレーブ機器のインターフェース電圧切り替えを実施するステップと、
前記スレーブ機器のインターフェース電圧を切り替え完了後に切り替え後の電圧レベルでHレベルを出力するステップと
を含むことを特徴とする電圧切り替え方法。
A communication system in which at least one of the at least two electronic devices serves as a host device between at least two electronic devices, and performs master-slave communication with at least one slave device of the at least two electronic devices. In raising the interface voltage between the host device and the slave device in
Outputting an L level from the slave device during switching of the interface voltage of the host device;
Continuing to output H level from the host device to the slave device at a level equal to or higher than the voltage before switching;
Outputting L level to the slave device after completion of interface voltage switching of the host device;
Detecting L level from the host device and switching the interface voltage of the slave device;
And a step of outputting an H level at the voltage level after switching after the interface voltage of the slave device has been switched.
JP2008036811A 2008-02-19 2008-02-19 Interface circuit, electronic device having interface circuit, communication system and voltage switching method Pending JP2009199106A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008036811A JP2009199106A (en) 2008-02-19 2008-02-19 Interface circuit, electronic device having interface circuit, communication system and voltage switching method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008036811A JP2009199106A (en) 2008-02-19 2008-02-19 Interface circuit, electronic device having interface circuit, communication system and voltage switching method

Publications (1)

Publication Number Publication Date
JP2009199106A true JP2009199106A (en) 2009-09-03

Family

ID=41142569

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008036811A Pending JP2009199106A (en) 2008-02-19 2008-02-19 Interface circuit, electronic device having interface circuit, communication system and voltage switching method

Country Status (1)

Country Link
JP (1) JP2009199106A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011216078A (en) * 2010-03-16 2011-10-27 Panasonic Corp Information processing apparatus, nonvolatile storage device, information processing system, and nonvolatile memory controller

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011216078A (en) * 2010-03-16 2011-10-27 Panasonic Corp Information processing apparatus, nonvolatile storage device, information processing system, and nonvolatile memory controller
US9007864B2 (en) 2010-03-16 2015-04-14 Panasonic Intellectual Property Management Co., Ltd. Information processing apparatus, nonvolatile storage device, information porcessing system and nonvolatile memory controller

Similar Documents

Publication Publication Date Title
JP5395948B2 (en) Interface device for host device, interface device for slave device, host device, slave device, communication system, and interface voltage switching method
US8160645B2 (en) Apparatus and method for supporting SIM card in mobile communication terminal having multiple modems
US7007116B2 (en) Electronic apparatus and startup control method of storage device
CN101167038A (en) Card electronic device and host device
US20150253842A1 (en) Semiconductor device, and power control method for usbotg
CN104281461B (en) A kind of starting-up display control and device
US8407390B2 (en) Method and apparatus for data processing
CN108055212B (en) Method and device compatible with PSE chip
JP2009199106A (en) Interface circuit, electronic device having interface circuit, communication system and voltage switching method
JP4954023B2 (en) Image forming apparatus and connection notification method
JP2006031250A (en) Communication equipment and its control method
CN108701104B (en) Data transmission system, projector, and data transmission method
JP4364211B2 (en) Card device
CN101989245A (en) Projector, its control method and microprocessor
JP2012008630A (en) Serial memory control system, method and program
WO2010060343A1 (en) An apparatus and method for starting smartcard
JP7596131B2 (en) Relay device, control method and program
CN112165544A (en) Electronic equipment communication control method and device and electronic equipment
CN101470675B (en) Data output method and apparatus
JP2006155024A (en) Hub function controller
JP4454438B2 (en) Multifunction card driver installation control method, control program, and control system
JP4624252B2 (en) Data packet transfer device, data packet transfer method, and data packet transfer program
JP2000148278A (en) Data processor with communication function and its clock control method
JP2009169677A (en) Control circuit, electronic circuit, electronic device, and USB connection method for USB connection
JPH08191319A (en) Data communication system