JPH0433153A - マイクロコンピュータのシリアル通信回路 - Google Patents

マイクロコンピュータのシリアル通信回路

Info

Publication number
JPH0433153A
JPH0433153A JP14082690A JP14082690A JPH0433153A JP H0433153 A JPH0433153 A JP H0433153A JP 14082690 A JP14082690 A JP 14082690A JP 14082690 A JP14082690 A JP 14082690A JP H0433153 A JPH0433153 A JP H0433153A
Authority
JP
Japan
Prior art keywords
circuit
clock
data
number setting
serial
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
JP14082690A
Other languages
English (en)
Inventor
Masahiro Nakagawa
中川 正浩
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.)
NEC IC Microcomputer Systems Co Ltd
Original Assignee
NEC IC Microcomputer Systems 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 NEC IC Microcomputer Systems Co Ltd filed Critical NEC IC Microcomputer Systems Co Ltd
Priority to JP14082690A priority Critical patent/JPH0433153A/ja
Publication of JPH0433153A publication Critical patent/JPH0433153A/ja
Pending legal-status Critical Current

Links

Landscapes

  • Information Transfer Systems (AREA)

Abstract

(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はマイクロコンピュータのシリアル通信回路に関
する。
〔従来の技術〕
従来、マイクロコンピュータのシリアル通信回路は、シ
リアルクロックをカウントするカウント回路を設け、こ
れにより送信あるいは受信するデータのデータ長をカウ
ントし、このカウント回路がオーバフローすると通信終
了信号を出力するようにしている。
〔発明が解決しようとする課題〕
上述した従来のマイクロコンピュータのシリアル通信回
路は、シリアルクロックをカウントするカウント回路の
ビット長によって、通信終了信号を出力するまでに送信
あるいは受信するデータの長さが決まるため、カウント
回路で決まるデータ長以外の長さのデータを送信あるい
は受信する場合には、通信終了時に通信終了信号を出力
できないという欠点がある。
本発明の目的は、かかるデータの送信あるいはデータの
受信が終了すると、直ちに通信終了信号を送出すること
のできるマイクロコンピュータのシリアル通信回路を提
供することにある。
〔課題を解決するための手段〕
本発明のマイクロコンピュータのシリアル通信回路は、
クロック同期式シリアル通信回路をもつマイクロコンピ
ュータにおいて、シリアルクロックに同期して入力デー
タを一時保持するとともに順次送出するシフトレジスタ
と、前記シリアルクロックを計数するカウント回路と、
あらかじめ所定のクロック数を設定するクロック数設定
回路と、前記カウント回路の値および前記クロック数設
定回路の値を比較しその結果同じ値のときに一致信号を
出力する比較回路とを有して構成される。
〔実施例〕
次に、本発明の実施例について図面を参照して説明する
第1図は本発明の一実施例を示すマイクロコンピュータ
のブロック図である。
第1図に示すように、本実施例はシリアルクロック4の
立上りまたは立下り毎に出力端子0LITへ出力データ
信号3を出力するとともに入力端子INから入力データ
信号1を入力するシフトレジスタ2と、システムクロッ
ク4を計数するカウント回路5と、あらかじめ所定値を
設定しであるクロック数設定回路6と、これらカウント
回路5およびクロック数設定回路6の内容を比較し且つ
その結果一致をみれば一致信号、すなわち通信終了信号
を出力する比較回路7とを有している。
このように、本実施例によると、クロック数設定回路6
および比較回路7を設けているため、必要なデータ長の
データの送信あるいは受信が終了すると、直ちに通信終
了信号を出力することができる。
〔発明の効果〕
以上説明したように、本発明のマイクロコンピュータの
シリアル通信回路は、シリアルクロックに同期して入力
データを一時保持し出力するシフトレジスタと、シリア
ルクロックを計数するカウント回路と、所定値を設定で
きるクロック数設定回路と、これらカウント回路および
クロック数設定回路の出力を比較する比較回路とを設け
、クロック数設定回路にあらかじめデータを設定するこ
とにより、必要なデータ長のデータの送信あるいは受信
が終了すると直ちに通信終了信号を出力することができ
るという効果がある。
【図面の簡単な説明】
第1図は本発明の一実施例を示すマイクロコンピュータ
のシリアル通信回路のブロック図である。 1・・・入力データ信号、2・・・シフトレジスタ、3
・・・出力データ信号、4・・・シリアルクロック、5
・・・カウント回路、6・・・クロック数設定回路、7
・・・比較回路、8・・・一致信号(通信終了信号)。 躬  1 閃

Claims (1)

    【特許請求の範囲】
  1. クロック同期式シリアル通信回路をもつマイクロコンピ
    ュータにおいて、シリアルクロックに同期して入力デー
    タを一時保持するとともに順次送出するシフトレジスタ
    と、前記シリアルクロックを計数するカウント回路と、
    あらかじめ所定のクロック数を設定するクロック数設定
    回路と、前記カウント回路の値および前記クロック数設
    定回路の値を比較しその結果同じ値のときに一致信号を
    出力する比較回路とを有することを特徴とするマイクロ
    コンピュータのシリアル通信回路。
JP14082690A 1990-05-30 1990-05-30 マイクロコンピュータのシリアル通信回路 Pending JPH0433153A (ja)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP14082690A JPH0433153A (ja) 1990-05-30 1990-05-30 マイクロコンピュータのシリアル通信回路

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP14082690A JPH0433153A (ja) 1990-05-30 1990-05-30 マイクロコンピュータのシリアル通信回路

Publications (1)

Publication Number Publication Date
JPH0433153A true JPH0433153A (ja) 1992-02-04

Family

ID=15277622

Family Applications (1)

Application Number Title Priority Date Filing Date
JP14082690A Pending JPH0433153A (ja) 1990-05-30 1990-05-30 マイクロコンピュータのシリアル通信回路

Country Status (1)

Country Link
JP (1) JPH0433153A (ja)

Similar Documents

Publication Publication Date Title
US4359731A (en) Communication link contention resolution system
US4390969A (en) Asynchronous data transmission system with state variable memory and handshaking protocol circuits
JPH01163840A (ja) 遅延時間チエック方式
US4792966A (en) Arrangement for synchronizing a byte clock derived from a data bit stream with a byte-oriented processing clock of a terminal equipment
US3936601A (en) Method and apparatus for altering the synchronous compare character in a digital data communication system
JP3064435B2 (ja) 一連のビット流周波数を2倍または1/ 2にする装置
US5481753A (en) I/O device having identification register and data register where identification register indicates output from the data register to be an identifier or normal data
JPH0433153A (ja) マイクロコンピュータのシリアル通信回路
US5208840A (en) Method and arrangement for detecting framing bit sequence in digital data communications system
US7180935B2 (en) System and method for compensating for delay time fluctuations
RU2066066C1 (ru) Устройство последовательно-параллельного обмена
JPH05347651A (ja) データフレーム間の休止時間設定回路
KR0122879Y1 (ko) 캐스케이드에서의 직렬데이타 송수신 장치
JPH03258132A (ja) 通信端末装置
KR100192523B1 (ko) 공유형 팩스 및 그 정보 전달 방법
JPS60235548A (ja) 信号フレ−ムの伝送方式
SU1078651A2 (ru) Лини св зи цифровой аппаратуры
JPS6093855A (ja) デ−タ伝送装置
US6601182B1 (en) Optimized static sliding-window for ACK sampling
JPH0730525A (ja) ディジタル機器の自己診断装置
JPH03158041A (ja) データ多重転送方式
JPS63202154A (ja) シリアル通信方式
JPS60242747A (ja) デ−タモニタ−装置
JPH06101717B2 (ja) フレーム信号発生回路
JPH03110651A (ja) シリアルデータ処理装置