JPH06103177A - Reception processing method/device and bus monitoring method - Google Patents

Reception processing method/device and bus monitoring method

Info

Publication number
JPH06103177A
JPH06103177A JP4275254A JP27525492A JPH06103177A JP H06103177 A JPH06103177 A JP H06103177A JP 4275254 A JP4275254 A JP 4275254A JP 27525492 A JP27525492 A JP 27525492A JP H06103177 A JPH06103177 A JP H06103177A
Authority
JP
Japan
Prior art keywords
bus
buffer
transmission mode
microcomputer
data
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
JP4275254A
Other languages
Japanese (ja)
Inventor
Kenichi Konuma
健一 小沼
Hiroki Tsumori
弘樹 津守
Shunei Hayashi
俊英 林
Toshiyuki Terajima
敏之 寺島
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.)
Sony Corp
Original Assignee
Sony 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 Sony Corp filed Critical Sony Corp
Priority to JP4275254A priority Critical patent/JPH06103177A/en
Publication of JPH06103177A publication Critical patent/JPH06103177A/en
Pending legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)
  • Multi Processors (AREA)

Abstract

PURPOSE:To prevent the malfunctions caused by the misreception of data by storing temporarily the data received via a bus in a buffer and then disusing the data stored in the buffer if the opposite party connected via the bus is not set in a transmission mode. CONSTITUTION:A microcomputer 2 stores temporarily the received data in a buffer and the decides whether an integrated circuit ICn is set in a transmission mode or not by checking the slave address transmitted by the microcomputer 2 itself. If the circuit ICn is set in a transmission mode, the microcomputer 2 receives the data stored in the buffer, if not, the data stored in the buffer are disused. Thus it is possible to prevent malfunctions, runaway, destruction, etc., of a system even if a reception mode is erroneously set by the disturbance in terms or hardware.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、AV(オーディオ/ビ
デオ)機器に好適な受信処理方法および装置ならびにバ
ス監視方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a reception processing method and apparatus suitable for AV (audio / video) equipment, and a bus monitoring method.

【0002】[0002]

【従来の技術】従来、AV機器内部のマイクロコンピュ
ータと各集積回路とはI2C(Inter IC)バス
によって接続されている。
2. Description of the Related Art Conventionally, a microcomputer inside an AV device and each integrated circuit are connected by an I 2 C (Inter IC) bus.

【0003】[0003]

【発明が解決しようとする課題】上述の従来のI2Cバ
スを使用したシステムでは、外乱による送受信の状態の
変化を監視していなかったため、送信したはずのデータ
が相手に受信されず、逆にそのデータを取り込んでしま
い、誤動作、暴走、システムの破壊等の問題が発生し
た。
In the above-described system using the I 2 C bus, since the change in the transmission / reception state due to the disturbance is not monitored, the data that should have been transmitted is not received by the other party, and Then, the data was taken in, and problems such as malfunction, runaway, and system destruction occurred.

【0004】また、I2Cバスの使用状態は、I2Cバス
インターフェイス回路によるハード的検出のみでチェッ
クしていたため、正しい動作中であるのか誤動作中であ
るのか判断できなかった。このため、I2Cバスの誤動
作により、I2Cバスに接続された集積回路が誤動作し
てしまうという問題があった。
[0004] The use state of the I 2 C bus, because it was checked only by hardware detection by I 2 C bus interface circuit, not determine whether the being malfunctioning whether a correct behavior during. Therefore, the erroneous operation of the I 2 C bus, there is a problem that an integrated circuit connected to the I 2 C bus malfunctions.

【0005】また、I2Cバスの状態を常に監視してい
なかったため、外乱によるI2Cバスの誤動作により、
2Cバスに接続された集積回路が誤動作してしまうこ
とがあった。また、異常時に、無理にI2Cバスを動作
させようとすると、ジェネラルコール(I2Cバスに接
続されたすべての集積回路に対して、予期せぬデータを
送信する)の可能性があり、危険であった。
Further, since the state of the I 2 C bus is not always monitored, a malfunction of the I 2 C bus due to disturbance causes
The integrated circuit connected to the I 2 C bus may malfunction. Further, if an attempt is made to force the I 2 C bus to operate at abnormal times, there is a possibility of a general call (sending unexpected data to all integrated circuits connected to the I 2 C bus). It was dangerous.

