KR950000439Y1 - Auto-setting apparatus of serial communicational port - Google Patents

Auto-setting apparatus of serial communicational port Download PDF

Info

Publication number
KR950000439Y1
KR950000439Y1 KR92021807U KR920021807U KR950000439Y1 KR 950000439 Y1 KR950000439 Y1 KR 950000439Y1 KR 92021807 U KR92021807 U KR 92021807U KR 920021807 U KR920021807 U KR 920021807U KR 950000439 Y1 KR950000439 Y1 KR 950000439Y1
Authority
KR
South Korea
Prior art keywords
input
interrupt
output
serial communication
communication port
Prior art date
Application number
KR92021807U
Other languages
Korean (ko)
Other versions
KR940013334U (en
Inventor
변정건
Original Assignee
김영수
삼성전자 주식회사
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 김영수, 삼성전자 주식회사 filed Critical 김영수
Priority to KR92021807U priority Critical patent/KR950000439Y1/en
Publication of KR940013334U publication Critical patent/KR940013334U/en
Application granted granted Critical
Publication of KR950000439Y1 publication Critical patent/KR950000439Y1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/10Program control for peripheral devices
    • G06F13/102Program control for peripheral devices where the programme performs an interfacing function, e.g. device driver
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/14Handling requests for interconnection or transfer
    • G06F13/20Handling requests for interconnection or transfer for access to input/output bus
    • G06F13/24Handling requests for interconnection or transfer for access to input/output bus using interrupt
    • G06F13/26Handling requests for interconnection or transfer for access to input/output bus using interrupt with priority control
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/42Bus transfer protocol, e.g. handshake; Synchronisation
    • G06F13/4282Bus transfer protocol, e.g. handshake; Synchronisation on a serial bus, e.g. I2C bus, SPI bus

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Systems (AREA)
  • Computer And Data Communications (AREA)

Abstract

내용 없음.No content.

Description

직렬 통신포트의 자동 설정장치Automatic setting device of serial communication port

제1도는 이 고안의 실시예에 따른 직렬 통신포트의 자동 설정장치.1 is an automatic setting apparatus of a serial communication port according to an embodiment of the present invention.

* 도면의 주요부분에 대한 부호의 설명* Explanation of symbols for main parts of the drawings

10 : 제어부 20 : 구성 레지스터10: control unit 20: configuration register

40 : 입출력 인터페이스 50 : 인터럽트 절환부40: input / output interface 50: interrupt switching unit

이 고안은 직렬 통신포트의 자동 설정장치에 관한 것으로서, 더욱 상세하게 말하자면 하나의 입출력 인터페이스를 이용하여 직렬 통신포트가 제공되는 컴퓨터 시스템에 있어서 직렬 통신포트와 외부 통신장치가 충돌되지 않도록 자동으로 입출력 어드레스 및 인터럽트 우선순위를 설정하는 직렬 통신포트의 자동 설정장치에 관한 것이다.The present invention relates to an automatic setting device of a serial communication port. More specifically, in a computer system in which a serial communication port is provided using a single input / output interface, the input / output address is automatically set so that the serial communication port and the external communication device do not collide. And an automatic setting device of a serial communication port for setting interrupt priority.

일반적으로 개인용 컴퓨터(Personal Computer, PC)를 포함한 컴퓨터 시스템들은 외부 장치와의 통신을 위한 직렬 통신포트를 구비하고 있다.In general, computer systems including a personal computer (PC) have a serial communication port for communicating with an external device.

참고로, IBM(International Business Machine) PC호환기종(compatibles)에서 제공하는 직렬 통신포트의 입출력 어드레스와 인터럽트 신호의 우선순위는 아래의 [표-1]과 같다.For reference, the priority of I / O address and interrupt signal of the serial communication port provided by IBM (International Business Machine) PC compatible models is shown in [Table-1] below.

[표 1]TABLE 1

이와 같은 2개의 직렬 통신포트는, 컴퓨터 시스템을 보다 더 경제적으로 구성하기 위해서 하나의 입출력 인터페이스를 통해서 지원되도록 경우가 있다.These two serial communication ports are sometimes supported through a single input / output interface to make the computer system more economical.

상기한 경우에, 사용자가 직렬 통신포트를 올바르게 사용하기 위해서는, 입출력 어드레스를 통하여 직렬 통신포트가 제대로 지정이 되는 가를 확인한 뒤에 직렬 통신포트로부터 요구되는 인터럽트 신호의 우선순위가 제대로 지정되었는지를 확인하여야 한다.In this case, in order for the user to use the serial communication port correctly, it is necessary to confirm whether the serial communication port is properly designated through the input / output address, and then confirm that the priority of the interrupt signal required from the serial communication port is correctly specified. .

이와 같은 확인 작업은, 사용자가 컴퓨터의 제조회사에서 발생한 매뉴얼(mamual)을 직접 보면서 매뉴얼에서 지시하는 대로 일일이 점프(jumper)나 DIP(Dual In-line Package) 스위치 등을 조작함으로써 할수가 있다.Such verification can be done by the user directly viewing a manual generated by a computer manufacturer and operating a jumper or a dual in-line package (DIP) switch as instructed by the manual.

그러나 상기한 종래의 직렬 통신포트는 사용자가 컴퓨터의 기능에 대해서 숙지하고 있어야 한다는 불편한 점이 있다. 즉, 사용자가 직렬통신포트의 지정을 잘못했을 경우에 직렬 통신포트가 동작하지 않으며, 또한 사용자가 직렬 통신포트와 동일한 입출력 변지를 사용하는 모뎀과 같은 외부 통신장치를 사용할 경우에 직렬 통신포트를 디스에이블시키지 않으면 직렬 통신포트와 외부 통신장치가 모두 동작하지 않으며 심한 경우에는 직렬 통신포트나 외부 통신장치가 전기적으로 손상을 입을 수 있는 단점이 있다.However, the conventional serial communication port is inconvenient for the user to be familiar with the functions of the computer. In other words, serial communication port does not work when user designates wrong serial communication port and serial communication port is disconnected when user uses external communication device such as modem using same input / output change as serial communication port. If not enabled, both the serial communication port and the external communication device do not operate, and in severe cases, the serial communication port or the external communication device may be electrically damaged.

따라서 이 고안의 목적은 상기한 종래의 단점을 해결하기 위한 것으로서, 하나의 입출력 인터페이스를 이용하여 직렬 통신포트가 제공되는 컴퓨터 시스템에 있어서 외부 통신장치가 사용되는 경우에 직렬 통신포트와 외부 통신장치가 충돌되지 않도록 자동으로 입출력 어드레스 및 인터럽트의 우선순위를 배정하여 설정하는 직렬 통신포트의 자동 설정장치를 제공하는데 있다.Accordingly, an object of the present invention is to solve the above-mentioned disadvantages, and when the external communication device is used in a computer system in which a serial communication port is provided using one input / output interface, the serial communication port and the external communication device are used. It is to provide an automatic setting device of a serial communication port that automatically assigns and sets an input / output address and an interrupt priority so as not to conflict.

상기한 목적을 달성하기 위한 이 고안의 구성은, 중앙처리장치에 의해 직렬 통신포트 설정에 관한 정보신호가 저장되어 있는 구성 레지스터의 값에따라 버퍼와 입출력 인터페이스를 인에이블시키거나 디스에이블시키는 제어부와; 제어부에 의해 자신이 번지가 지정될 경우에 중앙처리장치로부터 출력된 직렬 통신포트 설정에 관한 정보신호를 저장하는 구성 레지스터와; 제어부의 칩선택 신호에 따라 시스템 버스와 입출력 인터페이스간의 데이터 신호를 전송하는데 데이터 버퍼와; 제어부의 칩선택 신호에 따라 인에이블되어 데어터 신호를 송수신하는 입출력 인터페이스와; 제어부의 인터럽트 선택 신호에 따라 입출력 인터페이스의 인터럽트 요구신호의 우선순위를 절환하는 인터럽트 절환부로 이루어진다. 상기한 구성에 의한 이 고안을 용이하게 실시하기 위한 바람직한 실시예를 첨부된 도면을 참조로 하여 상세히 설명한다.In order to achieve the above object, a configuration of the present invention includes a control unit for enabling or disabling a buffer and an input / output interface according to a value of a configuration register in which an information signal for serial communication port setting is stored by a central processing unit; ; A configuration register for storing information signals relating to serial communication port settings output from the central processing unit when the address is designated by the control unit; A data buffer for transmitting a data signal between the system bus and the input / output interface according to the chip selection signal of the controller; An input / output interface that is enabled according to a chip select signal of the controller and transmits and receives a data signal; The interrupt switching unit switches the priority of the interrupt request signal of the input / output interface according to the interrupt selection signal of the control unit. With reference to the accompanying drawings, a preferred embodiment for easily carrying out this invention by the above-described configuration will be described in detail.

도면은 이 고안의 실시예에 따른 직렬 통신포트의 자동 설정장치이다.Figure is an automatic setting device for a serial communication port according to an embodiment of the present invention.

도면에 도시되어 있듯이 이 고안의 실시예에 따른 직렬 통신포트의 자동 설정장치의 구성은, 시스템의 어드레스 버스(ADDR)에 어드레스 신호 입력단자(A0~A9)가 연결되어 있고 시스템의 제어 버스(CONT)에 어드레스 인에이블 신호 입력단자(AEN) 및 입출력 쓰기신호 입력단자(IOW)가 연결되어 있는 제어부(10)와, 제어부(10)의 레지스터 인에이블 신호 출력단자(/CONEN)와 시스템의 데이터 버스(DATA)에 입력단이 연결되어 있고 출력단이 제어부(10)의 입력단자(Q0, Q1)에 연결되어 있는 구성 레지스터(20)와, 시스템의 데이터 버스(DATA)에 입력단자가 연결되어 있고 제어부(10)의 칩선택신호 출력단자(/CSBUF)에 게이트 단자(G)가 연결되어 있는 데이터 버퍼(30)와, 데이터 버퍼(30)의 출력단자에 입력단자가 연결되어 있고 제어부(10)의 칩선택신호 출력단자 /(CSBUF)에 칩선택 입력단자(CS)가 연결되어 있는 입출력 인터페이스(40)와, 입출력 인터페이스(40)의 인터럽트 요구신호 출력단자(IRQ)와 제어부(10)의 인터럽트 선택신호 출력단자(/INT34)에 입력단이 연결된 인터럽트 절환부(50)로 이루어진다.As shown in the figure, in the configuration of the automatic setting device of the serial communication port according to the embodiment of the present invention, the address signal input terminals A0 to A9 are connected to the address bus ADDR of the system and the control bus CONT of the system. ) Is a control unit 10 to which an address enable signal input terminal AEN and an input / output write signal input terminal IOW are connected, and a register enable signal output terminal (/ CON) of the control unit 10. An input terminal is connected to EN) and the data bus DATA of the system, and an output terminal is inputted to the configuration register 20 connected to the input terminals Q0 and Q1 of the controller 10, and to the data bus DATA of the system. Terminal is connected and chip select signal output terminal (/ CS) of control unit 10 A data buffer 30 having a gate terminal G connected to the BUF, and an input terminal connected to an output terminal of the data buffer 30, and the chip select signal output terminal / (CS of the control unit 10). The input / output interface 40 having the chip select input terminal CS connected to the BUF, the interrupt request signal output terminal IRQ of the input / output interface 40, and the interrupt selection signal output terminal (/ INT3) of the controller 10; It consists of an interrupt switch section 50 connected to the input terminal 4).

