KR0155684B1 - Data serial transferring method using microcomputer and its method - Google Patents

Data serial transferring method using microcomputer and its method

Info

Publication number
KR0155684B1
KR0155684B1 KR1019910006205A KR910006205A KR0155684B1 KR 0155684 B1 KR0155684 B1 KR 0155684B1 KR 1019910006205 A KR1019910006205 A KR 1019910006205A KR 910006205 A KR910006205 A KR 910006205A KR 0155684 B1 KR0155684 B1 KR 0155684B1
Authority
KR
South Korea
Prior art keywords
microcomputer
data
display
mode
key
Prior art date
Application number
KR1019910006205A
Other languages
Korean (ko)
Other versions
KR920020325A (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 KR1019910006205A priority Critical patent/KR0155684B1/en
Publication of KR920020325A publication Critical patent/KR920020325A/en
Application granted granted Critical
Publication of KR0155684B1 publication Critical patent/KR0155684B1/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

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Control Of Indicators Other Than Cathode Ray Tubes (AREA)
  • Communication Control (AREA)
  • Information Transfer Systems (AREA)

Abstract

이 발명은 마이콤, 디지털 신호 처리기(DSP) 및 서보 신호 처리기(SSP)등 각종 전기, 전자 기기의 데이타 전송을 위한 데이타 통신 시스템에 관한 것으로서, 두 마이콤 사이에 직렬로 연결된 디스플레이 데이타 전송라인과 모드 데이타 전송라인을 이용하여 키 스캔된 값에 따라 통신하므로 키 매트릭스 및 디스플레이 패널과 드라이버를 공유하여 사용하여도 오데이타의 전송가능성을 감소시키고 데이타 전송라인의 수를 줄여 보다 컴팩터블한 회로 구성이 가능하도록 한 것이다.The present invention relates to a data communication system for data transmission of various electrical and electronic devices such as a microcomputer, a digital signal processor (DSP) and a servo signal processor (SSP), and a display data transmission line and mode data connected in series between two microcomputers. By using the transmission line to communicate according to the key scanned value, sharing the driver with the key matrix and the display panel reduces the transmission of ododata and reduces the number of data transmission lines so that a more compact circuit configuration is possible. It is.

Description

마이콤을 이용한 데이타의 직렬 전송 회로 및 방법Serial Transmission Circuit and Method of Data Using Micom

제1도는 일반적인 마이콤을 이용한 데이타의 병렬통신 회로도.1 is a parallel communication circuit diagram of data using a general microcomputer.

제2도는 이 발명에 따른 마이콤을 이용한 데이타의 직렬통신 회로도.2 is a serial communication circuit diagram of data using a microcomputer according to the present invention.

제3도는 이 발명에 따른 마이콤을 이용한 데이타의 직렬통신 방법을 실행하기 위한 흐름도이다.3 is a flowchart for performing a serial communication method of data using a microcomputer according to the present invention.

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

1,2 : 마이콤 3 : 드라이버1,2: micom 3: driver

4 : 디스플레이 패널 MDP1, MDP2 : 모든 데이타 포트4: Display panel MDP1, MDP2: All data ports

MDL : 모드 데이타 전송라인 DP1, DP2 : 디스플레이 데이타 전송포트MDL: Mode data transmission line DP1, DP2: Display data transmission port

DDL : 디스플레이 데이타 전송라인DDL: Display Data Transmission Line

이 발명은 마이콤, 디지털 신호 처리기(Digital Signal Processor : DSP) 및 서보신호 처리기(Servo Signal Processor : SSP)등 각종 전기, 전자기기의 데이타 전송을 위한 데이타 통신 네거티브 에 관한 것으로서, 더욱 상세하게는 집적소자 사이의 데이타 전송라인의 수를 줄여 각 라인간의 상호영양에 의한 노이즈 발생을 줄이고 데이타 전송 라인수의 감소에 따라 제조시 공간을 줄일 수 있어 컴팩터블한 제품을 만들 수 있도록 한 마이콤을 이용한 데이타의 직렬통신 회로 및 방법에 관한 것이다.The present invention relates to a data communication negative for data transmission of various electrical and electronic devices such as a microcomputer, a digital signal processor (DSP) and a servo signal processor (SSP), and more specifically, an integrated device. By reducing the number of data transmission lines between each other, it is possible to reduce noise generation due to mutual nutrition between each line, and to reduce the space during manufacturing by reducing the number of data transmission lines. A communication circuit and method are provided.

제1 도는 일반적인 마이콤을 이용한 데이타의 병렬 통신 회로도를 나타낸 것으로서, 전기.전자제품이 점차 단일제품에서 복합회로 다기능 고급화 추세로 됨에 따라 한 마이콤에서 각각 키 스캔과 디스플레이를 하므로 복합화시 키 매트릭스 공유 및 디스플레이 드라이버를 공유하게 되므로 제1 마이콤(1)이 키 스캔시 제2 마이콤(2)에 영향을 주지 않도록 하기 위해 제1 마이콤(1)의 키 스캔 포트(1P1)∼(1P6)에 대응하여 제2 마이콤(2)의 키 스캔 포트(2P1)∼(2P6)를 하이 임피던스 상태로 하여야 하는데 이때 사용포트 상태에 따라 풀-업 저항이나 풀-다운 저항을 달아야만 하는 불편함이 따랐다.1 shows a parallel communication circuit diagram of data using a general micom, and as the electronic and electronic products gradually become a multi-functional advanced multifunctional circuit in a single product, one micom performs key scan and display, respectively. Since the driver is shared, the second microcomputer 1 corresponds to the key scan ports 1P1 to 1P6 of the first microcomputer 1 so that the first microcomputer 1 does not affect the second microcomputer 2 when the key is scanned. The key scan ports 2P1 to 2P6 of the microcomputer 2 should be in a high impedance state, which is inconvenient to attach a pull-up resistor or a pull-down resistor depending on the port used.

또한 디스플레이 패널(4)에 디스플레이 출력시 드라이버(3)의 포트(DP)를 공유하며 데이타를 전송하므로 제1 마이콤(1)에서 디스플레이시 제2 마이콤(2)으로 출력 데이타가 흘러들어 갈 수도 있어 원치 않는 디스플레이를 하게 된다. 이에 따라 한쪽 마이콤이 인에이블 상태일 때 항상 다른 마이콤은 디스에이블 시켜주어야만 하는 문제점이 있었다.In addition, since the display panel 4 shares the port DP of the driver 3 when the display is output and transmits data, output data may flow from the first micom 1 to the second micom 2 when the display is performed. You get an unwanted display. Accordingly, when one micom is in an enabled state, there is a problem that the other micom must be disabled at all times.

이 발명은 이러한 문제점을 해결하기 위한 것으로, 이 고안의 목적은 복합제품에서 한 개의 마이콤으로 키 스캔과 디스플레이를 수행하고 그 데이타를 다른 마이콤에 직렬로 전송해줌으로써 오데이타의 전송을 줄이며 제품의 간소화를 도모하고자 하는 마이콤을 이용한 데이타의 직렬통신 회로 및 방법을 제공하고자 함에 있다.The present invention solves this problem, and the object of the present invention is to simplify the product and reduce the transmission of data by performing the key scan and display with one micom in a combination product and transmitting the data serially to another micom. An object of the present invention is to provide a serial communication circuit and method for data using a microcomputer.

이러한 목적을 달성하기 위한 이 발명의 특징은, 전송되어 오는 데이타에 따라 디스플레이를 하는 디스플레이 패널과, 상기 디스플레이 패널을 구동시키는 드라이버와, 키 스캔 포트의 상태에 따른 데이타를 드라이버에 전송하는 제1, 제2 마이콤으로 구성되는 데이타의 통신 시스템이 있다.A feature of the present invention for achieving this object is a display panel for displaying according to the data being transmitted, a driver for driving the display panel, a first according to the state of the key scan port to the driver, There is a communication system of data composed of a second microcomputer.

모드 데이타 및 동작실행을 위한 데이타를 얻기 위해 키 스캔을 하는 제1 마이콤의 키 스캔 포트가 키 매트릭스에 연결되고, 상기 제1 마이콤의 키스캔 포트의 키 스캔 상태에 따라 제2 마이콤으로 모드 데이타를 전송하는 모드 데이타 전송라인이 모드 데이타 포트에 연결되며, 상기 제2 마이콤의 동작에 따른 디스플레이 데이타를 상기 제1 마이콤으로 전송하는 디스플레이 데이타 전송라인이 디스플레이 데이타 전송포트에 연결되고, 상기 드라이버의 포트에는 제1, 제2 마이콤의 동작 실행에 따른 디스플레이 데이타를 전송하기 위한 디스플레이 포트만이 연결되어 구성되는 마이콤을 이용한 데이타의 직렬통신 회로에 있다.A key scan port of a first micom that performs a key scan to obtain mode data and data for executing an operation is connected to a key matrix, and mode data is transferred to a second micom according to a key scan state of the kisscan port of the first micom. The transmission mode data transmission line is connected to the mode data port, and the display data transmission line for transmitting the display data according to the operation of the second micom to the first micom is connected to the display data transmission port, and the port of the driver Only a display port for transmitting display data according to the operation of the first and second microcomputers is in the serial communication circuit of data using a microcomputer.

이 발명의 다른 특징은 제1 마이콤에서 키 스캔 한 후 상기 스캔된 값이 제1 마이콤의 동작 모드인지 제2 마이콤의 동작 모드인지 판단하는 제1 스텝을 수행하고, 상기 제1 스텝 수행결과 스캔된 값이 제1 마이콤의 동작 모드이면 제1 마이콤의 동작실행 및 디스플레이를 하는 제2 스텝을 수행하며, 상기 스텝 수행결과 스캔된 값이 제2 마이콤의 동작 모드이면 상기 제2 마이콤의 동작실행을 하여 상기 디스플레이 데이타 전송라인을 통하여 상기제1 마이콤에 디스플레이를 데이타를 전송하여 제2 마이콤의 동작실행에 따른 데이타를 디스플레이 하도록 하는 제 3 스텝을 수행하도록, 이루어지는 마이콤을 이용한 데이타의 직렬 전송 방법에 있다.According to another aspect of the present invention, after a key scan in a first micom, a first step of determining whether the scanned value is an operating mode of a first micom or an operating mode of a second micom is performed. If the value is the operation mode of the first micom, a second step of executing and displaying the operation of the first micom is performed. If the scanned value is the operation mode of the second micom, the operation of the second micom is performed. And performing a third step of transmitting the display data to the first micom via the display data transmission line to display data according to the execution of the operation of the second micom.

이하, 이 발명의 바람직한 일실시예를 첨부도면을 참조로하여 상세히 설명한다.Hereinafter, a preferred embodiment of the present invention will be described in detail with reference to the accompanying drawings.

제2 도는 이 발명에 따른 마이콤을 이용한 데이타의 직렬통신 시스템의 회로도로서, 키 스캔포트(1P1)∼(1P6)를 통하여 키 매트릭스로부터 키 스캔을 하는 제1 마이콤(1)의 모드 데이타 포트(MDP1)에는 상기 키 스캔 포트(1P1)∼(1P6)의 키 스캔 상태에 따라 제2 마이콤(2)의 모드 데이타 포트(MDP2)에 모드 데이타를 전송하는 모드 데이타 전송라인(MDL)을 연결시킨다.2 is a circuit diagram of a serial communication system for data using a microcomputer according to the present invention, in which the mode data port MDP1 of the first microcomputer 1 performs a key scan from the key matrix via the key scan ports 1P1 to 1P6. ) Is connected to the mode data transmission line MDL for transmitting mode data to the mode data port MDP2 of the second microcomputer 2 according to the key scan state of the key scan ports 1P1 to 1P6.