【0006】本発明の第1の目的は、送信モードである
にも拘らず、外乱等により誤って受信状態となってしま
っても、誤動作を防止できるようにすることにある。
A first object of the present invention is to prevent a malfunction even if the reception mode is mistakenly caused by a disturbance or the like despite the transmission mode.

【0007】本発明の第2の目的は、バスの使用状態を
明確にできるバス監視方法を提供することを目的とす
る。
A second object of the present invention is to provide a bus monitoring method capable of clarifying the bus usage state.

【0008】本発明の第3の目的は、バスの状態を常に
監視できるバス監視方法を提供することを目的とする。
A third object of the present invention is to provide a bus monitoring method capable of constantly monitoring the bus status.

【0009】[0009]

【課題を解決するための手段】請求項1に記載の受信処
理方法は、バスを介して受信されたデータを一時的にバ
ッファに記憶し(例えば、図3のステップS1)、バス
を介して接続されている相手が送信モードか否かを調べ
(例えば、図3のステップS2)、相手が送信モードで
なければ、バッファに記憶したデータを破棄する(例え
ば、図3のステップS4)ことを特徴とする。
According to a first aspect of the present invention, there is provided a reception processing method, wherein data received via a bus is temporarily stored in a buffer (for example, step S1 in FIG. 3) and the data is transmitted via the bus. It is checked whether the connected partner is in the transmission mode (for example, step S2 in FIG. 3), and if the partner is not in the transmission mode, the data stored in the buffer is discarded (for example, step S4 in FIG. 3). Characterize.

【0010】請求項2に記載の受信処理方法は、マスタ
がバスを介して受信されたデータを一時的にバッファに
記憶し(例えば、図3のステップS1)、マスタがバス
を介して接続されているスレーブが送信モードか否かを
調べ(例えば、図3のステップS2)、スレーブが送信
モードでなければ、マスタがバッファに記憶したデータ
を破棄する(例えば、図3のステップS4)ことを特徴
とする。
In the reception processing method according to the second aspect, the master temporarily stores the data received via the bus in a buffer (eg, step S1 in FIG. 3), and the master is connected via the bus. The slave is in the transmission mode (for example, step S2 in FIG. 3), and if the slave is not in the transmission mode, the master discards the data stored in the buffer (for example, step S4 in FIG. 3). Characterize.

【0011】請求項3に記載の受信処理装置は、バスを
介して受信されたデータを一時的に記憶するバッファ
(例えば、図1のマイクロコンピュータ1中のバッフ
ァ)と、バスを介して接続されている相手が送信モード
か否かを調べ、相手が送信モードでなければ、バッファ
に記憶したデータを破棄する制御手段(例えば、図3の
ステップS2およびS4の処理を行うマイクロコンピュ
ータ1)とを備えることを特徴とする。
A reception processing device according to a third aspect is connected via a bus to a buffer (for example, a buffer in the microcomputer 1 in FIG. 1) for temporarily storing data received via the bus. The other party is in the transmission mode, and if the other party is not the transmission mode, the control means for discarding the data stored in the buffer (for example, the microcomputer 1 that performs the processing of steps S2 and S4 in FIG. 3). It is characterized by being provided.

【0012】請求項4に記載のバス監視方法は、マスタ
が、バス使用中に、そのことを示す情報を保持する(例
えば、図4のステップS12およびS15の処理)こと
を特徴とする。
A bus monitoring method according to a fourth aspect of the present invention is characterized in that the master holds information indicating that during use of the bus (for example, the processing of steps S12 and S15 of FIG. 4).