이 고안의 실시예에서는 상기한 입출력 인터페이스(40)로서 인탤(Intel)사의 8250 칩(Asynchronous Communication Element, ACE)을 사용하고 있으나 이 고안의 기술적 범위는 여기에 한정되지 않는다.In the embodiment of the present invention, although the 8250 chip (Asynchronous Communication Element, ACE) of Intel Inc. is used as the input / output interface 40, the technical scope of the present invention is not limited thereto.

상기한 제어부(10)의 구성은, 다음과 같은 논리식을 가진 PAL(Programmable Array Logic)로 이루어진다.The configuration of the control unit 10 includes a PAL (Programmable Array Logic) having the following logical expression.

/CONEN=/AEN * A9 * /A8 * /A7 * A6 * /A5 * A4 * /A3 * /IOW /INT34=/Q1 * Q0/ CON EN = / AEN * A9 * / A8 * / A7 * A6 * / A5 * A4 * / A3 * / IOW / INT3 4 = / Q1 * Q0

/CSBUF=/AEN * A9 * A8 * A7 * A6 * A5 * A4 * A3 * /Q1 * Q0 + /AEN * A9 * /A8* A7 * A6 * A5 * A4 * A3 * /Q1 * /Q0/ CS BUF = / AEN * A9 * A8 * A7 * A6 * A5 * A4 * A3 * / Q1 * Q0 + / AEN * A9 * / A8 * A7 * A6 * A5 * A4 * A3 * / Q1 * / Q0

