JPH067385Y2 - Interface circuit - Google Patents

Interface circuit

Info

Publication number
JPH067385Y2
JPH067385Y2 JP1987099848U JP9984887U JPH067385Y2 JP H067385 Y2 JPH067385 Y2 JP H067385Y2 JP 1987099848 U JP1987099848 U JP 1987099848U JP 9984887 U JP9984887 U JP 9984887U JP H067385 Y2 JPH067385 Y2 JP H067385Y2
Authority
JP
Japan
Prior art keywords
signal
data
nrz
bit
modulation
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.)
Expired - Lifetime
Application number
JP1987099848U
Other languages
Japanese (ja)
Other versions
JPS647372U (en
Inventor
功 岡田
民也 名嘉
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.)
Mitsumi Electric Co Ltd
Original Assignee
Mitsumi 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 Mitsumi Electric Co Ltd filed Critical Mitsumi Electric Co Ltd
Priority to JP1987099848U priority Critical patent/JPH067385Y2/en
Publication of JPS647372U publication Critical patent/JPS647372U/ja
Application granted granted Critical
Publication of JPH067385Y2 publication Critical patent/JPH067385Y2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Description

【考案の詳細な説明】 〔産業上の利用分野〕 本考案はインターフェース回路に関し、シリアルのディ
ジタル変調信号とパラレルディジタル信号との相互変換
を行なうインターフェース回路に関する。
DETAILED DESCRIPTION OF THE INVENTION [Industrial field of application] The present invention relates to an interface circuit, and more particularly to an interface circuit for performing mutual conversion between a serial digital modulation signal and a parallel digital signal.

〔従来の技術〕[Conventional technology]

従来より、ゲームのソフトウェア等の情報を記憶し、パ
ーソナルコンピュータ等から取外し可能なメモリカード
がある。
Conventionally, there is a memory card that stores information such as game software and can be removed from a personal computer or the like.

従来のメモリカードは第4図に示す如く、複数の制御端
子10、複数のアドレス端子11、複数のデータ端子1
2等を有し、これらの端子はメモリ13に接続されてお
り、上記の端子10〜12をパーソナルコンピュータの
バスラインに接続して使用する。
As shown in FIG. 4, the conventional memory card has a plurality of control terminals 10, a plurality of address terminals 11, and a plurality of data terminals 1.
2 and the like, these terminals are connected to the memory 13, and the terminals 10 to 12 are used by connecting to the bus line of the personal computer.

〔考案が解決しようとする問題点〕[Problems to be solved by the invention]

第4図の構成ではメモリカードに多数の端子が必要で、
メモリカードを装着するパーソナルコンピュータにも多
ピンコネクタが必要となるとう問題点がある。
In the configuration of FIG. 4, many terminals are required on the memory card,
There is a problem that a multi-pin connector is required for a personal computer equipped with a memory card.

メモリカードのピン数を減らすためには、制御信号、ア
ドレス、データの情報をシリアルに伝送することが考え
られる。この場合には情報をプロック化して伝送するた
め第5図(A)に示す如く各ブロックの先頭に同期情報
を付加し、ディジタル変調を行なって第5図(B)に示
す如き信号を伝送する。
In order to reduce the number of pins of the memory card, it is possible to serially transmit control signal, address, and data information. In this case, in order to block and transmit the information, synchronization information is added to the beginning of each block as shown in FIG. 5 (A), digital modulation is performed, and a signal as shown in FIG. 5 (B) is transmitted. .

第5図(A)においてブロックの先頭には同期用の各2
ビットのイニシャルビット及びスタートビットと、リー
ド/ライト指示の1ビットの制御ビットR/とよりな
るイニシャルフレームが設けられ、その後に12バイト
のアドレス及び128バイトのデータよりなるデータフレ
ームが設けられている。上記のブロックはNRZ変調さ
れて同図(B)に示す波形とされる。
In FIG. 5 (A), 2 for synchronization are provided at the beginning of each block.
An initial frame composed of an initial bit and a start bit and a control bit R / of 1 bit for read / write instruction is provided, and then a data frame composed of an address of 12 bytes and data of 128 bytes is provided. . The above block is NRZ-modulated to obtain the waveform shown in FIG.

