[go: up one dir, main page]

JPS6367053A - Receiver for serial data - Google Patents

Receiver for serial data

Info

Publication number
JPS6367053A
JPS6367053A JP61210957A JP21095786A JPS6367053A JP S6367053 A JPS6367053 A JP S6367053A JP 61210957 A JP61210957 A JP 61210957A JP 21095786 A JP21095786 A JP 21095786A JP S6367053 A JPS6367053 A JP S6367053A
Authority
JP
Japan
Prior art keywords
counter
data
serial
supplied
terminal
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.)
Granted
Application number
JP61210957A
Other languages
Japanese (ja)
Other versions
JPH0736565B2 (en
Inventor
Hiroshi Mizuguchi
博 水口
Norihide Kinugasa
教英 衣笠
Yutaka Oota
豊 太田
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 JP61210957A priority Critical patent/JPH0736565B2/en
Publication of JPS6367053A publication Critical patent/JPS6367053A/en
Publication of JPH0736565B2 publication Critical patent/JPH0736565B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Communication Control (AREA)

Abstract

PURPOSE:To simplify a constitution by providing a counter to which a receiving clock is supplied, and a memory means for writing a serial data in a bit position where a parallel data is decoded by the output of said counter. CONSTITUTION:When a receiving clock signal is supplied to a serial clock terminal 10, the counted value of a counter 100 is varied, and by following it up, the bit position of a random access memory 300 is also switched, and written in the data memory 300 from a serial input terminal 20. When the value of the counter 100 goes to 0000, an interruption request signal is sent out to an interruption output terminal 30, and a microprocessor 300 reads a parallel data through a data bus 200.

Description

【発明の詳細な説明】 産業上の利用分野 本発明はシリアルデータの受信装置に関し、極めて簡単
な構成でありながら高度な通信にも対応できる受信装置
を提供するものであり、特にマイクロプロセッサに好適
な装置を実現するものである。
DETAILED DESCRIPTION OF THE INVENTION Field of Industrial Application The present invention relates to a serial data receiving device, and provides a receiving device that has an extremely simple configuration yet can handle advanced communications, and is particularly suitable for microprocessors. The purpose of this is to realize a device that is

従来の技術 従来からワンチップのマイクロブC1−1= ’7 ・
リーなどにおいて多用されているシリアルデータの通信
装置は、シフトレジスタとシフトカウンタ、さらにはバ
ッファレジスタによって構成され、その典型的な例が特
公昭60−58482号公報(以下、文献1と略記する
。)に示されている。
Conventional technology Conventionally, one-chip microb C1-1 = '7 ・
A serial data communication device, which is widely used in the industry, is composed of a shift register, a shift counter, and a buffer register, and a typical example thereof is disclosed in Japanese Patent Publication No. 60-58482 (hereinafter abbreviated as Document 1). ) is shown.

発明が解決しようとする問題点 ところで、前記文献1に示されるような装置はランダム
ロジック回路を中心に構成されるので、各回路ブロック
相互間の配線数も多く、回路構成が複雑になるだけでな
り、一度に大量のデータの通信を行う場合にはその処理
の多くをソ゛ノl−■”ノr、アに頼らざるを得す、よ
り高度なjm信あるいは高速のデータ転送を行うために
はその都度回路構成を変更する必要があった。
Problems to be Solved by the Invention Incidentally, since the device shown in Document 1 is mainly composed of random logic circuits, the number of wires between each circuit block is large, and the circuit configuration becomes complicated. Therefore, when communicating a large amount of data at once, it is necessary to rely on the software for much of the processing.In order to perform more advanced communication or high-speed data transfer, It was necessary to change the circuit configuration each time.

