JPH0554749B2 - - Google Patents

Info

Publication number
JPH0554749B2
JPH0554749B2 JP685685A JP685685A JPH0554749B2 JP H0554749 B2 JPH0554749 B2 JP H0554749B2 JP 685685 A JP685685 A JP 685685A JP 685685 A JP685685 A JP 685685A JP H0554749 B2 JPH0554749 B2 JP H0554749B2
Authority
JP
Japan
Prior art keywords
cpu
communication
slave
data
master
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP685685A
Other languages
Japanese (ja)
Other versions
JPS61166244A (en
Inventor
Keiichiro Shimada
Shinji Takada
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 JP685685A priority Critical patent/JPS61166244A/en
Publication of JPS61166244A publication Critical patent/JPS61166244A/en
Publication of JPH0554749B2 publication Critical patent/JPH0554749B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Channel Selection Circuits, Automatic Tuning Circuits (AREA)
  • Small-Scale Networks (AREA)

Description

【発明の詳細な説明】 〔産業上の利用分野〕 この発明は、例えば映像機器のように同期信号
処理系を有する電子機器内部の諸機能を司る複数
のマイクロコンピユータ(以下CPUという)や
LSI間の通信を行う場合や、これら複数の映像情
報機器例えばVTR、カメラ、チユーナ、タイマ
ーユニツトからなるシステム内のこれら各機器間
の通信を行う場合に用いられる通信方式に関す
る。
[Detailed Description of the Invention] [Field of Industrial Application] The present invention is directed to a plurality of microcomputers (hereinafter referred to as CPUs) that control various functions inside an electronic device having a synchronous signal processing system, such as a video device.
The present invention relates to a communication method used when communicating between LSIs or between a plurality of video information devices such as a VTR, a camera, a tuner, and a timer unit in a system.

〔従来の技術〕[Conventional technology]

最近のVTRは多機能化、小型化、低価格化が
進んでいる。この流れの中で制御系すなわちシス
テムコントローラ(以下シスコンという)は複雑
化の一途をたどり、メモリー容量、処理時間、入
出力ピン数等の制約からシスコンは複数のCPU
を用いることが多くなつている。その上、CPU
の低価格化によりフイーチヤーハードウエアをソ
フトウエア処理に置き替える傾向になつてきてい
ることや、リモートコントロール等のように周辺
からの操作・制御の需要が増加し、従来はシスコ
ンを経由する必要のなかつた線がシスコンの管理
下におかれるようになつてきたことも、複数の
CPUを用いる傾向に拍車をかけている。
Recent VTRs are becoming more multifunctional, smaller, and cheaper. In line with this trend, control systems, or system controllers (hereinafter referred to as system controllers), have become increasingly complex, and due to constraints such as memory capacity, processing time, and number of input/output pins, system controllers require multiple CPUs.
is increasingly being used. Besides, the CPU
Due to lower prices, there is a trend to replace feature hardware with software processing, and there is an increasing demand for peripheral operations and controls such as remote control, which previously required going through a system controller. The fact that unused lines have come under the control of Cisco is also a sign that multiple
This is spurring the trend of using CPUs.

この場合のシスコンの構成の方法として第10
図に示すようにこれら複数のCPUを集中的に1
個の基板1上に設け、この基板1に対し、各
CPUの司る機能を遂行する機能基板2〜5を接
続して、制御を集中的に行うことが考えられる。
The 10th method for configuring the system in this case is
As shown in the figure, these multiple CPUs are centrally
on each substrate 1, and each
It is conceivable to connect the functional boards 2 to 5 that perform the functions controlled by the CPU to centrally perform control.

しかし、この構成では図から明らかなように結
線数が非常に多くなり、このため製造工数が増え
るとともに信頼性が低下する欠点がある。
However, as is clear from the figure, this configuration has the disadvantage that the number of wire connections is extremely large, which increases the number of manufacturing steps and reduces reliability.

この欠点を回避する方法として各機能を、その
機能を司るCPU又はLSIとその機能を遂行する回
路ブロツク等からなる機能デバイスとしてモジユ
ール化して、分散処理をすることが考えられる。
One possible way to avoid this drawback is to modularize each function as a functional device consisting of a CPU or LSI that controls that function, and a circuit block that performs that function, and perform distributed processing.

このように、複数の機能デバイスによる分散処
理をなす場合に、各機能デバイスの制御データの
伝送及びこの機能デバイスからのデータの伝送の
仕方が問題になる。
As described above, when performing distributed processing using a plurality of functional devices, problems arise in how to transmit control data for each functional device and how to transmit data from this functional device.

その方法の一つとして第11図に示すように、
データ伝送が必要な機能デバイス間を結合させて
網目状の構造にする非バスラインシステムが考え
られる。つまり、処理だけでなく情報も分散化す
る方式である。しかし、この方式では網目状構造
のため、処理が非常に入り組んで、デバグや改造
が困難になるという欠点がある。
One of the methods is as shown in Figure 11.
A non-bus line system can be considered in which functional devices that require data transmission are connected to form a mesh structure. In other words, it is a method that decentralizes not only processing but also information. However, this method has the disadvantage that the mesh structure makes the processing very complicated, making debugging and modification difficult.

そこで、各機能デバイス間のデータの通信線を
バスライン化して処理は分散化するが情報データ
は集中化する方法が考えられた。この場合、デー
タはパラレルデータのまま通信するのでは通信線
は多数になつてしまうため、バスラインはシリア
ルデータを伝送するシリアルバスラインとする。
Therefore, a method was devised in which the data communication lines between each functional device were made into a bus line to decentralize processing but centralize information data. In this case, if data is communicated as parallel data, there will be a large number of communication lines, so the bus line is a serial bus line for transmitting serial data.

第12図はこのような集中情報分散処理方式を
採るシステム内通信方式の結線状態を示す図で、
複数の機能デバイスのうちの1つをマスターの機
能デバイスとし、他の機能デバイスをスレーブと
して、マスターの機能デバイスのCPU10と複
数のスレーブの機能デバイスのCPU11〜15
間をシリアルバスライン16で接続する。そし
て、各スレーブの機能デバイスのCPU11〜1
5と機能ブロツク11F〜15Fとは通常と同様
に接続する。
FIG. 12 is a diagram showing the connection state of an intra-system communication method that adopts such a centralized information distributed processing method.
One of the plurality of functional devices is the master functional device, the other functional devices are the slaves, and the CPU 10 of the master functional device and the CPUs 11 to 15 of the plurality of slave functional devices
A serial bus line 16 connects between the two. Then, CPU11 to 1 of each slave functional device
5 and functional blocks 11F to 15F are connected in the same way as usual.

このような情報集中化分散処理方式によれば、
次のような利点がある。
According to such information centralized distributed processing method,
It has the following advantages:

すなわち、結線数が著しく少なくなるので、製
造工数の低減とともに信頼性の向上が図れる。ま
た、情報の集中化により外部との通信が容易、す
なわち外部との通信は例えば外部との通信専用の
機能デバイスのCPUとの間でのみ行えばよいの
で、編集機、リモコン、ホームバスとのインター
フエースがとりやすくなる。また、共通の通信路
にあらゆる情報が流れるので拡張が容易になる。
さらに、機能モジユール化により、機能デバイス
の繊維を越えた共通化が可能になり、いわば多品
種変量生産に対処することができる。この場合
に、それぞれの機能デバイスはモジユールレベル
でテストされ、動作が補償されてから使用される
ので製品の信頼性が向上する。そして、この機能
モジユール化することによつて大規模システムを
楽に完成させることができ、しかも、モジユール
レベルでの量産化によりコストダウンが図られ、
組立工数の低減と相俟つてシステムの大幅コスト
ダウンを図ることが可能である。
That is, since the number of wire connections is significantly reduced, manufacturing man-hours can be reduced and reliability can be improved. In addition, communication with the outside is easy due to the centralization of information. In other words, communication with the outside only needs to be performed with the CPU of the functional device dedicated to communication with the outside, so it is possible to communicate with the editing machine, remote control, and home bus. Easier to interface. Additionally, all information flows through a common communication channel, making expansion easier.
Furthermore, functional modularization makes it possible to standardize functional devices across fibers, making it possible to handle multi-product, variable-volume production. In this case, each functional device is tested at the module level and its operation is guaranteed before use, improving product reliability. By modularizing this function, large-scale systems can be easily completed, and costs can be reduced by mass production at the module level.
Together with the reduction in assembly man-hours, it is possible to significantly reduce the cost of the system.

以上のような特徴を有する情報集中化分散処理
システム内の通信方式の具体例として、次のよう
なものが知られている。
The following is known as a specific example of a communication method within an information centralized distributed processing system having the above-mentioned characteristics.

すなわち、これは最近のワンチツプCPUには
シリアルポートが内蔵されているものが多々ある
ので、このシルアルポートを用いて通信を行うも
のである。ここで、シルアルポートとは次のよう
なものをいう。
In other words, since many recent one-chip CPUs have a built-in serial port, this communication is performed using this serial port. Here, silal port refers to the following.

すなわち、第13図は8ビツトのシリアルポー
トの例で、同図において、21は8ビツトのシフ
トレジスタで、そのシリアル入力端はCPU20
のシリアル入力端子SIに接続される。また、この
シフトレジスタ21のシリアル出力端は1ビツト
分のラツチ回路22及び出力ゲート23を介して
CPU20のシリアル出力端子SOに接続される。
That is, Fig. 13 shows an example of an 8-bit serial port. In the figure, 21 is an 8-bit shift register, and its serial input terminal is connected to the CPU 20.
Connected to serial input terminal SI. Further, the serial output terminal of this shift register 21 is connected via a latch circuit 22 for one bit and an output gate 23.
Connected to the serial output terminal SO of the CPU 20.

また、SCKはCPU20のクロツク端子で、ク
ロツク切換スイツチ24が端子A側に切換られる
ときは、このCPU20内の内部クロツク発生源
25よりのクロツクINCKがこのスイツチ24を
介してシフトレジスタ21のクロツク端子に供給
され、スイツチ24が端子B側に切り換えられる
ときは、外部よりクロツク端子SCKを通じて入
力されるクロツクEXCKがシフトレジスタ21の
クロツク端子に供給される。
Further, SCK is the clock terminal of the CPU 20, and when the clock changeover switch 24 is switched to the terminal A side, the clock INCK from the internal clock generation source 25 in this CPU 20 is sent to the clock terminal of the shift register 21 via this switch 24. When the switch 24 is switched to the terminal B side, the clock EXCK input from the outside through the clock terminal SCK is supplied to the clock terminal of the shift register 21.

また、シストレジスタ21のパラレル入出力端
CPU20の内部データバスと接続されている。
In addition, the parallel input/output terminal of the system register 21
It is connected to the internal data bus of the CPU 20.

クロツクINCK及びEXCKは通信時のみ8ビツ
ト分つまり8発のパルスが得られるもので、この
8発のクロツクパルスがシストレジスタ21に供
給されることによつて、そのときストアされてい
た8ビツトのデータがラツチ回路22及び出力ゲ
ート23を介してシリアル出力端子SOに転送さ
れるとともに、シリアル入力端子SIに入力されて
いる8ビツトのデータがこのシストレジスタ21
に取り込まれる。
The INCK and EXCK clocks provide 8 bits, or 8 pulses, only during communication, and by supplying these 8 clock pulses to the system register 21, the 8-bit data stored at that time is is transferred to the serial output terminal SO via the latch circuit 22 and output gate 23, and the 8-bit data input to the serial input terminal SI is transferred to the system register 21.
be taken in.

第14図Aはこのシストレジスタ21に供給さ
れるクロツクパルスを示し、また同図Bは書き込
まれる8ビツトのデータ、同図Cは読み出される
8ビツトのデータを示し、クロツクパルスの前縁
である立ち下がりデータは読み出され、クロツク
パルスの後縁である立ち上がりでデータは書き込
まれる。
Figure 14A shows the clock pulse supplied to this system register 21, Figure 14B shows the 8-bit data being written, and Figure 14C shows the 8-bit data being read. Data is read and data is written on the rising trailing edge of the clock pulse.

ラツチ回路22はこのように書き込み及び読み
出しをなす場合に、読み出されたデータの1ビツ
トを保持するためのものである。
The latch circuit 22 is used to hold one bit of read data during writing and reading in this manner.

そして、カウンタ26によりこのシフトクロス
パルスINCK又はEXCKが8個カウントされる
と、これより割り込み信号が得られ、これによ
り、シフトレジスタ21に取り込まれたデータが
読み出されて内部データバスに転送される。ま
た、次の送出データがシフトレジスタ21に書き
込まれる。
Then, when the counter 26 counts 8 of these shift cross pulses INCK or EXCK, an interrupt signal is obtained from this, and the data taken into the shift register 21 is read out and transferred to the internal data bus. Ru. Further, the next sending data is written into the shift register 21.

以上のようなシリアルポートを有するCPUを
搭載する機能デバイスを用いて上述した情報集中
化分散処理システム内の通信を行う。すなわち、
第15図はその例であり、マスターの機能デバイ
スのCPU30のシリアルポートのシリアル出力
端子SOをスレーブの機能デバイスのCPU31,
32のシリアルポートのシリアル入力端子SIにそ
れぞれ接続し、CPU30のシリアル入力端子SI
はCPU31,32のシリアル出力端子SOにそれ
ぞれ接続する。また、CPU30のクロツク端子
SCKとCPU31及び32のクロツク端子SCKと
を接続する。そして、この場合、マスターの
CPU30のクロツク切換スイツチ24は端子A
側に切り換えられるとともスレーブのCPU31,
32のクロツク切換スイツチ24は端子B側に切
り換えられる。したがつてクロツク端子SCKは、
マスターのCPU30では出力端子となり、スレ
ーブのCPU31及び32では入力端子となる。
Communication within the information centralized distributed processing system described above is performed using a functional device equipped with a CPU having a serial port as described above. That is,
Figure 15 is an example of this, in which the serial output terminal SO of the serial port of the CPU 30 of the master functional device is connected to the CPU 31 of the slave functional device,
Connect to serial input terminal SI of 32 serial ports, and connect to serial input terminal SI of CPU 30.
are connected to the serial output terminals SO of the CPUs 31 and 32, respectively. In addition, the clock terminal of CPU30
Connect SCK to clock terminals SCK of CPUs 31 and 32. And in this case, the master's
The clock selection switch 24 of the CPU 30 is at terminal A.
When switched to the slave CPU31,
The clock changeover switch 24 of 32 is switched to the terminal B side. Therefore, the clock terminal SCK is
In the master CPU 30, it becomes an output terminal, and in the slave CPUs 31 and 32, it becomes an input terminal.

また、この例においてはマスターのCPU30
にはスレーブの機能デバイスの数分だけ1対のリ
クエスト入力端子と出力端子が設けられる。この
例ではスレーブの機能デバイスは2個であるので
リクエスト入力端子RQI1及び出力端子RQO1及び
リクエスト入力端子RQI2及び出力端子RQO2が設
けられる。
In addition, in this example, the master CPU30
is provided with as many pairs of request input terminals and output terminals as there are slave functional devices. In this example, since there are two slave functional devices, a request input terminal RQI 1 , an output terminal RQO 1 , a request input terminal RQI 2 , and an output terminal RQO 2 are provided.

一方、スレーブのCPU31,32には、1対
のリクエスト入力端子RQI及び出力端子RQOが
それぞれ設けられる。
On the other hand, the slave CPUs 31 and 32 are each provided with a pair of request input terminals RQI and output terminals RQO.

そして、マスターのCPU30のリクエスト入
力端子RQI1およびRQI2がそれぞれスレーブの
CPU31及び32のそれぞれのリクエスト出力
端子RQOに、マスターのCPU30のリクエスト
出力端子RQO1及びRQO2がスレーブのCPU31
及び32のリクエスト入力端子RQIに、それぞれ
接続される。
Then, the request input terminals RQI 1 and RQI 2 of the master CPU 30 are connected to the slave's request input terminals RQI 1 and RQI 2 , respectively.
The request output terminals RQO 1 and RQO 2 of the master CPU 30 are connected to the request output terminals RQO of the CPU 31 and 32 respectively, and the request output terminals RQO 1 and RQO 2 of the master CPU 30 are connected to the slave CPU 31.
and 32 request input terminals RQI, respectively.

そして、例えばVTRでモードが変わつたとき
等通信の必要を生じたときリクエストを出して通
信をなす。例えばスレーブをCPU31が通信の
必要を生じたときは、そのリクエスト出力端子
RQOよりマスターのCPU30のリクエスト入力
端子RQI1に供給されるリクエスト信号が例えば
「1」になり、CPU31からCPU30への通信が
アクテイブにされる。
Then, when the need for communication arises, for example when the mode changes on a VTR, a request is issued and communication is performed. For example, when the CPU 31 needs to communicate with the slave, the request output terminal
The request signal supplied from RQO to the request input terminal RQI 1 of the master CPU 30 becomes, for example, "1", and communication from the CPU 31 to the CPU 30 is activated.

マスターのCPU30ではこれを受けて、この
CPU30が行つている他の仕事や他の通信が完
了するのを持つて、今度はマスターのCPU30
のリクエスト出力端子RQO2からスレーブのCPU
31のリクエスト入力端子RQIに供給するリクエ
スト信号を「1」にし、CPU30からCPU31
への送信をアクテイブにする。これで、スレーブ
のCPU31とマスターのCPU30との通信が可
能の状態となる。そして、CPU30から内部ク
ロツクINCKが8個得られ、これがその内蔵シフ
トレジスタ21に供給されるとともにクロツク入
出力端子SCKを通じてスレーブのCPU31の内
蔵シフトレジスタ21に供給され、それぞれその
シフトレジスタ21にストアされていたデータが
このクロツクパルスINCKの前縁により読み出さ
れ、それぞれ出力端子SOより相手方の入力端子
SIを通じてその内蔵シフトレジスタ21の入力端
子に供給され、シフトクロツクINCKの後縁で、
それぞれシフトレジスタ21に書き込まれる。こ
うして、CPU31のデータとCPU30のデータ
の同時通信がなされ、CPU30及び31のシフ
トレジスタ21のデータのいわば入れ換えがなさ
れる。
In the master CPU30, in response to this, this
After the other work done by CPU 30 and other communications are completed, the master CPU 30
Request output terminal RQO 2 of slave CPU
The request signal supplied to the request input terminal RQI of CPU 31 is set to "1", and the request signal supplied to the request input terminal RQI of CPU 31 is set to "1".
Activate sending to. This enables communication between the slave CPU 31 and the master CPU 30. Then, eight internal clocks INCK are obtained from the CPU 30, which are supplied to its built-in shift register 21, and are also supplied to the built-in shift register 21 of the slave CPU 31 through the clock input/output terminal SCK, and are stored in each shift register 21. The data that had been stored is read out by the leading edge of this clock pulse INCK, and is transferred from the output terminal SO to the input terminal of the other side.
is supplied to the input terminal of its built-in shift register 21 through SI, and at the trailing edge of the shift clock INCK,
Each is written into the shift register 21. In this way, the data of the CPU 31 and the data of the CPU 30 are simultaneously communicated, and the data in the shift registers 21 of the CPUs 30 and 31 are exchanged, so to speak.

そして、この通信が終わると割り込み信号によ
り各CPU30及び31においてシフトレジスタ
21から8ビツトのパラレルデータが読み出され
て内部バスに供給され、そのデータに従つた処理
がなされることになる。
When this communication is completed, 8-bit parallel data is read out from the shift register 21 in each CPU 30 and 31 by an interrupt signal and supplied to the internal bus, and processing is performed according to the data.

この通信の最中に、他の仕事の要求、例えばリ
モコン割り込み要求やタイマ割り込み要求等があ
り、それが通信より優先すべきときは、リクエス
トが停止すなわち、リクエスト信号が「0」にさ
れて通信が中断され、その割り込みのルーチンが
実行される。このとき、相手方のCPUはリクエ
スト信号の状態によりそれを知り、通信を失敗と
みなし、しばらくした後、再び通信をやり直す。
During this communication, if there is another work request, such as a remote control interrupt request or a timer interrupt request, which should take priority over the communication, the request is stopped, that is, the request signal is set to "0" and the communication is not started. is interrupted and the routine for that interrupt is executed. At this time, the other party's CPU becomes aware of this based on the state of the request signal, considers the communication to be a failure, and tries again after a while.

なお、シフトレジスタ21のクロツク信号は、
マスターのCPU30から必ず出力する必要はな
く、スレーブのCPU側から出力するようにして
もよい。
Note that the clock signal of the shift register 21 is
It is not necessary to always output from the master CPU 30, and it may be output from the slave CPU side.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

以上のような従来の通信方式の場合、通信はモ
ードが変わつたとき等、通信の必要が生じたとき
だけリクエストを出して通信を行なうものである
ので、常にリクエストがあるかどうか監視しなけ
ればならず、また、前述したように他の仕事との
優先を考慮したり、他のスレーブの機能デバイス
の通信リクエストが重なつたときにもその優先順
位を考慮しなければならない等、通信管理が難し
く、また、バグが発生しやすい。その上、デバグ
にも手間どるため、製造の上での期間が長くなつ
たり、工数が多くなり、効率の良い設計ができな
い欠点がある。
In the case of the conventional communication method described above, communication is performed by issuing a request only when the need for communication arises, such as when the mode changes, so it is necessary to constantly monitor whether there is a request. In addition, as mentioned above, communication management must be considered, such as considering priorities with other tasks and when communication requests from other slave functional devices overlap. It's difficult and bug-prone. Furthermore, since debugging is time consuming, the manufacturing period becomes longer, the number of man-hours increases, and efficient design cannot be achieved.

また、通信は1回で終了するので誤つたデータ
を送信したときは、次のリクエストがあるまで誤
つた状態のまま装置が置かれてしまうという欠点
もある。
Furthermore, since communication is completed only once, there is also the disadvantage that if incorrect data is sent, the device will remain in the incorrect state until the next request is made.

〔問題点を解決するための手段〕[Means for solving problems]

第1図はこの発明の基本的構成の一例で、機能
デバイスが5個で、そのうちの1つの機能デバイ
スのCPU40がマスター、他の機能デバイスの
CPU41〜44がスレーブとされる場合である。
Figure 1 shows an example of the basic configuration of this invention, in which there are five functional devices, the CPU 40 of one of them is the master, and the CPU 40 of the other functional devices is the master.
This is a case where the CPUs 41 to 44 are slaves.

この例においてもマスターのCPU40のシル
アル出力端子SOがスレーブのCPU41〜44の
シリアル入力端子SIにそれぞれ接続され、またマ
スターのCPU40のシリアル入力端子SIがスレ
ーブのCPU41〜44のシリアル出力端子SOに
それぞれ接続され、さらにマスターのCPU40
のシリアルクロツク端子SCK及びスレーブの
CPU41〜44のシリアルクロツク端子SCKが
互いに接続される。
In this example as well, the serial output terminal SO of the master CPU 40 is connected to the serial input terminal SI of the slave CPUs 41 to 44, and the serial input terminal SI of the master CPU 40 is connected to the serial output terminal SO of the slave CPUs 41 to 44, respectively. Connected and master CPU40
Serial clock pin SCK and slave
Serial clock terminals SCK of CPUs 41 to 44 are connected to each other.

そして、この場合、マスターの機能デバイスの
CPU40からそれぞれチツプセレクト信号CS1
CS4が各スレーブの機能デバイスのCPU41〜4
4のチツプセレクト端子に供給される。この場
合、このチツプセレクト信号CS1〜CS4は第2図
A〜Dに示すように「0」になる期間が互いに時
間的に重ならないように位相がずれた信号とされ
る。また、同図Eはこのシステムの同期信号処理
系例えば映像情報機器の水平及び垂直同期系より
の垂直同期パルスVDで、チツプセレクト信号
CS1〜CS4はこの垂直同期パルスVDに同期して垂
直周期で得られる。
And in this case the master's functional device's
Chip select signal CS 1 ~ from CPU 40
CS 4 is CPU 41 to 4 of each slave's functional device.
4 chip select terminal. In this case, the chip select signals CS 1 -CS 4 are signals whose phases are shifted so that the periods in which they are "0" do not overlap with each other in time, as shown in FIGS. 2A to 2D. In addition, E in the same figure shows the vertical synchronization pulse VD from the synchronization signal processing system of this system, for example, the horizontal and vertical synchronization system of video information equipment, and the chip select signal.
CS 1 to CS 4 are obtained in vertical cycles in synchronization with this vertical synchronization pulse VD.

〔作用〕[Effect]

チツプセレクト信号CS1が「0」になると、マ
スターのCPU40とスレーブのCPU41との間
が通信可能となり、この信号CS1が「0」の期間
T1においてマスターのCPU40又はスレーブの
CPU41からの所要ビツト数のクロツクパルス
により各CPU40及び41のシフトレジスタに
ストアされていたデータが相手方のシフトレジス
タに転送される。つまり双方向同時通信がなされ
る。
When the chip select signal CS 1 becomes "0", communication becomes possible between the master CPU 40 and slave CPU 41, and the period when this signal CS 1 is "0"
At T 1 , master CPU40 or slave
The data stored in the shift register of each CPU 40 and 41 is transferred to the shift register of the other party by clock pulses of the required number of bits from the CPU 41. In other words, simultaneous bidirectional communication is performed.

次に、チツプセレクト信号CS2が「0」になる
期間T2になると、マスターのCPU40とスレー
ブのCPU42との間において通信が可能となり、
またチツプセレクト信号CS3が「0」になる期間
T3になると、マスターのCPU40とスレーブの
CPU43との間において通信が可能となり、さ
らに、チツプセレクト信号CS4が「0」になる期
間T4になると、マスターのCPU40とスレーブ
CPU44との間において通信が可能となり、そ
れぞれ、期間T1においてなされたのと同様にし
て双方向同時通信がなされる。
Next, when the chip select signal CS 2 becomes "0" during the period T 2 , communication becomes possible between the master CPU 40 and the slave CPU 42.
Also, the period during which the chip select signal CS 3 is “0”
At T 3 , the master CPU40 and the slave
Communication becomes possible with the CPU 43, and when the chip select signal CS 4 becomes "0" at period T 4 , the master CPU 40 and slave
Communication becomes possible with the CPU 44, and simultaneous bidirectional communication is performed in the same manner as in the period T1 .

そして、以上の期間T1〜T4の1組が垂直周期
でくり返し行われる。
One set of the above periods T 1 to T 4 is repeated in a vertical period.

〔実施例〕〔Example〕

第3図はこの発明の一実施例を示すもので、こ
の例はVTRの内部通信にこの発明を適用した場
合の例である。
FIG. 3 shows an embodiment of the present invention, and this example is an example in which the present invention is applied to internal communication of a VTR.

また、この例はマスターの機能デバイスはモー
ドコントローラで、CPU50を有している。ま
た、スレーブの機能デバイスはチユーナと、タイ
マーと、メカコントローラで、それぞれCPU5
1,52,53を有している。そして、これら
CPU50〜53は前述した第13図に示したよ
うな8ビツトのシリアルポートをそれぞれ有して
いる。
Further, in this example, the master functional device is a mode controller, which has a CPU 50. In addition, the slave functional devices are tuner, timer, and mechanical controller, each with CPU5
1, 52, 53. And these
Each of the CPUs 50 to 53 has an 8-bit serial port as shown in FIG. 13 described above.

モードコントローラのCPU50には、入力ポ
ートを介して垂直同期パルスVD(第4図A)が
供給されて、通信が後述のようにこの垂直同期パ
ルスVDに位相同期して垂直周期でなされるよう
にされている。
A vertical synchronizing pulse VD (Fig. 4A) is supplied to the CPU 50 of the mode controller through an input port, so that communication is performed in vertical cycles in phase synchronization with this vertical synchronizing pulse VD as described later. has been done.

CPU50のシリアル出力端子SOとCPU51〜
53のシリアル入力端子SIとが接続されるととも
にCPU50のシリアル入力端子SIとCPU51〜
53のシリアル出力端子SOとが接続される。ま
た、CPU50〜53のシルアルクロツク端子
SCKが互いに接続される。この例の場合、前述
例と同様にマスターのCPU50のスイツチ24
は端子A側、スレーブのCPU51〜53のスイ
ツチ24は端子B側に切換えられて、クロツクは
マスターのCPU50からのみ発生するようにさ
れる。
Serial output terminal SO of CPU50 and CPU51~
53's serial input terminal SI is connected, and the CPU 50's serial input terminal SI and CPU51~
53 serial output terminal SO is connected. In addition, the serial clock terminal of CPU50-53
SCKs are connected together. In this example, as in the previous example, switch 24 of the master CPU 50 is
is switched to the terminal A side, and the switches 24 of the slave CPUs 51 to 53 are switched to the terminal B side, so that the clock is generated only from the master CPU 50.

さらに、マスターの機能デバイスであるモード
コントローラのCPU50からは、それぞれチツ
プセレクト信号CS1〜CS3が各スレーブの機能デ
バイスであるチユーナ、タイマー及びメカコント
ローラのCPU51〜53のそれぞれのチツプセ
レクト端子に供給されて、1垂直周期内において
これらCPU51〜53とCPU50間とが互いに
時間的に重ならない期間で順次通信可能となるよ
うにされる。つまり、マスターのCPU50が通
信の管理を行い、かつ、通信は映像信号の垂直同
期信号に位相同期して周期的にくり返す。
Furthermore, chip select signals CS 1 to CS 3 are supplied from the CPU 50 of the mode controller, which is a master functional device, to the respective chip select terminals of CPUs 51 to 53 of the tuner, timer, and mechanical controller, which are each slave functional device. The CPUs 51 to 53 and the CPU 50 can sequentially communicate with each other in periods that do not overlap in time within one vertical period. In other words, the master CPU 50 manages the communication, and the communication is periodically repeated in phase synchronization with the vertical synchronization signal of the video signal.

以下通信の状態をより具体的に説明する。 The communication status will be explained in more detail below.

すなわち、チツプセレクト信号CS1(第4図B)
がローレベルになる期間TAになると、チユーナ
のCPU51とモードコントローラのCPU50間
が通信可能となり、第4図E及びFに示すように
両CPU50及び51の出力ゲート23がイネー
ブルにされ、それぞれ8ビツトのデータDM(第
4図J)及びデータDS1(同図K)がそれぞれの
シフトレジスタ21に書き込まれる。こうしてデ
ータDM、DS1がそれぞれ用意されると、CPU5
0より8個のクロツクCLK(第4図I)がその内
蔵シフトレジスタ21に供給されるとともに
CPU51にも端子SCKを通じてその内蔵シフト
レジスタ21にクロツクCLKが供給される。し
たがつて、CPU50の送信データDMはCPU5
1のシフトレジスタ21に取り込まれ、CPU5
1の送信データDS1はCPU50のシフトレジスタ
21に取り込まれる。こうして、1ワード(8ビ
ツト)のデータの双方向同時通信が完了すると、
第4図E及びFに示すように、それぞれ受信され
たデータがパラレルデータの状態で読み出されて
内部バスに供給される。
That is, the chip select signal CS 1 (Figure 4B)
During the period TA during which the CPU 51 of the tuner and the mode controller become low level, communication becomes possible between the CPU 51 of the tuner and the CPU 50 of the mode controller, and the output gates 23 of both CPUs 50 and 51 are enabled as shown in FIG. Data DM (J in FIG. 4) and data DS 1 (K in FIG. 4) are written into the respective shift registers 21. When data DM and DS 1 are prepared in this way, CPU5
0 to 8 clocks CLK (Fig. 4 I) are supplied to the built-in shift register 21, and
A clock CLK is also supplied to the built-in shift register 21 of the CPU 51 through a terminal SCK. Therefore, the transmission data DM of CPU50 is
1 shift register 21, and the CPU 5
The transmission data DS 1 of 1 is taken into the shift register 21 of the CPU 50 . In this way, when bidirectional simultaneous communication of 1 word (8 bits) of data is completed,
As shown in FIGS. 4E and 4F, each received data is read out in the form of parallel data and supplied to the internal bus.

この例においては、モードコントローラとチユ
ーナとの間では2ワードのデータが1周期で通信
されるようにされている。このため、CRU50
及び51では、その後、次の2ワード目のデータ
のシフトレジスタ21への書き込みがなされ、続
いてCPU50から8個のクロツクCLK(同図I)
が再び得られ、2ワード目のデータDM及びDS1
の双方向同時通信がなされる。
In this example, two words of data are communicated in one cycle between the mode controller and the tuner. For this reason, CRU50
and 51, the next second word of data is then written to the shift register 21, and then eight clocks CLK (I in the same figure) are sent from the CPU 50.
is obtained again, and the second word data DM and DS 1
Two-way simultaneous communication is performed.

この2ワード目の通信が終了すると、両CPU
50及び51のシリアルポートはデイスエイアブ
ルとされる。
When this second word communication is completed, both CPUs
Serial ports 50 and 51 are disabled.

このモードコントローラとチユーナ間の通信デ
ータの例としてはチユーナCPU51の出力デー
タとして表示部511での現在チヤンネルの表示
データ、チヤンネルポジシヨン、バンド情報及び
選局プリセツトデータ等があり、またチユーナ
CPUの入力データとして選局コマンド、他の
CPUからのチユーナCPU51に接続する不揮発
性メモリ512への書き込み要求データ例えばβ
、βの速度モードのラストデータ等がある。
Examples of communication data between the mode controller and the tuner include output data of the tuner CPU 51 such as display data of the current channel on the display unit 511, channel position, band information, and tuning preset data.
Channel selection commands and other input data are input to the CPU.
Write request data from the CPU to the non-volatile memory 512 connected to the tuner CPU 51, for example β
, the last data of the velocity mode of β, etc.

次にチツプセレクト信号CS2(第4図C)がロ
ーレベルになる期間TBになると、タイマーの
CPU52とモードコントローラのCPU50間が
通信可能となり、第4図E,G,I,J及びLに
示すようにして、CPU50のデータDMとCPU
52のデータDS2との双方向同時通信がなされ
る。この両CPU50及び52間はこの例では1
周期に1ワードの通信とされる。
Next, when the chip select signal CS 2 (Fig. 4C) reaches low level TB, the timer starts.
Communication is now possible between the CPU 52 and the CPU 50 of the mode controller, and the data DM of the CPU 50 and the CPU
Simultaneous bidirectional communication with 52 data DS 2 is performed. In this example, the distance between both CPUs 50 and 52 is 1
Communication is one word per cycle.

この例では、タイマーCPU52はリモコン受
信機521からのリモコン信号を受信し、螢光表
示管522をドライブしているので、タイマーの
CPU52を出力データとしては、リモコン受信
データやタイマー録画及びパワーコントロールデ
ータ等が掲げられ、また、その入力データとして
はカウンター値、VTRフアンクシヨンモード等
のデータが掲げられる。
In this example, the timer CPU 52 receives the remote control signal from the remote control receiver 521 and drives the fluorescent display tube 522.
Output data from the CPU 52 includes remote control reception data, timer recording and power control data, and input data include counter values, VTR function modes, and the like.

次に、チツプセレクト信号CS3(第4図D)が
ローレベルになる期間TCになると、メカコント
ローラのCPU53とモードコントローラのCPU
50間が通信可能となり、第4図E,H,I,J
及びMに示すようにして、CPU50のデータDM
とCPU53のデータDS3との双方向同時通信がな
される。この両CPU50及び53間もこの例で
は1周期について1ワードの通信とされる。
Next, when the chip select signal CS 3 (D in Fig. 4) becomes low level TC, the CPU 53 of the mechanical controller and the CPU of the mode controller
Communication between 50 and 50 is now possible, and the
And as shown in M, the data DM of CPU50
Simultaneous bidirectional communication is performed with the data DS 3 of the CPU 53. In this example, communication between the CPUs 50 and 53 is one word per cycle.

メカコントローラはモードコントローラからメ
カデツキ531が次に遷移すべきモードの情報を
受け、メカデツキ531の現モード及びカウンタ
表示部532のカウント情報等を送り出すもの
で、CPU53の出力データとしてはカウンタ値、
現モードと次のモード又は次のモードと遷移中コ
ード、β/β等のステータス等の情報が、そ
の入力データとしては次に何のモードになるべき
かのモードコマンド、β/β等の命令のステ
ータスコマンド、カウンタリセツトなどの命令等
のデータが、それぞれ掲げられる。
The mechanical controller receives information from the mode controller about the mode to which the mechanical deck 531 should transition next, and sends out the current mode of the mechanical deck 531, count information on the counter display section 532, etc. The output data of the CPU 53 is the counter value,
Information such as the current mode and the next mode, or the next mode and the transition code, status such as β/β, etc., is input data such as a mode command indicating what mode to be in next, instructions such as β/β, etc. Data such as status commands and commands such as counter reset are listed respectively.

以上のように、チツプセレクト信号CS1〜CS3
により指定される期間TA〜TCは、信号CS1
CS3が垂直同期パルスに同期する信号であるの
で、垂直同期パルスに位相同期して垂直同期でそ
れぞれくり返し、CPU50とCPU51〜53と
の間で、周期的に通信がそれぞれなされる。
As mentioned above, chip select signals CS 1 to CS 3
The period TA ~ TC specified by the signal CS 1 ~
Since CS 3 is a signal synchronized with the vertical synchronization pulse, communication is periodically performed between the CPU 50 and the CPUs 51 to 53 repeatedly in phase synchronization with the vertical synchronization pulse.

そして、それぞれのスレーブのCPU51〜5
3では通信のための区間TA〜TC以外では別の
仕事が可能であるので、以上のような周期通信を
行つてもその別の仕事に支障は来たさない。逆
に、通信の期間が定まつているので、別の仕事を
時分割で行うとき、その1つの仕事が途中で通信
のために途切れてしまうことはないようにでき、
その時間管理も容易にできる。
And each slave's CPU51~5
In No. 3, other work can be done outside the communication interval TA to TC, so even if the above-mentioned periodic communication is performed, the other work will not be hindered. On the other hand, since the communication period is fixed, when doing other tasks in a time-sharing manner, it is possible to prevent one task from being interrupted due to communication.
You can also easily manage your time.

なお、マスターのCPU50においても、1垂
直周期をすべて内部通信に割り当てるのではな
く、休止区間を設けて、この休止区間にこの
VTRとビデオカメラやその他の周辺機器との外
部通信やその他の仕事を行うようにする。
Note that in the master CPU 50, instead of allocating one vertical cycle entirely to internal communication, a pause period is provided, and this pause period is used for this purpose.
To perform external communication between the VTR and video cameras and other peripherals and other tasks.

なお、この場合、マスターのCPU50は通信
専用であつてももちろんよい。
Note that in this case, the master CPU 50 may of course be used exclusively for communication.

以上は第13図に示したようなシフトレジスタ
を備えたシリアルポートを有するCPUを各機能
デバイスに設けた場合であるが、機能デバイスを
LSIで構成し、これに第13図に示したようなシ
リアルパートを具備させたものを用いてもよい。
The above is a case where each functional device is provided with a CPU having a serial port equipped with a shift register as shown in Figure 13.
It is also possible to use an LSI that is equipped with a serial part as shown in FIG.

またシフトレジスタを備えたシリアルポートを
有しないCPUを用いることもできる。
It is also possible to use a CPU that does not have a serial port with a shift register.

すなわち、このCPU60をスレーブの機能デ
バイスに設ける場合には、第5図に示すようにシ
フトレジスタを備えたシリアルポートを有するマ
スターのCPUのシリアル出力端子SOは入力ポト
61に、シリアル入力端子SI及びクロツク端子
SCKは出力ポート62,63に、それぞれ接続
するとともにチツプセレクト信号CSは割り込み
入力端INTに供給する。セレクト信号CSは入力
ポートを通じて入力するようしてもよい。そし
て、別の出力ポート64より出力ポート62及び
63よりのラインをイネーブルにする信号を出力
するとともに、このCPU60においてソフトウ
エアによりクロツクを作成し、ソフトウエアでビ
ツト毎にデータの読み書きをする。マスターの
CPUへはこのソフトウエアで作成したクロツク
を供給し、これをその内蔵シフトレジスタのシフ
トクロツクとする。つまり、マスターのCPUの
クロツク切換スイツチは端子B側に接続してお
く。
That is, when this CPU 60 is installed in a slave functional device, the serial output terminal SO of the master CPU, which has a serial port equipped with a shift register, is connected to the input port 61, as shown in FIG. clock terminal
SCK is connected to output ports 62 and 63, respectively, and chip select signal CS is supplied to interrupt input terminal INT. The select signal CS may be input through an input port. Then, a signal is output from another output port 64 to enable the lines from the output ports 62 and 63, a clock is created by software in this CPU 60, and data is read and written bit by bit by software. master's
A clock created by this software is supplied to the CPU, and this is used as the shift clock for its built-in shift register. In other words, connect the master CPU's clock selector switch to terminal B.

また、このようなシフトレジスタを有しない
CPUをマスターの機能デバイス側に用いる場合
は、第6図に示すように出力ポート71をシリア
ル出力端子SOとし、入力ポート72をシリアル
入力端子SIとし、出力ポート73をクロツク出力
端子SCK、出力ポート74をチツプセレクト信
号の出力端として、この場合にもソフトウエアで
クロツクを作り、これをスレーブのCPU側に伝
送するとともに、マスターのCPUではソフトウ
エアでデータをビツト毎に読み書きする。
Also, it does not have a shift register like this
When using the CPU as a master functional device, as shown in Figure 6, output port 71 is the serial output terminal SO, input port 72 is the serial input terminal SI, output port 73 is the clock output terminal SCK, and the output port 74 is used as the output terminal for the chip select signal, and in this case as well, a clock is created using software and transmitted to the slave CPU side, while the master CPU reads and writes data bit by bit using software.

また、特に多くのデータ処理を行う場合で、第
7図に示すようにスレーブの機能デバイスの
CPU80について、さらにシリアルバスライン
81を介してスレーブの機能デバイスのCPU9
0が設けられ、これらスレーブのデバイスの
CPU80,90間で通信をなす必要がある場合
には、第7図に示すように、マスターの機能デバ
イスのCPU70とシリアルバスラインを介して
接続されるスレーブの機能デバイスのCPU80
に2個のシリアルポートを設け、第8図に示すよ
うに時分割多重によりマスターのCPU70とス
レーブのCPU80間の通信の休止区間にスレー
ブのCPU80と90間の通信を行うようにすれ
ばよい。
In addition, especially when processing a lot of data, the function of the slave device as shown in Figure 7 is
Regarding the CPU 80, the CPU 9 of the slave functional device is further connected via the serial bus line 81.
0 is provided for these slave devices.
When it is necessary to communicate between the CPUs 80 and 90, as shown in FIG.
As shown in FIG. 8, two serial ports may be provided, and communication between the slave CPUs 80 and 90 may be carried out during periods when communication between the master CPU 70 and slave CPU 80 is inactive by time division multiplexing, as shown in FIG.

さらに、スレーブのCPU80に1個のシリア
ルポートしかない場合には第9図に示すように、
シリアルバスにスイツチ100を設け、マスター
のCPU70とスレーブのCPU80間の通信の休
止区間にスレーブのCPU80とマスターのCPU
70との通信路を断ち、スレーブのCPU80と
90と通信路を接続するようにすればよい。
Furthermore, if the slave CPU 80 has only one serial port, as shown in Figure 9,
A switch 100 is installed on the serial bus, and the slave CPU 80 and master CPU are
What is necessary is to cut off the communication path with 70 and connect the communication path with slave CPUs 80 and 90.

なお、さらに、上述したような8ビツトのシフ
トレジスタを有せず、4ビツトのシフトレジスタ
を有するシリアルポートを具備するCPUもある
が、このようなCPUを8ビツトのシリアルポー
トを有するCPUとの通信に用いるときも、この
4ビツトのシリアルポートを有するCPU側から
4ビツトのクロツクを、途中、データを内部バス
に取り込む時間を考慮しつつ2回出すことにより
何等支障なく通信ができる。
Furthermore, there are also CPUs that do not have an 8-bit shift register as described above but are equipped with a serial port that has a 4-bit shift register, but such a CPU can be compared with a CPU that has an 8-bit serial port. When used for communication, communication can be performed without any problems by issuing a 4-bit clock twice from the CPU side having this 4-bit serial port, taking into account the time required to take data into the internal bus.

また、クロツクはマスターのCPUやスレーブ
のCPUでは作成せず、別のCPUやハードウエア
で作成したものを共通に用いるようにしてもよ
い。このときはマスターのCPUよりこのクロツ
ク発生手段にクロツク発生のタイミング信号が与
えられる。
Further, the clock may not be created by the master CPU or slave CPU, but a clock created by another CPU or hardware may be used in common. At this time, a clock generation timing signal is given to this clock generation means from the master CPU.

以上はVTRの内部の機能デバイス間の通信を
例にとつて説明したが、このような1つの電子機
器の内部通信に限らず、例えばVTRとビデオカ
メラとモニター受像機等からなる映像機器システ
ムを考えたとき、このシステム内のVTRとビデ
オカメラ間、VTRとモニター受像機間等の通信
にもこの発明が適用できることは言うまでもな
い。
The above explanation has been given using the example of communication between functional devices inside a VTR, but it is not limited to internal communication of a single electronic device like this; for example, it can also be applied to a video equipment system consisting of a VTR, video camera, monitor receiver, etc. When considered, it goes without saying that the present invention can also be applied to communication between a VTR and a video camera, a VTR and a monitor receiver, etc. within this system.

〔発明の効果〕〔Effect of the invention〕

この発明によれば、前述した情報集中化分散処
理システム内の通信の一般的な効果すなわち省結
線化、省ピン数化による製造工数の低減、製造容
易化、高サービス性、機能モデユール化による多
品種変量生産の可能化等の効果の他、通信を同期
系の同期信号に同期して周期的になすようにした
ことにより次のような効果がある。
According to this invention, the general effects of communication within the information centralized distributed processing system described above, namely, reduction in manufacturing man-hours due to fewer wire connections and fewer pins, ease of manufacturing, high serviceability, and multiplication due to functional modeling, can be achieved. In addition to the effects of making variable production possible, the following effects are achieved by periodically performing communication in synchronization with the synchronization signal of the synchronization system.

すなわち、通信の同期化により、一度誤つた通
信をしてもすぐに正しいデータが送られて正規の
状態に復帰するのでエラー率が低下し信頼生が向
上する。また、周期通信であり、しかもマスター
側でのみ通信管理するものであるから、通信管理
が非常に容易であり、また、通信バグのデバクも
容易になる。
In other words, by synchronizing communication, even if a communication error occurs, correct data is immediately sent and the normal state is restored, reducing the error rate and improving reliability. Further, since the communication is periodic and communication is managed only on the master side, communication management is very easy, and communication bugs can be easily debugged.

また、システムの同期系の同期信号に位相同期
した同期通信であるので、この同期信号に同期し
た処理をなす情報に基づく、その処理を容易にな
すことができる。例えば、VTRで編集を行う場
合、「2フイールド後から信号をつなぐ」という
処理は、そのコマンドデータが垂直同期パルスに
位相同期しているから今からどのくらいのところ
でつなぐのか正確に判断ができる。その他、タイ
ムコードを通信データとしてフレームNo.やフイー
ドNo.を通信することも容易になる。
Further, since the communication is synchronous communication that is phase-synchronized with the synchronization signal of the synchronization system of the system, processing can be easily performed based on information that performs processing in synchronization with this synchronization signal. For example, when editing on a VTR, the command data is phase-locked to the vertical sync pulse, so you can accurately determine how far from now to connect the signal. In addition, it becomes easy to communicate frame numbers and feed numbers using time codes as communication data.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図はこの発明の原理的構成の一例のブロツ
ク図、第2図はその説明のための図、第3図はこ
の発明の一実施例のブロツク図、第4図はその説
明のための図、第5図及び第6図はシリアルポー
トの他の例を示す図、第7図〜第9図はスレーブ
の機能デバイスに対しさらにスレーブの機能デバ
イスが存在する場合の両デバイス間の通信方式の
一例を説明するための図、第10図〜第12図は
システムの諸機能の処理方式の例を示す図、第1
3図はシリアルポートの一例を示すブロツク図、
第14図はその説明のための図、第15図はこの
シリアルポートを用いた通信方式の一例を示す図
である。 40はマスターの機能デバイスのCPU、41
〜44はスレーブの機能デバイスのCPU、SOは
シリアル出力端子、SIはシリアル入力端子、
SCKはシリアルクロツク端子である。
Fig. 1 is a block diagram of an example of the basic configuration of this invention, Fig. 2 is a diagram for explaining the same, Fig. 3 is a block diagram of an embodiment of this invention, and Fig. 4 is a diagram for explaining the same. Figures 5 and 6 are diagrams showing other examples of serial ports, and Figures 7 to 9 are communication methods between both devices when there is a slave functional device in addition to the slave functional device. Figures 10 to 12 are diagrams for explaining an example, and Figures 10 to 12 are diagrams showing examples of processing methods for various functions of the system.
Figure 3 is a block diagram showing an example of a serial port.
FIG. 14 is a diagram for explaining the same, and FIG. 15 is a diagram showing an example of a communication method using this serial port. 40 is the CPU of the master functional device, 41
~44 is the CPU of the slave functional device, SO is the serial output terminal, SI is the serial input terminal,
SCK is a serial clock terminal.

Claims (1)

【特許請求の範囲】[Claims] 1 シリアル入力端子、シリアル出力端子、クロ
ツク端子を有する複数の機能デバイスと、同期信
号処理系を有するシステムにおいて、上記複数の
機能デバイスの1つがマスター、他がスレーブと
され、マスターの機能デバイスのシリアル入力端
子と各スレーブの機能デバイスのシルアル出力端
子、上記マスターの機能デバイスのシリアル出力
端子と各スレーブの機能デバイスのシリアル入力
端子、上記マスターの機能デバイスのクロツク端
子と各スレーブの機能デバイスのクロツク端子が
それぞれ接続されるとともに上記マスターの機能
デバイスから各スレーブの機能デバイスにチツプ
セレクト信号が供給され、このチツプセレクト信
号により上記マスターの機能デバイスと各スレー
ブの機能デバイスとの間の通信が排他的に順次行
われるとともに上記同期信号に同期して周期的に
行われるようにされたシステム内通信方式。
1. In a system that includes multiple functional devices having serial input terminals, serial output terminals, and clock terminals, and a synchronous signal processing system, one of the multiple functional devices is designated as a master, the others are designated as slaves, and the serial number of the master functional device is Input terminal and serial output terminal of each slave functional device, serial output terminal of the above master functional device and serial input terminal of each slave functional device, clock terminal of the above master functional device and clock terminal of each slave functional device are connected to each other, and a chip select signal is supplied from the master's functional device to each slave's functional device, and this chip select signal exclusively allows communication between the master's functional device and each slave's functional device. An intra-system communication method that is performed sequentially and periodically in synchronization with the synchronization signal.
JP685685A 1985-01-18 1985-01-18 Communication system within system Granted JPS61166244A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP685685A JPS61166244A (en) 1985-01-18 1985-01-18 Communication system within system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP685685A JPS61166244A (en) 1985-01-18 1985-01-18 Communication system within system

Publications (2)

Publication Number Publication Date
JPS61166244A JPS61166244A (en) 1986-07-26
JPH0554749B2 true JPH0554749B2 (en) 1993-08-13

Family

ID=11649872

Family Applications (1)

Application Number Title Priority Date Filing Date
JP685685A Granted JPS61166244A (en) 1985-01-18 1985-01-18 Communication system within system

Country Status (1)

Country Link
JP (1) JPS61166244A (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4615965B2 (en) * 2003-11-05 2011-01-19 ルネサスエレクトロニクス株式会社 Communication system, information processing apparatus having the communication system, and control
US7765269B2 (en) 2003-11-05 2010-07-27 Renesas Technology Corporation Communications system, and information processing device and control device incorporating said communications system

Also Published As

Publication number Publication date
JPS61166244A (en) 1986-07-26

Similar Documents

Publication Publication Date Title
JP3566304B2 (en) Bus control device and bus control system
US20070250652A1 (en) High speed dual-wire communications device requiring no passive pullup components
JP2006318480A (en) Memory system and method of accessing memory chip of memory system
JP2778222B2 (en) Semiconductor integrated circuit device
JPS59140536A (en) Parallel interface adapted to control bidirectional data transmission between non-synchronous bus and synchronous busconnected to several terminals while they transmit own synchronous signal to said buses
CN104834620A (en) SPI (serial peripheral interface) bus circuit, realization method and electronic equipment
CN103235767A (en) Serial communication method for master-slave MII (Media Independent Interface) management interfaces
JP2002518729A (en) Interface device for connecting devices operating at different clock rates and method of operating the interface
JPH0554749B2 (en)
CN101436119A (en) System and method for media card communication
US5586151A (en) Transmission rate control system for information processing system
CN117222994A (en) I2C bus architecture using shared clock and dedicated data lines
KR100266963B1 (en) Method and apparatus for reducing latency rime on an interface by overlapping transmitted packets
KR900007704B1 (en) Periphery control system in electronic exchanges
JP2743780B2 (en) Distributed processing equipment
CN115202257B (en) LPC bus protocol conversion and equipment parallel control device and method
JP3974370B2 (en) Master-slave communication method and system
KR100295683B1 (en) General call acknowledge apparatus and method for inter-integrated circuit
JP2861514B2 (en) Two-wire signal transmission device
CN115562912A (en) Data redundancy monitoring method
SU966687A1 (en) Interface
SU1672459A1 (en) Computer-to-external storage interface unit
JPH04131957A (en) Data transfer system
SU1614016A1 (en) Data input device
JPS6329871A (en) Interface circuit control system for bidirectional data transfer

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term