JPH1168879A - Communication circuit and communication circuit control program - Google Patents

Communication circuit and communication circuit control program

Info

Publication number
JPH1168879A
JPH1168879A JP9224099A JP22409997A JPH1168879A JP H1168879 A JPH1168879 A JP H1168879A JP 9224099 A JP9224099 A JP 9224099A JP 22409997 A JP22409997 A JP 22409997A JP H1168879 A JPH1168879 A JP H1168879A
Authority
JP
Japan
Prior art keywords
communication
signal
timing
microcomputer
communication circuit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Withdrawn
Application number
JP9224099A
Other languages
Japanese (ja)
Inventor
Hisao Osabe
久夫 長部
Ryuji Abe
龍二 阿部
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 JP9224099A priority Critical patent/JPH1168879A/en
Publication of JPH1168879A publication Critical patent/JPH1168879A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Communication Control (AREA)
  • Synchronisation In Digital Transmission Systems (AREA)

Abstract

PROBLEM TO BE SOLVED: To communicate with an external circuit without reducing a communication rate by changing an internal data latch timing against plural modes which have different synchronization of a synchronizing signal by a timing generator. SOLUTION: In the case of exchanging data between a microcomputer 101 and a module 2 through a communication circuit MCI 1, an input register 4 detects a bit that designates whether a standard operation SD mode from the microcomputer 101 or a high compression SDL mode and inputs it to a timing generator 7 that is installed on the MCI 1. Thereby, a latch timing of the register 4 in the SDL mode becomes a timing which makes both edges of a switching position SWP signal reference and synchronizes with a synchronizing signal in the microcomputer 101 whose frequency is equal to the SWP signal in the SD mode. The timing of serial communication for the MCI 1 is controlled by a chip select signal CS from the microcomputer 101 and a serial clock signal SCK signal and makes communication timing constant without depending on operation modes.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、外部の電子回路と
の間で情報信号の送受信を行うための通信回路及び通信
回路制御プログラムに関する。
The present invention relates to a communication circuit for transmitting and receiving information signals to and from an external electronic circuit, and a communication circuit control program.

【0002】[0002]

【従来の技術】従来、回転ヘッド装置を用いて磁気テー
プに対するデジタル信号の記録及び再生を行う、いわゆ
るデジタルビデオカムコーダ(DVC)が提案されてい
る。このデジタルビデオカムコーダの回転ヘッド装置
は、一対の磁気ヘッドが回転ドラム上に180度対向す
る状態で配置されて構成されている。
2. Description of the Related Art A so-called digital video camcorder (DVC) for recording and reproducing digital signals on a magnetic tape by using a rotary head device has been proposed. The rotary head device of this digital video camcorder is configured such that a pair of magnetic heads are arranged on a rotary drum so as to face 180 degrees.

【0003】このデジタルビデオカムコーダにおいて
は、動作モードがSD(Standard Difinition)モード
である場合においては、回転ヘッド装置の2つの磁気ヘ
ッドを切り替える信号として、150HzのSWP(Sw
itching Position)信号を用いている。そして、このデ
ジタルビデオカムコーダ用の通信回路化された通信回路
では、デジタルビデオカムコーダの制御回路となるマイ
クロコンピュータとの通信において、SWP信号を同期
信号として、内部データのラッチ及びマイクロコンピュ
ータとの通信を行っている。マイクロコンピュータは、
SWP信号と等しい位相差と周波数を持つマイクロコン
ピュータの内部同期信号に基づいて、通信回路との通信
を行っている。
In this digital video camcorder, when the operation mode is an SD (Standard Definition) mode, a 150 Hz SWP (Sw) signal is used as a signal for switching between the two magnetic heads of the rotary head device.
itching Position) signal. In the communication circuit formed as a communication circuit for the digital video camcorder, in communication with the microcomputer serving as the control circuit of the digital video camcorder, latching of internal data and communication with the microcomputer are performed using the SWP signal as a synchronization signal. Is going. The microcomputer is
Communication with the communication circuit is performed based on an internal synchronization signal of the microcomputer having the same phase difference and frequency as the SWP signal.

【0004】[0004]

