KR100218364B1 - Data line sharing circuit - Google Patents

Data line sharing circuit Download PDF

Info

Publication number
KR100218364B1
KR100218364B1 KR1019970011424A KR19970011424A KR100218364B1 KR 100218364 B1 KR100218364 B1 KR 100218364B1 KR 1019970011424 A KR1019970011424 A KR 1019970011424A KR 19970011424 A KR19970011424 A KR 19970011424A KR 100218364 B1 KR100218364 B1 KR 100218364B1
Authority
KR
South Korea
Prior art keywords
data
input
control signal
transceiver
output
Prior art date
Application number
KR1019970011424A
Other languages
Korean (ko)
Other versions
KR19980075253A (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 KR1019970011424A priority Critical patent/KR100218364B1/en
Publication of KR19980075253A publication Critical patent/KR19980075253A/en
Application granted granted Critical
Publication of KR100218364B1 publication Critical patent/KR100218364B1/en

Links

Images

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/14Handling requests for interconnection or transfer
    • G06F13/36Handling requests for interconnection or transfer for access to common bus or bus system
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Communication Control (AREA)
  • Small-Scale Networks (AREA)

Abstract

본 발명은 데이터 라인 공유 회로에 관한 것으로 특히, 비동기 직렬 데이터 통신과 적외선 통신을 위한 데이터 라인을 공유하도록 회로를 구성하고 제어 신호에 따라 하나의 통신방식을 결정하도록 함으로써 소자의 핀수를 감소시킬 수 있도록 창안한 것이다. 이러한 본 발명은 비동기 직렬 데이터 통신의 경우 제1제어 신호(SEN)에 의해 인에이블되어 비동기 송수신기(210)와 RS-232C 라인 드라이버(220)간의 데이터 송수신을 수행하는 제 1데이터 입출력부(250)와, 적외선 통신의 경우 제 2제어 신호(IREN)에 의해 인에이블되어 IR 부호화기/복호화기(240)와 IR 송수신기(230)간의 데이터 송수신을 수행하는 제2데이터 입출력부(260)와, 비트(bit1)(bit2)를 입력으로 비동기 직렬 데이터 통신 또는 적외선 통신의 여부를 판별함에 의해 상기 제1, 제2데이터 입출력부(20)(260)에 제1, 제2 제어 신호(SEN)(IREN)를 출력하는 입출력 제어부(270)으로 구성한다.The present invention relates to a data line sharing circuit, and more particularly, to reduce the number of pins of a device by configuring a circuit to share data lines for asynchronous serial data communication and infrared communication and determining one communication method according to a control signal. It was created. The present invention is enabled by the first control signal (SEN) in the case of asynchronous serial data communication, the first data input / output unit 250 for transmitting and receiving data between the asynchronous transceiver 210 and the RS-232C line driver 220 In the case of infrared communication, the second data input / output unit 260 which is enabled by the second control signal IREN and performs data transmission / reception between the IR encoder / decoder 240 and the IR transceiver 230, and a bit ( First and second control signals SEN (IREN) are transmitted to the first and second data input / output units 20 and 260 by determining whether asynchronous serial data communication or infrared communication is performed using bit1) (bit2). It consists of an input and output control unit 270 for outputting.

Description

데이터 라인 공유 회로Data line sharing circuit

본 발명은 데이터 라인 접속에 관한 것으로 특히, 서로 다른 통신 방식을 위한 소자간의 데이터 라인을 공유하도록 한 데이터 라인 공유회로에 관한 것이다.BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to data line connections, and more particularly, to a data line sharing circuit for sharing data lines between devices for different communication schemes.

현재까지는 IR 통신과 비동기 직렬 통신을 하나의 회로에서 수행하는 경우 각각의 데이터 라인을 사용하였다.Up to now, each data line has been used for IR communication and asynchronous serial communication in one circuit.

즉, 비동기 송수신기에는 입출력 데이터 라인(TXD, RXD)을 사용하고 IR 부호화기/복호화기에서는 입출력 데이터 라인(IR-TXD, IR-RXD)을 각각 사용한다.That is, the input / output data lines TXD and RXD are used for the asynchronous transceiver, and the input / output data lines IR-TXD and IR-RXD are used for the IR encoder / decoder, respectively.

도1은 종래 기술의 일실시예로서 이에 도시된 바와 같이, 비동기 송수신기(UART)(111)와 IR 부호화기/복호화기(112)를 내장한 반도체 소자(110)에 있어서, 비동기 직렬 통신을 위하여 상기 비동기 송수신기(111)와 RS-232C 라인 드라이버(120)간에 데이터 라인(DSR, CTS, RXD, DCD, RI, DTR, RTS, TXD)이 접속되어 있고 상기 IR 부호화기/복호화기(112)와 IR 송수신기(130)간에 데이터 라인(IR-TXD)(IR-RXD)이 접속되어 구성된다.1 shows an embodiment of the prior art, in the semiconductor device 110 incorporating an asynchronous transceiver (UART) 111 and an IR encoder / decoder 112, for asynchronous serial communication. A data line (DSR, CTS, RXD, DCD, RI, DTR, RTS, TXD) is connected between the asynchronous transceiver 111 and the RS-232C line driver 120, and the IR encoder / decoder 112 and the IR transceiver are connected. The data lines IR-TXD (IR-RXD) are connected to each other.

상기 IR 부호화기/복호화기(112)는 펄스폭 변조기(3/16 Pulse, Width Modulator)(112a)와 펄스폭 변조기(Edge Detector/Pulse Width Demodulator)(112b)를 포함하여 구성된다.The IR encoder / decoder 112 includes a pulse width modulator 112a and an edge detector / pulse width demodulator 112b.

이러한 종래 기술의 일실시예의 동작 과정을 설명하면 다음과 같다.Referring to the operation of the embodiment of the prior art as follows.

비동기 직렬 데이터 통신을 수행하는 경우 시스템의 통신 포트(COM port)에 접속된 RS-232C 라인 드라이버(120)에서 비동기 송수신기(111)로 데이터 수신을 위한 제어신호(DSR, CTS, DCD, RI) 및 수신 데이터(RXD)가 전송되고 상기 비동기 송수신기(111)에서의 제어신호 (DTR)(RTS) 및 송수신 데이터(TXD)는 상기 RS-232C 라인 드라이버(120)를 통한 시스템의 통신포트(COM port)로 전송된다.When performing asynchronous serial data communication, control signals (DSR, CTS, DCD, RI) for receiving data from the RS-232C line driver 120 connected to the communication port (COM port) of the system to the asynchronous transceiver 111 and Received data (RXD) is transmitted and the control signal (DTR) (RTS) and transmit and receive data (TXD) in the asynchronous transceiver 111 is a communication port (COM port) of the system through the RS-232C line driver 120 Is sent to.

그리고, 적외선 통신을 수행하는 경우 IR 부호화기/복호화기(112)는 펄스폭 변조기(112a)에서 IR 송수신기(130)으로 데이터(IR-TXD)를 전송하여 적외선 신호를 송출하고 상기 IR 송수신기(130)은 적외선 신호를 수신하여 상기 IR 부호화기/복호화기(112)의 펄스폭 복조기(112b)에 데이터(IR-RXD)를 전송하게 된다.In the case of performing infrared communication, the IR encoder / decoder 112 transmits the data IR-TXD from the pulse width modulator 112a to the IR transceiver 130 to transmit an infrared signal, and the IR transceiver 130. Receives the infrared signal and transmits the data IR-RXD to the pulse width demodulator 112b of the IR encoder / decoder 112.

따라서, 상기의 동작을 수행함에 의해 비동기 직렬 데이터 통신 또는 적외선 통신 과정을 수행하게 된다.Therefore, the asynchronous serial data communication or infrared communication process is performed by performing the above operation.

또한, 도2는 종래 기술의 다른 일실시예로서 이에 도시된 바와 같이, 2개의 비동기 송수신기(151)(152)를 내장한 통신용 반도체 소자(150)에 있어서, 상기 하나의 비동기 송수신기(151)와 RS232C라인 드라이버(160)간 데이터 라인(DSR, CTS, RXD1, DCD, RI)이 접속되고 상기 또 다른 비동기 송수신기(152)와 IR 부호화기/복호화기(170)간에 데이터 라인(TXD2, RXD2, BAUD)이 접속되어 상기 IR 부호화기/복호화기(170)와 IR 송수신기(180)간에 데이터 라인(IR-TXD, IR-RXD)이 접속되어 구성된다.In addition, Figure 2 is another embodiment of the prior art, in the communication semiconductor device 150, which includes two asynchronous transceivers 151, 152, as shown here, the one asynchronous transceiver 151 and Data lines (DSR, CTS, RXD1, DCD, RI) are connected between RS232C line driver 160 and data lines (TXD2, RXD2, BAUD) between the another asynchronous transceiver 152 and the IR encoder / decoder 170. This connection is made such that data lines IR-TXD and IR-RXD are connected between the IR encoder / decoder 170 and the IR transceiver 180.

이러한 종래 기술의 다른 실시예의 동작 과정을 설명하면 다음과 같다.Referring to the operation of the other embodiment of the prior art as follows.

비동기 직렬 데이터 통신을 수행하는 경우 시스템의 통신포트(COM port)에 접속된 RS-232C 라인 드라이버(160)에서 비동기 송수신기(151)로 데이터 수신을 위한 제어신호(DSR, CTS, DCD, RI) 및 수신데이터(RXD)가 전송되고 상기 비동기 송수신기(151)에서의 제어신호(DTR)(RTS) 및 송신 데이터(TXD)는 상기 RS-232C 라인 드라이버(160)를 통해 시스템의 통신포트 (COM port)로 전송된다.When performing asynchronous serial data communication, control signals (DSR, CTS, DCD, RI) for receiving data from the RS-232C line driver 160 connected to the communication port (COM port) of the system to the asynchronous transceiver 151 and Received data (RXD) is transmitted and the control signal (DTR) (RTS) and transmit data (TXD) in the asynchronous transceiver 151 through the RS-232C line driver 160 of the communication port (COM port) of the system Is sent to.

그리고, 적외선 통신을 수행하는 경우 비동기 송수신기(152)에서 송신 데이터(TXD2)를 IR 부호화기/복호화기(170)에 전송하면 펄스폭 변조기(171a)를 통해 송신 데이터(IR-TXD)가 IR 송수신기(180)에 전송되어 적외선 신호가 송출되고, 상기 IR 송수신기(180)가 적외선 신호를 수신하여 수신 데이터 (IR-RXD)를 상기 IR 부호화기/복호화기(170)에 전송하면 펄스폭 복조기(170b)가 데이터(RXD2)를 상기 비동기 송수신기(152)에 전송하게 된다.In the case of performing infrared communication, when the asynchronous transceiver 152 transmits the transmission data TXD2 to the IR encoder / decoder 170, the transmission data IR-TXD is transmitted through the pulse width modulator 171a to the IR transceiver ( 180 is transmitted to the infrared signal, the IR transceiver 180 receives the infrared signal and transmits the received data (IR-RXD) to the IR encoder / decoder 170, the pulse width demodulator (170b) Data RXD2 is transmitted to the asynchronous transceiver 152.

따라서, 상기의 동작을 수행함에 의해 비동기 직렬 데이터 통신 또는 적외선 통신과정을 수행하게 된다.Therefore, the asynchronous serial data communication or infrared communication process is performed by performing the above operation.

그러나. 이러한 종래의 기술은 비동기 직렬 데이터 통신 또는 적외선 통신을 수행하는 경우 서로 각각의 데이터 라인을 사용함으로써 데이터의 충돌을 방지할 수 있지만 소자의 핀수가 증가하는 단점이 있다.But. This conventional technique can prevent data collision by using respective data lines when performing asynchronous serial data communication or infrared communication, but has a disadvantage in that the number of pins of the device is increased.

따라서, 본 발명은 종래의 문제점을 개선하기 위하여 비동기 직렬 데이터 통신과 적외선 통신을 위한 데이터 라인을 공유하도록 회로를 구성하고 제어 신호를 따라 하나의 통신방식을 결정하도록 함으로써 소자의 핀수를 감소시킬 수 있도록 창안한 데이터 라인 공유 회로를 제공함에 목적이 있다.Accordingly, the present invention can reduce the number of pins of the device by configuring a circuit to share the data line for asynchronous serial data communication and infrared communication in order to improve the conventional problem and to determine one communication method according to the control signal An object of the present invention is to provide an inventive data line sharing circuit.

제1도는 종래의 일실시예를 도시한 블록도.1 is a block diagram showing a conventional embodiment.

제2도는 종래의 다른 실시 예를 도시한 블록도.2 is a block diagram showing another conventional embodiment.

제3도는 본 발명에 따른 실시예의 블록도.3 is a block diagram of an embodiment according to the present invention.

제4도는 제3도에서의 통신 방식 결정을 보인 표.4 is a table showing communication method determination in FIG.

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

210 : 비동기 송수신기(UART) 220 : RS-232C 라인 드라이버210: asynchronous transceiver (UART) 220: RS-232C line driver

230 : IR 송수신기 240 : IR 부호화기/복호화기230: IR transceiver 240: IR encoder / decoder

241 : 펄스폭 변조기 242 : 펄스폭 복조기241 pulse width modulator 242 pulse width demodulator

250, 260 : 데이터 입출력부 251, 252, 261, 262 : 3상태 버퍼250, 260: data input / output unit 251, 252, 261, 262: three-state buffer

본 발명은 상기의 목적을 달성하기 위하여 비동기 직렬 데이터 통신의 경우 제1제어 신호에 의해 인에이블되어 RS-232C 라인 드라이버와 비동기 송수신간의 데이터 송수신을 수행하는 제1데이터 입출력 수단과, 상기 비동기 송수신기의 입출력 데이터를 펄스폭 복조/변조하는 IR 부호화기/복호화 수단과, 적외선 통신의 경우 제2제어 신호에 의해 인에이블되어 IR 송수신기와 상기 IR 부호화기/복호화기간의 데이터 송수신을 수행하는 제2데이터 입출력 수단과 비동기 직렬 데이터 통신또는 적외선 통신의 여부를 판별하여 상기 제1, 제2데이터 입출력 수단에 제1, 제2제어신호를 출력하는 입출력 제어 수단으로 구성하여 상기 RS-232C 라인 드라이버와 IR 송수신기가 입출력 데이터 라인을 공유하도록 함을 특징으로 한다.The present invention provides a first data input and output means for performing data transmission and reception between the RS-232C line driver and asynchronous transmission and reception is enabled by a first control signal in the case of asynchronous serial data communication to achieve the above object; An IR encoder / decoding means for pulse-width demodulation / modulation of input / output data, and second data input / output means for enabling / receiving data between the IR transceiver and the IR encoder / decoding period in the case of infrared communication, enabled by a second control signal; I / O control means for determining whether asynchronous serial data communication or infrared communication is used to output first and second control signals to the first and second data input / output means. Share a line.

상기 RS-232C 라인 드라이버 및 제1데이터 입출력 수단은 입출력 제어 수단으로부터의 동일한 제어 신호에 의해 비동기 직렬 데이터 통신의 경우에만 인에이블되도록 구성한다.The RS-232C line driver and the first data input / output means are configured to be enabled only in the case of asynchronous serial data communication by the same control signal from the input / output control means.

상기 IR 송수신기 및 제2데이터 입출력 수단은 입출력 제어 수단으로부터의 동일한 제어 신호에 의해 적외선 통신의 경우에만 에이블되도록 구성한다.The IR transceiver and the second data input / output means are configured to be enabled only in the case of infrared communication by the same control signal from the input / output control means.

상기 제1, 제2데이터 입출력 수단은 데이터 송출 방향이 서로 반대인 2개의 3상태 버퍼로 각기 구성한다.Each of the first and second data input / output means is composed of two tri-state buffers in which data transmission directions are opposite to each other.

상기 입출럭 제어 수단은 제어 레지스터로부터의 2개의 입력 비트가 동일한 레벨인 경우 제1, 제2 제어 신호를 디스에이블시키도록 구성한다.The entry / exit control means is configured to disable the first and second control signals when the two input bits from the control register are at the same level.

이하, 본 발명을 도면에 의거 상세히 설명하면 다음과 같다.Hereinafter, the present invention will be described in detail with reference to the drawings.

도3은 본 발명의 실시예를 보인 블록도로서 이에 도시한 바와 같이, 비동기 직렬 데이터 통신의 경우 제1제어 신호(SEN)에 의해 인에이블되어 비동기 송수신기(210)와 RS-232C 라인 드라이버(220)에 전송되고 시스템의 통신 모드에 접속된 상기 RS-232C라인 드라이버(220)간의 데이터 송수신을 수행하는 제1데이터 입출력부(250)와, 적외선 통신의 경우 제2 제어 신호(IREN)에 의해 인에이블되어 IR 부호화기/복호화기(240)와 IR 송수신기(230)안의 데이터 송수신을 수행하는 제2데이터 입출력부(260)와, 비트(bit1)(bit2)를 입력으로 비동기 직렬 데이터 통신 또는 적외선 통신의 여부를 판별함에 의해 상기 제1, 제2데이터 입출력부(250)(260)에 제1, 제2 제어신호 (SEN)(IREN)를 출력하는 입출력 제어부(270)으로 구성한다.FIG. 3 is a block diagram showing an embodiment of the present invention. As shown in FIG. 3, in the case of asynchronous serial data communication, the asynchronous transceiver 210 and the RS-232C line driver 220 are enabled by the first control signal SEN. And the first data input / output unit 250 for transmitting and receiving data between the RS-232C line driver 220 connected to the communication mode of the system and the second control signal IREN in the case of infrared communication. A second data input / output unit 260 which is enabled and performs data transmission and reception in the IR encoder / decoder 240 and the IR transceiver 230, and a bit (bit1) (bit2) as an input for asynchronous serial data communication or infrared communication. The input / output controller 270 outputs the first and second control signals SEN (IREN) to the first and second data input / output units 250 and 260 by determining whether or not.

상기 입출력 제어부(270)는 비트(bit1)만이 로우 레벨일 경우 RS-232C 라인 드라이버(220) 및 제1데이터 입출력부(250)에 제어신호(SEN)를 인에이블시켜 인가하고 비트(bit2)만이 로우 레벨인 경우 IR 송수신기(230) 및 제2데이터 입출력부(260)에 제어신호(IREN)를 인에이블시켜 인가하여 비트(bit1)(bit2)가 하이 또는 로우로 동일한 경우에는 제어신호(SEN)(IREN)를 디스에이블시키도록 구성한다.The input / output controller 270 enables and applies the control signal SEN to the RS-232C line driver 220 and the first data input / output unit 250 when only the bit bit1 is at a low level. When the level is low, the control signal IREN is applied to the IR transceiver 230 and the second data input / output unit 260 by applying the control signal SEN when the bits bit1 are the same as high or low. Configure to disable (IREN).

상기 제1, 제2데이터 입출력부(250)(260)는 데이터송출 방향이 서로 반대인 2개의 3상태 버퍼로 각기 구성한다.The first and second data input / output units 250 and 260 are configured as two tri-state buffers in which data transmission directions are opposite to each other.

이와같이 구성한 본 발명의 실시예에 대한 동작 및 작용 효과를 설명하면 다음과 같다.Referring to the operation and effect of the embodiment of the present invention configured as described above are as follows.

우선, 비트(bit1)만이 로우 레벨로 입력되어 비동기 직렬 데이터 통신으로 판단하는 경우 입출력 제어부(270)는 제어 신호(SEN)만을 로우로 인에이블시키게 된다.First, when only the bit bit1 is input at a low level to determine asynchronous serial data communication, the input / output controller 270 enables only the control signal SEN to low.

이때, 제어 신호(SEN)가 로우 레벨로 인에이블됨에 의해 제1데이터 입출력부(250)는 2개는 3상태 버퍼(250)(252)가 온되고 RS-232C 라인 드라이버(220)는 전원 공급 상태가 된다.At this time, since the control signal SEN is enabled at the low level, the first data input / output unit 250 has two tri-state buffers 250 and 252 turned on and the RS-232C line driver 220 supplies power. It becomes a state.

그리고, 입출력 제어부(270)에서 제어 신호(IREN)가 하이 레벨로 출력 되므로 제2데이터 입출력부(260)의 3상태 버퍼(261)(262)는 오프되고 IR 송수신기(230)는 전원 차단 상태가 된다.In addition, since the control signal IREN is output at the high level from the input / output controller 270, the three-state buffers 261 and 262 of the second data input / output unit 260 are turned off and the IR transceiver 230 is turned off. do.

이에 따라, 비동기 송수신기(210)에서의 전송데이터(TXD)는 3상태 버퍼(251)를 통해 RS-232C 라인 드라이버(220)에서의 전송 데이터(RXD)는 3상태 버퍼(252)를 통해 상기 비동기 송수신기(210)으로 전송된다.Accordingly, the transmission data TXD of the asynchronous transceiver 210 is transmitted through the tri-state buffer 251, and the transmission data RXD of the RS-232C line driver 220 is transmitted through the tri-state buffer 252. Transmitted to the transceiver 210.

즉, 입출력 제어부(270)에서 제어신호(SEN)이 인에이블되는 경우 제1데이터 입출력부(250)의 3상태 버퍼(251)(252)만이 동작하여 비동기 직렬 데이터 통신이 수행되어진다.That is, when the control signal SEN is enabled in the input / output controller 270, only the three-state buffers 251 and 252 of the first data input / output unit 250 operate to perform asynchronous serial data communication.

또한, 비트(bit2)만이 로우레벨로 입력되어 적외선 통신으로 판단하는 경우 입출력 제어부(270)는 제어 신호(IREN)만을 로우로 인에이블시키게 된다.In addition, when only the bit bit2 is input at a low level and judged to be infrared communication, the input / output controller 270 enables only the control signal IREN to low.

이때, 로우 레벨인 경우 제어신호(IREN)에 의해 제2데이터 입출력부(260)는 2개의 3상태 버퍼(261)(262)가 온되고 IR 송수신기(230)는 전원 공급 상태가 된다.At this time, in the low level, two tri-state buffers 261 and 262 are turned on in the second data input / output unit 260 by the control signal IREN and the IR transceiver 230 is in a power supply state.

그리고, 입출력 제어부(270)에서 제어 신호(SEN)가 하이 레벨로 출력되므로 제1데이터 입출력부(250)의 3상태 버퍼(251)(252)는 오프 상태를 유지하고 RS-232C 라인 드라이버(220)는 전원 차단상태가 된다.In addition, since the control signal SEN is output from the input / output controller 270 at a high level, the three-state buffers 251 and 252 of the first data input / output unit 250 remain in an off state and are RS-232C line drivers 220. ) Turns off the power.

이에 따라, 비동기 송수신기(210)와 데이터 송수신을 수행하는 IR 부호화기/복호화기(240)는 펄스폭 변조기(241a)가 상기 비동기 송수신기(210)에서 수신된 데이터를 3/16 펄스폭 변조하여 데이터(IR-TXD)를 제2데이터 입출력부(260)에 전송하면 3상태 버퍼(261)를 통해 데이터(TXD)가 IR 송수신기(230)에 전송되어진다.Accordingly, the IR encoder / decoder 240 performing data transmission / reception with the asynchronous transceiver 210 has a pulse width modulator 241a modulating the data received from the asynchronous transceiver 210 by 3/16 pulse width modulation. When the IR-TXD is transmitted to the second data input / output unit 260, the data TXD is transmitted to the IR transceiver 230 through the tri-state buffer 261.

따라서, IR 송수신기(230)는 전송되는 데이터(TXD)에 따른 적외선 신호를 송출하게 된다.Therefore, the IR transceiver 230 transmits an infrared signal according to the transmitted data TXD.

그리고, IR 송수신기(230)는 임의의 시스템에서 송출된 적외선 신호가 수신되는 경우 그에 따른 데이터(RXD)를 제2데이터 입출력부(260)의 3상태 버포(262)로 전송하게 된다.The IR transceiver 230 transmits the data RXD according to the tri-state buffer 262 of the second data input / output unit 260 when an infrared signal transmitted from an arbitrary system is received.

이에 따라, 3상태 버퍼(262)에서의 전송 데이터(IR-RXD)가 IR 부호화기/복호화기(240)에 수신되면 펄스폭 복조기(241b)가 펄스폭 복조하여 그 펄스폭 복조된 데이터를 비동기 송수신기(210)로 전송하게 된다.Accordingly, when the transmission data IR-RXD in the tri-state buffer 262 is received by the IR encoder / decoder 240, the pulse width demodulator 241b performs pulse width demodulation and asynchronously transmits the pulse width demodulated data. And to 210.

즉, 입출력 제어부(270)에서 제어신호(IREN)이 인에이블되는 경우 제2데이터 입출력부(260)의 3상태 버퍼(261)(262)만이 동작하여 적외선 통신이 수행되어진다.That is, when the control signal IREN is enabled in the input / output controller 270, only the tri-state buffers 261 and 262 of the second data input / output unit 260 operate to perform infrared communication.

한편, 입출력 제어부(270)는 입력비트(bit1)(bit2)가 모두 로우 또는 이하인 경우 제어신호(SEN)(IREN)를 모두 하이 레벨로 디스에이블 시키게 된다.On the other hand, the input / output controller 270 disables all of the control signals SEN IREN to a high level when the input bits bit1 and bit2 are all low or less.

이에 따라, 제1, 제2데이터 입출력부 (250)(260)는 3상태 버퍼(251,252)(261,262)가 오프 상태를 유지하고 RS-232C 라인 드라이버(220) 및 IR 송수신기(230)는 전원 공급 차단 상태가 된다.Accordingly, the first and second data input / output units 250 and 260 maintain the three-state buffers 251 and 252 and 261 and 262 in the off state, and the RS-232C line driver 220 and the IR transceiver 230 supply power. It is blocked.

따라서, 비동기 직렬 데이터 통신 및 적외선 통신이 모두 수행되어지지 않는다.Therefore, neither asynchronous serial data communication nor infrared communication is performed.

상기에서 입출력 제어부(270)는 비트(bit1)(bit2)의 입력에 따라 제1데이터 입출력부(250)/ RS-232C 라인 드라이버(220) 또는 제2데이터 입출력부(260)/IR 송수신기(230)의 동작 상태를 결정함에 있어 하나의 통신 방식만을 동작시키므로 전력 소모를 감소시키게 된다.The input / output control unit 270 is the first data input / output unit 250 / RS-232C line driver 220 or the second data input / output unit 260 / IR transceiver 230 according to the input of bits bit1 (bit2). In determining the operation state of the control panel), only one communication method is operated, thereby reducing power consumption.

