JPH01245737A - Serial data transfer circuit - Google Patents

Serial data transfer circuit

Info

Publication number
JPH01245737A
JPH01245737A JP63073588A JP7358888A JPH01245737A JP H01245737 A JPH01245737 A JP H01245737A JP 63073588 A JP63073588 A JP 63073588A JP 7358888 A JP7358888 A JP 7358888A JP H01245737 A JPH01245737 A JP H01245737A
Authority
JP
Japan
Prior art keywords
data transfer
serial data
circuit
serial
flip
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
JP63073588A
Other languages
Japanese (ja)
Inventor
Masahiko Matsumoto
松本 政彦
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP63073588A priority Critical patent/JPH01245737A/en
Publication of JPH01245737A publication Critical patent/JPH01245737A/en
Pending legal-status Critical Current

Links

Landscapes

  • Information Transfer Systems (AREA)
  • Communication Control (AREA)

Abstract

PURPOSE:To attain normal operation as to the transfer after a section of a serial data transfer group is detected even if a serial data transfer circuit malfunction by adding a circuit generating a section detection signal of a serial data transfer group to the serial data transfer circuit. CONSTITUTION:T flip-flop circuits 4, 5 with reset and a two-input OR circuit 6 are added to a conventional circuit to constitute the transfer circuit. The flip-flop 4 receives a time base signal (g) at its T input, the flip-flop 5 applying 1/2 frequency division receives an output of the flip-flop 4 at its T input to generate a section detection signal of the serial data transfer group. When a leading edge of the time base signal (g) is detected twice, although the section detection signal of the serial data transfer group is outputted, since an OR output (j) between the serial transfer clock (b) and a system reset (f) is provided in the reset of the flip-flops 4, 5 the section detection signal (h) of the serial data transfer group is outputted if the serial data transfer is not applied for a maximum of 2t' (t' is the period of the time base signal (g)) and for a minimum of t'.

Description

【発明の詳細な説明】 産業上の利用分野 本発明はシリアルデータ転送回路に、シリアルデータ転
送群の区切を明確にする信号を発生させる回路を付加し
たシリアルデータ転送回路に関する。
DETAILED DESCRIPTION OF THE INVENTION Field of the Invention The present invention relates to a serial data transfer circuit in which a circuit for generating a signal for clearly demarcating serial data transfer groups is added to the serial data transfer circuit.

従来の技術 近年、データ転送回路では、データの送受信を行なう際
に、少ない端子数でデータを送受信する機能を有するシ
リアルデータ転送回路が用いられることが多い。
2. Description of the Related Art In recent years, data transfer circuits often use serial data transfer circuits that have a function of transmitting and receiving data with a small number of terminals.

以下に従来のシリアルデータ転送回路について説明する
A conventional serial data transfer circuit will be explained below.

第3図は、シリアルデータ転送回路の一例であり、シフ
トレジスタ1.データバス2.カウンタ3で構成されて
いる。そして、入力aはシリアル受信データ、入力すは
シリアル転送クロック、出力Cはシリアル送信データ、
出力dはシリアル割込み信号、入出力eはシフトレジス
タのデータである。
FIG. 3 shows an example of a serial data transfer circuit, in which shift registers 1. Data bus 2. It consists of 3 counters. Input a is serial reception data, input is serial transfer clock, output C is serial transmission data,
Output d is a serial interrupt signal, and input/output e is shift register data.

以上のように構成されたシリアルデータ転送回路につい
て、以下その動作を説明する。
The operation of the serial data transfer circuit configured as described above will be described below.

シフトレジスタ1はシリアル転送クロックbによってシ
フト動作を行い、カウンタ3によりシフト動作の回数を
カウントし、データのビット長に達すると、シリアル割
込み信号dを発生する。
The shift register 1 performs a shift operation using a serial transfer clock b, and a counter 3 counts the number of shift operations. When the bit length of data is reached, a serial interrupt signal d is generated.

このシリアル割込み信号dにより、プログラム的、又は
回路的に、シフトレジスタ1とデータバス2との間で、
入出力信号eを介して、シリアル転送データのREAD
 (受信モート)/WRITE(送信モート)が行なわ
