JPH0713913A - Serial data transferring method - Google Patents

Serial data transferring method

Info

Publication number
JPH0713913A
JPH0713913A JP15712793A JP15712793A JPH0713913A JP H0713913 A JPH0713913 A JP H0713913A JP 15712793 A JP15712793 A JP 15712793A JP 15712793 A JP15712793 A JP 15712793A JP H0713913 A JPH0713913 A JP H0713913A
Authority
JP
Japan
Prior art keywords
data
serial data
microcomputer
serial
integrated 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.)
Pending
Application number
JP15712793A
Other languages
Japanese (ja)
Inventor
Hiroshi Koyama
博 小山
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.)
Sanyo Electric Co Ltd
Original Assignee
Sanyo Electric 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 Sanyo Electric Co Ltd filed Critical Sanyo Electric Co Ltd
Priority to JP15712793A priority Critical patent/JPH0713913A/en
Publication of JPH0713913A publication Critical patent/JPH0713913A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To provide a serial data transferring method in which the number of signal lines for connecting a microcomputer with each peripheral circuit can be decreased, cost down can be attained, and noise can be reduced. CONSTITUTION:At the time of transferring serial data DATA synchronously with a clock CK between a microcomputer 5 and integrated circuits A6, B7, and C8, data for instruction of the selection of the integrated circuit A6, B7, and C8, data for instruction of the input of the serial data DATA to the selected integrated circuit, or data for instruction of the output of the serial data DATA from the selected integrated circuit or the like are assigned to the high-order 2 bits of the serial data DATA.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、シリアルデータ転送方
法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a serial data transfer method.

【0002】[0002]

【従来の技術】図4は従来のシリアルデータ転送方法を
示す図である。図4において、(1)(2)(3)は集
積回路A,B,Cである。(4)はマイクロコンピュー
タであり、クロックCK、該クロックCKの立下りに同
期したシリアルデータDATA、及び集積回路A,B,
Cの状態を制御するチップイネーブルCEを発生するも
のである。尚、シリアルデータDATAは、チップイネ
ーブルCEがローレベルの時、集積回路A,B,Cを選
択するアドレスデータとなり、チップイネーブルCEが
ハイレベルの時、選択された集積回路への入力データと
なる。
2. Description of the Related Art FIG. 4 is a diagram showing a conventional serial data transfer method. In FIG. 4, (1), (2) and (3) are integrated circuits A, B and C. (4) is a microcomputer, which includes a clock CK, serial data DATA synchronized with the falling edge of the clock CK, and integrated circuits A, B,
A chip enable CE that controls the state of C is generated. The serial data DATA becomes address data for selecting the integrated circuits A, B, and C when the chip enable CE is at the low level, and becomes input data to the selected integrated circuit when the chip enable CE is at the high level. .

【0003】以下、図4の動作を図5のタイムチャート
を用いて説明する。まず、チップイネーブルCEがロー
レベルになると、アドレスデータA0〜A7がクロック
CKに同期して発生し、例えば集積回路A(1)が選択
される。時刻t以後、チップイネーブルCEがハイレベ
ルに変化すると、入力データD0〜DZがクロックCK
に同期して発生し、集積回路A(1)に取り込まれる様
になっていた。
The operation of FIG. 4 will be described below with reference to the time chart of FIG. First, when the chip enable CE becomes low level, the address data A0 to A7 are generated in synchronization with the clock CK, and, for example, the integrated circuit A (1) is selected. After the time t, when the chip enable CE changes to the high level, the input data D0 to DZ becomes the clock CK.
It was generated in synchronism with, and was taken into the integrated circuit A (1).

【0004】[0004]

【発明が解決しようとする課題】しかしながら、マイク
ロコンピュータから各集積回路A,B,Cへシリアルデ
ータを転送する場合、マイクロコンピュータ及び各集積
回路A,B,Cの間に少なくとも3本の信号線が必要と
なる。従って、信号線の本数が多いのでコストアップ
し、更に信号線に重畳するノイズが干渉し合う問題があ
った。
However, when serial data is transferred from the microcomputer to each integrated circuit A, B, C, at least three signal lines are provided between the microcomputer and each integrated circuit A, B, C. Is required. Therefore, since the number of signal lines is large, the cost is increased, and there is a problem that noises superimposed on the signal lines interfere with each other.

【0005】そこで、本発明は、マイクロコンピュータ
及び各周辺回路を結ぶ信号線の本数を減らし、コストダ
ウン及びノイズの低減を図ることの出来るシリアルデー
タ転送方法を提供することを目的とする。
Therefore, it is an object of the present invention to provide a serial data transfer method capable of reducing the number of signal lines connecting a microcomputer and each peripheral circuit to reduce cost and noise.