그리고 제2 마이콤(2)의 디스플레이 데이타 전송포트(DDP2)에는 상기 제2 마이콤(2)의 동작에 따른 디스플레이 데이타를 제1 마이콤(1)의 디스플레이 데이타 전송포트(DDP1)로 전송하는 디스플레이 데이타 전송라인(DDL)을 연결시킨다.The display data transmission port DDP2 of the second microcomputer 2 transmits display data for transmitting the display data according to the operation of the second microcomputer 2 to the display data transmission port DDP1 of the first microcomputer 1. Connect the line (DDL).

또한, 상기 제1 마이콤(1)의 디스플레이 포트(DP1)에는 드라이버(3)의 포트(DP)를 연결시켜 상기 제1 마이콤(1)의 디스플레이 포트(DP1)로부터 출력되는 데이타가 디스플레이 패널(4)에 디스플레이 되도록 한다.In addition, by connecting the port DP of the driver 3 to the display port DP1 of the first microcomputer 1, data output from the display port DP1 of the first microcomputer 1 is displayed on the display panel 4. ) Is displayed.

제 3 도는 이 발명에 따른 마이콤을 이용한 데이타의 직렬 전송 방법을 실행하기 위한 흐름도로서, 제1 마이콤(1)에서 키 스캔 한후 상기 스캔된 값이 제1 마이콤(1)의 동작 모드인지 제2 마이콤(2)의 동작 모드인지를 판단하는 제1 스텝(S1)을 수행하며, 상기 제1 스텝(S1) 수행결과 스캔된 값이 제1 마이콤(1)의 동작 모드이면 제1 마이콤(1)의 동작실행 및 디스플레이를 하는 제2 스텝(S2)을 수행한다.3 is a flowchart for performing a serial transmission method of data using a microcomputer according to the present invention, in which the scanned value is the operating mode of the first microcomputer 1 after the key scan in the first microcomputer 1 and the second microcomputer. A first step S1 of determining whether the operation mode is (2) is performed. If the scanned value is an operation mode of the first microcomputer 1 as a result of performing the first step S1, the first microcomputer 1 A second step S2 of performing an operation and displaying is performed.