れる。
This serial interrupt signal d causes a program or circuit to interrupt the shift register 1 and the data bus 2.
READ of serial transfer data via input/output signal e
(reception mode)/WRITE (transmission mode) is performed.

発明が解決しようとする課題 しかしながら上記従来の構成では、シリアル転送クロッ
クの電圧レベルの変動、あるいはシリアル転送クロック
がノイズの影響を受けた場合等に、上記カウンタ3より
発生ずるシリアル割込み信号dのタイミングがくるい、
シリアルデータ転送回路が誤動作する恐れがあるという
問題点があった。
Problems to be Solved by the Invention However, in the above conventional configuration, the timing of the serial interrupt signal d generated by the counter 3 changes when the voltage level of the serial transfer clock changes or when the serial transfer clock is affected by noise. I'm tired,
There is a problem that the serial data transfer circuit may malfunction.

本発明は上記問題点を解決するもので、上記誤動作が発
生した場合にも、シリアルデータ転送群の区切を検出し
、区切を検出した以降のシリアルデータ転送については
、正常な動作を行なうことのできるシリアルデータ転送
回路を提供することを目的とする。
The present invention solves the above problem, and even when the above malfunction occurs, it is possible to detect a break in a serial data transfer group and to perform normal operation for serial data transfer after the break is detected. The purpose is to provide a serial data transfer circuit that can

課題を解決するための手段 この目的を達成するために、本発明のシリアルデータ転
送回路は、特定の周波数を有するタイムベース信号を基
準として、シリアルデータ転送群の区切検出信号を発生
させる回路構成を有している。
Means for Solving the Problems To achieve this object, the serial data transfer circuit of the present invention has a circuit configuration that generates a delimiter detection signal for a serial data transfer group using a time base signal having a specific frequency as a reference. have.

作用 この構成によって、上記誤動作が発生した場合にも、シ
リアルデータ転送群の区切を検出する信号を用いて、プ
ログラム的、又は回路的に、シリアル転送回路を初期化
することで、シリアルデータ転送群の区切を検出した以
降のシリアルデータ転送については、正常な動作を行な
うことができ、ある周期で区切られた範囲でシリアル転
送を行なう場合に特に有効である。
With this configuration, even if the above-mentioned malfunction occurs, the serial transfer circuit can be initialized programmatically or circuit-wise using the signal that detects the delimitation of the serial data transfer group. The serial data transfer after detecting the break can operate normally, and is particularly effective when serial data is transferred within a range divided by a certain period.

実施例 以下、本発明の実施例について、図面を参照しながら説
明する。
EXAMPLES Hereinafter, examples of the present invention will be described with reference to the drawings.

第1図は本発明の一実施例回路図で、1はシフトレジス
タ、2はデータバス、3はカウンタ、入力aはシリアル
受信データ、bはシリアル転送クロック、出力Cはシリ
アル送信データ、出力dはシリアル割込み信号、入出力
eはシフトレジスタのデータで、これらは従来例の構成
と同じものである。
FIG. 1 is a circuit diagram of an embodiment of the present invention, in which 1 is a shift register, 2 is a data bus, 3 is a counter, input a is serial reception data, b is serial transfer clock, output C is serial transmission data, and output d is a serial interrupt signal, and input/output e is shift register data, which are the same as the conventional configuration.

これにリセット付Tフリップフロップ4,5と2入力O
R回路6を加見て構成されており、入力fはシステムリ
セット、入力gはタイムベース信号、出力りはシリアル
データ転送群の区切検出信号である。
This includes T flip-flops 4 and 5 with reset and 2 inputs O
It is constructed by adding an R circuit 6, the input f is a system reset, the input g is a time base signal, and the output is a serial data transfer group delimitation detection signal.

第2図は第1図に示すシリアルデータ転送回路で仮にデ
ータのビット長を4ビツト、2回のシリアルデータ転送
で1つのシリアルデータ転送群を形成している場合の各
部の信号波形である。
FIG. 2 shows signal waveforms at various parts of the serial data transfer circuit shown in FIG. 1 when the data bit length is 4 bits and one serial data transfer group is formed by two serial data transfers.