【0006】[0006]

【課題を解決するための手段】本発明は、前記問題点を
解決する為に成されたものであり、その特徴とするとこ
ろは、マイクロコンピュータ及び複数の周辺回路の間で
シリアルデータをクロックに同期して転送する方法にお
いて、前記シリアルデータの特定ビットに、前記周辺回
路の状態を制御するデータを割り当てた点であり、特
に、前記シリアルデータの特定ビットに、前記複数の周
辺回路の選択を指示するデータ、又は、前記選択された
周辺回路へのシリアルデータの入力を指示するデータ、
又は、前記選択された周辺回路からのシリアルデータの
出力を指示するデータを割り当てた点である。
The present invention has been made to solve the above problems, and is characterized in that serial data is used as a clock between a microcomputer and a plurality of peripheral circuits. In the synchronous transfer method, data for controlling the state of the peripheral circuit is assigned to a specific bit of the serial data, and in particular, a selection of the plurality of peripheral circuits is performed for a specific bit of the serial data. Data to instruct, or data to instruct input of serial data to the selected peripheral circuit,
Alternatively, data is assigned to instruct output of serial data from the selected peripheral circuit.

【0007】[0007]

【作用】本発明によれば、マイクロコンピュータ及び複
数の周辺回路の間でシリアルデータをクロックに同期し
て転送する場合に、シリアルデータの特定ビットに、複
数の周辺回路の選択を指示するデータ、又は、選択され
た周辺回路へのシリアルデータの入力を指示するデー
タ、又は、選択された周辺回路からのシリアルデータの
出力を指示するデータ等を割り当てる様にした。これよ
り、従来のチップイネーブルの信号線を不要とでき、マ
イクロコンピュータ及び複数の周辺回路の間の信号線を
削減できる。
According to the present invention, when serial data is transferred in synchronization with a clock between a microcomputer and a plurality of peripheral circuits, data for instructing selection of a plurality of peripheral circuits to a specific bit of the serial data, Alternatively, data for instructing the input of serial data to the selected peripheral circuit, or data for instructing the output of serial data from the selected peripheral circuit is assigned. As a result, the conventional chip enable signal line can be eliminated, and the signal line between the microcomputer and the plurality of peripheral circuits can be reduced.

【0008】[0008]

【実施例】本発明の詳細を図面に従って具体的に説明す
る。図1は本発明のシリアルデータ転送方法を説明する
為の図である。図1において、(5)はマイクロコンピ
ュータであり、クロックCK、及び該クロックCKの立
下りに同期したシリアルデータDATAを出力するもの
である。ここで、シリアルデータDATAは8ビットを
基本単位とし、その上位2ビットを後述の集積回路の状
態を制御するデータに割り当てている。シリアルデータ
DATAの上位2ビットは4通り取り得るが、「00」
は複数の集積回路の選択、「01」は選択された集積回
路内部の表示RAMのアドレスの選択、「10」は選択
された集積回路内部の選択された表示RAMのアドレス
へのデータの書き込み、「11」は選択された集積回路
内部の選択された表示RAMのアドレスからのデータの
読み出し、等を指示する様に設定されている。(6)
(7)(8)は前述の集積回路A,B,Cであり、マイ
クロコンピュータ(5)からクロックCK及びシリアル
データDATAを転送する信号線と接続されている。
The details of the present invention will be described in detail with reference to the drawings. FIG. 1 is a diagram for explaining the serial data transfer method of the present invention. In FIG. 1, (5) is a microcomputer which outputs a clock CK and serial data DATA synchronized with the falling edge of the clock CK. Here, the serial data DATA has 8 bits as a basic unit, and the upper 2 bits thereof are assigned to data for controlling the state of an integrated circuit described later. There are four possible upper 2 bits of serial data DATA, but "00"
Is a selection of a plurality of integrated circuits, "01" is a selection of an address of a display RAM inside the selected integrated circuit, "10" is a writing of data to an address of a selected display RAM inside the selected integrated circuit, "11" is set to instruct reading of data from the address of the selected display RAM in the selected integrated circuit. (6)
(7) and (8) are the integrated circuits A, B, and C described above, which are connected to the signal line for transferring the clock CK and the serial data DATA from the microcomputer (5).