【0013】請求項5に記載のバス監視方法は、バスを
構成するラインの電圧を常時監視する(例えば、図8の
ステップS32の処理)ことを特徴とする。
The bus monitoring method according to a fifth aspect is characterized in that the voltage of the lines forming the bus is constantly monitored (for example, the process of step S32 in FIG. 8).

【0014】[0014]

【作用】請求項1の構成の受信処理方法においては、バ
スを介して受信されたデータが一時的にバッファに記憶
され、バスを介して接続されている相手が送信モードか
否かが調べられ、相手が送信モードでなければ、バッフ
ァに記憶したデータが破棄される。
In the receiving processing method of the first aspect of the present invention, the data received via the bus is temporarily stored in the buffer, and it is checked whether or not the partner connected via the bus is in the transmission mode. If the other party is not in the transmission mode, the data stored in the buffer is discarded.

【0015】請求項2の構成の受信処理方法において
は、バスを介して受信されたデータがマスタによって一
時的にバッファに記憶され、バスを介して接続されてい
るスレーブが送信モードか否かがマスタによって調べら
れ、スレーブが送信モードでなければ、バッファに記憶
されたデータがマスタによって破棄される。
In the reception processing method according to the second aspect of the present invention, the data received via the bus is temporarily stored in the buffer by the master, and whether the slave connected via the bus is in the transmission mode or not. If the slave is not in transmit mode as examined by the master, the data stored in the buffer is discarded by the master.

【0016】請求項3の構成の受信処理装置において
は、バスを介して受信されたデータが一時的にバッファ
に記憶され、制御手段が、バスを介して接続されている
相手が送信モードか否かを調べ、相手が送信モードでな
ければ、バッファに記憶したデータを破棄する。
According to another aspect of the reception processing device of the present invention, the data received via the bus is temporarily stored in the buffer, and the control means determines whether the partner connected via the bus is in the transmission mode. If it is not the transmission mode, the data stored in the buffer is discarded.

【0017】請求項4の構成のバス監視方法において
は、バス使用中を示す情報がマスタによって保持され
る。
In the bus monitoring method of the fourth aspect, the master holds information indicating that the bus is in use.

【0018】請求項5の構成のバス監視方法において
は、バスを構成するラインの電圧が常時監視される。
According to another aspect of the bus monitoring method of the present invention, the voltages of the lines forming the bus are constantly monitored.

【0019】[0019]

【実施例】図1は、本発明の受信処理方法およびバス監
視方法の実施に使用される装置の一例であるI2Cバス
システムを示す。マイクロコンピュータ2は、I2Cバ
スを構成するシリアルクロックライン4およびシリアル
データライン6を介して集積回路IC1乃至ICnに接
続されている。マイクロコンピュータ2および集積回路
IC1乃至ICnは、それぞれ、I2Cインターフェイ
ス端子SCLおよびSDAを有している。I2Cインタ
ーフェイス端子SCLおよびSDAは、それぞれ、シリ
アルクロックライン4およびシリアルデータライン6に
接続されている。マイクロコンピュータ2が、マスタ
(通信開始側)であり、集積回路IC1乃至ICnがス
レーブ(通信を指定される側)である。
FIG. 1 shows an I 2 C bus system which is an example of an apparatus used for implementing the reception processing method and the bus monitoring method of the present invention. The microcomputer 2 is connected to the integrated circuits IC1 to ICn via a serial clock line 4 and a serial data line 6 which form an I 2 C bus. The microcomputer 2 and the integrated circuits IC1 to ICn have I 2 C interface terminals SCL and SDA, respectively. The I 2 C interface terminals SCL and SDA are connected to the serial clock line 4 and the serial data line 6, respectively. The microcomputer 2 is a master (communication start side), and the integrated circuits IC1 to ICn are slaves (side for which communication is designated).