しかるに、第5図に示す如く、ブロック化された情報全
体をNRZ変調して伝送すると、データフレーム中にイ
ニシャルフレームと同一のビットパターンが発生する場
合、受信側においてデータフレーム中でイニシャルフレ
ームのビットパターンを検出したとき、ブロックの先頭
と誤判別し、誤同期が発生するという問題点があった。
However, as shown in FIG. 5, if the same bit pattern as that of the initial frame is generated in the data frame when the entire blocked information is transmitted by NRZ modulation, the bit of the initial frame in the data frame is received on the receiving side. When a pattern is detected, it is erroneously discriminated as the beginning of a block, and there is a problem that erroneous synchronization occurs.

本考案は上記の点に鑑みてなされたものであり、誤同期
の発生を防止してシリアルのディジタル変調信号とパラ
レルのディジタル信号との相互変換を行なうインターフ
ェース回路を提供することを目的する。
The present invention has been made in view of the above points, and an object of the present invention is to provide an interface circuit that prevents mutual synchronization from occurring and performs mutual conversion between a serial digital modulation signal and a parallel digital signal.

〔問題点を解決するための手段〕[Means for solving problems]

本考案において、第1の変換回路は、ブロック毎に同期
用のイニシャルフレームがNRZ変調された信号の後
に、所定のバイト数のアドレス又はアドレス及びデータ
のデータフレームがビット中央で反転するようNRZ変
調とは異なる第2の変調された信号が連続するシリアル
の情報信号を供給されて、データフレームの第2の変調
信号をNRZ変調信号に変換する。
In the present invention, the first conversion circuit performs NRZ modulation so that a predetermined number of bytes of an address or a data frame of address and data is inverted at the center of a bit after a signal in which an initial frame for synchronization is NRZ modulated for each block. A second modulated signal different from that is supplied with a continuous serial information signal to convert the second modulated signal of the data frame into an NRZ modulated signal.

第2の変換回路は、第1の変換回路の出力するNRZ変
調信号をパラレルのアドレス又はアドレス及び所定ビッ
ト単位のデータに変換して出力する。
The second conversion circuit converts the NRZ modulated signal output from the first conversion circuit into parallel address or data of an address and a predetermined bit unit and outputs the data.

第3の変換回路は、所定ビット単位のデータを供給され
て、データを所定バイト数のシリアルのデータフレーム
のNRZ変調された信号に変換する。
The third conversion circuit is supplied with data of a predetermined bit unit and converts the data into an NRZ-modulated signal of a serial data frame of a predetermined number of bytes.

第4の変換回路は、第3の変換回路の出力するNRZ変
調信号を第2の変調信号に変換し、その前にイニシャル
フレームのNRZ変調信号を付加してシリアルに出力す
る。
The fourth conversion circuit converts the NRZ modulation signal output from the third conversion circuit into a second modulation signal, adds the NRZ modulation signal of the initial frame before the conversion signal, and serially outputs the signal.

〔作用〕[Action]

本考案においては、第1及び第2の変換回路によってシ
リアルのディジタル変調信号をパラレルのディジタル信
号に変換でき、また、第3及び第4の変換回路によって
パラレルのディジタル信号をシリアルのディジタル変調
信号に変換できる。
In the present invention, the serial digital modulation signal can be converted into a parallel digital signal by the first and second conversion circuits, and the parallel digital signal can be converted into a serial digital modulation signal by the third and fourth conversion circuits. Can be converted.

また、ディジタル変調信号はイニシャルフレームがNR
Z変調され、データフレームが第2の変調されているた
め、イニシャルフレームの変調信号波形と同一の波形パ
ターンがデータフレームの変調信号波形になく誤同期の
発生が防止できる。
Also, the digital modulation signal has an initial frame of NR.
Since the data frame is Z-modulated and the data frame is second-modulated, the same waveform pattern as the modulation signal waveform of the initial frame does not exist in the modulation signal waveform of the data frame, and the occurrence of erroneous synchronization can be prevented.