그리고 상기 스텝(S1) 수행결과 스캔된 값이 제2 마이콤(2)의 동작 모드이면 상기 제2 마이콤(2)의 동작실행을 하여 상기 디스플레이 데이타 전송라인(DDL)을 통하여 상기 제1 마이콤(1)에 디스플레이 데이타를 전송하여 제2 마이콤(2) 동작실행에 따른 데이타를 디스플레이 하도록 하는 제 3 스텝(S3)을 수행한다.When the scanned value is the operation mode of the second microcomputer 2 as a result of performing the step S1, the operation of the second microcomputer 2 is performed to perform the operation of the first microcomputer 1 through the display data transmission line DDL. The third step S3 is performed to transmit the display data to display data according to the execution of the operation of the second microcomputer 2.

상기와 같은 이 발명에 있어서, 제1 마이콤(1)에서 키 스캔 포트(1P1)∼(1P6)을 통하여 키 스캔을 하여 각각 제1 마이콤(1) 및 제2 마이콤(2)의 동작 모드를 체크한 후 (S1) 모우드가 제1 마이콤(1)의 모드일 경우 제1 마이콤(1)에서 동작 실행을 한 후 디스플레이 포트(DP1)를 통하여 출력되는 데이타를 디스플레이 한다.(S2)In this invention as described above, a key scan is performed at the first micom 1 via the key scan ports 1P1 to 1P6 to check the operation modes of the first micom 1 and the second micom 2, respectively. Then, when the (S1) mode is the mode of the first microcomputer 1, the operation is performed in the first microcomputer 1 and then the data output through the display port DP1 is displayed.