【0009】図3は集積回路A,B,Cの一例を示す図
である。図3において、(9)はデコーダであり、シリ
アルデータDATAを解読するものである。(10)は
表示RAMであり、画像、文字等を表示する液晶パネル
等の表示位置と1対1に対応するアドレスにドットデー
タを記憶するものである。ここで、表示RAM(10)
の各アドレスは6ビットで構成される。また、文字は一
般に横5×縦7のドットパターンで展開される。即ち、
テレビ信号の水平及び垂直走査に応じて表示RAM(1
0)のアドレスをインクリメントすることで、文字のド
ットパターンを十分に読み出すことができる。(11)
は表示回路であり、表示RAM(11)から読み出され
た文字データに信号処理を施し、RGB信号を出力する
ものである。
FIG. 3 is a diagram showing an example of the integrated circuits A, B and C. In FIG. 3, (9) is a decoder for decoding the serial data DATA. Reference numeral (10) is a display RAM, which stores dot data at an address corresponding to a display position of a liquid crystal panel or the like for displaying images, characters, etc. Here, the display RAM (10)
Each address is composed of 6 bits. Characters are generally developed in a dot pattern of horizontal 5 × vertical 7. That is,
In accordance with the horizontal and vertical scanning of the TV signal, the display RAM (1
By incrementing the address of 0), the dot pattern of the character can be sufficiently read. (11)
Is a display circuit, which performs signal processing on the character data read from the display RAM (11) and outputs an RGB signal.

【0010】そして、デコーダ(9)はシリアルデータ
DATAを解読する訳であるが、図2(a)に示す様
に、シリアルデータDATAの上位2ビットが「00」
になると、下位6ビットA0〜A5に応じて集積回路
A,B,Cの何れか1つが選択され動作する。その後、
シリアルデータDATAの上位2ビットが「01」にな
ると、下位6ビットB0〜B5に応じて表示RAM(1
0)の何れか1つのアドレスが選択される。その後、図
2(b)に示す様に、シリアルデータDATAの上位2
ビットが「10」になると、下位6ビットD0〜D5が
表示RAM(10)の選択されたアドレスに書き込まれ
る。また、シリアルデータDATAの上位2ビットが
「11」になると、6ビットデータD0’〜D5’が表
示RAM(10)の選択されたアドレスから読み出され
る。
The decoder (9) decodes the serial data DATA. As shown in FIG. 2 (a), the upper 2 bits of the serial data DATA are "00".
Then, any one of the integrated circuits A, B and C is selected and operated according to the lower 6 bits A0 to A5. afterwards,
When the upper 2 bits of the serial data DATA become "01", the display RAM (1 is set according to the lower 6 bits B0 to B5.
Any one of the addresses 0) is selected. After that, as shown in FIG. 2B, the upper 2 of the serial data DATA
When the bit becomes "10", the lower 6 bits D0 to D5 are written to the selected address of the display RAM (10). When the upper 2 bits of the serial data DATA become "11", the 6-bit data D0 'to D5' are read from the selected address of the display RAM (10).

【0011】以上より、シリアルデータDATAの特定
ビットに周辺の集積回路A,B,Cを制御するデータを
割り当てたので、従来のチップイネーブルの信号線を不
要として、マイクロコンピュータ及び集積回路の間の信
号線の本数を削減できる。従って、プリント基板上でマ
イクロコンピュータ及び複数の集積回路を配線する際に
コストを低減でき、更に信号線の重畳ノイズが干渉し合
うのを低減できる。
As described above, since the data for controlling the peripheral integrated circuits A, B, and C is assigned to the specific bit of the serial data DATA, the conventional chip enable signal line is unnecessary, and the data between the microcomputer and the integrated circuit is eliminated. The number of signal lines can be reduced. Therefore, it is possible to reduce the cost when wiring the microcomputer and the plurality of integrated circuits on the printed circuit board, and further it is possible to reduce the interference of the superimposed noises of the signal lines.

【0012】[0012]

【発明の効果】本発明によれば、シリアルデータの特定
ビットに複数の周辺回路を制御するデータを割り当てた
ので、周辺回路を動作状態とするチップイネーブルの信
号線を不要とでき、マイクロコンピュータ及び集積回路
の間の信号線の本数を削減できる。従って、プリント基
板上でマイクロコンピュータ及び複数の集積回路を配線
する際にコストを低減でき、更に信号線の重畳ノイズが
干渉し合うのを低減できる利点が得られる。
According to the present invention, since data for controlling a plurality of peripheral circuits is assigned to a specific bit of serial data, a chip enable signal line for operating the peripheral circuits can be eliminated, and a microcomputer and The number of signal lines between the integrated circuits can be reduced. Therefore, it is possible to reduce the cost when wiring the microcomputer and the plurality of integrated circuits on the printed circuit board, and further it is possible to reduce the interference of the superimposed noises of the signal lines.

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