問題点を解決するための手段 前記した問題点を解決するために本発明のシリアルデー
タの受信装置では、受信クロックが(J(給されるカウ
ンタと、並列データがデータバスに送出され、前記カウ
ンタの出力によってデコードされたビット位置のデータ
がシリアル入力端子から供給されるメモリからなる通信
手段を備えている。
Means for Solving the Problems In order to solve the above-mentioned problems, in the serial data receiving device of the present invention, a receiving clock is supplied to a counter (J(), parallel data is sent to a data bus, The communication means includes a memory to which data at a bit position decoded by the output of is supplied from a serial input terminal.

作用 本発明では前記した構成によって、極めて簡単な構成で
シリアルデータの受信装置を実現することができる。
Operation According to the present invention, a serial data receiving device can be realized with an extremely simple configuration using the above-described configuration.

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

第1図は本発明の一実施例におけるシリアルデータの受
信装置をマイクロプロセッサに適用した場合の構成図を
示したものであり、シリアルクロック端子10を介して
受信クロックが供給される3ビットのダウンカウンタ1
00と、並列データがマイクロプロセッサのデータバス
200に送出され、カウンタバス150を介しで供給さ
れる前記カウンタ100の出力によってデコードされた
ビット位置のデータが、シリアル入力端子20から供給
されるランダムアクセスメモリ300によって主要部が
構成されている。また、前記カウンタ100の各ビット
の出力はDフリップフロップ400に供給され、前記D
フリソブフロンブ400の出力信号がへNOゲート41
0および割り込み出力端子30を介してマイクロプロセ
ッサに対する割り込み要求信号となるように構成されて
いる。さらに、リセット端子40、クリア端子50はマ
イクロプロセッサ°のノンランチ形式の化カポ−I−に
接続されてラフ1ウエアによるリセット信号が供給され
、割り込み禁止端子60はマイクロプロセッサのラッチ
形式の出力ボートに接続されてソフトウェアによる割り
込み二1ントロールに利用される。なお、ラングJ、ア
クセスメモリ 300に接続されるプロソクセし・りi
一端子一70にはランダムアクセスメモリ300の並列
出力部をアクティブ状態にするためのセレクト信号が供
給される。
FIG. 1 shows a configuration diagram when a serial data receiving device according to an embodiment of the present invention is applied to a microprocessor. counter 1
00 and parallel data is sent to the data bus 200 of the microprocessor, and the data at the bit position decoded by the output of the counter 100 supplied via the counter bus 150 is supplied from the serial input terminal 20. The main part is constituted by the memory 300. Further, the output of each bit of the counter 100 is supplied to a D flip-flop 400,
The output signal of Frisobufronb 400 is passed to NO gate 41
0 and an interrupt output terminal 30 to serve as an interrupt request signal to the microprocessor. Further, the reset terminal 40 and the clear terminal 50 are connected to the non-launch type conversion capo-I- of the microprocessor and are supplied with a reset signal by rough 1 software, and the interrupt disable terminal 60 is connected to the latch type output port of the microprocessor. It is connected and used for interrupt control by software. In addition, the rung J and the processor connected to the access memory 300
A select signal for activating the parallel output section of the random access memory 300 is supplied to one terminal 70.

以上のように構成された受信装置について、第1図の構
成図と第2図に示した主要部のタイミングチャートをも
とにその動作を説明する。
The operation of the receiving apparatus configured as described above will be explained based on the configuration diagram in FIG. 1 and the timing chart of the main parts shown in FIG. 2.

まず、第2図Aはシリアルクロック端子10に供給され
るクロック信号波形を示したものであり、第2図B、C
,Dはいずれもカウンタ100の各ビットの出力信号波
形を示したものであり、第2図E、F、G、H,I、J
、に、Lはいずれもランダムアクセスメモリ300の内
部に構成されたビット位置切り換えデコーダの出力信号
波形を示したものであり、第2図Mはシリアル入力端子
20に送出されるシリアルデータの変化のもようを示し
たものである。
First, FIG. 2A shows the clock signal waveform supplied to the serial clock terminal 10, and FIGS.
, D show the output signal waveforms of each bit of the counter 100, and E, F, G, H, I, J in FIG.
, , and L all show output signal waveforms of the bit position switching decoder configured inside the random access memory 300, and FIG. 2M shows changes in serial data sent to the serial input terminal 20. This shows the situation.

第1図に示した装置によってシリアルデータの受信を行
うには、あらかじめカウンタ100とDフリップフロッ
プ400をリセットしておけば、シリアルクロック端子
10に受信用のクロック信号が供給されると、そのリー
ディングエツジが到来するごとにカウンタ100のカウ
ント値が(111) 。
In order to receive serial data using the device shown in FIG. Every time an edge arrives, the count value of the counter 100 becomes (111).

[11,0)・・・・・・C001) 、  C000
)と変化していき、それに伴って第2図E−Lに示すよ
うに、シリアル入力端子20からデータを取り込むラン
ダムアクセスメモリ 300のビット位置も切り換えら
れていく。カウンタ100のカウント値が(000)に
なると、Dフリップフロップ400のD端子のレベルが
“1′に移行し、シリアルクロック端子IOに供給され
るクロック信号のトレイリングエツジにおいてDフリッ
プフロップ400の出力レベルが°1゛に移行して割り
込み出力端子30に割り込み要求信号が送出される。そ
の結果、マイクロブ【、!セソ・す“は割り込み処理ル
ーチンを開始し、この割り込み処理ルーチンによってラ
ンダムアクセスメモリ300からデータバス200に介
して並列データを読み数ればよい。
[11,0)...C001), C000
), and accordingly, the bit position of the random access memory 300 that receives data from the serial input terminal 20 is also switched, as shown in FIG. 2 EL. When the count value of the counter 100 reaches (000), the level of the D terminal of the D flip-flop 400 shifts to "1", and the output of the D flip-flop 400 occurs at the trailing edge of the clock signal supplied to the serial clock terminal IO. The level shifts to °1 and an interrupt request signal is sent to the interrupt output terminal 30. As a result, the microb starts an interrupt processing routine, and this interrupt processing routine causes the random access memory 300 to It is only necessary to read and count parallel data from the data bus 200 from the data bus 200.