【0020】図2は、図1のマイクロコンピュータ2か
ら集積回路ICnへ送信されるデータのフォーマットを
示す。図2中のスレーブアドレスは、マスタからのスレ
ーブ指定および操作モード指定(データ受信モードまた
はデータ送信モードの指定)を行う。すなわち、スレー
ブアドレスの最後に位置するR/Wビットが「0」のと
きは、受信モードを示し、「1」のときは、送信モード
を示す。マイクロコンピュータ2と集積回路IC1乃至
ICnとの間の通信手続きは、I2Cバスインターフェ
イス回路により、ハード的に行われ、データ受信モード
およびデータ送信モードは、自動的に決定される。
FIG. 2 shows a format of data transmitted from the microcomputer 2 of FIG. 1 to the integrated circuit ICn. The slave address in FIG. 2 designates a slave and an operation mode (designation of a data reception mode or a data transmission mode) from the master. That is, when the R / W bit located at the end of the slave address is "0", it indicates the reception mode, and when it is "1", it indicates the transmission mode. The communication procedure between the microcomputer 2 and the integrated circuits IC1 to ICn is performed by hardware by the I 2 C bus interface circuit, and the data reception mode and the data transmission mode are automatically determined.

【0021】図3は、本発明の受信処理方法の一実施例
を示す。マイクロコンピュータ2は、データを受信する
と、そのデータをそのまま受理するのではなく一時的に
バッファに格納する(ステップS1)。次に、マイクロ
コンピュータ2は、集積回路ICnが送信モードか否か
を、自らが送信したスレーブアドレスをチェックするこ
とにより判断し(ステツプS2)、送信モードであると
きには、バッファに記憶されているデータを受理し(ス
テップS3)、送信モードでなければ、バッファに記憶
されているデータを破棄する(ステップS4)。
FIG. 3 shows an embodiment of the reception processing method of the present invention. When the microcomputer 2 receives the data, it does not accept the data as it is but temporarily stores it in the buffer (step S1). Next, the microcomputer 2 determines whether or not the integrated circuit ICn is in the transmission mode by checking the slave address transmitted by itself (step S2). When the integrated circuit ICn is in the transmission mode, the data stored in the buffer is stored. Is accepted (step S3), and if it is not the transmission mode, the data stored in the buffer is discarded (step S4).

【0022】従って、外乱によりハード的に誤って受信
モードになっても、誤動作、暴走およびシステムの破壊
を防止むすることができる。
Therefore, even if the hardware is erroneously set to the reception mode due to a disturbance, malfunction, runaway, and system damage can be prevented.

【0023】図4および図5は、本発明のバス監視方法
の一実施例においてデータ転送時に実行される処理およ
び監視処理を示す。マイクロコンピュータ2は、I2
バスを介するデータ転送を開始すると、まず、スタート
コンディションを発生し(ステップS11)、バス使用
中フラグを「1」にセットする(ステップS12)。続
いて、マイクロコンピュータ2は、データ転送を行い
(ステップS13)、それが完了すると、ストップコン
ディションを発生する(ステップS14)。そして、マ
イクロコンピュータ2は、バス使用中フラグを「0」に
セットする。
FIGS. 4 and 5 show processing and monitoring processing executed during data transfer in one embodiment of the bus monitoring method of the present invention. The microcomputer 2 is I 2 C
When data transfer via the bus is started, a start condition is first generated (step S11), and the bus busy flag is set to "1" (step S12). Subsequently, the microcomputer 2 transfers data (step S13), and when this is completed, generates a stop condition (step S14). Then, the microcomputer 2 sets the bus busy flag to "0".

【0024】マイクロコンピュータ2は、例えば約16
ms毎に、図5の監視処理を行う。すなわち、I2Cバ
スインターフェイス回路がI2Cバスが動作中であると
ハード的に判断すると(ステップS21のYES)、マ
イクロコンピュータ2は、バス使用中フラグをチェック
する(ステップS22)。バス使用中フラグが「1」で
あると、データ転送によりバスが動作中ということであ
るから、マイクロコンピュータ2は、正常動作と判断す
る。バス使用中フラグが「0」であると、マイクロコン
ピュータ2は、異常処理を行う(ステップS23)。
The microcomputer 2 has, for example, about 16
The monitoring process of FIG. 5 is performed every ms. That is, when the I 2 C bus interface circuit hardware-determines that the I 2 C bus is operating (YES in step S21), the microcomputer 2 checks the bus busy flag (step S22). When the bus busy flag is "1", it means that the bus is operating due to data transfer, and therefore the microcomputer 2 determines that the bus is operating normally. If the bus busy flag is "0", the microcomputer 2 performs an abnormality process (step S23).