第2図中のtはシリアルデータ転送群の中てのシリアル
データ転送の時間間隔であり、Tはシリアルデータ転送
群の時間間隔であり、t゛はタイムベース信号の周期で
ある。
In FIG. 2, t is the time interval of serial data transfer in the serial data transfer group, T is the time interval of the serial data transfer group, and t' is the period of the time base signal.

タイムへ−ス信号gの立上りエツジを2回検出すると、
シリアルデータ転送群の区切検出信号が出力されるが、
リセット付Tフリップフロップ一  4 − 4.5のリセットには、シリアル転送クロックbとシス
テムリセットfの論理和(OR)出力Jが入っているの
で、最小でt゛、最大で2t’の期間シリアルデータ転
送が行なわなければ、シリアルデータ転送群の区切検出
信号りは出力されることになる。
When the rising edge of the time base signal g is detected twice,
The delimiter detection signal of the serial data transfer group is output, but
Since the reset of T flip-flop 4-4.5 includes the logical sum (OR) output J of the serial transfer clock b and the system reset f, serial If data transfer is not performed, the delimiter detection signal of the serial data transfer group will be output.

つまり、t、t゛、Tが2t<2t’<Tの関係にある
時、hにシリアルデータ転送群の区切検出信号が出力さ
れることになる。
In other words, when t, t', and T have the relationship 2t<2t'<T, a serial data transfer group delimitation detection signal is output at h.

以上のように本実施例によれば、上記2t<2t’<T
なる条件を満足する周波数を有するタイムベース信号を
用いた、シリアルデータ転送群の区切検出回路を用いる
ことにより、このシリアルデータ転送群の区切検出信号
を用い、プログラム的、又は回路的に、シリアルデータ
転送回路を初期化することで、シリアルデータ転送回路
に誤動作が発生した場合にも、シリアルデータ転送群の
区切を検出した以降のシリアルデータ転送については、
正常な動作を行なうことができる。
As described above, according to this embodiment, the above 2t<2t'<T
By using a serial data transfer group delimitation detection circuit that uses a time base signal having a frequency that satisfies the following conditions, the serial data transfer group delimitation detection signal can be used to programmatically or circuitically detect the serial data. By initializing the transfer circuit, even if a malfunction occurs in the serial data transfer circuit, serial data transfer after detecting the end of a serial data transfer group will be performed.
Can perform normal operations.

なお、本実施例による効果は、シリアルデータ転送の送
信時、受信時において有効である。
Note that the effects of this embodiment are effective when transmitting and receiving serial data transfer.

また、転送群を形成しないシリアルデータ転送において
も、1回のシリアルデータ転送ごとに区切を検出するこ
とが出来る。
Furthermore, even in serial data transfer that does not form a transfer group, a break can be detected for each serial data transfer.

また、本実施例では、入力fをシステムリセットとした
が、リセット付Tフリップフロップ4゜5の初期値を設
定するための信号なら、システムリセット信号以外の信
号でもよい。
Further, in this embodiment, the input f is used as a system reset signal, but any signal other than the system reset signal may be used as long as it is a signal for setting the initial value of the T flip-flop with reset 4.5.

発明の効果 以上の説明から明らかなように、本発明によれば、シリ
アルデータ転送回路に、シリアルデータ転送群の区切検
出信号を発生させる回路を付加したことて、シリアルデ
ータ転送回路が誤動作しても、シリアルデータ転送群の
区切を検出した以降のシリアルデータ転送については、
正常な動作を行なうことのできる優れたシリアルデータ
転送回路を実現できるものである。
Effects of the Invention As is clear from the above explanation, according to the present invention, by adding a circuit to the serial data transfer circuit to generate a delimiter detection signal for a serial data transfer group, it is possible to prevent the serial data transfer circuit from malfunctioning. Also, regarding serial data transfer after detecting the end of a serial data transfer group,
This makes it possible to realize an excellent serial data transfer circuit that can operate normally.

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

