JPH03139785A - Memory card interface circuit - Google Patents
Memory card interface circuitInfo
- Publication number
- JPH03139785A JPH03139785A JP1278855A JP27885589A JPH03139785A JP H03139785 A JPH03139785 A JP H03139785A JP 1278855 A JP1278855 A JP 1278855A JP 27885589 A JP27885589 A JP 27885589A JP H03139785 A JPH03139785 A JP H03139785A
- Authority
- JP
- Japan
- Prior art keywords
- memory card
- wait
- circuit
- signal
- microprocessor
- 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
Links
- 238000001514 detection method Methods 0.000 claims abstract description 25
- 238000003780 insertion Methods 0.000 claims abstract description 17
- 230000037431 insertion Effects 0.000 claims abstract description 17
- 230000007274 generation of a signal involved in cell-cell signaling Effects 0.000 claims abstract description 12
- 239000000872 buffer Substances 0.000 description 19
- 230000002457 bidirectional effect Effects 0.000 description 4
- 238000010586 diagram Methods 0.000 description 4
- 230000007257 malfunction Effects 0.000 description 3
- 244000145845 chattering Species 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 1
- 239000013256 coordination polymer Substances 0.000 description 1
- 230000000630 rising effect Effects 0.000 description 1
- 230000007704 transition Effects 0.000 description 1
Abstract
Description
【発明の詳細な説明】
産業上の利用分野
本発明は、メモリカードと、マイクロプロセッサとの間
のインターフェース回路に関するものである。DETAILED DESCRIPTION OF THE INVENTION Field of the Invention The present invention relates to an interface circuit between a memory card and a microprocessor.
従来の技術
従来、メモリカードインターフェース回路は、第4図に
示すように、マイクロプロセッサ10、メモリカードコ
ネクタ11、メモリカード12、第1の単方向トライス
テートバッファ13、第2の単方向トライステートバッ
ファ14、双方向トライステートバッファ15、データ
バス方向制御回路16、およびメモリカード挿入検出回
路17で構成されている。マイクロプロセッサ10のア
ドレスバス10aおよびバス制御信号10bとメモリカ
ードコネクタ11との間には第1の単方向トライステー
トバッファ13および第2の単方向トライステートバッ
ファ14が挿入され、メモリカード挿入検出回路17よ
り出力されるメモリカード挿入信号CARDによって前
記二つの単方向トライステートバッファゲートGの開閉
が行われる。また、マイクロプロセッサ10のデータバ
ス10cとメモリカードコネクタ11との間には双方向
トライステートバッファ15が挿入され、メモリカード
挿入検出回路17より出力されるメモリカード挿入信号
CARDによって前記双方向トライステートバッファの
ゲートGの開閉が行われ、さらにデータバス方向制御回
路16より出力されるデータバス方向制御信号DIRに
よって前記双方向トライステートバッファのデータ送出
方向りが切り替えられる。2. Description of the Related Art Conventionally, as shown in FIG. 4, a memory card interface circuit includes a microprocessor 10, a memory card connector 11, a memory card 12, a first unidirectional tristate buffer 13, and a second unidirectional tristate buffer. 14, a bidirectional tri-state buffer 15, a data bus direction control circuit 16, and a memory card insertion detection circuit 17. A first unidirectional tri-state buffer 13 and a second unidirectional tri-state buffer 14 are inserted between the address bus 10a and bus control signal 10b of the microprocessor 10 and the memory card connector 11, and a memory card insertion detection circuit is inserted. The two unidirectional tri-state buffer gates G are opened and closed by the memory card insertion signal CARD outputted from the memory card insertion signal CARD 17. Further, a bidirectional tri-state buffer 15 is inserted between the data bus 10c of the microprocessor 10 and the memory card connector 11, and the bi-directional tri-state buffer 15 is inserted into the bi-directional tri-state buffer by the memory card insertion signal CARD output from the memory card insertion detection circuit 17. The gate G of the buffer is opened and closed, and the data transmission direction of the bidirectional tri-state buffer is switched by the data bus direction control signal DIR output from the data bus direction control circuit 16.
上記構成により、メモリカード12の挿抜の際に発生さ
れるメモリカード12とメモリカードコネクタ11間の
接点摺動ノイズがマイクロプロセッサ10へ逆流するの
を、第1の単方向トライステートバッファ13および第
2の単方向トライステートバッファ14および双方向ト
ライステートバッファ15によって阻止し、接点摺動ノ
イズによるマイクロプロセッサ10の誤動作を防止する
ものであった。With the above configuration, the first unidirectional tri-state buffer 13 and the 2 unidirectional tri-state buffers 14 and bi-directional tri-state buffers 15 to prevent malfunctions of the microprocessor 10 due to contact sliding noise.
発明が解決しようとする課題
上記した従来例の構成では、第1の単方向トライステー
トバッファ13、第2の単方向トライステートバッファ
14、双方向トライステートバッファ15、データバス
方向制御回路16、およびメモリカード挿入検出回路1
7等の多数のICチップおよび複雑な回路を必要とし、
それが機器の小型化とコストダウンの大きな妨げとなっ
ている。Problems to be Solved by the Invention In the configuration of the conventional example described above, the first unidirectional tristate buffer 13, the second unidirectional tristate buffer 14, the bidirectional tristate buffer 15, the data bus direction control circuit 16, and Memory card insertion detection circuit 1
It requires a large number of IC chips such as 7 and complicated circuits,
This is a major impediment to miniaturization and cost reduction of devices.
本発明は、上記のような課題を解決するものであり、従
来のような多数の部品点数を要しない、簡単な構成のメ
モリカードを提供するのが目的である。The present invention has been made to solve the above-mentioned problems, and it is an object of the present invention to provide a memory card with a simple configuration that does not require a large number of parts unlike the conventional ones.
課題を解決するための手段
上記課題を解決するために本発明は、メモリカードコネ
クタとメモリカード制御回路とを設け、インターフェー
スされるマイクロプロセッサとメモリカードとを直結さ
せ、メモリカード制御回路をメモリカード挿入検出回路
とウェイト信号発生回路で構成してマイクロプロセッサ
に結合させたものである。Means for Solving the Problems In order to solve the above problems, the present invention provides a memory card connector and a memory card control circuit, directly connects the microprocessor to be interfaced with the memory card, and connects the memory card control circuit to the memory card. It consists of an insertion detection circuit and a wait signal generation circuit, and is coupled to a microprocessor.
作 用
上記構成にすることにより、マイクロプロセッサとメモ
リカードコネクタとの間に多数のトライステートバッフ
ァを必要とせず、また、複雑なデータバス方向制御回路
等も不要となるので、メモリカードインターフェースが
きわめて簡素な構成となる。Effect By adopting the above configuration, there is no need for a large number of tri-state buffers between the microprocessor and the memory card connector, and there is no need for a complicated data bus direction control circuit, etc., making the memory card interface extremely easy to use. It has a simple configuration.
実 施 例
以下、本発明の実施例を第1図〜第3図を用いて説明す
る。Embodiments Hereinafter, embodiments of the present invention will be described with reference to FIGS. 1 to 3.
〔実施例1〕 第1図は本発明の第一の実施例のブロック図である。[Example 1] FIG. 1 is a block diagram of a first embodiment of the present invention.
本実施例は、マイクロプロセッサ20、メモリカードコ
ネクタ21、メモリカード22、およびメモリカード制
御回路23で構成されており、マイクロプロセッサ20
とメモリカードコネクタ21は直結されている。また、
メモリカードコネクタ21からのメモリカード検出信号
CINは、メモリカード制御回路23に入力されている
。また、メモリカード制御回路23の出力するCPUウ
ェイト信号CWAITは、マイクロプロセッサ20のウ
ェイト入力端子WAITに直結されている。メモリカー
ド制御回路23は、メモリカード挿入検出回路23a1
およびウェイト信号発生回路23bで構成されており、
メモリカード挿入検出回路23aはメモリカードコネク
タ21からのメモリカード検出信号CINを検知し、ウ
ェイト信号発生回路23bを起動する。ウェイト信号発
生回路23bはCPUウェイト信号CWAITを発生し
、マイクロプロセッサ20にウェイト処理を行わせるも
のである。This embodiment is composed of a microprocessor 20, a memory card connector 21, a memory card 22, and a memory card control circuit 23.
and memory card connector 21 are directly connected. Also,
A memory card detection signal CIN from the memory card connector 21 is input to the memory card control circuit 23. Further, the CPU wait signal CWAIT output from the memory card control circuit 23 is directly connected to the wait input terminal WAIT of the microprocessor 20. The memory card control circuit 23 includes a memory card insertion detection circuit 23a1.
and a wait signal generation circuit 23b,
The memory card insertion detection circuit 23a detects the memory card detection signal CIN from the memory card connector 21 and activates the wait signal generation circuit 23b. The wait signal generation circuit 23b generates a CPU wait signal CWAIT and causes the microprocessor 20 to perform wait processing.
メモリカード22がメモリカードコネクタ21に挿入さ
れると、メモリカード挿入検出回路23aはメモリカー
ド検出信号CINを検知し、ウェイト信号発生回路23
bにCPUウェイト要求償号WREQを送出する。ウェ
イト信号発生回路23bは前記ウェイト要求信号WRE
Qを受取り、マイクロプロセッサ20にCPUウェイト
信号(JAITを送出する。この(JAIT信号は、マ
イクロプロセッサ20のウェイトサイクル起動のための
タイミング的条件を満たしたものである。マイクロプロ
セッサ20はCPUウェイト信号CWAITを受は取る
とウェイト処理に入り、CPUウェイト信号CW^IT
が非アクティブになるまでウェイト状態に入る。前記ウ
ェイト状態においては、マイクロプロセッサ20はアド
レスバス20a1データバス20C1およびバス制御信
号20bを保持するので、たとえメモリカード22とメ
モリカードコネクタ21との接点摺動ノイズがアドレス
バス20aやデータバス20c、バス制御信号20bに
重畳しても、マイクロプロセッサ20に誤動作を起こさ
せることはない。また、メモリカード挿入検出回路23
aは、内部にモノマルチバイブレータを備えており、メ
モリカードコネクタ21からのメモリカード検出信号C
INの立下がりあるいは立上がりを検知すると、一定期
間、ウェイト発生回路23bに対してCPUウェイト要
求償号CWAITを送出するので、たとえメモリカード
検出信号CIHにチャタリングが生じても安定したウェ
イトをマイクロプロセッサ20にかけることができる。When the memory card 22 is inserted into the memory card connector 21, the memory card insertion detection circuit 23a detects the memory card detection signal CIN, and the wait signal generation circuit 23a detects the memory card detection signal CIN.
The CPU weight request compensation signal WREQ is sent to b. The wait signal generation circuit 23b generates the wait request signal WRE.
Q and sends a CPU wait signal (JAIT) to the microprocessor 20. This JAIT signal satisfies the timing conditions for starting the wait cycle of the microprocessor 20. When CWAIT is received, wait processing starts and CPU wait signal CW^IT is received.
enters a wait state until becomes inactive. In the wait state, the microprocessor 20 holds the address bus 20a1, the data bus 20C1, and the bus control signal 20b, so even if contact sliding noise between the memory card 22 and the memory card connector 21 is caused by the address bus 20a, the data bus 20c, Even if it is superimposed on the bus control signal 20b, it will not cause the microprocessor 20 to malfunction. In addition, the memory card insertion detection circuit 23
a is equipped with a mono multivibrator inside, and receives a memory card detection signal C from the memory card connector 21.
When the falling or rising edge of IN is detected, the CPU wait request compensation signal CWAIT is sent to the wait generation circuit 23b for a certain period of time, so even if chattering occurs in the memory card detection signal CIH, a stable wait is generated by the microprocessor 20. It can be applied to.
なお、前記一定期間は1、チャタリングが発生している
時間に対し、余裕をもった長い時間である。また、メモ
リカード22がメモリカードコネクタ21から抜かれる
と、メモリカード挿入検出回路23aはメモリカード検
出信号CINがアクティブから非アクティブに遷移した
ことを検出し、やはりウェイト発生回路23bに対して
CPUウェイト要求償号CWAITを送出するので、ウ
ェイト発生回路23bはマイクロプロセッサ20にCP
Uウェイト信号(JAITを送出し、マイクロプロセッ
サ20はウェイト状態になることとなる。このようにし
て、メモリカード22挿抜の際のメモリカード22とメ
モリカードコネクタ21の接点摺動ノイズによるマイク
ロプロセッサ20の誤動作が阻止される。Note that the above-mentioned fixed period is 1, which is a long time with some margin compared to the time during which chattering occurs. Furthermore, when the memory card 22 is removed from the memory card connector 21, the memory card insertion detection circuit 23a detects that the memory card detection signal CIN has transitioned from active to inactive, and also sends a CPU wait signal to the wait generation circuit 23b. Since the requested compensation signal CWAIT is sent, the wait generation circuit 23b sends the CP to the microprocessor 20.
The U wait signal (JAIT) is sent, and the microprocessor 20 enters the wait state. In this way, the microprocessor 20 is caused by contact sliding noise between the memory card 22 and the memory card connector 21 when the memory card 22 is inserted or removed. malfunctions are prevented.
第2図に前記各信号のタイミング関係を示す。FIG. 2 shows the timing relationship of the respective signals.
メモリカード検出信号CINが遷移すれば、CPUウェ
イト要求償号WREQが一定期間アクチイブになり、C
PUウェイト信号CWAITが送出される。マイクロプ
ロセッサ20がウェイト状態になると、アドレスバス2
0a、データバス20cおよヒハス制御信号20bが保
持され、前記接点摺動ノイズの影響を受けることはなく
なる。なお、ウェイト時間は、メモリカードの挿抜に要
する時間に対して極めてわずかであるので、そのために
マイクロプロセッサの処理が遅くなることはない。When the memory card detection signal CIN transitions, the CPU wait request compensation signal WREQ becomes active for a certain period of time, and the CIN
A PU wait signal CWAIT is sent. When the microprocessor 20 enters the wait state, the address bus 2
0a, the data bus 20c, and the HAS control signal 20b are held, and are no longer affected by the contact sliding noise. Note that the wait time is extremely small compared to the time required to insert and remove the memory card, so the processing of the microprocessor is not slowed down by it.
〔実施例2〕 第3図は本発明の第二の実施例の斜視図である。[Example 2] FIG. 3 is a perspective view of a second embodiment of the invention.
本実施例は、前記本発明の第一の実施例におけるメモリ
カード制御回路23をICチップ化し、メモリカードコ
ネクタ31の中に埋め込んだものであって、メモリカー
ドインターフェースを実施例1に比べてさらに簡素化で
きる。In this embodiment, the memory card control circuit 23 in the first embodiment of the present invention is made into an IC chip and embedded in the memory card connector 31, and the memory card interface is further improved compared to the first embodiment. Can be simplified.
発明の効果
以上のように、本発明によればマイクロプロセッサとメ
モリカードコネクタとの間に多数のトライステートバッ
ファを必要とせず、また、複雑なデータバス方向制御回
路等も不要となるので、メモリカードインターフェース
をきわめて簡素な構成にすることができる。その結果、
メモリカードインターフェースのコスト低減、プリント
基板面積の縮小による機器の小型化、および配線の簡略
化による機器の信頼性の向上が可能となる。Effects of the Invention As described above, according to the present invention, there is no need for a large number of tri-state buffers between the microprocessor and the memory card connector, and there is no need for a complicated data bus direction control circuit. The card interface can have an extremely simple configuration. the result,
It is possible to reduce the cost of the memory card interface, downsize the device by reducing the area of the printed circuit board, and improve the reliability of the device by simplifying the wiring.
第1図は本発明の第1の実施例のメモリカードインター
フェースのブロック図、第2図はこの実施例の各信号の
タイミング図である。第3図は本発明の第2の実施例の
メモリカードインターフェースの斜視図である。第4図
は従来のメモリカードインターフェースのブロック図で
ある。
20・・・・・・マイクロプロセッサ、21・・・・・
・メモリカードコネクタ、22・・・・・・メモリカー
ド、23・・・・・・メモリカード制御回路、23a・
・・・・・メモリカード挿入検出回路、23b・・・・
・・ウェイト信号発生回路。FIG. 1 is a block diagram of a memory card interface according to a first embodiment of the present invention, and FIG. 2 is a timing diagram of each signal in this embodiment. FIG. 3 is a perspective view of a memory card interface according to a second embodiment of the present invention. FIG. 4 is a block diagram of a conventional memory card interface. 20...Microprocessor, 21...
・Memory card connector, 22... Memory card, 23... Memory card control circuit, 23a.
...Memory card insertion detection circuit, 23b...
...Wait signal generation circuit.
Claims (2)
を設け、インターフェースされるマイクロプロセッサと
前記メモリカードコネクタとを直結させ、前記メモリカ
ード制御回路をメモリカード挿入検出回路とウェイト信
号発生回路とで構成して前記マイクロプロセッサに結合
させたメモリカードインターフェース回路。(1) A memory card connector and a memory card control circuit are provided, a microprocessor to be interfaced is directly connected to the memory card connector, and the memory card control circuit is configured with a memory card insertion detection circuit and a wait signal generation circuit. and a memory card interface circuit coupled to the microprocessor.
カードコネクタ内に埋め込んだ請求項1記載のメモリカ
ードインターフェース回路。(2) The memory card interface circuit according to claim 1, wherein the memory card control circuit is made into an IC chip and embedded in the memory card connector.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP1278855A JPH03139785A (en) | 1989-10-25 | 1989-10-25 | Memory card interface circuit |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP1278855A JPH03139785A (en) | 1989-10-25 | 1989-10-25 | Memory card interface circuit |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH03139785A true JPH03139785A (en) | 1991-06-13 |
Family
ID=17603078
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP1278855A Pending JPH03139785A (en) | 1989-10-25 | 1989-10-25 | Memory card interface circuit |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH03139785A (en) |
-
1989
- 1989-10-25 JP JP1278855A patent/JPH03139785A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US5418933A (en) | Bidirectional tri-state data bus buffer control circuit for delaying direction switching at I/O pins of semiconductor integrated circuit | |
US5805872A (en) | Apparatus for generation of control signals from the read cycle rate and read speed of a memory | |
JPH0348689B2 (en) | ||
US4409671A (en) | Data processor having single clock pin | |
US5432914A (en) | Scanner interface system for transferring data to main and secondary processing units | |
US6584536B1 (en) | Bus transaction accelerator for multi-clock systems | |
US7096303B1 (en) | Method and apparatus for configuring an integrated bus | |
JPH03139785A (en) | Memory card interface circuit | |
US6301188B1 (en) | Method and apparatus for registering free flow information | |
JPH0636054A (en) | One-chip microcomputer | |
JP2655585B2 (en) | Data bus control circuit for semiconductor integrated circuit | |
JP3344564B2 (en) | Bidirectional serial bus repeater | |
US5732226A (en) | Apparatus for granting either a CPU data bus or a memory data bus or a memory data bus access to a PCI bus | |
US5539887A (en) | Input buffer circuit for a microprocessor which prevents improper data input | |
JP3271609B2 (en) | Clock phase control circuit and device using the same | |
JP2565916B2 (en) | Memory access controller | |
EP0632457A1 (en) | Method and system for providing data hold time by synchronous random access memory during write operations | |
KR910008419B1 (en) | Common memory access method | |
US5793235A (en) | Circuit for improving timing conditions in a data processing unit | |
KR940001827Y1 (en) | Clock-delay circuit | |
KR0152003B1 (en) | Interface circuit | |
KR950006547Y1 (en) | Process double time common memory access circuit | |
JP3102051B2 (en) | Microprocessor device | |
KR900003527Y1 (en) | Dma circuit for ic used in data transmission and receiving | |
KR940001105Y1 (en) | Device for stabilizing control of handshaking in dma |