〔実施例〕〔Example〕

第1図は本考案回路の実施例のブロック図を示す。 FIG. 1 shows a block diagram of an embodiment of the circuit of the present invention.

まず、本考案回路で伝送に用いる情報信号について説明
する。情報信号は第2図(A)に示す如くデータブロッ
ク単位とされている。各データブロックは第2図(B)
に示す如くイニシャルフレームとデータフレームとによ
り第5図(A)とまったく同一構成である。このデータ
フレームブロックは、第2図(C)に示す如く、イニシ
ャルフレームがNRZ(ノン・リターン・ゼロ)変調さ
れ、データフレームがPE(フェーズ・エンコーディン
グ)変調されている。
First, the information signal used for transmission in the circuit of the present invention will be described. The information signal is in data block units as shown in FIG. Each data block is shown in Fig. 2 (B).
As shown in FIG. 5, the initial frame and the data frame have exactly the same structure as FIG. 5 (A). In this data frame block, as shown in FIG. 2C, an initial frame is NRZ (non-return zero) modulated and a data frame is PE (phase encoding) modulated.

NRZ変調は“1”のビットをHレベルで“0”のビッ
トをLレベルとする変調であり、この変調信号はシリア
ルのディジタル信号そのものであるので特別な復調の必
要がない。PE変調は“1”のビットをデータビット中
央での立下がりで、“0”のビットをデータビット中央
での立上がりとする変調であり、PE変調信号とNRZ
変調信号との相互の変換が非常に簡単である。
The NRZ modulation is a modulation in which a "1" bit is at an H level and a "0" bit is at an L level. Since this modulated signal is a serial digital signal itself, there is no need for special demodulation. PE modulation is a modulation in which a "1" bit is a falling edge at the center of a data bit and a "0" bit is a rising edge at the center of a data bit.
Mutual conversion with the modulated signal is very simple.

第1図において、端子20には情報信号Dinが入来し、
端子21には第2図(B)に示す各ビットの境界で立上
がるビット周期のクロックCLKが入来する。
In FIG. 1, the information signal Din is input to the terminal 20,
A clock CLK having a bit period rising at the boundary of each bit shown in FIG.

上記の情報信号Dinはイニシャルフレーム検出器22に
供給され、ここでイニシャルビットとスタートビットと
の計4ビットに対応する第2図(C)の信号波形の有無
が検出され、その検出信号がタイミング発生器23に供
給される。また、検出器22は情報信号Dinをリフォー
マッタ24、エラー検出器25、リードライトコントロ
ーラ26に供給する。タイミング発生器23は上記検出
信号でリセットされた後クロック信号CLKを用いて各
種タイミング信号を生成して回路各部に供給する。
The above information signal Din is supplied to the initial frame detector 22, and the presence or absence of the signal waveform of FIG. 2 (C) corresponding to a total of 4 bits including the initial bit and the start bit is detected here, and the detected signal is timed. It is supplied to the generator 23. Further, the detector 22 supplies the information signal Din to the reformatter 24, the error detector 25, and the read / write controller 26. The timing generator 23 generates various timing signals by using the clock signal CLK after being reset by the detection signal, and supplies the timing signals to each part of the circuit.

第1の変換回路であるリフォーマッタ24はデータフレ
ームの開始をタイミング信号で指示されることにより、
情報信号Din中のデータフレームであるPE変調信号を
NRZ変調信号に変換する。エラー検出器25はタイミ
ング信号で指示されて、データフレームがPE変調信号
でありえないビットパターンとなったときリセット信号
を生成し、これを全回路に供給する。リードライトコン
トローラ26はタイミング信号の指示によりイニシャル
フレーム中の制御ビットR/を取り出し、その値に応
じてライトイネーブル▲▼、リードイネーブル▲
▼、チップセレクト夫々を生成して端子27a〜
27cより出力する。リフォーマッタ24の出力するデー
タフレームのNRZ変調信号は第2の変換回路であるシ
リアル/パラレル変換器28で8ビットパラレルの信号
に変換される。
The reformatter 24, which is the first conversion circuit, is instructed by the timing signal to start the data frame,
The PE modulation signal which is the data frame in the information signal Din is converted into the NRZ modulation signal. The error detector 25 generates a reset signal when the data frame has a bit pattern that cannot be a PE modulation signal, as indicated by the timing signal, and supplies the reset signal to all circuits. The read / write controller 26 takes out the control bit R / in the initial frame according to the instruction of the timing signal, and according to the value, write enable ▲ ▼ and read enable ▲
▼, each of the chip select is generated and the terminals 27a ...
Output from 27c. The NRZ modulated signal of the data frame output from the reformatter 24 is converted into an 8-bit parallel signal by the serial / parallel converter 28 which is the second conversion circuit.