또한 상기한 구성 레지스터(20)의 구성은, 시스템의 리세트 신호선(RESET)의 입력단자가 연결된 인버터(I21)와, 인버터(I21)의 출력단자에 클리어 단자(CLR)가 각각 연결되고 시스템의 데이터 버스(DATA)의 하위비트 신호선(D0, D1)에 입력단자(D)가 각각 연결되고 제어부(10)의 레지스터 인에이블 신호 출력단자(/CON EN)에 클럭단자가 각각 연결되고 제어부(10)의 입력단자(Q0, Q1)에 출력단자(Q)가 각각 연결되어 있는 D형 플립플롭(21, 22)으로 이루어진다.In addition, the configuration of the configuration register 20, the inverter (I21) connected to the input terminal of the reset signal line (RESET) of the system, and the clear terminal (CLR) is connected to the output terminal of the inverter (I21), respectively, Input terminals D are respectively connected to the lower bit signal lines D0 and D1 of the data bus DATA, clock terminals are respectively connected to the register enable signal output terminal / CON EN of the controller 10, and the controller 10 D-type flip-flops 21 and 22 having output terminals Q connected to the input terminals Q0 and Q1, respectively.

이 고안의 실시예에서는 상기한 D형 플립플롭(21, 22)으로서, 74LS74 칩(Dual D-Type Positive-Edge-Triggered Flips-Flops with Preset and Clear)을 사용하고 있으나 이 고안의 기술적 범위는 여기에 한정되지 않고, 네가티브 에지 트리거(negative edge triggered)형 플립플롭을 사용할 수도 있다.In the embodiment of the present invention, as the above-described D-type flip-flops 21 and 22, a 74LS74 chip (Dual D-Type Positive-Edge-Triggered Flips-Flops with Preset and Clear) is used. Not limited to this, a negative edge triggered flip-flop may be used.

