KR900006974B1 - Method of expanding the number of cpu interfaces - Google Patents
Method of expanding the number of cpu interfaces Download PDFInfo
- Publication number
- KR900006974B1 KR900006974B1 KR1019870012457A KR870012457A KR900006974B1 KR 900006974 B1 KR900006974 B1 KR 900006974B1 KR 1019870012457 A KR1019870012457 A KR 1019870012457A KR 870012457 A KR870012457 A KR 870012457A KR 900006974 B1 KR900006974 B1 KR 900006974B1
- Authority
- KR
- South Korea
- Prior art keywords
- address
- terminal
- communication
- port
- signal
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L25/00—Baseband systems
- H04L25/02—Details ; arrangements for supplying electrical power along data transmission lines
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Power Engineering (AREA)
- Computer And Data Communications (AREA)
Abstract
Description
제1도는 본 발명에 따른 회로도.1 is a circuit diagram according to the present invention.
* 도면의 주요부분에 대한 부호의 설명* Explanation of symbols for main parts of the drawings
SW1-SW3 : 제1-3커뮤니케이신 선택 스위치 N1-N3 : 인버터SW1-SW3: 1-3 Communication selector switch N1-N3: Inverter
NAl : 낸드게이트 μ-com : 마이크로 컴퓨터NAl: NANDGATE μ-com: Microcomputers
10 : 퍼스널 컴퓨터 병렬버스10: Personal computer parallel bus
본 발명은 퍼스널 컴퓨터와 퍼스널 컴퓨터간 및 주변기기간의 데이타 통신시 포트(port) 확장회로에 관한것으로서, 특히 간단한 회로변경에 의해 기존의 하드웨어적으로 고정된 사용 포트를 확장하여 퍼스널 컴퓨터와 통신시 사용 통신 포트의 선택의 폭을 넓힐 수 있는 통신 포트 확장회로에 관한 것이다BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to port expansion circuits for data communication between a personal computer and a personal computer and peripheral devices. In particular, the present invention relates to a communication using a personal computer by extending a conventional fixed port by using a simple circuit. It is about communication port expansion circuit which can widen choice of port
일반적으로 퍼스널 컴퓨터(이하 "PC"라 칭함)에서 커뮤니케이션 포트(COM port)는 PC가 다른 주변장치 및 통신장비와 정보를 주고 받을 수 있는 개별 포트로 그때 그때마다 소정 할당되어지도록 되어 있다. 종래 다이얼 업 모뎀(Dia1-up Modem)의 경우를 보면 PC와 통신시 포트 1 또는 포트 2만을 사용할 수 있도록 설계되어 있다. 그런데 모뎀이 점유하여 교신할 포트를 모뎀이 아닌 다른 주변 기기가 포트 1,2를 점유하고 있올시 모뎀이 교신을 못하게 된다. 상기한 바와 같이 이때 통신 포트의 선택폭이 좁아 원하는 어느기능의 하나를 포기해야 하는 문제점이 있었다.In general, a COM port in a personal computer (hereinafter, referred to as a "PC") is an individual port through which a PC can exchange information with other peripheral devices and communication equipment. In the case of a conventional dial-up modem, it is designed to use only port 1 or
따라서 본 발명의 목적은 사용할 수 있는 포트를 확장하여 PC와 모뎀간의 통신시 사용 통신 포트의 선택의 폭을 넓힐 수 있는 회로를 제공함에 있다.Accordingly, it is an object of the present invention to provide a circuit that can expand the available ports to widen the selection of communication ports used in communication between a PC and a modem.
본 발명의 또다른 목적은 포트 확장으로 다른 주변기기의 이용도를 높일 수 있는 회로를 제공함에 있다.이하 본 발명을 첨부된 도면올 참조하여 상세히 설명한다.Another object of the present invention is to provide a circuit that can increase the utilization of other peripherals by expanding the port. Hereinafter, the present invention will be described in detail with reference to the accompanying drawings.
제1도는 본 발명에 따른 회로도로서, 퍼스널 컴퓨터(도시하지 않았음) 즉, 병렬버스라인(10)의 버스라연(A11,A22-A31,B24-B25,D0-Dn)중 상기 A22-A31을 통해 퍼스널 컴퓨터의 어드레스 단(A0-A9)으로 어드레스신호가 발생하도록 연결하고, 상기 Al1에 어드레스 인에이블 신호단을 통해 인에이블 신호를 발생하도록 연결하며, DO-Dn에 마이크로 컴퓨터(μ-com)의 데이타 버스(D0-Dn)가 연결되고, B24-B25는 인터럽트 요구(Interrupt Reguest) 단(IRQ3, IRQ4)이 연결되고, 상기 A27를 통해 발생된 어드레스단 (A4)을 인버터(N3)에 입력하고, 상기 인버터(N3)로부터 제3커뮤니케이션 선택 스위치(SV氾)의 3,4접점만에 연결하고, 상기 어드레스 단(A4)의 반전하지 않은 신호단을 상기 제3커뮤니케이션 스위치(SW3)의 2.4접점단에 연결하고, 상기 어드레스 인에이블단을 인버터(N2)에 연결하고, 상기 A23를 통해 발생된 어드레스 만(A8)을 제2커뮤니케이션 선택 스위치(SW2)의 1.3접점단에 연결하며, 상기 어드레스단(A8)의 신호단을 인버터(Nl)를 통해 상기 제2커뮤니케이션 선택스위치(SW2)의 2.4접점단에 연결하고,상기 제2,3커뮤니케이션 선택스위치(SW2, SW3)의 출력단과 인버터(N2) 및 어드레스단(A3, A5-A7,A9)을낸드게이트(NAl)의 입력단에 연결하여 상기 낸드 게이트(NAl)의 출력만을 모뎀측 마이크로 컴퓨터(μ-com)의 칩실렉타단에 연결하고, 상기 어드레스단(A0-A2)기 상기 마이크로 컴퓨터(μ-com)의 어드레스만(A0-A2)의 출력에 의해 논리적으로 23(=8)의 순차 신호를 받도록 연결하며, 상기 마이크로 컴퓨터(μ-com)의 인터럽트단(INT)에 제1커뮤니케이션 선택 스위치(SW)를 연결한다.FIG. 1 is a circuit diagram according to the present invention, in which a personal computer (not shown), i.e., A22-A31 of the bus lines A11, A22-A31, B24-B25, and D0-Dn of the
상기 제1,2커뮤니케이션 선택스위치(SW1,SW2)는 서로 연동하게 구성되어 있으며, 제3커뮤니케이신 선택 스위치(SW3)도 상기 SW1,SW2와 같이 포트 선택에 관여하고 있다.The first and second communication selection switches SW1 and SW2 are configured to interoperate with each other, and the third communication selection switch SW3 is also involved in port selection like the SW1 and SW2.
그리고 상기 제1-3커뮤니케이션 선택스위치(SW1-SW3)는 사용자의 조작에 의해 선택할 수 있으며, 딥스위치등 어떤 형태의 스위치도 가능하다.The 1-3 communication selection switch SW1-SW3 may be selected by a user's operation, and any type of switch such as a dip switch may be used.
즉, 어드레스단(A4)의 어드레스신호를 인버터(N3)를 통하게나 직접 제3커뮤니케이션 선택스위치(SW3)를 통한 신호 및 어드레스단(A3,A5-A9)의 어드레스와, 상기 Al1를 통한 어드레스 인에이블신호단의 신호를 인버터(N2)에서 반전하여 낸드게이트(NAl)에서 상기 신호와 논리화에 의해 모뎀측 마이크로컴퓨터(μ-com)의 칩실렉터단를 제어하는데 필요한 신호를 발생하고, 상기 어드레스단(A2-A0)은 모뎀측 마이크로 컴퓨터(μ-com)의 내부 UART레지스터중 인터럽트 인에이블 레지스터(IER:Interrupt Enable Register)를 선택하는데 관여한다.That is, the address signal of the address terminal A4 is transmitted through the inverter N3 or directly through the third communication selection switch SW3 and the address of the address terminals A3 and A5-A9 and the address through the Al1. Able signal stage Chip selector stage of the modem-side microcomputer (μ-com) by inverting the signal at the inverter N2 and logicalizing the signal at the NAND gate NAl. Generates the signals necessary to control the signal, and the address stages A2-A0 are involved in selecting an interrupt enable register (IER) in the internal UART register of the modem-side microcomputer (μ-com).
따라서 본 발명의 구체적 일실시예를 제1도를 참조하여 상세히 설명하면, 퍼스널 컴퓨터(PC)의 입출력(I/O)포트를 사용할 수 있는 영역이 3F8H-2E8H로 설정되었을 경우 4개의 커뮤니케이션 모트(COM1-COM4) 유형으로 나눌 수 있다. 이를 테이블화 하면 하기 표 1과 같다.Therefore, a specific embodiment of the present invention will be described in detail with reference to FIG. 1. In the case where the input / output (I / O) port of the personal computer (PC) can be used as 3F8H-2E8H, four communication modules ( COM1-COM4) types. Table 1 is shown in Table 1 below.
[표 1]TABLE 1
따라서 어드레스단(A0-A9)의 출력 명령 데이타와 제1-3커뮤니케이션 선택 스위치(SW1-SVR3)의 선택에 따라 사용자의 포트를 선택하여 사용하도록 구성되어 있으며, 어드레스단(A0-A2)은 UART의 인터럽트 인에이블 레지스터에 논리신호를 주어 해당 커뮤니켸이션 포트를 할당되도록 되어 있다.Therefore, the user's port is selected and used according to the output command data of the address terminals A0-A9 and the selection of the 1-3 communication selection switch SW1-SVR3. The address terminals A0-A2 are UART. The logic enable signal is assigned to the interrupt enable register of the corresponding communication port.
예를 들어, 상기 표 1에서 제1커뮤니케이신 포트(COMl)를 선택할 경우 사용자는 연동되는 제1,2커뮤니케이션 선택스위치(SW1, SW2)를 접점(1.3)의 위치에 두고, 제3 커뮤니케이션 선택스위치(SW3)를 접점(2.4)의 위치에 둔다. 그리고 어드레스단(A0-A2)을 통해 모두 "하이"에서 모두 "로우"가 될때까지 8번 변화될때 어드레스단(A3-A9)이 모두 "하이"로 출력되면 되는데, 여기서 어드레스단(A0-A2)의 상태가 모두 "로우"일때 초기의 "3F8H"이 되고, 모드 "하이"일때 마지막 "3FFH"가 되어 상기 제1커뮤니케이션포트(COMl)의 3F8H에서 3FFH까지 입출력 포트가 할당되어 설정됨을 알 수 있다. 이때 모뎀의 마이크로컴퓨터(μ-com)은 인터럽트단(INT)을 통해 인터럽트 신호가 발생되어 제1커뮤니케이션 선택스위치(SW1)의 접점(1.3)을 통해 인터럽 요구단(IRQ4)으로 PC에 인터립트를 요구하여, 첫번째 포트인 3F8H-3FFH까지의 입출력 포트의 영역을 소정 기기가 선택되어 사용하도록 한다. 상기 제3커뮤니케이신 선택스위치(SW3)을 접점(2.4)에 그냥 둔채로 제1,2커뮤니케이션 선택스위치(SW1,SW2)를 조작하여 접점(2.4)위치로 옮기고, 어드레스단(A0-A2)으로 상기와 같은 모두 "로우"에서 "하이"가 될때까지 8번 변환된 신호가 출력하면 마이크로 컴퓨터(μ-com)의 내부 UART의 인터럽트 인에이블 레지스터에 논리신호를 주어 해당 커뮤니케이션 포트를 할당하도록 선택한다. 이때 어드레스단(A3-A9)을 통해 모두 "하이"를 인가하면 인버터(Nl)에 의해 "로우"가 되는 것 외에는 상기 제1커뮤니케이션 포트(COMl)와 변동이 없게되어입출력 포트 어드레스 값은 "2F8H"-2FFH까지 변환된다. 이때 상기 표 1의 제2커뮤니케이신 포트(COM2)와 일치되며, 상기 마이크로 컴퓨터(μ-com)에서 인터럽트단(INT)을 통하고 제1커뮤니케이션 선택스위치(SW1)의 접점(2.4)을 통해 PC로 인터립트요구단(IRQ3)을 통해 요구한다. 이로 인하여 PC 제2커뮤니케이션 포트(COM2)인 "2F8H"2FFH 입출력 포트를 통해 데이타 숭수신 할수 있도록 포트를 할당한다.For example, when the first communication port (COMl) is selected in Table 1, the user places the first and second communication selection switches SW1 and SW2 to be connected to the contact point 1.3 and selects the third communication. The switch SW3 is placed at the position of the contact point 2.4. In addition, when all eight times are changed from "high" to "low" through the address terminals A0-A2, the address terminals A3-A9 are all output as "high", where the address terminals A0-A2 ) Is the initial "3F8H" when the state of all the "low", and the last "3FFH" when the mode "high", it can be seen that the input and output ports from 3F8H to 3FFH of the first communication port (COMl) is assigned and set. have. At this time, the microcomputer (μ-com) of the modem generates an interrupt signal through the interrupt terminal (INT), and makes an interrupt to the PC to the interrupt request terminal (IRQ4) through the contact point 1.3 of the first communication selection switch SW1. In this case, a predetermined device is selected to use the area of the input / output port up to 3F8H-3FFH, which is the first port. With the third communication selector switch SW3 left at the contact point 2.4, the first and second communication selector switches SW1 and SW2 are operated to move to the contact point 2.4 position, and the address terminals A0-A2. When all the above 8 signals are output from "low" to "high", the logic port is given to the interrupt enable register of the internal UART of the microcomputer (μ-com) to select the corresponding communication port. do. At this time, if all of the "high" is applied through the address terminals A3-A9, there is no change with the first communication port COMl except that it is "low" by the inverter Nl, so that the input / output port address value is "2F8H." "The conversion is up to -2FFH. At this time, the second communication port (COM2) of the table 1, the microcomputer (μ-com) through the interrupt terminal (INT) and through the contact (2.4) of the first communication selection switch (SW1) The request is made to the PC through the Interrupt Request Group (IRQ3). As a result, the port is allocated for data communication through the "2F8H" 2FFH I / O port, which is the PC second communication port (COM2).
그리고 제1,2커뮤니케이션 선택스위치(SWl,SW2)을 연동하여 상기와 같이 접점(1.3)위치에 그냥 두고,제3커뮤니케이션 선택스위치(SW3)를 접점(3.4) 위치로 옮긴후 어드레스단(A0-A2)을 상기와 같이 8번 변환하는 신호를 순차적으로 출력하면 어드레스단(A3-A9)을 통해 상기와 같이 "하이"가 출력된다. 이때 버터(N3)에 의해 "로우"로 변화되는것 외에는 변확가 없으므로 어드레스단(A0-A2)이 모두 "로우"에서 "하이"로 될때까지 3E8H-3EFH가 변화는 값을 얻을수 있어 제3커뮤니케이션 포트(COM3)를 선택할 수있다. 제1커뮤니케이션 선택스위치(SW1)를 통해 PC로 인터럽트단(lNT) 통해 신호가 인터럽트 요구단(IRQ4)으로 입력한다. 그리고 제3커뮤니케이션 선택스위치(SW3)는 상기 제3커뮤니케이션 포트(COM3)를 선택할때와 같은 상태로 두고, 제1,2커뮤니케이션 선택스위치(SW1,SW2)를 접점(2.4)위치에 두면 인버터(N1,N2)에서 반전되어 어드레스 신호(A4,A8)단의 상태가 변환된다. 이때 어드레스단(A0-A2)이 8번 변화되면서 2E8H에서 2EFH까지 변화되면셔 제4커뮤니케이션 포트(COM4)로 입출력 어드레스 포트를 선택하도록 인터럽트 요구단(IRQ4)을 통해 인터럽터를 요구한다.Then, the first and second communication selector switches SWl and SW2 are interlocked, and are left in the contact point 1.3 as above, and the third communication selector switch SW3 is moved to the contact point 3.4 and then the address terminal A0-. When the signal for converting A2) 8 times as described above is sequentially output, "high" is output as described above through the address terminals A3-A9. At this time, there is no change except that it is changed to "low" by the butter (N3), so 3E8H-3EFH can get the value until all the address terminals A0-A2 go from "low" to "high". You can select (COM3). The signal is input to the interrupt request terminal IRQ4 through the interrupt terminal lNT to the PC through the first communication selection switch SW1. The third communication selection switch SW3 is left in the same state as when the third communication port COM3 is selected, and the first and second communication selection switches SW1 and SW2 are positioned at the contact point 2.4. Inverted at N2), the state of the address signals A4 and A8 ends. At this time, when the address stages A0-A2 are changed eight times, and changes from 2E8H to 2EFH, an interrupter is requested through the interrupt request stage IRQ4 to select an input / output address port as the fourth communication port COM4.
즉, 마이크로 컴퓨터(μ-com)의 출력된 인터럽트단(INT)의 신호가 제1-3커뮤니케이션 선택스위치(SW1-SW3)의 동작에 따라 PC로 인터럽트 요구단(IRQ3-IRQ4)의 출력에 의해 인터럽트를 요구하면 PC와 모뎀간의 통신할 포트를 선택한다. 상기 제1-3커뮤니케이션 선택스위치(SW1-SW3)와 포트 선택을 하기 표 2에 의해 간추려 볼 수 있다.That is, the signal of the interrupt terminal INT output from the microcomputer μ-com is output to the PC by the interrupt request terminal IRQ3-IRQ4 according to the operation of the 1-3 communication selection switches SW1-SW3. If an interrupt is requested, select a port to communicate between the PC and the modem. The selection of the 1-3 communication selection switch (SW1-SW3) and the port can be summarized by the following Table 2.
[표 2]TABLE 2
상술한 바와 같이 모뎀이나 주변기기의 사용 포트를 간단히 확장할 수 있으므로 PC와 주변기기의 데이터 송수신시 포트사용 선택폭을 넓힐 수 있는 이점이 있다.As described above, since the use port of a modem or peripheral device can be easily expanded, there is an advantage of widening the selection of port use when transmitting and receiving data between the PC and the peripheral device.
Claims (1)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1019870012457A KR900006974B1 (en) | 1987-11-05 | 1987-11-05 | Method of expanding the number of cpu interfaces |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1019870012457A KR900006974B1 (en) | 1987-11-05 | 1987-11-05 | Method of expanding the number of cpu interfaces |
Publications (2)
Publication Number | Publication Date |
---|---|
KR890009130A KR890009130A (en) | 1989-07-13 |
KR900006974B1 true KR900006974B1 (en) | 1990-09-25 |
Family
ID=19265815
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1019870012457A KR900006974B1 (en) | 1987-11-05 | 1987-11-05 | Method of expanding the number of cpu interfaces |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR900006974B1 (en) |
-
1987
- 1987-11-05 KR KR1019870012457A patent/KR900006974B1/en not_active IP Right Cessation
Also Published As
Publication number | Publication date |
---|---|
KR890009130A (en) | 1989-07-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CA1143071A (en) | Computer input/output arrangement | |
US5263172A (en) | Multiple speed synchronous bus having single clock path for providing first or second clock speed based upon speed indication signals | |
US5241661A (en) | DMA access arbitration device in which CPU can arbitrate on behalf of attachment having no arbiter | |
JPH04233059A (en) | Information processing apparatus | |
KR900006974B1 (en) | Method of expanding the number of cpu interfaces | |
US5043935A (en) | Data transfer system for rearranging data units using intermediate temporary registers | |
US6411236B1 (en) | Programmable priority encoder | |
US5918027A (en) | Data processor having bus controller | |
US4180855A (en) | Direct memory access expander unit for use with a microprocessor | |
JPH06236291A (en) | Peripheral apparatuses at inside and at outside and microcomputer capable of being operated in emulation mode | |
JPH04373002A (en) | Programmable controller | |
JPH074664Y2 (en) | Portable computer | |
KR100238313B1 (en) | Apparatus and method for interfacing between cpu and peripheral device | |
KR100206471B1 (en) | Apparatus for processing data communication channel of synchronous transmission system | |
SU857993A1 (en) | Device for control of computing complex | |
JP2575895B2 (en) | Control signal switching device for integrated circuits | |
KR930004423B1 (en) | Mode changer for korean character | |
KR200142909Y1 (en) | Input/output interface apparatus | |
EP0488036A1 (en) | Interrupt controller for expansion slots | |
KR930022207A (en) | Master / Slave Memory Sharing Device and Sharing Control Method | |
SU1037427A1 (en) | Multistable flip-flop | |
JPH05252039A (en) | Multi-channel d/a converter of 3-line serial data transfer system | |
JPS5922974B2 (en) | Information transfer method | |
RU1784103C (en) | Device for exchange of information | |
KR100202989B1 (en) | Apparatus for assigning operating system in full electronic switching system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A201 | Request for examination | ||
E902 | Notification of reason for refusal | ||
G160 | Decision to publish patent application | ||
E701 | Decision to grant or registration of patent right | ||
GRNT | Written decision to grant | ||
FPAY | Annual fee payment |
Payment date: 20020826 Year of fee payment: 13 |
|
LAPS | Lapse due to unpaid annual fee |