制御ビットR/が“0”でライトモードの場合にはこ
のパラレル信号のうち最初の2バイト(16ビット)の
アドレスはタイミング信号によってアドレスカウンタ2
9にセットされ、後続の128バイトのデータはライト
/イネーブル▲▼及びタイミング信号によりバイト
単位で順次データレジスタ30にラッチされる。アドレ
スカウンタ29はタイミング信号によってデータの1バ
イト毎に順次カウントアップされ、上記の16ビットの
アドレス、8ビットのデータ夫々は端子31,32夫々
より出力される。
When the control bit R / is "0" and the write mode is set, the address of the first 2 bytes (16 bits) of the parallel signal is generated by the address counter 2 by the timing signal.
The data of the following 128 bytes is sequentially latched in the data register 30 in byte units by the write / enable and the timing signal. The address counter 29 sequentially counts up for each byte of data according to the timing signal, and the above 16-bit address and 8-bit data are output from terminals 31 and 32, respectively.

制御ビットR/が“1”でリードモードの場合にはデ
ータフレーム中の128バイトのデータは無視され、ア
ドレスのみがライトモードと同様に端子31から出力さ
れる。これによって後述のメモリから順次読み出される
8ビット単位のデータはリードイネーブル▲▼及び
タイミング信号によってデータレジスタ33にラッチさ
れる。
When the control bit R / is "1" and the read mode is set, the 128-byte data in the data frame is ignored and only the address is output from the terminal 31 as in the write mode. As a result, 8-bit unit data sequentially read from the memory described later is latched in the data register 33 by the read enable signal and the timing signal.

データレジスタ33より出力されるデータは第3の変換
回路であるパラレル/シリアル変換器34でシリアル信
号に変換されフォーマッタ35に供給される。このシリ
アル信号はNRZ変調信号と同一波形である。フォーマ
ッタ35はタイミング信号の指示によりNRZ変調信号
をPE変調信号に変換して出力する。
The data output from the data register 33 is converted into a serial signal by the parallel / serial converter 34, which is a third conversion circuit, and is supplied to the formatter 35. This serial signal has the same waveform as the NRZ modulation signal. The formatter 35 converts the NRZ modulated signal into a PE modulated signal and outputs the PE modulated signal according to the instruction of the timing signal.

第4の変換回路であるフォーマッタ35はタイミング信
号で変換指示かなされるまではHレベル出力であり、こ
れがイニシャルビットとなる。また、スタートビット発
生器36はリードイネーブル▲▼及びタイミング信
号によって2ビット分Hレベルのスタートビットを生成
する。これによって端子37からはNRZ変調信号のイ
ニシャルフレームとPE変調信号のデータフレームとよ
りなる情報信号が出力される。
The formatter 35, which is the fourth conversion circuit, is an H level output until conversion is instructed by the timing signal, and this becomes an initial bit. Further, the start bit generator 36 generates a start bit of H level for 2 bits according to the read enable signal and the timing signal. As a result, an information signal composed of the initial frame of the NRZ modulated signal and the data frame of the PE modulated signal is output from the terminal 37.