그리고 상기한 인터럽트 절환부(50)의 구성은, 제어부(10)의 인터럽트 선택신호 출력단자(/INT34)에 입력단자가 연결된 인버터(I51)와, 제어부(10)의 인터럽트 선택신호 출력단자(/INT34)에 게이트 단자가 연결되고 입출력 인터페이스(40)의 인터럽트 요구신호 출력단자(IRQ)에 입력단자가 연결된 버퍼 게이트(G51)와, 인버터(I51)의 출력단자에 게이트 단자가 연결되고 입출력 인터페이스(40)의 인터럽트 요구신호 출력단자(IRQ)에 입력단자가 연결된 버퍼 게이트(G52)로 이루어진다.In addition, the configuration of the interrupt switching unit 50 described above includes the interrupt selection signal output terminal (/ INT3) of the control unit 10. Inverter I51 to which input terminal 4 is connected, and interrupt selection signal output terminal (/ INT3) of control unit 10; 4) the gate terminal is connected to the gate terminal connected to the output terminal of the buffer gate (G51) and the input terminal of the interrupt request signal output terminal (IRQ) of the input and output interface (IRQ) of the input and output interface (40), A buffer gate G52 having an input terminal coupled to the interrupt request signal output terminal IRQ of FIG.

상기한 구성에 의한 이 고안의 실시예에 따른 직렬 통신포트의 자동 설정장치의 작용은 다음과 같다.The operation of the automatic setting device of the serial communication port according to the embodiment of the present invention by the above configuration is as follows.

전원이 인가되면 이 고안의 실시예에 따른 직렬 통신포트의 자동 설정장치가 동작한다.When the power is applied, the automatic setting device of the serial communication port according to the embodiment of the present invention operates.