【発明が解決しようとする課題】ところで、上述のよう
なデジタルビデオカムコーダにおいては、動作モードが
SDL(高圧縮SD)モードとなされると、SWP信号
の周波数が、SDモードにおけるSWP信号の周波数の
1/2の75Hzとなる。このとき、通信回路が、SD
モードにおけると同様に通信回路側のSWP信号の片エ
ッジを基準にして通信を行うと、マイクロコンピュータ
側から見た通信タイミングは、2周期のマイクロコンピ
ュータの内部同期信号に1回となるので、通信速度が低
下することとなる。これにより、通信回路及びマイクロ
コンピュータ間の応答性が低下する。
In the above-described digital video camcorder, when the operation mode is set to the SDL (high compression SD) mode, the frequency of the SWP signal becomes lower than the frequency of the SWP signal in the SD mode. It is 75 Hz, which is 1/2. At this time, the communication circuit is SD
When communication is performed based on one edge of the SWP signal on the communication circuit side in the same manner as in the mode, the communication timing viewed from the microcomputer side is once for two cycles of the internal synchronization signal of the microcomputer. The speed will be reduced. Thereby, the responsiveness between the communication circuit and the microcomputer decreases.

【0005】そこで、本発明は、上述の実情に鑑みて提
案されるものであって、同期信号の異なる複数のモード
において、通信速度を低下させることなく、マイクロコ
ンピュータなどの外部回路との間の情報信号の通信を行
うことができるようになされた通信回路及びこのような
通信回路を実現するための通信回路制御プログラムを提
供しようとするものである。
Accordingly, the present invention has been proposed in view of the above situation, and has been proposed in a plurality of modes having different synchronizing signals, without lowering the communication speed, between external modes such as a microcomputer. An object of the present invention is to provide a communication circuit capable of communicating information signals and a communication circuit control program for realizing such a communication circuit.

【0006】[0006]

【課題を解決するための手段】上述の課題を解決するた
め、本発明に係る通信回路は、同期信号の周期が異なる
複数のモードに対して、内部のデータラッチタイミング
を変えることによって、一定の通信タイミングを維持し
て通信することを特徴とするものである。
In order to solve the above-mentioned problems, a communication circuit according to the present invention provides a constant circuit by changing internal data latch timings for a plurality of modes having different periods of a synchronization signal. The communication is performed while maintaining the communication timing.

【0007】また、本発明に係る通信回路制御プログラ
ムは、同期信号の周期に応じて通信回路の内部のデータ
ラッチタイミングを変えさせ、同期信号の周期の異なる
複数のモードにおいて該通信回路により一定の通信タイ
ミングを維持して通信させることを特徴とするものであ
る。
Further, a communication circuit control program according to the present invention causes a data latch timing inside a communication circuit to be changed in accordance with a cycle of a synchronization signal, and the communication circuit controls the data latch in a plurality of modes having different synchronization signal cycles. The communication is performed while maintaining the communication timing.

【0008】[0008]

【発明の実施の形態】以下、本発明の実施の形態を図面
を参照しながら説明する。
Embodiments of the present invention will be described below with reference to the drawings.

【0009】この実施の形態は、本発明に係る通信回路
をいわゆるデジタルビデオカムコーダに実装した場合の
ものである。この通信回路は、図1に示すように、IC
(集積回路)に内蔵されており、外部のマイクロコンピ
ュータ101と第2のモジュール2との通信を執り行う
第1のモジュール(MCI)1である。この第1のモジ
ュール1の役割は、図2に示すように、マイクロコンピ
ュータ101からのデータを、通信レジスタ(入力)3
及び入力レジスタ4を介して第2のモジュール2に渡
し、同時に、第2のモジュール2からのデータを、出力
レジスタ5及び通信レジスタ(出力)6を介してマイク
ロコンピュータ101に送るというものである。また、
この第1のモジュール1は、マイクロコンピュータ10
1の信号及び入力レジスタ4の制御に基づいてこの入力
レジスタ4及び出力レジスタ5にラッチタイミングを指
示するラッチタイミングジェネレータ7を有している。
In this embodiment, a communication circuit according to the present invention is mounted on a so-called digital video camcorder. This communication circuit, as shown in FIG.
The first module (MCI) 1 is built in the (integrated circuit) and performs communication between the external microcomputer 101 and the second module 2. The function of the first module 1 is to transfer data from the microcomputer 101 to a communication register (input) 3 as shown in FIG.
And the data is passed to the second module 2 via the input register 4, and at the same time, the data from the second module 2 is sent to the microcomputer 101 via the output register 5 and the communication register (output) 6. Also,
The first module 1 includes a microcomputer 10
A latch timing generator 7 for instructing the input register 4 and the output register 5 to latch based on the signal 1 and the control of the input register 4 is provided.