第3図は本考案回路を適用したメモリカードの一実施例
のブロック図を示す。メモリカード20は、第1図に示
すインターフェース回路41と、メモリ42とより構成
されている。インターフェース回路41の端子27a〜
27c及び31,32はメモリ42と接続されており、
メモリ42の書き込み及び読み出しが行なわれる。イン
ターフェース回路41の端子20,21,37夫々はメ
モリカード40の端子44a〜44cを介して例えばパ
ーソナルコンピュータ等に接続されて使用される。
FIG. 3 shows a block diagram of an embodiment of a memory card to which the circuit of the present invention is applied. The memory card 20 includes an interface circuit 41 shown in FIG. 1 and a memory 42. The terminal 27a of the interface circuit 41-
27c and 31, 32 are connected to the memory 42,
Writing and reading of the memory 42 are performed. The terminals 20, 21, and 37 of the interface circuit 41 are used by being connected to, for example, a personal computer or the like via the terminals 44a to 44c of the memory card 40.

このように、インターフェース回路41を設けることに
より、メモリカードの外部接続用の端子は端子44a〜
44cと電源端子とで済み、従来に比して減少する。
In this way, by providing the interface circuit 41, the terminals for external connection of the memory card are the terminals 44a to.
44c and the power supply terminal are sufficient, and the number is reduced as compared with the conventional case.

また、情報信号はイニシャルフレームとデータフレーム
とで変調が異なるため、イニシャルフレームの変調信号
中の同期用のイニシャルビット及びスタートビットの波
形がデータフレームの変調信号中に存在することがな
く、誤同期の発生が防止される。
In addition, since the information signal is modulated differently between the initial frame and the data frame, the waveforms of the initial bit and the start bit for synchronization in the modulated signal of the initial frame do not exist in the modulated signal of the data frame, and erroneous synchronization occurs. Is prevented from occurring.

なお、情報信号のデータフレームはPE変調信号に限ら
ずFM変調等のビットの中央で反転する変調信号であっ
ても良く、上記実施例に限定されない。
The data frame of the information signal is not limited to the PE modulation signal and may be a modulation signal such as FM modulation which is inverted at the center of the bit, and is not limited to the above embodiment.

〔考案の効果〕[Effect of device]

上述の如く、本考案のインターフェース回路によれば、
誤同期の発生なくシリアルのディジタル変調信号とパラ
レルのディジタル信号との相互変換を行なうことがで
き、例えばメモリカードに適用してメモリカードの外部
接続用の端子数を減少でき、実用上きわめて有用であ
る。
As described above, according to the interface circuit of the present invention,
Mutual conversion between a serial digital modulation signal and a parallel digital signal can be performed without the occurrence of false synchronization. For example, when applied to a memory card, the number of external connection terminals of the memory card can be reduced, which is extremely useful in practice. is there.

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

第1図は本考案回路の一実施例のブロック図、第2図は
本考案回路で伝送に用いる情報信号を説明するための
図、第3図は本考案回路を適用したメモリカードの一実
施例のブロック図、第4図は従来のメモリカードの一例
のブロック図、第5図は従来のシリアル通信の情報信号
を説明するための図である。 22……イニシャルフレーム検出器、23……タイミン
グ発生器、24……リフォーマッタ、28……シリアル
/パラレル変換器、29……アドレスカウンタ、30,
33……データレジスタ、34……パラレル/シリアル
変換器、35……フォーマッタ、36……スタートビッ
ト発生器、41……インターフェース回路、42……メ
モリ。
FIG. 1 is a block diagram of an embodiment of the circuit of the present invention, FIG. 2 is a diagram for explaining information signals used for transmission in the circuit of the present invention, and FIG. 3 is an implementation of a memory card to which the circuit of the present invention is applied. An example block diagram, FIG. 4 is a block diagram of an example of a conventional memory card, and FIG. 5 is a diagram for explaining an information signal of a conventional serial communication. 22 ... Initial frame detector, 23 ... Timing generator, 24 ... Reformatter, 28 ... Serial / parallel converter, 29 ... Address counter, 30,
33 ... Data register, 34 ... Parallel / serial converter, 35 ... Formatter, 36 ... Start bit generator, 41 ... Interface circuit, 42 ... Memory.

Claims (1)