직렬 통신포트의 자동 설정장치가 동작된 후에, 동작 초기에 시스템 버스로부터 리세트 신호(RESET)가 구성 레지스터(20)로 출력되면, 상기한 리세트 신호(RESET)는 구성 레지스터(20)의 인버터(I21)에 의해 반전된 뒤에 D형 플립플롭(21, 22)의 클리어 단자(CL)로 입력된다. 따라서 구성 레지스터(21)의 D형 플립플롭(21, 22)이 클리어됨으로써 구성 레지스터(20)는 초기에 OH 값을 갖는다.After the automatic setting device of the serial communication port is operated, if the reset signal RESET is output from the system bus to the configuration register 20 at the beginning of operation, the reset signal RESET is an inverter of the configuration register 20. After being inverted by (I21), it is input to the clear terminal CL of the D flip-flops 21 and 22. Therefore, the D-type flip-flops 21 and 22 of the configuration register 21 are cleared so that the configuration register 20 initially has an OH value.

구성 레지스터(20)로부터 OH 값을 가진 신호가 제어부(10)의 입력단자(Q0, Q1)로 입력되면 제어부(10)는, 로우상태의 레지스터 인에이블 신호(/CONEN)를 구성 레지스터(20)로 출력하고, 로우상태의 인터럽트 선택신호(/INT34)를 인터럽트 절환부(50)로 출력하고, 로우상태의 칩선태 신호(/CSBUF)를 버퍼(30)와 입출력 인터페이스(40)로 출력한다. 따라서 구성 레지스터(20)와 버퍼(30)와 입출력 인터페이스(40)의 동작이 디스에이블된다.When a signal having an OH value is input from the configuration register 20 to the input terminals Q0 and Q1 of the control unit 10, the control unit 10 generates a low register enable signal (/ CON). EN) to the configuration register 20, and the interrupt selection signal (/ INT3) in the low state. 4) is output to the interrupt switcher 50, and the chip selection signal (/ CS in the low state) is output. BUF) is output to the buffer 30 and the input / output interface 40. Therefore, operations of the configuration register 20, the buffer 30, and the input / output interface 40 are disabled.

중앙처리장치(도시되지 않음)는 초기 부팅(booting)시에 바이오스(Basic Input Output System, BIOS)프로그램을 수행함으로써 제1직렬 통신포트를 모뎀과 같은 외부의 통신장치가 점유하고 있는지를 점검한다.The central processing unit (not shown) executes a Basic Input Output System (BIOS) program at initial booting to check whether an external communication device such as a modem occupies the first serial communication port.

제1직렬 통신포트가 외부의 통신장치에 의해 점유되지 않지 않은 경우에 중앙처리장치는, 시스템 데이터 버스(DATA)를 통하여 1H 값을 출력한 뒤에 시스템 어드레스 버스(ADDR)를 통하여 2D0H~2D7H 값을 출력함으로써 제어부(10)에 의해 구성 레지스터(20)에 1H 값이 저장되도록 한다.When the first serial communication port is not occupied by an external communication device, the central processing unit outputs a value of 1H through the system data bus DATA, and then outputs a value of 2D0H to 2D7H through the system address bus ADDR. The output causes the control unit 10 to store the 1H value in the configuration register 20.

구성 레지스터(20)의 출력 1H일 경우에, 시스템의 어드레스 버스(ADDR)를 통해서 3F8H~3FFH 번지가 지정이 되면 제어부(10)로부터 하이상태의 칩선택 신호(/CSBUF)가 출력됨으로써 버퍼(30)와 입출력 인터페이스(40)가 인에이블된다. 또한 구성 레지스터(20)의 출력이 1H일 경우에, 제어부(10)로부터 하이상태의 인터럽트 선택신호(/INT34)가 출력됨으로써 인터럽트 절환부(50)의 버퍼 게이트(G52)가 턴온되어 제4인터럽트 신호선(INT 4)이 입출력 인터페이스(40)의 인터럽트 요구신호 출력단자(IRQ)와 연결된다.When the output of the configuration register 20 is 1H, when the 3F8H to 3FFH address is designated through the address bus ADDR of the system, the chip select signal (/ CS in the high state from the control unit 10 is set. By outputting the BUF, the buffer 30 and the input / output interface 40 are enabled. In addition, when the output of the configuration register 20 is 1H, the interrupt selection signal (/ INT3) in the high state is transmitted from the control unit 10. 4) is outputted, the buffer gate G52 of the interrupt switching unit 50 is turned on, and the fourth interrupt signal line INT 4 is connected to the interrupt request signal output terminal IRQ of the input / output interface 40.

따라서 입출력 인터페이스(40)가 제1직렬 통신포트로 지정이 된다.Therefore, the input / output interface 40 is designated as the first serial communication port.