【図1】本発明のシリアルデータ転送方法を説明する為
の図である。
FIG. 1 is a diagram for explaining a serial data transfer method of the present invention.

【図2】図1の動作を説明する為のタイムチャートであ
る。
FIG. 2 is a time chart for explaining the operation of FIG.

【図3】図1の集積回路の具体回路を示す図である。3 is a diagram showing a specific circuit of the integrated circuit of FIG.

【図4】従来のシリアルデータ転送方法を説明する為の
図である。
FIG. 4 is a diagram for explaining a conventional serial data transfer method.

【図5】図4の動作を説明する為のタイムチャートであ
る。
FIG. 5 is a time chart for explaining the operation of FIG.

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

(5) マイクロコンピュータ (6)(7)(8) 集積回路 (5) Microcomputer (6) (7) (8) Integrated circuit

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 マイクロコンピュータ及び複数の周辺回
路の間でシリアルデータをクロックに同期して転送する
方法において、 前記シリアルデータの特定ビットに、前記周辺回路の状
態を制御するデータを割り当てたことを特徴とするシリ
アルデータ転送方法。
1. A method of transferring serial data in synchronization with a clock between a microcomputer and a plurality of peripheral circuits, wherein data for controlling a state of the peripheral circuit is assigned to a specific bit of the serial data. Characteristic serial data transfer method.
【請求項2】 前記シリアルデータの特定ビットに、前
記複数の周辺回路の選択を指示するデータ、又は、前記
選択された周辺回路へのシリアルデータの入力を指示す
るデータ、又は、前記選択された周辺回路からのシリア
ルデータの出力を指示するデータを割り当てたことを特
徴とする請求項1記載のシリアルデータ転送方法。
2. A specific bit of the serial data, data instructing selection of the plurality of peripheral circuits, data instructing input of serial data to the selected peripheral circuit, or the selected bit. 2. The serial data transfer method according to claim 1, wherein data instructing output of serial data from the peripheral circuit is assigned.
JP15712793A 1993-06-28 1993-06-28 Serial data transferring method Pending JPH0713913A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP15712793A JPH0713913A (en) 1993-06-28 1993-06-28 Serial data transferring method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP15712793A JPH0713913A (en) 1993-06-28 1993-06-28 Serial data transferring method

Publications (1)

Publication Number Publication Date
JPH0713913A true JPH0713913A (en) 1995-01-17

Family

ID=15642804

Family Applications (1)

Application Number Title Priority Date Filing Date
JP15712793A Pending JPH0713913A (en) 1993-06-28 1993-06-28 Serial data transferring method

Country Status (1)

Country Link
JP (1) JPH0713913A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1071067A3 (en) * 1999-07-23 2001-10-24 Seiko Epson Corporation Display driver IC and electronic device using the same
JP2009260541A (en) * 2008-04-15 2009-11-05 Sony Corp Transmitter and transmission method, receiver and reception method, program, and transmission/reception system and method

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1071067A3 (en) * 1999-07-23 2001-10-24 Seiko Epson Corporation Display driver IC and electronic device using the same
US6473059B1 (en) 1999-07-23 2002-10-29 Seiko Epson Corporation Display driver IC and electronic device using same
JP2009260541A (en) * 2008-04-15 2009-11-05 Sony Corp Transmitter and transmission method, receiver and reception method, program, and transmission/reception system and method

Similar Documents

Publication Publication Date Title
US6222518B1 (en) Liquid crystal display with liquid crystal driver having display memory
JPH05303348A (en) Lcd video signal interface device
JPH04166990A (en) Display control device
US5657044A (en) Liquid crystal display converter
JPH07175445A (en) Liquid crystal driver built-in memory and liquid crystal display
JPH04248616A (en) Two-face display system
JPH0713913A (en) Serial data transferring method
JPH0895519A (en) Display controller
JPH11133931A (en) Liquid crystal gradation display circuit
JP3417204B2 (en) Vehicle navigation system
JP2898283B2 (en) Display control device
JPS62240994A (en) Display controller
JPH0453991A (en) Liquid crystal display controller
JPH0227677B2 (en)
JP3468667B2 (en) Display control device and display device
JPS63131181A (en) Character display device
JPS6352195A (en) Display control system
JPH05108549A (en) Access method for memory
JPH05119749A (en) Liquid crystal display device
JPS61235891A (en) Display control system
JP2001195227A (en) Display method and display driver device
JPH03188492A (en) Data control system for image display device
JPS6383790A (en) Display controller
JPS6383796A (en) Screen synthesization circuit
JPH0415689A (en) Image display circuit