상기, 입출력 제어부(270)는 비트(bit1)(bit2)의 입력에 따른 제어신호 (SEN)(IREN)의 레벨인 도4의 표에 도시한 바와 같다.The input / output controller 270 is as shown in the table of FIG. 4, which is the level of the control signal SEN (IREN) according to the input of the bits bit1 (bit2).

상기에서 상세히 설명한 바와 같이 본 발명은 데이터 라인을 공유하도록 회로를 구성하여 하나의 통신 방식을 결정함에 의해 서로 다른 데이터간의 충돌을 방지함은 물론 소자의 단자수를 감소시킴에 의해 소자의 크기를 줄일 수 있는 효과가 있다.As described in detail above, the present invention configures a circuit to share a data line to determine a communication method, thereby preventing collision between different data and reducing the size of the device by reducing the number of terminals of the device. It can be effective.

Claims (5)

제1제어 신호 (SEN)에 의해 인에이블되어 RS-232C 라인 드라이버와 비동기 송수신간의 데이터(TXD)(RXD) 송수신을 수행하는 제1데이터 입출력 수단과, 상기 비동기 송수신기의 입출력 데이터를 펄스폭 복조/변조하는 IR 부호화/복호화 수단과 제2제어신호(IREN)에 의해 인에이블되어 IR 송수신기와 상기 IR 부호화/복호화 수단간의 데이터(TXD)(RXD) 송수신을 수행하는 제2데이터 입출력 수단과 제1, 제2입력비트 (bit1)(bit2)를 입력으로 비동기 직렬 데이터 통신 또는 적외선 통신의 여부를 판별함에 의해 제1, 제2 제어신호(SEX)(IREN)를 선택적으로 인에이블시키는 입출력 제어 수단으로 구성하여 상기 RS-232C 라인 드라이버와 상기 IR 송수신기가 데이터(TXD)(RXD)라인을 공유하도록 함을 특징으로 하는 데이터 라인 공유회로.A first data input / output means which is enabled by a first control signal (SEN) to transmit and receive data (TXD) (RXD) between the RS-232C line driver and asynchronous transmission / reception, and pulse width demodulation / input / output data of the asynchronous transceiver. Second data input / output means and first, which are enabled by a modulating IR encoding / decoding means and a second control signal IREN to perform data TXD (RXD) transmission and reception between an IR transceiver and the IR encoding / decoding means. Composed of input / output control means for selectively enabling the first and second control signals SEX IREN by determining whether asynchronous serial data communication or infrared communication is input as the second input bit bit1 bit2. And the RS-232C line driver and the IR transceiver to share a data (TXD) (RXD) line. 제1항에 있어서, 입출력 제어 수단은 제1입력 비트(bit1)만이 로우 레벨인 경우 제1제어 신호(SEN)을 인에이블시키고 제2입력 비트(bit2)만이 로우 레벨인 경우 제2 제어신호(IREN)를 인에이블시키며 제1, 제2입력비트(bit1)(bit2)가 모두 동일한 레벨인 경우 제1, 제2제어신호(SEN)(IREN)를 모두 디스에이블 시키도록 구성 한 것을 특징으로 하는 데이터 라인 공유 회로.The method of claim 1, wherein the input / output control means enables the first control signal SEN when only the first input bit bit1 is low level and the second control signal (if only the second input bit bit2 is low level). IREN) is enabled and when the first and second input bits bit1 and bit2 are all at the same level, the first and second control signals SEN and IREN are all configured to be disabled. Data line sharing circuit. 제1항에 있어서, RS-232C 라인 드라이버는 제어 신호(SEN)가 인에블인 경우에만 전원을 공급받도록 구성한 것을 특징으로 하는 데이터 라인 공유회로.The data line sharing circuit according to claim 1, wherein the RS-232C line driver is configured to receive power only when the control signal (SEN) is enabled. 제1항에 있어서, IR 송수신기는 제어 신호(IREN)가 인에이블인 경우에만 전원을 공급받도록 구성한 것을 특징으로 하는 데이터 라인 공유 회로The data line sharing circuit of claim 1, wherein the IR transceiver is configured to receive power only when the control signal IREN is enabled. 제1항에 있어서, 제1, 제2데이터 입출력 수단은 데이터 송출 방향이 서로 반대인 2개의 3상태 버포로 각기 구성한 것을 특징으로 하는 데이터 라인 공유회로.The data line sharing circuit according to claim 1, wherein the first and second data input / output means are configured by two tri-state buffers in which data transmission directions are opposite to each other.
KR1019970011424A 1997-03-29 1997-03-29 Data line sharing circuit KR100218364B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019970011424A KR100218364B1 (en) 1997-03-29 1997-03-29 Data line sharing circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019970011424A KR100218364B1 (en) 1997-03-29 1997-03-29 Data line sharing circuit