그러나 제1직렬 통신포트가 외부의 통신장치에 의해 점유되어 있는 경우에, 중앙처리장치는 계속해서 제2직렬 통신포트가 외부의 통신장치에 의해서 점유되어 있는지를 점검한다.However, when the first serial communication port is occupied by an external communication device, the central processing unit continuously checks whether the second serial communication port is occupied by an external communication device.

제2직렬 통신포트가 외부의 통신장치에 의해 점유되어 있지 않은 경우에 중앙처리장치는 , 시스템 데이터 버스(DATA)를 통하여 2H 값을 출력한 뒤에 시스템 어드레스 버스(ADDR)를 통하여 2D0H~2D7H 값을 출력함으로써 제어부(10)에 의해 구성 레지스터(20)에 2H 값이 저장되도록 한다.When the second serial communication port is not occupied by an external communication device, the CPU outputs a value of 2H through the system data bus DATA, and then outputs a value of 2D0H to 2D7H through the system address bus ADDR. The output causes the control unit 10 to store the 2H value in the configuration register 20.

구성 레지스터(20)의 출력이 2H 일 경우에, 시스템의 어드레스 버스(ADDR)를 통해서 2F8H~2FFH 번지가 지정이 되면 제어부(10)로부터 하이상태의 칩선택 신호(/CSBUF)가 출력됨으로써 버퍼(30)와 입출력 인터페이스(40)가 인에이블된다. 또한 구성 레지스터(20)의 출력이 2H일 경우, 제어부(10)로부터 로우상태의 인터럽트 선택신호(/INT34)가 출력됨으로써 인터럽트 절환부(50)의 버퍼 게이트(G51)가 턴온되어 제3인터럽트 신호선(INT 3)이 입출력 인터페이스(40)의 인터럽트 요구신호 출력단자(IRQ)와 연결된다.When the output of the configuration register 20 is 2H, when the 2F8H to 2FFH address is designated through the address bus ADDR of the system, the high-chip chip select signal (/ CS) is received from the controller 10. By outputting the BUF, the buffer 30 and the input / output interface 40 are enabled. In addition, when the output of the configuration register 20 is 2H, the interrupt selection signal (/ INT3 in the low state from the control unit 10 is performed. 4) is output, the buffer gate G51 of the interrupt switching unit 50 is turned on so that the third interrupt signal line INT 3 is connected to the interrupt request signal output terminal IRQ of the input / output interface 40.

따라서 입출력 인터페이스(40)가 제2직렬 통신포트로 지정이 된다.Therefore, the input / output interface 40 is designated as the second serial communication port.

그러나 제1직렬 통신포트와 제2직렬 통신포트가 모두 외부의 장치에 의해 점유되어 있는 경우에 중앙처리장치는, 시스템 데이터 버스(DATA)를 통하여 0H 또는 3H 값을 출력한 뒤에 시스템 어드레스 버스(ADDR)를 통하여 2D0H~2D7H 값을 출력함으로써 제어부(10)에 의해 구성 레지지스터(20)에 0H 또는 3H, 값이 지정되도록 한다.However, when both the first serial communication port and the second serial communication port are occupied by an external device, the central processing unit outputs a 0H or 3H value through the system data bus DATA, and then the system address bus ADDR. By outputting a value of 2D0H to 2D7H through), the control unit 10 allows 0H or 3H, a value, to be assigned to the configuration register 20.

구성 레지스터(20)로부터 0H는 3H값을 가진 신호가 제어부(10)의 입력단자(Q0, Q1)로 입력되면 제어부(10)는 , 로우상태의 레지스터 인에이블 신호(/CONEN)를 구성 레지스터(20)로 출력하고, 로우상태의 인터럽트 선택신호(/INT34)를 인터럽트 절환부(50)로 출력하고, 로우상태의 칩선택 신호(/CSBUF)를 버퍼(30)와 입출력력 인터페이스(40)로 출력한다. 따라서 구성 레지스터(20)와 버퍼(30)와 입출력 인터페이스(40)의 동작이 디스에이블된다.When a signal having a value of 3H from the configuration register 20 is input to the input terminals Q0 and Q1 of the control unit 10, the control unit 10 generates a low state register enable signal (/ CON). EN) to the configuration register 20, and the interrupt selection signal (/ INT3) in the low state. 4) is output to the interrupt switch section 50, and the chip select signal (/ CS in the low state) is output. BUF) is output to the buffer 30 and the input / output force interface 40. Therefore, operations of the configuration register 20, the buffer 30, and the input / output interface 40 are disabled.