그러나 상기와는 달리 체크된 키 스캔값이 제2 마이콤(2)의 모드일 경우는 모드 데이타 전송라인(MDL)을 통하여 모드 데이타를 제2 마이콤(2)에 전송하여서 제2 마이콤(2)이 동작을 실행하게 하며 이에 따른 디스플레이 데이타를 디스플레이 데이타 전송라인(DDL)을 통하여 제1 마이콤(1)에 전송하여 디스플레이 포트(DP1)를 통하여 드라이버(3)에 전송한 후 디스플레이 패널(4)에 디스플레이 시킴으로써(S3) 데이타의 직렬 통신이 가능하게 한다.However, unlike the above, when the checked key scan value is in the mode of the second microcomputer 2, the second microcomputer 2 transmits mode data to the second microcomputer 2 through the mode data transmission line MDL. The display data is transmitted to the first microcomputer 1 through the display data transmission line DDL and then transmitted to the driver 3 through the display port DP1 and then displayed on the display panel 4. (S3) enables serial communication of data.

이상에서 살펴본 바와 같이 이 발명은 두 마이콤 사이에 직렬로 연결된 디스플레이 데이타 전송라인과 모드 데이타 전송라인을 이용하여 키 스캔된 값에 따라 통신하므로 키 매트릭스 및 디스플레이 패널과 드라이버를 공유하여 사용하여도 오데이타의 전송 가능성이 줄어들고 데이타 전송라인의 수가 감소함으로 인하여 회로 구성이 간단해지는 효과가 있다.As described above, the present invention uses a display data transmission line and a mode data transmission line connected in series between the two microcomputers to communicate according to the key scanned values, so that the driver can share the key matrix and the display panel with the driver. The circuit configuration can be simplified by reducing the possibility of transmission and reducing the number of data transmission lines.