【0025】図6は、I2Cバスシステムをテレビジョ
ン受像機に適用した場合の一例を示す。マイクロコンピ
ュータ2は、I2Cバスを介してビデオプロセッサ1
2、オーディオプロセッサ16および不揮発性メモリ2
0等に接続されている。ビデオプロセッサ12、オーデ
ィオプロセッサ16および不揮発性メモリ20等が、図
1の集積回路IC1乃至ICnに対応する。また、マイ
クロコンピュータ2は、メッセージ用RGBデータをビ
デオプロセッサ12に供給し、コントロール信号を電源
22に供給する。ビデオプロセッサ12は、処理結果で
あるRGBビデオ信号をCRT14に出力する。オーデ
ィオプロセッサ16は、処理結果であるオーディオ信号
をスピーカ18に出力する。
FIG. 6 shows an example in which the I 2 C bus system is applied to a television receiver. The microcomputer 2 is a video processor 1 via an I 2 C bus.
2, audio processor 16 and non-volatile memory 2
It is connected to 0 etc. The video processor 12, the audio processor 16, the non-volatile memory 20, and the like correspond to the integrated circuits IC1 to ICn in FIG. The microcomputer 2 also supplies RGB data for messages to the video processor 12 and supplies a control signal to the power supply 22. The video processor 12 outputs the RGB video signal that is the processing result to the CRT 14. The audio processor 16 outputs an audio signal as a processing result to the speaker 18.

【0026】図6のようなI2Cバスシステムにおける
マイクロコンピュータ2による図5のステップS23の
異常処理は、ビデオプロセッサ12、オーディオプロセ
ッサ16および不揮発性メモリ20等の集積回路のリセ
ット、I2Cバスの再接続、データの再転送、電源のオ
フおよびオンによるシステムの再起動、異常発生メッセ
ージの表示等を行う。従って、システム全体としての誤
動作およびシステムの破壊を防止することができる。
The abnormality processing in step S23 of FIG. 5 by the microcomputer 2 in the I 2 C bus system as shown in FIG. 6 is performed by resetting the integrated circuits such as the video processor 12, the audio processor 16 and the non-volatile memory 20, I 2 C It reconnects the bus, retransfers data, restarts the system by turning the power off and on, and displays error messages. Therefore, it is possible to prevent malfunction of the entire system and destruction of the system.

【0027】図7は、本発明のバス監視方法の他の実施
例の実施に使用される装置の一例を示す。マイクロコン
ピュータ2は、I2Cインターフェイス端子SDAおよ
びSCLを有する点は、図1と同一であるが、I2Cバ
スのシリアルクロックライン4およびシリアルデータラ
イン6の状態すなわち電圧をチェックするための端子S
CLCKおよびSDACKを有している点がことなる。
FIG. 7 shows an example of an apparatus used for implementing another embodiment of the bus monitoring method of the present invention. The microcomputer 2 is the same as FIG. 1 in that it has I 2 C interface terminals SDA and SCL, but is a terminal for checking the state, that is, the voltage of the serial clock line 4 and the serial data line 6 of the I 2 C bus. S
The difference is that it has CLCK and SDACK.

