JPH0237067Y2 - - Google Patents

Info

Publication number
JPH0237067Y2
JPH0237067Y2 JP19490984U JP19490984U JPH0237067Y2 JP H0237067 Y2 JPH0237067 Y2 JP H0237067Y2 JP 19490984 U JP19490984 U JP 19490984U JP 19490984 U JP19490984 U JP 19490984U JP H0237067 Y2 JPH0237067 Y2 JP H0237067Y2
Authority
JP
Japan
Prior art keywords
photocoupler
output
flop
flip
signal
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
Application number
JP19490984U
Other languages
Japanese (ja)
Other versions
JPS61112457U (en
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 filed Critical
Priority to JP19490984U priority Critical patent/JPH0237067Y2/ja
Publication of JPS61112457U publication Critical patent/JPS61112457U/ja
Application granted granted Critical
Publication of JPH0237067Y2 publication Critical patent/JPH0237067Y2/ja
Expired legal-status Critical Current

Links

Description

【考案の詳細な説明】[Detailed explanation of the idea]

〔産業上の利用分野〕 本考案は、マイクロプロセツサ(以後CPUと
称す)等のアウトプツトポートに関するものであ
る。 〔従来の技術〕 CPUシステムではCPUと出力装置との間で、
データを一時保持してタイミングをとるためのア
ウトプツトポート(すなわちラツチレジスタ)と
して、Dフリツプフロツプを用い、その出力をフ
オトカプラを介して外部機器にON−OFF信号を
伝えている。 フオトカプラを介するのは、外部機器と内部回
路を電気的に絶縁するためである。 ところが、多用されているリセツト(クリア)
機能つきのDフリツプフロツプ(以下DFFと称
す)のシンク電流(出力が“L”のとき、負荷側
からデジタルIC回路内に流入する電流)は最大
8mAであるが、フオトカプラを作動するために
は10mA以上を要する。 そのため第2図に示すように、DFF1の出力
をバスバツフア2(シンク電流が10mA以上ある
もの)を介してフオトカプラ3に接続する必要が
ある。 この回路の構成及び動作を説明する。 DFF1はリセツト機能を有するもので、例え
ばLS273であり、図示しないCPUからのデー
タ信号S1(D0〜D7)と、タイミング信号
と、リセツト信号を入力している。 タイミング信号は、第3図に示すデコ
ーダ回路(デコーダLS138と、ナンドゲード
LS20より成る)によつて創成される。 すなわち、デコーダ回路は図示しないCPUか
らのアドレス信号A0〜A7と、出力装置へ出力せ
よ(出力装置の所定アドレスへデータを書込め)
という信号を入力し、アドレス信号によつ
て、前記信号を「F8」,「F9」,…「FF」
の8つの番地に振り分ける。 よつて前述のタイミング信号というの
は、FF番地にデータを書込めという命令である。 第2図の回路は、FF番地に関する部分を示す
もので、上述のように、システム全体では、この
回路が別に7個あることになる。 このDFF(LS273)のシンク電流は最大
8mAで、フオトカプラを作動させることはでき
ない。 バスバツフア2は、3ステート出力を有するも
ので、例えばLS240である。 バスバツフア2は、1入力及び2入力がと
もに“L”(OV)となつているので、入力“L”
に対して“L”、入力“H”に対して“H”が出
力されるが、インバータ4を介して反転して出力
される。 すなわち信号群S2が“L”なら信号群S3
“H”、信号群S2が“H”なら信号群S3は“L”と
なる。 このとき、LS240のシンク電流は、最低で
も12mAあり、フオトカプラを動作させることが
可能となる。 このようすを第1表に示す。
[Industrial Application Field] The present invention relates to an output port of a microprocessor (hereinafter referred to as a CPU) or the like. [Prior art] In a CPU system, between the CPU and the output device,
A D flip-flop is used as an output port (ie, a latch register) for temporarily holding data and timing, and its output is used to transmit ON-OFF signals to external equipment via a photocoupler. The purpose of using the photocoupler is to electrically isolate the external equipment from the internal circuit. However, the frequently used reset (clear)
The sink current (current flowing into the digital IC circuit from the load side when the output is “L”) of a D flip-flop with a function (hereinafter referred to as DFF) is maximum.
Although it is 8mA, more than 10mA is required to operate the photocoupler. Therefore, as shown in FIG. 2, it is necessary to connect the output of the DFF 1 to the photocoupler 3 via a bus buffer 2 (having a sink current of 10 mA or more). The configuration and operation of this circuit will be explained. The DFF 1 has a reset function, and is, for example, an LS 273, and receives a data signal S 1 (D 0 to D 7 ) from a CPU (not shown), a timing signal, and a reset signal. The timing signal is generated by the decoder circuit shown in Fig. 3 (decoder LS138 and NAND gate).
(consisting of LS20). In other words, the decoder circuit should output address signals A 0 to A 7 from the CPU (not shown) to the output device (write data to a predetermined address of the output device).
Input the signal ``F8'', ``F9'', ... ``FF'' according to the address signal.
Allotted to eight addresses. Therefore, the above-mentioned timing signal is a command to write data to the FF address. The circuit in FIG. 2 shows the part related to the FF address, and as mentioned above, there are seven additional circuits in the entire system. The sink current of this DFF (LS273) is maximum
The photocoupler cannot be activated with 8mA. The bus buffer 2 has a 3-state output, and is, for example, LS240. Since the bus buffer 2 has inputs 1 and 2 both at “L” (OV), the input “L”
"L" is output for the input "H" and "H" is output for the input "H", but they are inverted and output via the inverter 4. That is, if the signal group S 2 is "L", the signal group S 3 is "H", and if the signal group S 2 is "H", the signal group S 3 is "L". At this time, the sink current of the LS240 is at least 12 mA, making it possible to operate the photocoupler. This situation is shown in Table 1.

〔考案が解決しようとする問題点〕[Problem that the invention attempts to solve]

ところが、このような従来例では、部品点数が
多く、製造上、経済上に難点がある。 よつて、本考案は、部品点数を半減できる回路
を提供することを目的とするものである。 〔問題点を解決するための手段〕 この目的を達成するため、本考案はフオトカプ
ラを作動させることができるDFFを用いて、バ
スバツフアを省略し、回路構成を簡単化するもの
である。 〔実施例〕 本考案の具体的実施例を第1図に示す。 1′は3ステート出力可能なDFFであり、シン
ク電流は20mAである。 6は、JKFFである。 さて、リセツト信号が“L”になると、
JKFF6の出力は“H”となり、DFF1′の出
力S6はフローテイングとなる。 よつてフオトカプラ3はOFFとなり、トラン
ジスタ5はOFFとなる。 が“H”のときは、のタイミング
で、JKFF6の出力が“L”とな、DFF1′は
イネーブルとなる。よつて、フオトカプラ3をド
ライブ可能となる。 すなわち、S6が“L”ならフオトカプラ3は
ONし、“H”なら“OFF”となる。 このようすを第2表に示す。
However, in such a conventional example, the number of parts is large, making it difficult to manufacture and economically. Therefore, an object of the present invention is to provide a circuit that can reduce the number of components by half. [Means for Solving the Problems] To achieve this objective, the present invention uses a DFF that can operate a photocoupler, eliminates the bus buffer, and simplifies the circuit configuration. [Example] A specific example of the present invention is shown in FIG. 1' is a DFF capable of 3-state output, and the sink current is 20mA. 6 is JKFF. Now, when the reset signal becomes "L",
The output of JKFF6 becomes "H", and the output S6 of DFF1' becomes floating. Therefore, the photocoupler 3 is turned off, and the transistor 5 is turned off. When is "H", the output of JKFF6 becomes "L" at the timing of and DFF1' becomes enabled. Therefore, the photocoupler 3 can be driven. In other words, if S 6 is “L”, photocoupler 3 is
If it is ON and “H”, it becomes “OFF”. This situation is shown in Table 2.

【表】 この第2表は、その入出力関係が第1表と同じ
であり、第1図の本考案は、第2図従来例と同一
機能を有していることがわかる。 しかも、各番地ごとにDFF1とバスバツフア
2を必要とする従来例に比べて、本考案では、
JKFFは、通常2個がひとつのICにまとめられて
いるので(例えばLS109)、実質的に従来より
大幅にIC個数が削減されることになる。 (効果) 以上述べたように、本考案によれば、少ない
ICによつて従前の機能をもつた回路を実現でき
るので、そのコスト的、工程的効果はきわめて大
なるものがある。
Table 2 has the same input/output relationship as Table 1, and it can be seen that the present invention shown in FIG. 1 has the same function as the conventional example shown in FIG. Moreover, compared to the conventional example which requires DFF 1 and bus buffer 2 for each address, in the present invention,
Since two JKFFs are usually combined into one IC (for example, LS109), the number of ICs is substantially reduced compared to the conventional one. (Effect) As stated above, according to the present invention, the
Since ICs can realize circuits with conventional functions, their cost and process effects are extremely large.

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

第1図は本考案の具体的実施例、第2図は従来
例、第3図はチヤンネルデコーダの例である。 1,1′:Dフリツプフロツプ、2:バスバツ
フア、3:フオトカプラ、6:JKフリツプフロ
ツプ。
FIG. 1 shows a specific embodiment of the present invention, FIG. 2 shows a conventional example, and FIG. 3 shows an example of a channel decoder. 1, 1': D flip-flop, 2: bus buffer, 3: photocoupler, 6: JK flip-flop.

Claims (1)

【実用新案登録請求の範囲】[Scope of utility model registration request] CPUの信号を、フオトカプラを介して外部機
器に出力するアウトプツトポートにおいて、シン
ク電流がフオトカプラ作動電流より大きく、フロ
ーテイング機能を有するDフリツプフロツプをラ
ツチレジスタとして備え、このDフリツプフロツ
プにデータ信号を負論理で入力し、その出力をフ
オトカプラの発光ダイオードのカソード端子に入
力するとともに、リセツト状態でないときに書込
みタイミング信号が発生したときにこのDフリツ
プフロツプをデイスエーブルする信号を発生する
JKフリツプフロツプを備えたことを特徴とする
アウトプツトポート。
The output port that outputs the CPU signal to an external device via the photocoupler is equipped with a D flip-flop as a latch resistor whose sink current is larger than the photocoupler operating current and which has a floating function. and inputs its output to the cathode terminal of the light emitting diode of the photocoupler, and also generates a signal to disable this D flip-flop when a write timing signal is generated when it is not in the reset state.
An output port featuring a JK flip-flop.
JP19490984U 1984-12-21 1984-12-21 Expired JPH0237067Y2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP19490984U JPH0237067Y2 (en) 1984-12-21 1984-12-21

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP19490984U JPH0237067Y2 (en) 1984-12-21 1984-12-21

Publications (2)

Publication Number Publication Date
JPS61112457U JPS61112457U (en) 1986-07-16
JPH0237067Y2 true JPH0237067Y2 (en) 1990-10-08

Family

ID=30752387

Family Applications (1)

Application Number Title Priority Date Filing Date
JP19490984U Expired JPH0237067Y2 (en) 1984-12-21 1984-12-21

Country Status (1)

Country Link
JP (1) JPH0237067Y2 (en)

Also Published As

Publication number Publication date
JPS61112457U (en) 1986-07-16

Similar Documents

Publication Publication Date Title
JPS60112320A (en) Protecting system of tristate gate
JPH0527285B2 (en)
JPH084221B2 (en) Bus auxiliary circuit for data processing system
JPH0237067Y2 (en)
US5239214A (en) Output circuit and data transfer device employing the same
JPH0257377B2 (en)
JP2782946B2 (en) Semiconductor integrated circuit
JPH04123217A (en) Switching circuit for state of external terminal
JPS60116223A (en) Protection circuit of tri-state gate
JPS6248055A (en) Semiconductor integrated circuit
JPS6281118A (en) Input and output circuit
JPH02214328A (en) Output controller
JP2626165B2 (en) Reset circuit for semiconductor device
KR890006511Y1 (en) Control circuit of dmac's bus selection
JPH0431630Y2 (en)
JPS62107362A (en) System constitution use lsi
JPH033263A (en) Semiconductor integrated circuit
JPS5921126A (en) Input and output circuit
JPH01293418A (en) Semiconductor integrated circuit
JPH0254617A (en) Input/output buffer circuit
JPH10242832A (en) Semiconductor device and its bidirectional buffer
JPH05265949A (en) Integrated circuit device
JPH03265311A (en) Tri-state i/o buffer control circuit
JPS62266645A (en) Serial interface circuit
JPH0743892U (en) Output data control circuit