이상에서와 같이 이 안에 실시예에서, 하나의 입출력 인터페이스를 이용하여 직렬 통신포트가 제공되는 컴퓨터 시스템에 있어서 외부 통신장치가 사용되는 경우에 직렬 통신포트와 외부 통신장치가 충돌되지 않도록 자동으로 입출력 어드레스 및 인터럽트의 우선순위를 배정하여 설정함으로써 사용자가 컴퓨터에 관한 지식이 많지 않더라도 손쉽게 직렬 통신포트와 외부 통신장치를 사용할 수 있는 효과를 가진 직렬 통신포트의 자동 설정장치를 제공할 수가 있다. 이 고안의 이러한 효과는 컴퓨터의 직렬 통신포트 분야에서 이용될 수 있다.As described above, in the embodiment therein, when an external communication device is used in a computer system in which a serial communication port is provided by using one input / output interface, the input / output address is automatically avoided so that the serial communication port and the external communication device do not collide. And by assigning and setting the priority of the interrupt, it is possible to provide an automatic setting device of the serial communication port having the effect that the user can easily use the serial communication port and an external communication device even if the user does not have much computer knowledge. This effect of the invention can be used in the field of serial communication port of a computer.

Claims (3)

중앙처리장치에 의해 직렬 통신포트 설정에 관한 정보신호가 저장되어 있는 구성 레지스터의 값에 따라 버퍼와 입출력 인터페이스를 인에이블시키거나 디스에이블시키는 제어부(10)와; 제어부(10)에 의해 자신의 번지가 지정될 경우에 중앙처리장치로부터 출력된 직렬 통신포트 설정에 관한 정보신호를 저장하는 구성 레지스터(20)와; 제어부(20)의 칩선택 신호에 의해 인에이블되어 시스템 버스와 입출력 인터페이스간의 데이터 신호를 전송하는 데이터 버퍼(30)와; 제어부(10)의 칩선택 신호에 의해 인에이블되어 데이터 신호를 송수신하는 입출력 인터페이스(40)와; 제어부(10)의 인터럽트 선택 신호에 따라 입추력 인터페이스(40)의 인터럽트 요구신호의 우선순위를 절환하는 인터럽트 절환부(50)로 이루어지는 것을 특징으로 하는 직렬 통신포트의 자동설정장치.A control unit (10) for enabling or disabling a buffer and an input / output interface in accordance with a value of a configuration register in which an information signal for serial communication port setting is stored by a central processing unit; A configuration register 20 for storing information signals relating to serial communication port settings output from the central processing unit when its address is designated by the control unit 10; A data buffer 30 which is enabled by the chip select signal of the controller 20 and transmits a data signal between the system bus and the input / output interface; An input / output interface 40 which is enabled by the chip select signal of the controller 10 and transmits and receives a data signal; And an interrupt switching unit (50) for switching the priority of the interrupt request signal of the input thrust interface (40) according to the interrupt selection signal of the control unit (10). 제1항에 있어서, 상기한 인터럽트 절환부(50)는 제어부(10)의 인터럽트 선택신호선(/INT34)에 입력단자가 연결된 인버터(I51)와; 제어부(10)의 인터럽트 선택신호선(/INT34)에 게이트 단자가 연결되고 입출력 인터페이스(40)의 인터럽트 요구신호선(IRQ)에 입력단자가 연결된 버퍼 게이트(G51)와; 인버터(I51)의 출력단자에 게이트 단자가 연결되고 입출력 인터페이스(40)의 인터럽트 요구신호선(IRQ)에 입력단자가 연결된 버퍼 게이트(G52)로 이루어지는 것을 특징으로 하는 직렬 통신포트의 자동 설정장치.2. The interrupt selection unit 50 according to claim 1, wherein the interrupt switching unit 50 includes the interrupt selection signal line (/ INT3) of the control unit 10. An inverter I51 connected to an input terminal at 4); Interrupt selection signal line (/ INT3) of the controller 10 A buffer gate G51 connected to a gate terminal 4 and an input terminal connected to the interrupt request signal line IRQ of the input / output interface 40; And a buffer gate (G52) connected to an output terminal of the inverter (I51) and having an input terminal connected to the interrupt request signal line (IRQ) of the input / output interface (40). 제1항에 있어서, 상기한 구성 레지스터(20)는 시스템 버스의 리세트 신호선(RESET)에 입력단자가 연결된 인버터(I21)와; 인버터(I21)의 출력에 클리어 단자가 각각 연결되고 시스템의 데이터 버스(DATA)의 2개의 비트 신호선에 입력단자(D)가 각각 연결되고 제어부(10)의 레지스터 인에이블 신호선(/CONEN)에 클럭단자가 각각 연결되고 제어부(10)의 입력단자에 출력단자(Q)가 각각 연결되어 있는 D형 플립플롭(21, 22)으로 이루어지는 것을 특징으로 하는 직렬 통신포트의 자동 설정장치.2. The inverter according to claim 1, wherein the configuration register (20) comprises: an inverter (I21) having an input terminal connected to a reset signal line (RESET) of a system bus; The clear terminals are respectively connected to the output of the inverter I21, the input terminals D are connected to the two bit signal lines of the data bus DATA of the system, respectively, and the register enable signal lines (/ CON) of the controller 10 are connected. Automatic setting device of the serial communication port, characterized in that consisting of the D-type flip-flop (21, 22) having a clock terminal connected to each EN) and an output terminal (Q) connected to the input terminal of the control unit 10, respectively.
KR92021807U 1992-11-06 1992-11-06 Auto-setting apparatus of serial communicational port KR950000439Y1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR92021807U KR950000439Y1 (en) 1992-11-06 1992-11-06 Auto-setting apparatus of serial communicational port

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR92021807U KR950000439Y1 (en) 1992-11-06 1992-11-06 Auto-setting apparatus of serial communicational port