【0028】図8は、本発明のバス監視方法の他の実施
例の処理を示す。マイクロコンピュータ2は、例えば約
16ms毎に、図8の監視処理を行う。すなわち、マイ
クロコンピュータ2は、I2Sバスが使用中か否か調べ
(ステップS31)、バス使用中であれば、チェックを
終了する。バスが使用中でなければ、マイクロコンピュ
ータ2は、端子SCLCKおよびSDACKの電圧レベ
ルをチェツクし(ステップS32)、両端子とも「H」
(高電圧レベル)であれば(I2Cバスは使用されてい
ないとき「H」である)、チェツクを終了し、そうでな
ければ、異常処理を行う(ステップS33)。マイクロ
コンピュータ2は、図6に示されたようなテレビジョン
受像機制御用マイクロコンピュータとすることができ
る。この場合、マイクロコンピュータ2以外の集積回路
相互間の通信は行われないため、I2Cバスの使用状態
はマイクロコンピュータ2が判断できる。異常処理は、
前述したのと同様であり、システム全体としての誤動作
およびシステムの破壊を防止することができ、また、誤
動作からの復帰が可能である。
FIG. 8 shows the processing of another embodiment of the bus monitoring method of the present invention. The microcomputer 2 performs the monitoring process of FIG. 8 every 16 ms, for example. That is, the microcomputer 2 checks whether the I 2 S bus is in use (step S31), and if the bus is in use, ends the check. If the bus is not in use, the microcomputer 2 checks the voltage levels of the terminals SCLCK and SDACK (step S32), and both terminals are "H".
If it is (high voltage level) (“H” when the I 2 C bus is not used), the check is ended, and if not, an abnormal process is performed (step S33). The microcomputer 2 may be a television receiver control microcomputer as shown in FIG. In this case, since communication between integrated circuits other than the microcomputer 2 is not performed, the microcomputer 2 can judge the use state of the I 2 C bus. Abnormal processing is
As in the case described above, it is possible to prevent malfunction and destruction of the system as a whole, and it is possible to recover from malfunction.

【0029】なお、上記実施例は、I2Cバスに関する
ものであるが、本発明はこれに限定されず、種々のバス
に適用できる。
Although the above embodiment relates to the I 2 C bus, the present invention is not limited to this and can be applied to various buses.

【0030】[0030]

【発明の効果】請求項1の受信処理方法によれば、バス
を介して受信されたデータを一時的にバッファに記憶し
ておき、バスを介して接続されている相手が送信モード
か否かを調べ、相手が送信モードでなければ、バッファ
に記憶したデータを破棄するようにしたので、外乱によ
って誤って受信状態となっても、誤動作、暴走およびシ
ステムの破壊を防止することができる。
According to the reception processing method of the first aspect of the present invention, the data received via the bus is temporarily stored in the buffer, and whether or not the partner connected via the bus is in the transmission mode. Since the data stored in the buffer is discarded if the other party is not in the transmission mode, malfunction, runaway and system damage can be prevented even if the reception state is accidentally caused by a disturbance.

【0031】請求項2の受信処理方法によれば、マスタ
が、バスを介して受信されたデータを一時的にバッファ
に記憶し、マスタが、バスを介して接続されているスレ
ーブが送信モードか否かを調べ、スレーブが送信モード
でなければ、マスタはバッファに記憶されたデータを破
棄するようにしたので、外乱によって誤って受信状態と
なっても、誤動作、暴走およびシステムの破壊を防止す
ることができる。
According to the reception processing method of the second aspect, the master temporarily stores the data received via the bus in the buffer, and the master determines whether the slave connected via the bus is in the transmission mode. If the slave is not in the transmission mode, the master discards the data stored in the buffer, preventing malfunction, runaway, and system damage even if the reception state is accidentally caused by a disturbance. be able to.

【0032】請求項3の受信処理装置によれば、バスを
介して受信されたデータを一時的に記憶するバッファ
と、バスを介して接続されている相手が送信モードか否
かを調べ、相手が送信モードでなければ、バッファに記
憶したデータを破棄する制御手段とを備えるので、外乱
によって誤って受信状態となっても、誤動作、暴走およ
びシステムの破壊を防止することができる。
According to the third aspect of the present invention, the reception processing device checks whether or not the buffer for temporarily storing the data received via the bus and the partner connected via the bus are in the transmission mode. If is not the transmission mode, the control means for discarding the data stored in the buffer is provided, so that even if the reception state is mistakenly caused by a disturbance, malfunction, runaway, and system destruction can be prevented.