Claims (2)

전송되어 오는 데이타에 따라 디스플레이를 하는 디스플레이 패널(4)과, 상기 디스플레이 패널(4)을 구동시키는 드라이버(3)와, 키 스캔 포트(1P1)∼(1P6), (2P1)∼(2P6)의 상태에 따른 데이타를 드라이버(3)에 전송하는 제1, 제2 마이콤(1), (2)으로 구성되는 데이타의 통신 시스템에 있어서, 모드 데이타 및 동작실행을 위한 데이타를 얻기 위해 키 스캔을 하는 제1 마이콤(1)의 키 스캔 포트(1P1)∼(1P6)가 키 매트릭스에 연결되고, 상기 제1 마이콤(1)의 키 스캔 포트(1P1)∼(1P6)의 키 스캔 상태에 따라 제2 마이콤(2)으로 모드 데이타를 전송하는 모드 데이타 전송라인(MDL)이 모드 데이타 포트(MDP1), (MDP2)에 연결되며, 상기 제2 마이콤(2)의 동작에 따른 디스플레이 데이타를 상기 제1 마이콤(1)으로 전송하는 디스플레이 데이타 전송라인(DDL)이 디스플레이 데이타 전송포트(DDP1), (DDP2)에 연결되고, 상기 드라이버(3)의 포트(DP)에는 제1, 제2 마이콤(1), (2)의 동작 실행에 따른 디스플레이 데이타를 전송하기 위한 디스플레이 포트(DP1)만이 연결되어, 구성되는 마이콤을 이용한 데이타의 직렬전송회로.The display panel 4 for displaying in accordance with the transmitted data, the driver 3 for driving the display panel 4, the key scan ports 1P1 to 1P6, and 2P1 to 2P6. In a communication system of data consisting of first, second microcomputers (1), and (2) for transmitting data according to states to a driver (3), a key scan is performed to obtain mode data and data for operation execution. The key scan ports 1P1 to 1P6 of the first micom 1 are connected to the key matrix, and the second scan keys 1P1 to 1P6 are connected to the key matrix according to the key scan state of the key scan ports 1P1 to 1P6 of the first micom 1. The mode data transmission line MDL for transmitting mode data to the microcomputer 2 is connected to the mode data ports MDP1 and MDP2, and the display data according to the operation of the second microcomputer 2 is transferred to the first microcomputer. (1) The display data transmission line (DDL) for transmitting to the display data transmission port (DDP1) ), (DDP2), and only the display port DP1 for transmitting display data according to the execution of operations of the first, second microcomputers 1, and 2 to the port DP of the driver 3. A serial transmission circuit of data using a connected microcomputer. 제1 마이콤(1)에서 키 스캔한 후 상기 스캔된 값이 제1 마이콤(1)의 동작 모드인지 제2 마이콤(2) 동작 모드인지를 판단하는 제1 스텝(S1)을 수행하고, 상기 제1 스텝(S1) 수행결과 스캔된 값이 제1 마이콤(1)의 동작모드이면 제1 마이콤(1)의 동작실행 및 디스플레이를 하는 제2 스텝(S2)을 수행하며, 상기 스텝(S1) 수행결과 스캔된 값이 제2 마이콤(2)의 동작 모드이면 상기 제2 마이콤(2)의 동작실행을 하여 상기 디스플레이 다이타 전송라인(DDL)을 통하여 상기 제1 마이콤(1)에 디스플레이 데이타를 전송하여 제2 마이콤(2)의 동작실행에 따른 데이타를 디스플레이 하도록 하는 제 3 스텝(S3)을 수행하도록, 이루어지는 마이콤을 이용한 데이타의 직렬전송 방법.After key scanning in the first microcomputer 1, a first step S1 of determining whether the scanned value is an operation mode of the first microcomputer 1 or a second microcomputer 2 is performed. If the scanned value is the operation mode of the first microcomputer 1, the second step S2 of executing and displaying the operation of the first microcomputer 1 is performed, and the step S1 is performed. As a result, if the scanned value is the operation mode of the second microcomputer 2, the operation of the second microcomputer 2 is performed to transmit display data to the first microcomputer 1 through the display die transmission line DDL. And performing a third step (S3) to display data according to the operation execution of the second microcomputer (2).
KR1019910006205A 1991-04-18 1991-04-18 Data serial transferring method using microcomputer and its method KR0155684B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019910006205A KR0155684B1 (en) 1991-04-18 1991-04-18 Data serial transferring method using microcomputer and its method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019910006205A KR0155684B1 (en) 1991-04-18 1991-04-18 Data serial transferring method using microcomputer and its method