Publications (2)

Publication Number Publication Date
KR940013334U KR940013334U (en) 1994-06-25
KR950000439Y1 true KR950000439Y1 (en) 1995-01-27

Family

ID=19343477

Family Applications (1)

Application Number Title Priority Date Filing Date
KR92021807U KR950000439Y1 (en) 1992-11-06 1992-11-06 Auto-setting apparatus of serial communicational port

Country Status (1)

Country Link
KR (1) KR950000439Y1 (en)

Also Published As

Publication number Publication date
KR940013334U (en) 1994-06-25

Similar Documents

Publication Publication Date Title
US5544326A (en) Interface and control circuit for regulating data flow in a SCSI initiator with multiple host bus interface selection
US4271466A (en) Direct memory access control system with byte/word control of data bus
KR970004523B1 (en) Personal computer system
US5878272A (en) Computer system having two DMA circuits assigned to the same address space
EP1011050B1 (en) A method and system for providing hot plug of adapter cards in an expanded slot environment
US5301276A (en) Method and device for assigning I/O address in data processing apparatus
EP0234598A2 (en) Interface circuit for subsystem controller
KR960016420B1 (en) Bus adapter system
JPS6137663B2 (en)
US5109494A (en) Passive processor communications interface
EP0283581B1 (en) Computer system with mode conversion of computer commands
KR100403404B1 (en) Bidirectional parallel signal interface
US5778242A (en) Software interrupt generator for computer bus interface
US5636348A (en) Control system for a multiple mode standard parallel port for a personal computer
KR950000439Y1 (en) Auto-setting apparatus of serial communicational port
US6052746A (en) Integrated circuit having programmable pull device configured to enable/disable first function in favor of second function according to predetermined scheme before/after reset
US5218683A (en) Method and apparatus for concealing the enablement of a device by modifying a status word
US20030009614A1 (en) Method for selecting an expansion device in a computer unit, a circuit board, and a computer
KR970002412B1 (en) Communication coprocessor board capable of using dma
KR0157843B1 (en) Ide i/o port converting interface
KR950008662B1 (en) Interrupt request selection circuit
KR100467408B1 (en) high speed interrupt unit for PLC
KR19990030145U (en) Integrated PIU BOARD of System Main Board
KR950007107B1 (en) Computer w/additional microprocessor
CA1234220A (en) Bus translator

Legal Events

Date Code Title Description
A201 Request for examination
E701 Decision to grant or registration of patent right
REGI Registration of establishment
FPAY Annual fee payment

Payment date: 20021230

Year of fee payment: 9

LAPS Lapse due to unpaid annual fee