第1図は本発明の一実施例におけるシリアルデータ転送
区切検出回路を示す回路図、第2図は第1図に示す回路
における各部の信号波形図、第3図は従来のシリアルデ
ータ転送回路の回路図である。 1・・・・・・シフトレジスタ、2・・・・・・データ
バス、3・・・・・・カウンタ、4,5・・・・・・リ
セット付Tフリップフロップ、6・・・・・・論理和回
路。
FIG. 1 is a circuit diagram showing a serial data transfer delimiter detection circuit according to an embodiment of the present invention, FIG. 2 is a signal waveform diagram of each part in the circuit shown in FIG. 1, and FIG. 3 is a circuit diagram of a conventional serial data transfer circuit. It is a circuit diagram. 1...Shift register, 2...Data bus, 3...Counter, 4, 5...T flip-flop with reset, 6...・Order circuit.

Claims (1)

【特許請求の範囲】[Claims] 特定の周波数を有するタイムベース信号をT入力に受け
、同タイムベース信号を2分の1に分周する第1のTフ
リップフロップと、上記第1のTフリップフロップの出
力をT入力にうけ、シリアルデータ転送群の区切検出信
号を発生する第2のTフリップフロップと、シリアル転
送クロックとシステムリセットとを2入力とし、上記第
1、第2のTフリップフロップにリセットをかける2入
力論理和回路とからなることを特徴とするシリアルデー
タ転送回路。
a first T flip-flop that receives a time base signal having a specific frequency at its T input and divides the frequency of the time base signal by half, and receives the output of the first T flip-flop at its T input; a second T flip-flop that generates a delimiter detection signal for a serial data transfer group; a two-input OR circuit that has two inputs: a serial transfer clock and a system reset; and resets the first and second T flip-flops. A serial data transfer circuit comprising:
JP63073588A 1988-03-28 1988-03-28 Serial data transfer circuit Pending JPH01245737A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63073588A JPH01245737A (en) 1988-03-28 1988-03-28 Serial data transfer circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63073588A JPH01245737A (en) 1988-03-28 1988-03-28 Serial data transfer circuit

Publications (1)

Publication Number Publication Date
JPH01245737A true JPH01245737A (en) 1989-09-29

Family

ID=13522622

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63073588A Pending JPH01245737A (en) 1988-03-28 1988-03-28 Serial data transfer circuit

Country Status (1)

Country Link
JP (1) JPH01245737A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5966409A (en) * 1996-11-18 1999-10-12 Mitsubishi Denki Kabushiki Kaisha Data transmission unit

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5966409A (en) * 1996-11-18 1999-10-12 Mitsubishi Denki Kabushiki Kaisha Data transmission unit

Similar Documents

Publication Publication Date Title
US4636656A (en) Circuit for selectively extending a cycle of a clock signal
US5235602A (en) Synchronous/asynchronous i/o channel check and parity check detector
US4282488A (en) Noise eliminator circuit
US5578953A (en) Self-resetting status register
US5898640A (en) Even bus clock circuit
JPH01245737A (en) Serial data transfer circuit
KR19990029006A (en) Extended chip select reset device and method
JPH0854418A (en) Trigger circuit
KR100208715B1 (en) Data read enable signal formation circuit
JP2606458Y2 (en) Signal level monitoring circuit
JPS6124853B2 (en)
KR970002784B1 (en) Token loss detection and regeneration control circuit
US5587686A (en) Time domain signal filter
SU1003303A1 (en) Trigger device
SU1674130A1 (en) Modulo three convolver
JPH0546105Y2 (en)
KR100207481B1 (en) Detecting time adjustment equipment to detect data during desire period
JPH02207312A (en) Clock generating circuit
JPH0799805B2 (en) Latch circuit with reset function
JPH02124635A (en) Counter control circuit
JPH04150220A (en) Logic circuit
JPH10143375A (en) Interrupt control circuit
JPH0744399A (en) Interruption control circuit
JPH01217634A (en) Multi-input interruption circuit
JPS59114639A (en) Ready signal generating circuit of high speed operating element