【実用新案登録請求の範囲】[Scope of utility model registration request] 【請求項1】ブロック毎に同期用のイニシャルフレーム
がNRZ変調された信号の後に、所定バイト数のアドレ
ス又はアドレス及びデータのデータフレームがビット中
央で反転するようNRZ変調とは異なる第2の変調され
た信号が連続するシリアルの情報信号を供給されて、該
データフレームの第2の変調信号をNRZ変調信号に変
換する第1の変換回路と、 該第1の変換回路の出力するNRZ変調信号をパラレル
のアドレス又はアドレス及び所定ビット単位のデータに
変換して出力する第2の変換回路と、 該所定ビット単位のデータを供給されて、該データを所
定バイト数のシリアルのデータフレームのNRZ変調さ
れた信号に変換する第3の変換回路と、 該第3の変換回路の出力するNRZ変調信号を該第2の
変調信号に変換し、その前に該イニシャルフレームのN
RZ変調信号を付加してシリアルに出力する第4の変換
回路とよりなるインターフェース回路。
1. A second modulation different from NRZ modulation so that a predetermined number of bytes of an address or a data frame of address and data is inverted at the center of a bit after a signal in which an initial frame for synchronization is NRZ modulated for each block. A first conversion circuit for converting the second modulation signal of the data frame into an NRZ modulation signal by being supplied with a continuous serial information signal, and an NRZ modulation signal output from the first conversion circuit A parallel address or a second conversion circuit for converting the address into an address and data in a predetermined bit unit and outputting the data, and NRZ modulation of the data in a predetermined number of bytes supplied with the data in the predetermined bit unit. A third conversion circuit for converting the NRZ modulated signal output from the third conversion circuit into the second modulated signal, N of the initial frame before
An interface circuit including a fourth conversion circuit for adding an RZ modulation signal and outputting the serially.
JP1987099848U 1987-06-29 1987-06-29 Interface circuit Expired - Lifetime JPH067385Y2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1987099848U JPH067385Y2 (en) 1987-06-29 1987-06-29 Interface circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1987099848U JPH067385Y2 (en) 1987-06-29 1987-06-29 Interface circuit

Publications (2)

Publication Number Publication Date
JPS647372U JPS647372U (en) 1989-01-17
JPH067385Y2 true JPH067385Y2 (en) 1994-02-23

Family

ID=31327388

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1987099848U Expired - Lifetime JPH067385Y2 (en) 1987-06-29 1987-06-29 Interface circuit

Country Status (1)

Country Link
JP (1) JPH067385Y2 (en)

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5263655A (en) * 1975-11-20 1977-05-26 Canon Inc Data converting device

Also Published As

Publication number Publication date
JPS647372U (en) 1989-01-17

Similar Documents

Publication Publication Date Title
CA2111264A1 (en) System and method for peripheral data transfer
JPH0624356B2 (en) Data transfer method
US6170027B1 (en) LPC/ISA bridge and its bridging method
JPH067385Y2 (en) Interface circuit
JPS5923647A (en) Method of converting serial data signal and converting circuit
JPH01302946A (en) Code violation detection circuit
KR102414408B1 (en) Control integrated circuit for heterogeneous serial communication protocol and system control apparatus including same
JPH0219946A (en) Semiconductor file memory device
JPH0710047B2 (en) Zero error detection circuit
JP2817803B2 (en) Sync generation method
JP2712304B2 (en) Data transmission method, data transmission device, data reception method, and data reception device
JPS5971526A (en) Microcomputer system
JPS5958988A (en) Character broadcast receiver
JPH0510435Y2 (en)
JPS59105789A (en) Code signal detecting circuit
JPH0378337A (en) Code error counting circuit
JP2590935B2 (en) Digital transmission data recovery circuit
JPS6159547A (en) Device for checking error correcting function
JPS6070848A (en) Code converting circuit
JPS59206934A (en) Serial interface circuit
JPS6017139B2 (en) Serial port method
JPS6158361A (en) Data transfer system
JPH06104875A (en) Serial port
JPH0810853B2 (en) Information data transmission system
JPH01243743A (en) Interface