このようにして、第1図に示したシリアルデータの受信
装置では従来の装置と同じようにしてシリアルデータの
受信を行うことができるが、第1図の構成からもわかる
ように、従来の装置ではシフトレジスタとシフ1−カウ
ンタの両方を必要としていたのに対して、本発明のシリ
アルデータの受信装置ではシフトレジスタを必要と−U
ず、それに伴って回路構成が簡略化されるとともにラン
グJ、ロジック回路の占める割合が少なくなり、ワン−
ff−ツブのLSIを構成する際にレイアウトを行いや
すく、生産工程におけるLSIの検査にも適している。
In this way, the serial data receiving device shown in FIG. 1 can receive serial data in the same way as the conventional device; however, as can be seen from the configuration of FIG. While the serial data receiving device of the present invention requires both a shift register and a shift 1 counter, the serial data receiving device of the present invention does not require a shift register.
As a result, the circuit configuration has been simplified and the ratio of rung J and logic circuits has decreased, making it possible to
It is easy to layout when configuring an ff-tub LSI, and is suitable for LSI inspection in the production process.

さらに、受信データをシフトレジスタを介することなく
、直接にシリアル入力端子20から読み込むように構成
しているので、より高速に大量のデータを処理すること
もできる。すなわち、ランダムアクセスメモリ 300
のアドレスを増加させて多段バッファ構成にしておき、
そのアドレスの選択をビット数を増加させたカウンタ1
00の上位ビットによって行うことにより、より多くの
情報を一挙に扱うことができ、高度な通信も可能となる
Furthermore, since the received data is configured to be read directly from the serial input terminal 20 without going through a shift register, it is also possible to process a large amount of data at higher speed. That is, random access memory 300
Increase the address of and create a multi-stage buffer configuration.
Counter 1 that increases the number of bits to select that address
By using the upper bits of 00, more information can be handled at once, and advanced communication becomes possible.

なお、第3図はランダムアクセスメモリ300の具体的
な構成例を示した回路結線図であり、単位メモリセルは
インバータ301と3ステートインバータ302によっ
て構成され、AND)ゲート303は第1図のカウンタ
100のカウント値を対応するビット位置にデコードす
るデコーダの一部を構成しており、例えば、第1図のシ
リアルクロック端子10のレベル(SCK)が“0゛の
とき、インバータ350の出力レベルは“1°となり、
前記ANDゲート303の出力レベルもまた°1゛であ
れば、3ステートインバータ304がアクティブ状態と
なってシリアル入力端子20のデータ(SDA)がメモ
リセルに書き込まれる。また、並列データの読み込み時
には3ステートインバータ305がアクティブ状態とな
る。
Note that FIG. 3 is a circuit wiring diagram showing a specific example of the configuration of the random access memory 300, in which a unit memory cell is composed of an inverter 301 and a 3-state inverter 302, and an AND) gate 303 is a counter shown in FIG. It constitutes a part of a decoder that decodes a count value of 100 into a corresponding bit position. For example, when the level (SCK) of the serial clock terminal 10 in FIG. 1 is "0", the output level of the inverter 350 is “It becomes 1°,
If the output level of the AND gate 303 is also 1, the 3-state inverter 304 becomes active and the data (SDA) at the serial input terminal 20 is written into the memory cell. Further, when reading parallel data, the three-state inverter 305 becomes active.

発明の効果 本発明のシリアルデータの受信装置は以上の説明から明
らかなように、シリアルク1コツク端子10を介して受
信クロックが供給されるカウンタ100と、並列データ
がデータバス200に送出され、前5 記カウンタの出
力によってデコードされたピン1〜位置にシリアル人ツ
ノ端子を介して書き込まれるメモリ手段(実施例におい
てはラング1、アクセスメモリ300を用いているがラ
ンチ形式のメモリであってもよい。)を備えたことを特
徴とするもので、極めて簡単な構成でシリアルデータの
受信装置を実現することができるとともに、本発明を適
用することにより、比較的容易に高度の処理が行える通
信装置を得ることもでき、大なる効果を奏する。
Effects of the Invention As is clear from the above description, the serial data receiving device of the present invention includes a counter 100 to which a reception clock is supplied via the serial terminal 10, and a counter 100 in which parallel data is sent to the data bus 200 and 5. Memory means (in the embodiment, rung 1 and access memory 300 are used, but a lunch-type memory is also used) to be written to pins 1 to 300 positions decoded by the output of the counter. ), it is possible to realize a serial data receiving device with an extremely simple configuration, and by applying the present invention, a communication device that can perform advanced processing relatively easily. You can also get it, and it has great effects.

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