【0010】通信回路の第1のモジュール1における通
信は、図3に示すように、マイクロコンピュータ101
から非同期で送られるチップセレクト信号(CS)とシ
リアルロック信号(SCK)により制御される。
The communication in the first module 1 of the communication circuit is performed by a microcomputer 101 as shown in FIG.
Is controlled by a chip select signal (CS) and a serial lock signal (SCK) asynchronously transmitted from the CPU.

【0011】マイクロコンピュータ101からのデータ
が第2のモジュール2に送られるまでの順序を説明す
る。マイクロコンピュータ101からのデータは、チッ
プセレクト信号が“L”レベルであるときに、シリアル
クロック信号に同期して、通信レジスタ(入力)3にシ
リアルで取り込まれる。このデータは、デジタルビデオ
カムコーダにおいて回転ヘッド装置の2つの磁気ヘッド
を切り替える信号である150HzのSWP信号の立ち
上がりに同期して、通信レジスタ(入力)3から入力レ
ジスタ4に取り込まれ、パラレルに第2のモジュール2
に分配される。
The sequence until data from the microcomputer 101 is sent to the second module 2 will be described. Data from the microcomputer 101 is serially taken into the communication register (input) 3 in synchronization with the serial clock signal when the chip select signal is at “L” level. This data is taken into the input register 4 from the communication register (input) 3 in synchronization with the rise of the 150 Hz SWP signal which is a signal for switching between the two magnetic heads of the rotary head device in the digital video camcorder, and is read in parallel to the second register. Module 2
Distributed to

【0012】次に、第2のモジュール2からのデータが
マイクロコンピュータ101に取り込まれるまでのデー
タの流れを説明する。この通信回路では、SWP信号の
“H”レベル、“L”レベルで異なる処理をする。すな
わち、SWP信号が“H”レベルの間のデータをSWP
信号の立ち下がりに同期して出力レジスタ5に取り込
み、“L”レベルの間のデータをSWP信号の立ち下が
りに同期して出力レジスタ5に取り込む。また、SWP
信号に関係のないデータについては、SWP信号の立ち
上がりに同期して取り込むものとする。第2のモジュー
ル2からは、パラレルデータが出力されている。出力レ
ジスタ5から通信レジスタ(出力)6へは、例えば、チ
ップセレクト信号の立ち下がりに同期してラッチする。
通信レジスタ(出力)6のデータは、チップセレクト信
号が“L”レベルのときに、シリアルクロック信号に同
期させてマイクロコンピュータ101にシリアルで転送
される。
Next, the flow of data until the data from the second module 2 is taken into the microcomputer 101 will be described. In this communication circuit, different processing is performed at the “H” level and the “L” level of the SWP signal. That is, data during which the SWP signal is at “H” level
The data is taken into the output register 5 in synchronization with the fall of the signal, and the data during the "L" level is taken into the output register 5 in synchronization with the fall of the SWP signal. Also, SWP
It is assumed that data not related to the signal is taken in synchronization with the rise of the SWP signal. The second module 2 outputs parallel data. From the output register 5 to the communication register (output) 6, for example, latch is performed in synchronization with the fall of the chip select signal.
The data in the communication register (output) 6 is serially transferred to the microcomputer 101 in synchronization with the serial clock signal when the chip select signal is at the “L” level.

【0013】そして、この通信回路は、マイクロコンピ
ュータ101の制御によりデジタルビデオコーダの動作
モードがSDモードとSDLモードとの間で切り替えら
れても、マイクロコンピュータ101からのデータによ
り、デジタルビデオコーダ動作モードに拘わらず、一定
の通信タイミングによる通信が実現されている。
Even if the operation mode of the digital video coder is switched between the SD mode and the SDL mode under the control of the microcomputer 101, the communication circuit operates in the digital video coder operation mode by the data from the microcomputer 101. Regardless, communication at a constant communication timing is realized.