【0033】請求項4のバス監視方法によれば、バス使
用中を示す情報をマスタによって保持するようにしたの
で、使用状態を明確にできるから、バスの異常を検出す
ることができる。
According to the bus monitoring method of the fourth aspect, since the information indicating that the bus is in use is held by the master, the use state can be clarified, so that the bus abnormality can be detected.

【0034】請求項5のバス監視方法によれば、バスを
構成するラインの電圧を常時監視するようにしたので、
バスの状態を常に監視できるから、バスの異常を検出す
ることができる。
According to the bus monitoring method of the fifth aspect, the voltage of the lines forming the bus is constantly monitored.
Since the status of the bus can be constantly monitored, a bus abnormality can be detected.

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

【図1】本発明の受信処理方法およびバス監視方法の実
施に使用される装置の一例であるI2Cバスシステムを
示すブロック図である。
FIG. 1 is a block diagram showing an I 2 C bus system which is an example of an apparatus used for implementing a reception processing method and a bus monitoring method of the present invention.

【図2】図1のマイクロコンピュータ2から集積回路I
Cnへ送信されるデータのフォーマットを示す図であ
る。
FIG. 2 is an integrated circuit I from the microcomputer 2 of FIG.
It is a figure which shows the format of the data transmitted to Cn.

【図3】本発明の受信処理方法の一実施例を示すフロー
チャートである。
FIG. 3 is a flowchart showing an embodiment of a reception processing method of the present invention.

【図4】本発明のバス監視方法の一実施例においてデー
タ転送時に実行される処理を示すフローチャートであ
る。
FIG. 4 is a flowchart showing processing executed at the time of data transfer in an embodiment of the bus monitoring method of the present invention.

【図5】本発明のバス監視方法の一実施例における監視
処理を示すフローチャートである。
FIG. 5 is a flowchart showing a monitoring process in an embodiment of the bus monitoring method of the present invention.

【図6】I2Cバスシステムをテレビジョン受像機に適
用した場合の一例を示すブロック図である。
FIG. 6 is a block diagram showing an example in which the I 2 C bus system is applied to a television receiver.

【図7】本発明のバス監視方法の他の実施例の実施に使
用される装置の一例を示すブロック図である。
FIG. 7 is a block diagram showing an example of an apparatus used for implementing another embodiment of the bus monitoring method of the present invention.

【図8】本発明のバス監視方法の他の実施例の処理を示
すフローチャートである。
FIG. 8 is a flowchart showing a process of another embodiment of the bus monitoring method of the present invention.

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

2 マイクロコンピュータ 4 シリアルクロックライン 6 シリアルデータライン IC1乃至ICn 集積回路 2 Microcomputer 4 Serial Clock Line 6 Serial Data Line IC1 to ICn Integrated Circuit