第1図は本発明の一実施例におけるシリアルデータの受
信装置の構成図、第2図は第1図の主要部のタイミング
チャート、第3図はランダムアクセスメモリの構成例を
示した回路結線図である。 20・・・・・・シリアル入力端子、  100・・・
・・・カウンタ。 200・・・・・・データバス、300・・・・・・ラ
ンダムアクセスメモリ。
FIG. 1 is a configuration diagram of a serial data receiving device according to an embodiment of the present invention, FIG. 2 is a timing chart of the main parts of FIG. 1, and FIG. 3 is a circuit connection diagram showing an example of the configuration of a random access memory. It is. 20... Serial input terminal, 100...
···counter. 200...Data bus, 300...Random access memory.

Claims (2)

【特許請求の範囲】[Claims] (1)受信クロックが供給されるカウンタと、並列デー
タがデータバスに送出され、前記カウンタの出力によっ
てデコードされたビット位置のデータがシリアル入力端
子から供給されるメモリ手段からなるシリアルデータの
受信装置。
(1) A serial data receiving device comprising a counter to which a reception clock is supplied, and a memory means to which parallel data is sent to a data bus and data at a bit position decoded by the output of the counter is supplied from a serial input terminal. .
(2)ブロックセレクト端子を有し、前記ブロックセレ
クト端子がアクティブ状態にされたとき、並列データが
データバスに送出されるランダムアクセスメモリを備え
たことを特徴とする特許請求の範囲第(1)項記載のシ
リアルデータの受信装置。
(2) A random access memory having a block select terminal and in which parallel data is sent to a data bus when the block select terminal is activated. Serial data receiving device described in Section 1.
JP61210957A 1986-09-08 1986-09-08 Serial data receiver Expired - Lifetime JPH0736565B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61210957A JPH0736565B2 (en) 1986-09-08 1986-09-08 Serial data receiver

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61210957A JPH0736565B2 (en) 1986-09-08 1986-09-08 Serial data receiver

Publications (2)

Publication Number Publication Date
JPS6367053A true JPS6367053A (en) 1988-03-25
JPH0736565B2 JPH0736565B2 (en) 1995-04-19

Family

ID=16597911

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61210957A Expired - Lifetime JPH0736565B2 (en) 1986-09-08 1986-09-08 Serial data receiver

Country Status (1)

Country Link
JP (1) JPH0736565B2 (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS57169842A (en) * 1981-04-13 1982-10-19 Fuji Electric Co Ltd Data receiver
JPS6030231A (en) * 1983-07-29 1985-02-15 Toshiba Corp Data buffer device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS57169842A (en) * 1981-04-13 1982-10-19 Fuji Electric Co Ltd Data receiver
JPS6030231A (en) * 1983-07-29 1985-02-15 Toshiba Corp Data buffer device

Also Published As

Publication number Publication date
JPH0736565B2 (en) 1995-04-19

Similar Documents

Publication Publication Date Title
EP0145497A2 (en) Semiconductor integrated circuit device
JPH0342732A (en) Semiconductor integrated circuit
US5588124A (en) Microcomputer
JPH0855471A (en) Synchronous semiconductor memory device
JPS6367053A (en) Receiver for serial data
JPS62296637A (en) Data sink for serial data
JPS60171735A (en) Semiconductor integrated circuit device
JPS6367052A (en) Transmitter for serial data
JPS6383844A (en) Microprocessor system
JPH0736563B2 (en) Transmitter / receiver of serial data
KR900003527Y1 (en) Dma circuit for ic used in data transmission and receiving
KR100257078B1 (en) Interface device of core and peripheral circuit
KR890003236Y1 (en) Write and Lead Circuit of Data Conversion Values
JPS62299143A (en) Serial data source and sink
JPS6379442A (en) Receiver for serial data
JPS6318454A (en) Multiprocessor system
JPS6367054A (en) Transmitter for serial data
JPS6379441A (en) Transmission/reception equipment for serial data
JPS6378639A (en) Transmitter/receiver for serial data
JPH04241622A (en) Microprocessor
JPS6242360B2 (en)
JPH05334234A (en) High speed dma transferring device
JPS62299152A (en) Serial data source
JPH04332994A (en) semiconductor storage device
JPH0418634A (en) Data processor

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term