【0014】すなわち、マイクロコンピュータ101か
ら送られるシリアルデータの一部に、SDモード及びS
DLモードのいずれかを指定するビットを割り当てる。
そして、入力レジスタ4のモード指定ビットの出力を第
1のモジュール1の内部のタイミングジェネレータ7に
入力する。これにより、SDLモード時の入力レジスタ
4のラッチタイミングは、図4に示すように、SWP信
号の両エッジを基準とするタイミングになる。同様に、
出力レジスタ5のラッチタイミングは、以下の理論に従
うようにする。すなわち、SWP信号が“H”レベルの
間のデータは、SWP信号の立ち下がりを基準として出
力レジスタ5に取り込むこととする。SWP信号が
“L”レベルの間のデータは、SWPの立ち上がりを基
準として出力レジスタ5に取り込むこととする。SWP
信号が“H”レベルか“L”レベルかに依存しないデー
タについては、SWP信号の両エッジを基準として取り
込むこととする。
That is, a part of the serial data sent from the microcomputer 101 includes the SD mode and the S mode.
Assign a bit to specify one of the DL modes.
Then, the output of the mode designation bit of the input register 4 is input to the timing generator 7 inside the first module 1. Thereby, the latch timing of the input register 4 in the SDL mode is a timing based on both edges of the SWP signal as shown in FIG. Similarly,
The latch timing of the output register 5 follows the following theory. That is, data during which the SWP signal is at the “H” level is taken into the output register 5 on the basis of the falling edge of the SWP signal. Data during which the SWP signal is at the “L” level is taken into the output register 5 on the basis of the rising edge of the SWP. SWP
Data that does not depend on whether the signal is at the “H” level or the “L” level is taken in based on both edges of the SWP signal.

【0015】SDモードに対してSDLモードでは、S
WP信号の周波数が1/2となる。しかし、マイクロコ
ンピュータ101は、SDLモード時においても、SD
モード時のSWP信号と周波数が等しいマイクロコンピ
ュータ101の内部同期信号に同期している。通信回路
のシリアル通信のタイミングはマイクロコンピュータ1
01から供給される非同期信号であるチップセレクト信
号、シリアルクロック信号で制御される。通信回路のラ
ッチタイミングをSDLモードとSDモードで切り替え
ることにより、これらの動作モードによらずに、マイク
ロコンピュータ101との通信タイミングは一定にする
ことができる。
In the SDL mode as opposed to the SD mode, S
The frequency of the WP signal becomes 1/2. However, even in the SDL mode, the microcomputer 101 does not
It is synchronized with the internal synchronization signal of the microcomputer 101 having the same frequency as the SWP signal in the mode. The timing of serial communication of the communication circuit is the microcomputer 1
01 is controlled by a chip select signal, which is an asynchronous signal, and a serial clock signal. By switching the latch timing of the communication circuit between the SDL mode and the SD mode, the communication timing with the microcomputer 101 can be constant regardless of these operation modes.

【0016】[0016]

【発明の効果】上述のように、本発明に係る通信回路に
おいては、マイクロコンピュータの如き外部回路側で動
作モードを判別して通信タイミングを切り替える必要が
なく、そのような切り替えのためのプログラムを格納す
るメモリを削減しコストダウンが可能となる。
As described above, in the communication circuit according to the present invention, there is no need to determine the operation mode on the external circuit side such as a microcomputer to switch the communication timing. The storage memory can be reduced and cost can be reduced.

【0017】例えば、デジタルビデオカムコーダにおい
ては、通信タイミングをSWP信号の両エッジを基準と
するものとすることで、SDLモード時のマイクロコン
ピュータの指示に対するICの応答を早くできる。ま
た、通信タイミングをSWP信号の両エッジを基準とす
るものとすることで、SDLモード時のICの内部状態
をマイクロコンピュータの動作に素早く反映できる。
For example, in a digital video camcorder, the response of the IC to the instruction of the microcomputer in the SDL mode can be made faster by setting the communication timing based on both edges of the SWP signal. Further, by setting the communication timing based on both edges of the SWP signal, the internal state of the IC in the SDL mode can be quickly reflected on the operation of the microcomputer.

【0018】すなわち、本発明は、同期信号の異なる複
数のモードにおいて、通信速度を低下させることなく、
マイクロコンピュータなどの外部回路との間の情報信号
の通信を行うことができるようになされた通信回路及び
このような通信回路を実現するための通信回路制御プロ
グラムを提供することができるものである。
That is, according to the present invention, in a plurality of modes having different synchronization signals, the communication speed is not reduced.
It is possible to provide a communication circuit capable of communicating information signals with an external circuit such as a microcomputer and a communication circuit control program for realizing such a communication circuit.

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

【図1】本発明に係る通信回路の構成を示すブロック図
である。
FIG. 1 is a block diagram showing a configuration of a communication circuit according to the present invention.