───────────────────────────────────────────────────── フロントページの続き (72)発明者 寺島 敏之 東京都品川区北品川6丁目7番35号 ソニ ー株式会社内 ─────────────────────────────────────────────────── ─── Continuation of the front page (72) Inventor Toshiyuki Terashima 6-735 Kita-Shinagawa, Shinagawa-ku, Tokyo Inside Sony Corporation

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 バスを介して受信されたデータを一時的
にバッファに記憶し、 前記バスを介して接続されている相手が送信モードか否
かを調べ、 前記相手が送信モードでなければ、前記バッファに記憶
したデータを破棄することを特徴とする受信処理方法。
1. A method for temporarily storing data received via a bus in a buffer, checking whether a partner connected via the bus is in transmission mode, and if the partner is not in transmission mode, A reception processing method characterized in that the data stored in the buffer is discarded.
【請求項2】 マスタがバスを介して受信されたデータ
を一時的にバッファに記憶し、 前記マスタが前記バスを介して接続されているスレーブ
が送信モードか否かを調べ、 前記スレーブが送信モードでなければ、前記マスタが前
記バッファに記憶したデータを破棄することを特徴とす
る受信処理方法。
2. The master temporarily stores the data received via the bus in a buffer, the master checks whether or not a slave connected via the bus is in a transmission mode, and the slave transmits the data. If the mode is not set, the master discards the data stored in the buffer.
【請求項3】 バスを介して受信されたデータを一時的
に記憶するバッファと、 前記バスを介して接続されている相手が送信モードか否
かを調べ、前記相手が送信モードでなければ、前記バッ
ファに記憶したデータを破棄する制御手段とを備えるこ
とを特徴とする受信処理装置。
3. A buffer for temporarily storing data received via a bus, and whether or not a partner connected via the bus is in a transmission mode. If the partner is not the transmission mode, A reception processing device, comprising: a control unit that discards the data stored in the buffer.
【請求項4】 マスタが、バス使用中に、そのことを示
す情報を保持することを特徴とするバス監視方法。
4. The bus monitoring method, wherein the master holds information indicating that while the bus is in use.
【請求項5】 バスを構成するラインの電圧を常時監視
することを特徴とするバス監視方法。
5. A bus monitoring method characterized by constantly monitoring the voltage of a line constituting a bus.
JP4275254A 1992-09-18 1992-09-18 Reception processing method/device and bus monitoring method Pending JPH06103177A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4275254A JPH06103177A (en) 1992-09-18 1992-09-18 Reception processing method/device and bus monitoring method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4275254A JPH06103177A (en) 1992-09-18 1992-09-18 Reception processing method/device and bus monitoring method

Publications (1)

Publication Number Publication Date
JPH06103177A true JPH06103177A (en) 1994-04-15

Family

ID=17552852

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4275254A Pending JPH06103177A (en) 1992-09-18 1992-09-18 Reception processing method/device and bus monitoring method

Country Status (1)

Country Link
JP (1) JPH06103177A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0968422A (en) * 1995-12-27 1997-03-11 Olympus Optical Co Ltd Surface-shape measuring apparatus
JP2012195639A (en) * 2011-03-15 2012-10-11 Nec Access Technica Ltd Information processing device, information processing method, and information processing program

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0968422A (en) * 1995-12-27 1997-03-11 Olympus Optical Co Ltd Surface-shape measuring apparatus
JP2012195639A (en) * 2011-03-15 2012-10-11 Nec Access Technica Ltd Information processing device, information processing method, and information processing program

Similar Documents

Publication Publication Date Title
JPH09265436A (en) Data transfer device
US20050080944A1 (en) Data communication system, data communication method, and communication unit
EP0893019B1 (en) Multiplex communication interface circuit and method
US5941997A (en) Current-based contention detection and handling system
JPH06103177A (en) Reception processing method/device and bus monitoring method
JP4531884B2 (en) Address, instruction and / or data telegraph device and address, instruction and / or data telegraph method
JP2002244775A (en) Usb device
JPH0126217B2 (en)
JP3162204B2 (en) Error recovery method for local network system
JP3015441B2 (en) Private communication system
JP3143935B2 (en) Automatic startup processing method
JPH1196488A (en) Disconnection monitoring system and disconnection monitoring method
JPS59195736A (en) Communication controller
JPS58225738A (en) Dispersion type transmission system
JP3169488B2 (en) Communication control device
JPH01235434A (en) Data transmission method
JP3352607B2 (en) Serial bus connection device
CN117909183A (en) I2C equipment monitoring method, device, equipment and storage medium
JPH10294723A (en) Multiplex communication system
JPS6258172A (en) Method for detecting shortcircuit of signal transmission line
JPS63267039A (en) Network system
JPS61236241A (en) Operating system for degeneracy of information transmitter
JPH05204785A (en) System, method, and device for protecting monitor bus
JPH08116579A (en) Data communication equipment
JPH0662010A (en) Communication interface adapter

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20030624