Publications (2)

Publication Number Publication Date
KR920020325A KR920020325A (en) 1992-11-21
KR0155684B1 true KR0155684B1 (en) 1998-11-16

Family

ID=19313406

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019910006205A KR0155684B1 (en) 1991-04-18 1991-04-18 Data serial transferring method using microcomputer and its method

Country Status (1)

Country Link
KR (1) KR0155684B1 (en)

Also Published As

Publication number Publication date
KR920020325A (en) 1992-11-21

Similar Documents

Publication Publication Date Title
US5671376A (en) Universal SCSI electrical interface system
US4322794A (en) Bus connection system
KR980006296A (en) Integrated circuit chip with adaptive input-output port and its electrical system
US5414712A (en) Method for transmitting data using a communication interface box
US4310896A (en) Method of interfacing remote units to a central microprocessor
KR0155684B1 (en) Data serial transferring method using microcomputer and its method
KR100586759B1 (en) Key input processing circuit
JPH07177298A (en) Sensor system
US6765485B2 (en) Computer and data communication control method thereof
KR20020053381A (en) Serial communication device
KR100202993B1 (en) Conjunction apparatus between two connectors
KR100488981B1 (en) Ic circuit structure using of a gpio port
KR0136439B1 (en) Apparatus for sharing communication lines between a main board and an operational panel in a facsimile
KR930003122Y1 (en) Data buffer device between units
KR950003902Y1 (en) Port interface circuit using in two or more ways
KR19990002319U (en) Serial communication switching circuit
KR100310057B1 (en) Apparatus and Method of Controlling Device
JPS60147553A (en) Control apparatus having self-diagnosing function
JPS63215237A (en) Polling communication circuit
JPH0315940A (en) Printer output circuit
KR19990066596A (en) Parallel port interface circuit
JPS6346009A (en) Ic device with built-in impedance matching resistor
JPH1027050A (en) Serial transmission system
JPH1097309A (en) Sequencer input and output device
KR940020195A (en) Communication setting device

Legal Events

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

Payment date: 20050629

Year of fee payment: 8

LAPS Lapse due to unpaid annual fee