【図2】上記通信回路の第1のモジュールの構成を示す
ブロック図である。
FIG. 2 is a block diagram illustrating a configuration of a first module of the communication circuit.

【図3】上記通信回路のSDモードにおける動作を示す
タイムチャートである。
FIG. 3 is a time chart showing an operation in an SD mode of the communication circuit.

【図4】上記通信回路のSDLモードにおける動作を示
すタイムチャートである。
FIG. 4 is a time chart showing an operation of the communication circuit in an SDL mode.

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

1 第1のモジュール、2 第2のモジュール、7 タ
イミングジェネレータ、101 マイクロコンピュータ
DESCRIPTION OF SYMBOLS 1 1st module, 2nd module, 7 timing generator, 101 microcomputer

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 同期信号の周期が異なる複数のモードに
対して、内部のデータラッチタイミングを変えることに
よって、一定の通信タイミングを維持して通信すること
を特徴とする通信回路。
1. A communication circuit for performing communication while maintaining a constant communication timing by changing internal data latch timing for a plurality of modes having different synchronization signal periods.
【請求項2】 第1のモードに対しては同期信号の片エ
ッジに対応したデータラッチタイミングを採用し、第2
のモードに対しては同期信号の両エッジに対応したデー
タラッチタイミングを採用することを特徴とする請求項
1記載の通信回路。
2. A data latch timing corresponding to one edge of a synchronizing signal is adopted for a first mode.
2. The communication circuit according to claim 1, wherein the data latch timing corresponding to both edges of the synchronization signal is adopted for the mode.
【請求項3】 同期信号の周期に応じて、通信回路の内
部のデータラッチタイミングを変えさせ、 同期信号の周期の異なる複数のモードにおいて、上記通
信回路により一定の通信タイミングを維持して通信させ
ることを特徴とする通信回路制御プログラム。
3. A data latch timing inside a communication circuit is changed according to a cycle of a synchronization signal, and communication is performed while maintaining a constant communication timing by the communication circuit in a plurality of modes having different synchronization signal cycles. A communication circuit control program characterized by the above-mentioned.
JP9224099A 1997-08-20 1997-08-20 Communication circuit and communication circuit control program Withdrawn JPH1168879A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9224099A JPH1168879A (en) 1997-08-20 1997-08-20 Communication circuit and communication circuit control program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9224099A JPH1168879A (en) 1997-08-20 1997-08-20 Communication circuit and communication circuit control program

Publications (1)

Publication Number Publication Date
JPH1168879A true JPH1168879A (en) 1999-03-09

Family

ID=16808539

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9224099A Withdrawn JPH1168879A (en) 1997-08-20 1997-08-20 Communication circuit and communication circuit control program

Country Status (1)

Country Link
JP (1) JPH1168879A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6795906B2 (en) 2000-06-16 2004-09-21 Nec Corporation Memory controller, interface device and method using a mode selection signal to support different types of memories

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6795906B2 (en) 2000-06-16 2004-09-21 Nec Corporation Memory controller, interface device and method using a mode selection signal to support different types of memories

Similar Documents

Publication Publication Date Title
JPH0821011B2 (en) Bus expansion control method
US5247485A (en) Memory device
JP2002518729A (en) Interface device for connecting devices operating at different clock rates and method of operating the interface
KR101202864B1 (en) Host controller, semiconductor device, and method for setting sampling phase
JP2000076848A (en) High-speed-synchronization semiconductor memory device with dual port for enhancement of graphic processing speed
JPH1168879A (en) Communication circuit and communication circuit control program
JP2002183692A (en) Ic card and ic card system
JP3459542B2 (en) Serial data transfer device
JP2867480B2 (en) Memory switching circuit
JP3484660B2 (en) Buffer memory capacity shortage detection circuit
JP2626112B2 (en) Microprocessor
JP3321799B2 (en) Serial interface circuit
KR100263670B1 (en) A dma controller
JP3450667B2 (en) Data processor
JP2643523B2 (en) Bit multiplexer
JPH0553985A (en) Processor and driving method thereof
JPH02119334A (en) Pulse stuff synchronous circuit
JPH08153033A (en) Data transfer circuit
JPH08237235A (en) Digital communication system
JP2000261510A (en) Transmitter and receiver
JPH03254469A (en) Connection circuit for disk controller and data separator
JPH0564901B2 (en)
JPH06292126A (en) Serial data processing circuit
JPH0635851A (en) Handshake type data processing circuit
JPH0219957A (en) Interface device

Legal Events

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

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20041102