Publications (2)

Publication Number Publication Date
KR19980075253A KR19980075253A (en) 1998-11-16
KR100218364B1 true KR100218364B1 (en) 1999-09-01

Family

ID=19501315

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019970011424A KR100218364B1 (en) 1997-03-29 1997-03-29 Data line sharing circuit

Country Status (1)

Country Link
KR (1) KR100218364B1 (en)

Also Published As

Publication number Publication date
KR19980075253A (en) 1998-11-16

Similar Documents

Publication Publication Date Title
EP3832965B1 (en) N-phase polarity output pin mode multiplexer
US5325355A (en) Method and apparatus for implementing a common mode level shift in a bus transceiver incorporating a high speed binary data transfer mode with a ternary control transfer mode
US5384769A (en) Method and apparatus for a bus transceiver incorporating a high speed binary data transfer mode with a ternary control transfer mode having a full duplex, dominant logic transmission scheme
US6996650B2 (en) Method and apparatus for implementing multiple configurable sub-busses of a point-to-point bus
KR20080040585A (en) Asynchronous serial communication method and asynchronous serial communication device
JP4984582B2 (en) In-vehicle control device
US5841992A (en) Network-to-serial device intelligent converter
KR100218364B1 (en) Data line sharing circuit
KR100218363B1 (en) Data line sharing circuit
KR101815333B1 (en) Apparatus for RS-232C and RS-485 Serial Communication using Common Communication Port
KR0167644B1 (en) Communication system for selectively using multi transmission methods
WO2004068781A1 (en) Data communication using constant total current
JP4346539B2 (en) Control device
US5652840A (en) Communication control apparatus for a small-scale network
WO2020012928A1 (en) In-vehicle electronic control device
KR101313884B1 (en) Method and apparatus for control transeiver in ethernet system
KR100430235B1 (en) Circuit for controlling data transfer between system board and sub-board using common data/address bus line
KR100942108B1 (en) Apparatus for Processing RS-422 Communication using RS-485 Communication Interface
KR101337772B1 (en) Apparatus and method of sharing communication port with distinct communication protocol
KR0127877Y1 (en) Communication system with rs-485/rs-232 converter
JP2002016487A (en) Two-way transmitter
JP2007306364A (en) Transmission system
CN114629739A (en) Processing system, related integrated circuit, apparatus and method
KR20020010393A (en) A Multi-Drop Communication Devices of Full Duplex
KR20010035849A (en) Universal asynchronous receiver/transmitter circuit for low consumption power

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20070518

Year of fee payment: 9

LAPS Lapse due to unpaid annual fee