KR950013626B1 - Controlling method of computer-controlled tv receiver through communication port - Google Patents

Controlling method of computer-controlled tv receiver through communication port Download PDF

Info

Publication number
KR950013626B1
KR950013626B1 KR1019920002566A KR920002566A KR950013626B1 KR 950013626 B1 KR950013626 B1 KR 950013626B1 KR 1019920002566 A KR1019920002566 A KR 1019920002566A KR 920002566 A KR920002566 A KR 920002566A KR 950013626 B1 KR950013626 B1 KR 950013626B1
Authority
KR
South Korea
Prior art keywords
data
address
mode
microcomputer
input
Prior art date
Application number
KR1019920002566A
Other languages
Korean (ko)
Other versions
KR930018944A (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 KR1019920002566A priority Critical patent/KR950013626B1/en
Publication of KR930018944A publication Critical patent/KR930018944A/en
Application granted granted Critical
Publication of KR950013626B1 publication Critical patent/KR950013626B1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/44Receiver circuitry for the reception of television signals according to analogue transmission standards

Abstract

recording data inputted in an address area of a defined memory device, if a set mode of a microcomputer is set as a data writing mode to the memory device connected to a bus, and if the input data to be stored in the memory device or a storing address is not well defined, transmitting an error message to an external control unit; in the case where the input data is a non-performance command, if the address is well defined, informing the input data is data to be stored, but if the address is not defined, setting a flag for informing the address has been inputted; in case where a current set mode is a data reading mode from the memory device or a RAM data reading mode of an internal microcomputer of TV, if the address is well defined, reading the data from the address of the memory device or reading data from the RAM of the microcomputer to output the data to the external control unit, but if the address is not defined, outputting the error message to the external control unit; and in the case where a mode set flag value is a direct control mode for the operation of components connected to internal bus of TV, designating a data transmitting regulation with the external control unit in a mode designated by the input data value, and if the input data does not correspond with the above all conditions, outputting the error message to the external control unit.

Description

콤퓨터 제어 티브이 수상기의 외부 제어방법External control method of computer control TV receiver

제 1 도는 종래의 티브이 수상기 버스 시스템의 회로도.1 is a circuit diagram of a conventional TV receiver bus system.

제 2 도는 본 발명 콤퓨터 제어 티브이 수상기의 외부 제어방법이 적용되는 회로도.2 is a circuit diagram to which the external control method of the computer control TV receiver of the present invention is applied.

제 3 도는 제 2 도에서 직렬 데이타 송수신 인터페이스부의 상세도.3 is a detailed view of a serial data transmission and reception interface unit in FIG.

제 4 도는 본 발명 콤퓨터 제어 티브이 수상기의 외부 제어방법에 따른 제어 흐름도.4 is a control flowchart according to the external control method of the computer control TV receiver of the present invention.

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

1 : 마이콤 2 : 원격 제어신호 수신부1: micom 2: remote control signal receiver

3 : 키보드 4 : 선국부3: keyboard 4: station selection

5 : PIP 처리부 6 : 기억소자5: PIP processing unit 6: memory element

7 : 크로마 처리부 8 : 편향 처리부7 chroma processing unit 8 deflection processing unit

9 : 음성처리부 10 : 직렬 데이타 송수신 인터페이스부9: voice processing unit 10: serial data transmission and reception interface unit

10-1 : 양방향 버퍼 10-2 : 인터페이스부10-1: Bidirectional Buffer 10-2: Interface Unit

10-3 :어드레스 버퍼 10-4 : 콘넥터10-3: Address buffer 10-4: Connector

11 : 외부 제어기기 X :내부 레지스터11: External controller X: Internal register

본 발명은 버스 제어 티브이 수상기에 관한 것으로, 특히 티브이 수상기의 기능 호출 및 내부 회로에 대한 상태 체크와 외부로부터의 제어수행을 화면으로 표시하는데 적당하도록 한 콤퓨터 티브이 수상기의 외부 제어방법에 관한 것이다.BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a bus control TV receiver, and more particularly, to an external control method of a computer receiver suitable for displaying a function call of a TV receiver, a status check on an internal circuit, and performing control from the outside on a screen.

일반적으로 사용되고 있는 티브이 수상기 회로는 내부의 전체 시스템을 제어하는 마이콤과, 그 마이콤의 제어를 받는 주변회로로 구성되어 사용자가 티브이가 갖추고 있는 많은 기능중에서 특정기능을 호출하면, 마이콤에서 사용자로부터 명령을 해석하고, 이를 실행시키기 위해 적합한 주변회로를 선택하여 시스템 버스를 통해 제어명령을 내림으로써 호출된 명령을 수행하게 되며, 이러한 버스를 이용한 제어는 그러한 기능을 수행하는 집적회로(IC)의 개발과 함께 일반화되고 있는 추세이다.The TV receiver circuit generally used is composed of a microcomputer that controls the entire system of the internal system and a peripheral circuit controlled by the microcomputer, and when a user calls a specific function among many functions provided by the television, the microcom receives a command from the user. In order to interpret and execute the appropriate command, it selects a suitable peripheral circuit and executes a control command through the system bus. The control using this bus is accompanied by the development of an integrated circuit (IC) that performs such a function. It is a general trend.

이와 관련하여 일반적으로 사용되고 있는 기존의 티브이 수상기내의 버스 시스템은 제 1 도에 도시된 바와 같이, 티브이의 각종 기능을 원거리에서 제어하기 위한 원격 제어신호 수신부(2)와, 키 입력을 통해 티브이 수상기의 특정 기능에 대한 제어를 수행시키기 위해 사용자로부터의 명령을 입력하는 키보드(3)와, 상기 키보드(3) 또는 원격 제어신호 수신부(2)를 통해 사용자로부터의 티브이 수상기에 대한 명령을 입력하고 이를 해석하여 주변회로를 제어함으로써 지정된 명령을 수행하는 마이콤(1)과, 내부의 버스를 통해 상기 마이콤(1)과 전기적으로 접속되어 제어명령에 따라서 고유의 기능을 수행하는 주변 회로 즉, 기억 소자(6)의 내부에 기억된 각종 영상 및 음성 데이타를 버스를 통하여 읽어 내어 이를 처리하는 크로마 처리부(7)및 음성 처리부(9)와, 영상 신호에 대한 주사에서 편향을 조정하는 편향 처리부(8)와, 티브이의 화면 구성에서 화면 내에 또 다른 화면을 구성하여 메시지 등을 출력하는 PIP(Picture In Picture) 처리부(5)등으로 구성된다.In this regard, a bus system in a conventional TV receiver, which is generally used in this regard, includes a remote control signal receiver 2 for remotely controlling various functions of the TV as shown in FIG. 1 and a TV receiver through key input. A keyboard 3 for inputting a command from a user to perform control of a specific function of the user, and a command for a TV receiver from the user through the keyboard 3 or the remote control signal receiver 2 and input the command. A microcomputer 1 which analyzes and controls a peripheral circuit to perform a designated command, and a peripheral circuit electrically connected to the microcomputer 1 through an internal bus to perform a unique function according to a control command, that is, a memory element ( The chroma processing unit 7 and the audio processing unit 9 which read out various video and audio data stored in 6) through a bus and process them. And a deflection processor 8 for adjusting deflection in scanning of the video signal, and a PIP (Picture In Picture) processor 5 for outputting a message by configuring another screen in the screen of the TV. do.

상기와 같이 구성되는 일반적인 버스 제어 티브이 수상기에 대하여 그 동작 및 문제점을 상세히 설명하면 다음과 같다.Referring to the operation and problems with respect to the general bus control TV receiver configured as described above in detail as follows.

먼저, 사용자는 티브이 수상기에 대하여 특정 기능을 호출하거나 기타 제어를 할 때에 원격 제어신호 수신부(2) 또는 키보드(3)를 통해 명령을 입력하게 되는데, 이때에는 마이콤(1)에서 입력되는 사용자의 명령을 해석하고 그 명령을 수행하기 위하여 버스를 통해 그 버스에 연결된 각 부로 제어명령을 인가함으로써 사용자의 요구에 맞는 동작을 실행시키며, 원하는 데이터를 주고받게 된다.First, a user inputs a command through a remote control signal receiver 2 or a keyboard 3 when calling a specific function or performing other control with respect to the TV receiver. In this case, the user's command input from the microcomputer 1 is input. In order to interpret and execute the command, the control command is applied to each part connected to the bus through the bus to execute an operation according to the user's request, and to send and receive the desired data.

그러나 상기와 같은 방법은 많은 문제점을 가지고 있는데, 일례로서 티브이 수상기 내에서 버스에 접속되어 있는 각종 집적회로의 동작을 제어하는 수단이 마이콤(1)으로 제한되므로 이들 버스로 제어되는 집적회로들을 티브이 수상기 내부의 마이콤(1)을 경유하지 않고 외부에서 직접 체크하거나 또는 내부의 기억 소자에 기억된 데이터의 에러를 외부의 제어 기기를 이용하여 변경할 수 있는 수단이 없게 된다.However, the above method has many problems. As an example, the means for controlling the operation of various integrated circuits connected to the bus in the TV receiver is limited to the microcomputer 1, so that the integrated circuits controlled by these buses There is no means for directly checking externally without passing through the internal microcomputer 1 or for changing an error of data stored in the internal storage element by using an external control device.

즉, 티브이 수상기 내부의 회로를 체크하거나 제어를 하려면 반드시 티브이 수상기 내부의 마이콤(1)을 통해서 이를 수행하여야 하며, 내부 마이콤(1)에 의하지 않고 직접 외부에서 상기의 기능을 수행하는 방법이 없으므로 사용자 또는 서비스-맨은 이들의 동작 상태에 대한 정보를 알 수 있는 방법이 없으며 또한 버스상으로 제어되는 집적회로를 제어할 수 있는 방법이 없게 된다.That is, to check or control the circuit inside the TV receiver, it must be performed through the microcomputer 1 inside the TV receiver, and there is no method of performing the above functions directly from the outside without using the internal microcomputer 1. Or service-men have no way of knowing information about their operating states and no way to control integrated circuits controlled on the bus.

이에 따라 본 발명은 상기와 같은 종래의 기술에 따르는 결함을 감안하여, RS-232C등의 직렬 데이터 전송 인터페이스부의 구성과 이를 마이콤과 연결하는 부분을 데이터 및 어드레스 버퍼로 구성하고, 외부 제어기기와 마이콤간의 전송 규약을 설정하여 마이콤의 동작을 마이콤이 아닌 외부 제어기기로 제어할 수 있는 수단을 제공하기 위한 목적에서 창안된 것으로, 이를 첨부된 도면을 참조하여 상세히 설명하면 다음과 같다.Accordingly, the present invention, in view of the above-described deficiencies according to the prior art, constitutes a configuration of a serial data transmission interface such as RS-232C and a part connecting the microcomputer with a data and address buffer, and an external controller and a microcomputer. It was invented for the purpose of providing a means for controlling the operation of the microcomputer by an external controller by setting the transmission protocol between the two, and will be described in detail with reference to the accompanying drawings.

본 발명의 방법에 적용되는 회로는 제 1 도의 종래의 티브이 수상기 즉, 그 기본 구성이 상기에서 언급한 바와 같이, 티브이의 각종 기능을 원거리에서 제어하기 위한 원격 제어신호 수신부(2)와, 키보드(3)와, 상기 키보드(3) 또는 원격 제어신호 수신부(2)를 통해 사용자로부터 티브이 수상기에 대한 명령을 입력하고 이를 해석하여 주변 회를 제어함으로써 지정된 명령을 수행하는 마이콤(1)과, 내부의 버스를 통해 상기 마이콤(1)과 전기적으로 접속되어 제어명령에 따라서 고유의 기능을 수행하는 주변 회로인 선국부(4), PIP 처리부(5), 기억소자(6), 크로마 처리부(7), 편향 처리부(8) 및 음성 처리부(9)로 구성된 티브이 수상기 회로에 있어서, 직결 데이터 송수신 인터페이스부(10)를 마이콤(1)과 외부 제어기기(11)사이에 접속하여 상기 외부 제어기기(11)로부터의 명령을 그 직렬 데이터 송수신 인터페이스부(10)를 통해 상기 마이콤(1)에 전달하고, 상기 마이콤(1)이 그 명령에 따라서 그의 버스 상에 연결된 주변의 각부를 제어하고 그로부터 입력받은 데이터를 전달받아 이를 다시 그 직렬 데이터 송수신 인터페이스부(10)를 통해 외부 제어기기(11)로 출력하도록 하여 티브이 수상기의 상태를 외부에서 파악하거나 직접 제어를 할 수 있도록 구성된다.The circuit applied to the method of the present invention includes the conventional TV receiver of FIG. 1, that is, the basic configuration of the remote control signal receiver 2 for remotely controlling various functions of the TV as described above, and a keyboard ( 3) and the microcomputer 1 for inputting a command for the TV receiver from the user through the keyboard 3 or the remote control signal receiving unit 2 and interpreting the command to control the surrounding times to perform a designated command, and A tuner 4, a PIP processor 5, a memory element 6, a chroma processor 7, which is a peripheral circuit electrically connected to the microcomputer 1 via a bus and performing a unique function according to a control command; In the TV receiver circuit composed of the deflection processing unit 8 and the voice processing unit 9, a direct data transmission / reception interface unit 10 is connected between the microcomputer 1 and the external controller 11 to connect the external controller 11. from The command is transmitted to the microcomputer 1 through the serial data transmission / reception interface unit 10, and the microcomputer 1 controls the peripheral units connected on the bus according to the command and receives the data received therefrom. This is again output to the external controller 11 through the serial data transmission and reception interface unit 10 is configured to determine the state of the TV receiver from the outside or to directly control.

한편, 상기의 직렬 데이터 송수신 인터페이스부(10)는 제 3 도에 도시한 바와 같이, 마이콤(1)의 리드/라이트 제어신호()에 따라 외부 제어기기(11)로부터 데이터를 입력받아 내부 버스상의 각부로 출력하거나 그 외부 제어기기(11)로 데이터를 출력하는 양방향의 데이터 버퍼(10-1)와, 출력 인에이블 제어를 받아 어드레스신호를 입력받아 출력하는 어드레스 버퍼(10-3)와, 상기 데이터 버퍼(10-1) 및 어드레스 버퍼(10-3)와 인터페이스를 수행하는 인터페이스부(10-2)와, 상기 인터페이스부(10-2)를 외부 제어기기(11)에 연결하기 위한 콘넥터(10-4)로 구성한다.On the other hand, the serial data transmission and reception interface unit 10 as shown in Figure 3, the read / write control signal of the microcomputer 1 ( Receive data from the external controller 11 and output to each part on the internal bus or output data to the external controller 11 and the bidirectional data buffer 10-1 and output enable control. An address buffer 10-3 for receiving and outputting an address signal, an interface unit 10-2 for interfacing with the data buffer 10-1 and the address buffer 10-3, and the interface unit ( 10-2) is configured as a connector (10-4) for connecting to the external controller (11).

상기와 같이 구성된 본 발명의 회로에 의해 이루어지는 외부 제어방법 및 작용, 효과를 제 4 도의 흐름도를 참조하여 상세히 설명하면 다음과 같다.An external control method, operation, and effect made by the circuit of the present invention configured as described above will be described in detail with reference to the flowchart of FIG. 4.

먼저, 본 발명의 동작 설명을 위하여 마이콤(1)의 동작 모드 및 데이터의 전송포맷에 관하여 설명하면 마이콤(1) 내부의 동작 상태를 알려주기 위한 플래그(flag)로서 모드 플래그(modef)를 사용할 경우 그 모드 플래그(modef)의 값에 따라First, in order to explain the operation mode of the present invention, the operation mode and data transmission format of the microcomputer 1 will be described. When the mode flag is used as a flag for informing the operation state of the microcomputer 1, According to the value of the mode flag

modef=0 : 정상 모드modef = 0: normal mode

modef=1 : 기억 소자에 쓰기 위한 모드modef = 1: mode for writing to the memory device

modef=2 : 기억 소자의 데이터를 일기 위한 모드modef = 2: mode for writing data of memory device

modef=3 : 램의 내용을 읽기 위한 모드modef = 3: mode for reading the contents of RAM

modef=4 : 버스상에 데이터를 쓰기 위한 모드(즉, 각종 집적회로를 제어하기 위한 모드)로 정의하고, 외부 제어기기(11)와 상기 마이콤(1) 간의 데이터 전송을 위한 전송포맷으로modef = 4 is defined as a mode for writing data on the bus (ie, a mode for controlling various integrated circuits) and is a transmission format for data transmission between the external controller 11 and the microcomputer 1.

1 : A, adl, dal, Ex : 기억 소자에 데이터를 쓰기 위한 전송 포맷1: A, adl, dal, Ex: Transfer format for writing data to memory device

2 : B, adl, Ex : 기억 소자로부터 데이터를 읽기 위한 전송 포맷2: B, adl, Ex: Transmission format for reading data from memory device

3 : C, adl, Ex : 램의 내용을 일기 위한 전송 포맷3: C, adl, Ex: Transmission format for writing RAM contents

4 : D, adl, ad2, dal, Ex : 버스상에 데이터를 쓰기 위한 전송 포맷4: D, adl, ad2, dal, Ex: Transmission format for writing data on the bus

의 형태로 데이터 송수신의 프로토콜을 정의할 수 있다.The protocol of data transmission and reception can be defined in the form of.

상기 전송 포맷에서 A, B, C, D는 다음에 이어질 데이터가 어떤 의미를 지니는가를 정의하기 위해 마이콤(1) 내부의 동작을 지정 즉, 상기 모드 플래그(modef)를 위에서 설명한 4가지의 모드로 세팅하기 위해 사용되는 모드 선택용 데이터이고, adl은 기억 소자의 주소 또는 버스상의 각 구성 요소에 대한 메인 어드레스로 정의되고, ad2는 서브-어드레스, dal은 데이터로 정의되며, Ex는 마이콤(1)에서 앞서 들어온 데이터 및 모드에 따라 실제 실행하라는 명령이고 즉, Ex 명령이 입력되기 이전에 데이터가 실행을 위한 데이터인지를 지정하는데 사용될 수 있다. 상기의 정의를 참고하여 본 발명의 동작과정을 제 4 도의 흐름도에 의해 상세히 설명한다.In the transmission format, A, B, C, and D designate the operation inside the microcomputer 1 to define what meaning the data to be next has, i.e., set the mode flag to the four modes described above. Is the mode selection data used for setting, adl is defined as the address of the storage element or the main address for each component on the bus, ad2 is defined as a sub-address, dal is defined as data, and Ex is defined as a microcomputer (1). Is a command to actually execute according to the data and mode previously entered, that is, it can be used to specify whether the data is data for execution before the Ex command is input. Referring to the above definition, the operation of the present invention will be described in detail with reference to the flowchart of FIG.

먼저, 티브이 수상기의 내부 제어기인 마이콤(1)은 전원이 인가되는 초기상태에서 내부에 저장되어 있는 프로그램에 따라 명령을 수행하기 시작하여 주변 회로를 초기화하고, 본 발명과 관련된 기능을 수행하기 위해 직렬 데이터 송수신 인터페이스부(10)의 데이터 버퍼(10-1)에 리드 제어신호(RD)를 인가함으로써 외부 제어기기(11)로부터 출력되는 직렬 데이터를 그 직렬 데이터 송수신 인터페이스부(10)를 통해 입력받을 수 있게 된다. 따라서, 마이콤(1)은 직렬 데이터 송수신 인터페이스부(10)를 통해 직렬 데이터가 입력되는지 판단하여(S1), 입력되는 경우에는 그 직렬 데이터를 내부의 레지스터(X)에 저장하고(S2), 입력된 데이터가 어떤 데이터인지를 알기 위해 현재의 모드 플래그(modef)가 어떻게 설정되어 있는지 판단하게 되는데 (S3, S4, S5, S6), 만일 현재의 모드 플래그(modef)가 정상 모드(modef=0)로 설정되어 있는 경우에는 상기 레지스터(X)에 저장된 데이터가 상기 전송포맷에서 정의된 모드 선택용 데이터(A, B, C, D)인지 판단하여 (S7, S8, S9, S10), 그 판단결과에 따라 그에 해당하게 모드 플래그(modef)를 상기에서 정의된 모드(modef=1, modef=2, modef=3, modef=4)로 설정한다(S13, S14, S15, S16). 한편, 상기 스텝(S7∼S10)에서 데이터가 모드 선택용 데이터 (A, B, C, D)가 아닌 경우에는 직렬 데이터 송수신 인터페이스부(10)에 라이트 제어신호()를 인가하여 송신상태로 만든 후, 그 직렬 데이터 송수신 인터페이스부(10)를 통해 외부 제어기기(11)에 에러를 출력한다(S11). 이 스텝(S11) 및 상기 스텝(S13∼S16) 이후에 주소 정의 플래그, 데이터 정의 플래그 및 서브 주소 정의 플래그를 리세트한 후(S12) 상기 스텝(S1)으로 되돌아간다.First, the microcomputer 1, which is an internal controller of a TV receiver, starts to execute a command according to a program stored therein in an initial state where power is applied, initializes peripheral circuits, and performs a series to perform a function related to the present invention. By applying the read control signal RD to the data buffer 10-1 of the data transmission / reception interface unit 10, the serial data output from the external controller 11 may be received through the serial data transmission / reception interface unit 10. It becomes possible. Therefore, the microcomputer 1 determines whether serial data is input through the serial data transmission / reception interface unit 10 (S1), and if so, stores the serial data in the internal register X (S2) and inputs the input. It is determined how the current mode flag is set to know what data is (S3, S4, S5, S6). If the current mode flag is in the normal mode (modef = 0) Is set to (S7, S8, S9, S10) by determining whether the data stored in the register X is the mode selection data (A, B, C, D) defined in the transmission format (S7, S8, S9, S10) According to this, the mode flag modef is set to the mode defined above (modef = 1, modef = 2, modef = 3, modef = 4) (S13, S14, S15, S16). On the other hand, in step S7 to S10, when the data is not the mode selection data A, B, C, and D, the write control signal (1) is transmitted to the serial data transmission / reception interface unit 10. ) Is set to the transmission state, and then an error is output to the external controller 11 through the serial data transmission / reception interface unit 10 (S11). After the step S11 and the steps S13 to S16, the address definition flag, the data definition flag, and the sub address definition flag are reset (S12), and the process returns to the step S1.

한편, 상기에서 모드 플래그(modef)가 기억소자(6)에 쓰기 위한 모드(modef=1)로 설정되어 있고(S3), 상기 레지스터(X)에 저장된 데이터가 실행 데이터(EX)이면(S25), 데이터 정의 플래그가 세트되어 있는지 판단하여(S26), 세트되어 있지 않으면 상기 스텝(S11)으로 되돌아가고, 세트되어 있으면 이전에 설정된 기억소자(6)의 주소(adl)에 정의된 데이터(dal)를 기억시킨 후(S27) 상기 스텝(S12)으로 되돌아간다.On the other hand, if the mode flag modef is set to the mode for writing to the memory element 6 (modef = 1) (S3), and the data stored in the register X is the execution data EX (S25). It is judged whether or not the data definition flag is set (S26). If not, the process returns to the step S11. If it is set, the data dal defined in the address adl of the previously set memory element 6 is set. Is stored (S27), and the process returns to the step S12.

한편, 상기 스텝(S25)에서 실행 데이터(EX)가 아니면 주소 정의 플래그가 세트되어 있는가를 판별하여(S28), 세트되어 있는 경우에는 상기 레지스터(X)에 저장된 데이터를 읽어 데이터(dal)로 정의하고 데이터 정의 플래그를 세트한 후 (S29) 상기 스텝으로 되돌아가고, 주소 정의 플래그가 세트되어 있지 않은 경우에는 상기 레지스터(X)에 저장된 데이터를 읽어 어드레스(adl)로 정의하고 주소 정의 플래그를 세트한 후 상기 스텝(1)으로 되돌아간다.On the other hand, in step S25, if it is not the execution data EX, it is determined whether the address definition flag is set (S28), and if it is set, the data stored in the register X is read and defined as data dal. After setting the data definition flag (S29), the process returns to the above step. If the address definition flag is not set, the data stored in the register (X) is read and defined as the address adl, and the address definition flag is set. Return to the step (1).

한편, 상기에서 모드 플래그(modef)가 기억소자(6)로부터 데이터를 읽기 위한 모드(modef=2)로 설정되어 있거나(S4), 또는 마이콤(1) 내부의 램 데이터를 읽기 위한 모드(modef=3)로 설정되어 있는 경우에는(S5), 상기 레지스터(4)에 저장된 데이터가 실행 데이터(EX)인가를 판별하여(S31), 실행 데이터(EX)가 아닌 경우에는 상기 레지스터(X)의 데이터를 읽어 어드레스(adl)로 정의하고, 주소 정의 플래그를 세트한 후(S37) 상기 스텝(S1)으로 되돌아가고, 실행 데이터(EX)인 경우에는 주소 정의 플래그가 세트되어 있는지 다시 판별하고(S32), 이때 주소 정의 플래그가 세트되어 있지 않으면 상기 스텝(S11)으로 되돌아가고, 주소 정의 플래그가 세트되어 있으면 상기 기억소자(6)로부터 데이터를 읽기 위한 모드(mode=2f)인가를 다시 판별하고(S33), 이때 모드(modef=2)인 경우에는 정의된 기억소자(6)의 주소에서 데이터를 읽고(S34), 모드(modef=2)가 아닌 경우에는 정의된 램 주소로부터 데이터를 읽으며(S36), 이후 상기 읽은 데이터를 직렬 데이터 송수신 인터페이스부(10)를 통해 외부 제어기기(11)로 출력한 후 상기 스텝(S12)으로 되돌아간다.On the other hand, the mode flag modef is set to a mode for reading data from the memory element 6 (modef = 2) (S4) or a mode for reading RAM data in the microcomputer 1 (modef =). If it is set to 3) (S5), it is determined whether the data stored in the register 4 is execution data EX (S31), and if not, the data of the register X is not the execution data EX. Read to define as address adl, set address definition flag (S37), and then return to step S1, if execution data EX, determine again whether address definition flag is set (S32). If the address definition flag is not set at this time, the process returns to the step S11. If the address definition flag is set, it is again determined whether the mode for reading data from the storage element 6 (mode = 2f) is performed (S33). ), Where definition if mode (modef = 2) If the data is read from the address of the storage device 6 (S34), and if the mode (modef = 2) is not read (S36), the data is read from the defined RAM address (S36), and the serial data transmission / reception interface unit 10 is then read. After the output to the external controller 11 through the return to the step (S12).

한편, 상기에서 모드 플래그(modef)가 내부 버스상에 접속되어 있는 각부 예를 들면, 크로마 처리부(7), 편향 처리부(8), 음성 처리부(9) 또는 PIP 처리부(5)등에 대한 동작을 직접 제어하기 위한 모드(modef=4)로 설정되어 있는(S6) 경우에는 상기 레지스터(X)에 저장된 데이터가 실행 데이터(EX)인가를 판별하여(S17), 실행 데이터(EX)인 경우에 데이터 정의 플래그가 세트되어 있는가를 다시 판별하고(S18), 이때 세트되어 있지 않는 경우에 상기 스텝(S11)으로 되돌아가고, 세트되어 있는 경우에는 정의된 어드레스(adl)의 서브 어드레스(ad2)에 정의된 데이터(dal)를 버스를 통하여 출력한 후(S19) 상기 스텝(S12)으로 되돌아가고, 상기 스텝(S17)에서 실행 데이터(EX)가 아닌 경우에는 서브 주소 정의 플래그가 세트되어 있는지 다시 판별하여(S20), 세트되어 있는 경우에 레지스터(X)의 데이터를 읽어 데이터(dal)로 정의하고 데이터 정의 플래그를 세트한 후 상기 스텝(S1)으로 되돌아가고, 상기 스텝(S20)에서 서브 주소 정의 플래그가 세트되어 있지 않은 경우에는 주소 정의 플래그가 세트되어 있는가를 다시 판별하고(S22), 이때 세트되어 있는 경우에는 레지스터(X)의 데이터를 읽어 서브 어드레스(ad2)로 정의하고 서브 주소 정의 플래그를 세트하며(S24), 상기 주소 정의 플래그가 세트되어 있지 않은 경우에는 레지스터(X)의 데이터를 읽어 어드레스(adl)로 정의하고 주소 정의 플래그를 세트하며(S23), 이 스텝(S23),(S24) 후 상기 스텝(S1)으로 되돌아간다.On the other hand, in the above, the operation of each part connected with the mode flag on the internal bus, for example, the chroma processing unit 7, the deflection processing unit 8, the voice processing unit 9, or the PIP processing unit 5, etc. is directly performed. If the mode (modef = 4) for control is set (S6), it is determined whether the data stored in the register (X) is execution data (EX) (S17), and data is defined if execution data (EX). It is determined again whether or not a flag is set (S18), and if it is not set at this time, the process returns to the step S11, and if it is set, the data defined in the sub address ad2 of the defined address adl ( dal) is output via the bus (S19), the process returns to the step S12, and if the execution data EX is not the step S17, it is again determined whether the sub address definition flag is set (S20). Register if set Read the data of (X), define it as data (dal), set the data definition flag, and then return to the step S1. If the sub address definition flag is not set in the step S20, the address definition flag. Is again set (S22), and if it is set at this time, the data of the register (X) is read and defined as the sub address (ad2) and the sub address definition flag is set (S24), and the address definition flag is set. If not, the data in the register X is read and defined as the address adl, the address definition flag is set (S23), and after this step S23 or S24, the process returns to the step S1.

결국, 기억소자(6)에 데이터를 쓰기 위한 전송 포맷인 A, adl, dal, EX가 직력 데이터 송수신 인터페이스부(10)를 통해 순차로 입력되는 경우에는 상기 A에 의해 모드 플래그(modef)를 데이터를 쓰기 위한 모드(modef=1)로 설정하고, 이후 입력되는 상기 adl을 기억소자(6)의 어드레스(adl)를 정의하고 주소 정의 플래그를 세트하며, 이후 입력되는 상기 dal을 데이터(dal)로 정의하고 데이터 정의 플래그를 세트하며, 이후 입력되는 실행 데이터(EX)에 의해 기억소자(6)의 상기 어드레스(adl)에 상기 데이터(dal)를 기억한다.As a result, when A, adl, dal, and EX, which are transmission formats for writing data to the memory device 6, are sequentially input through the serial data transmission / reception interface unit 10, a mode flag is set by the A data. Set the mode to write (modef = 1), and then define the address adl of the memory element 6 and set an address definition flag, and then input the dal as data dal. And the data definition flag are set, and the data dal is stored in the address adl of the storage element 6 by the execution data EX input thereafter.

또한, 기억소자(6)로부터 데이터를 읽기 위한 전송포맷인 B, ad1, EX가 직력 데이터 송수신 인터페이스부(10)를 통해 순차로 입력되는 경우에는 상기 B에 의해 모드 플래그(modef)를 데이터를 읽기 위한 모드(modef=2)로 설정하고, 이후 입력되는 상기 adl을 기억소자(6)의 어드레스(adl)로 정의하고, 주소 정의 플래그를 세트하며 이후 입력되는 실행 데이터(EX)에 의해 상기 기억소자(6)의 어드레스(adl)로부터 데이터를 읽고 상기 직렬 데이터 송수신 인터페이스부(10)를 통해 출력한다.In addition, when B, ad1, and EX, which are transmission formats for reading data from the storage element 6, are sequentially input through the serial data transmission / reception interface unit 10, the mode flag is read by B. Set the mode (modef = 2), and define the adl input thereafter as the address adl of the memory element 6, set an address definition flag, and then execute the input data EX by the execution data EX. Data is read from the address adl of (6) and output through the serial data transmission / reception interface unit 10.

한편, 램의 내용을 읽기 위한 전송포맷인 C, adl, EX가 직렬 데이터 송수신 인터페이스부(10)를 통해 순차로 입력되는 경우에는 상기 C에 의해 모드 플래그(modef)를 램의 내용을 읽기 위한 모드(modef=3)로 설정하고, 이후 입력되는 상기 adl을 램의 어드레스(MDL)로 정의하고, 주소 정의 플래그를 세트하며, 이후 입력되는 실행 데이터(EX)에 의해 상기 정의된 램의 어드레스(adl)로부터 데이터를 읽고 상기 직렬 데이터 송수신 인터페이스부(10)를 통해 출력한다.On the other hand, when C, adl, and EX, which are transmission formats for reading the contents of the RAM, are sequentially input through the serial data transmission / reception interface unit 10, a mode flag (modef) is read by the C to read the contents of the RAM. (modef = 3), the adl to be input is then defined as the address of the RAM (MDL), the address definition flag is set, and then the address of the RAM (adl) defined by the execution data (EX) input thereafter. Read the data from the) and outputs it through the serial data transmission and reception interface unit 10.

한편, 버스상의 데이터를 쓰기 위한 전송 포맷인 D, adl, ad2, EX가 직렬 데이터 송수신 인터페이스부(10)를 통해 순차로 입력되는 경우에는 상기 D에 의해 모드 플래그(modef)를 버스상에 데이타를쓰기 위한 모드(modef=4)로 설정하고, 이후 입력되는 상기 adl을 버스사의 어드레스(adl)로 정의하고 주소 정의 플래그를 세트하며, 이후 입력되는 ad2를 서브 어드레스(ad2)로 정의하고 서브 주소 정의 플랙그를 세트하며, 이후 입력되는 dal을 데이터(dal)로 정의하고 데이터 정의 플래그를 세트하며, 이후 입력되는 실행 데이터(EX)에 의해 상기 정의된 버스상의 메인 어드레스(AD1)의 서브 어드레스(ad2)로 상기 정의된 데이터(da1)를 출력하며 즉, 이때 상기 메인 어드레스(ad1)에 의해 버스상의 각부가 선택된 후 그 선택된 각 부의 어드레스가 상기 서브 어드레스(ad2)에 의해 지정된 후 그에 상기 데이터(DA1)가 입력되어 제어를 하게 된다.On the other hand, when D, adl, ad2, and EX, which are transmission formats for writing data on the bus, are sequentially input through the serial data transmission / reception interface unit 10, a mode flag (modef) is set by the D on the bus. Set the mode for writing (modef = 4), and then define the input adl as the address of the bus company (adl) and set the address definition flag, and then define the input ad2 as the sub address (ad2) and define the sub address. Set the flag, define the input dal as data (dal) and set the data definition flag, and then the sub-address (ad2) of the main address (AD1) on the bus defined by the input data (EX). Outputs the defined data da1, i.e., each part on the bus is selected by the main address ad1, and then the address of each selected part is supported by the sub address ad2. After it is determined, the data DA1 is input thereto to perform control.

따라서, 본 발명에 의해 종래의 티브이 수상 계에서는 불가능했던 티브이 수상기내의 버스로 제어되는 각종 구성소자들을 직렬 데이터 송수신 인터페이스부(10)를 통해 티브이의 내부 마이콤(1)이 아닌 외부 제어기기(11)에 의한 제어수단을 제공함으로써 버스상의 각종 구성소자들의 상태를 외부 제어기기(11)에서 테스트해 볼 수 있으며, 버스상에 접속된 여러 처리 회로 중에서 일부가 에러일 경우 이를 쉽게 알 수 있도록 하며, 이러한 형태의 마이콤(1)과 외부 제어기기(11)와의 데이터 전송 수단을 더욱 발전시킬 경우 마이콤(1) 프로그램의 에러 또는 버스상의 집적회로들의 에러를 알 수 있게 된다.Therefore, various components controlled by the bus in the TV receiver according to the present invention are not controlled by the internal microcomputer 1 of the TV via the serial data transmission / reception interface unit 10 but the external controller 11. By providing a control means by), the state of various components on the bus can be tested by the external controller 11, and it is easy to know when some of the various processing circuits connected on the bus are errors. Further development of the data transmission means between the microcomputer 1 and the external controller 11 of this type makes it possible to know the error of the microcomputer 1 program or the errors of the integrated circuits on the bus.

이상에서와 같이 본 발명은 티브이 수상기 내부의 제어기인 마이콤과 외부의 제어 수단과의 데이터 전송을 위한 인터페이스부를 구성하고 이를 이용하여 티브이 수상기 내부의 버스 상에서 제어되는 각종 집적회로들을 마이콤이 아닌 외부 제어기기를 사용하여 제어할 수 있는 수단을 제공함으로써 버스상의 각종 집적회로들의 상태를 외부 제어기기에 전달하여 그 기능을 테스트해 볼 수 있게 하는 기회를 제공하며, 또한 버스상의 각종 집적회로 일부가 에러일 경우 이를 쉽게 알 수가 있어 애프터서비스가 용이하게 되는 효과가 있다.As described above, the present invention constitutes an interface unit for data transmission between a microcomputer that is a controller of a TV receiver and an external control means, and uses the same to control various integrated circuits controlled on the bus of the TV receiver, rather than a microcomputer. It provides a means to control by using the controller to provide the opportunity to communicate the status of various integrated circuits on the bus to an external controller and to test its function. It is easy to know that there is an effect that after-sales service becomes easy.

Claims (1)

직렬 데이터의 입력에 따라 티브이 제어를 위한 마이콤의 설정 모드가 데이터를 버스 상에 접속되어 있는 기억소자에 쓰기 위한 모드로 설정되어 있고 외부 제어기기로부터 입력된 데이터가 실행을 위한 명령이면, 정의된 기억소자의 주소 영역에 입력된 데이터를 기록하고, 기억소자에 저장할 입력 데이터 또는 저장 주소가 제대로 정의되어 있지 않으면 데이터 송수신 포맷상의 에러 메시지를 외부의 제어기기로 송출하는 과정과, 입력된 데이터가 비실행 명령일 경우 주소가 제대로 정의되어 있으면 입력된 데이터가 기억될 데이타일을 알리고, 주소가 제대로 정의되어 있지 않으면 주소를 입력하였음을 알리는 플래그를 세트하며, 현재 설정되어 있는 모드가 기억소자로부터 데이터를 읽기 위한 모드이거나 또는 티브이의 내부 마이콤의 램 데이터를 읽기 위한 모드로 설정되어 있는 경우에는, 입력된 실행 명령에 대하여 주소가 제대로 정의되어 있으면 현재의 모드에 따라 정의된 기억 소자의 주소로부터 데이터를 읽어 내거나, 또는 정의된 마이콤 내부의 램으로부터 데이터를 읽어 외부 제어기기에 출력하며 주소가 제대로 정의되어 있지 않으면 에러 메시지를 외부 제어기기로 출력하는 과정과, 모드 설정 플래그의 값이 티브이의 내부 버스상에 접속되어 있는 구성 소자 등에 대한 동작을 직접 제어하기 위한 모드일 경우에는 입력된 데이터 값이 지정하는 모드로 외부 기기와의 데이터 전송 규약을 지정하고, 입력된 데이터가 상기의 모든 조건에 해당하지 않으면 외부 제어기기로 에러 메시지를 출력하는 과정으로 이루어진 것을 특징으로 하는 컴퓨터 제어 티브이 수상기의 외부 제어방법.If the setting mode of the microcomputer for TV control according to the input of the serial data is set to the mode for writing data to the memory device connected on the bus, and the data input from the external controller is a command for execution, the defined memory Recording the input data in the address area of the device, and if the input data or storage address to be stored in the memory device is not properly defined, sending an error message on the data transmission / reception format to an external controller, and the input data is not executed. In case of command, if the address is well defined, it indicates that the data is to be stored. If the address is not well defined, it sets a flag to indicate that the address has been entered. The currently set mode reads data from the memory. Mode for the internal or microcomputer's RAM data If the mode is set to read mode, if the address is properly defined for the inputted execution command, the data is read from the address of the memory device defined according to the current mode, or from the internal RAM defined. Output to an external controller and if the address is not defined properly, output an error message to the external controller, and directly control the operation of the components connected to the internal bus of the TV. In the case of the mode, the input data value designates a data transmission protocol with an external device. If the input data does not correspond to all the above conditions, an error message is output to an external controller. An external control method of a computer controlled TV receiver.
KR1019920002566A 1992-02-20 1992-02-20 Controlling method of computer-controlled tv receiver through communication port KR950013626B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019920002566A KR950013626B1 (en) 1992-02-20 1992-02-20 Controlling method of computer-controlled tv receiver through communication port

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019920002566A KR950013626B1 (en) 1992-02-20 1992-02-20 Controlling method of computer-controlled tv receiver through communication port

Publications (2)

Publication Number Publication Date
KR930018944A KR930018944A (en) 1993-09-22
KR950013626B1 true KR950013626B1 (en) 1995-11-13

Family

ID=19329247

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019920002566A KR950013626B1 (en) 1992-02-20 1992-02-20 Controlling method of computer-controlled tv receiver through communication port

Country Status (1)

Country Link
KR (1) KR950013626B1 (en)

Also Published As

Publication number Publication date
KR930018944A (en) 1993-09-22

Similar Documents

Publication Publication Date Title
US5774741A (en) Portable computer having a port connector for communicating with a variety of optional extension modules
US4298958A (en) Sequence control system
JPH04227381A (en) Picture-in-picture system
GB2344960A (en) Telephone with television interface
US5727191A (en) Monitor adapter
KR950013626B1 (en) Controlling method of computer-controlled tv receiver through communication port
US5138702A (en) External image input/output device connectable image processing system
US6191709B1 (en) Keyboard with separated keyboard frames and portable computer having the same
JPH11177588A (en) Electronic equipment and data communication method
JP2865379B2 (en) Television receiver
CN1118017C (en) Monitor communicable with personal computer
US7463883B2 (en) Multi-functional integrated circuit apparatus in mobile communication terminal and driving method thereof
KR100223544B1 (en) Facsimile apparatus
JPH0879803A (en) Television receiver
JP4534288B2 (en) Signal processing system, signal processing circuit, and demodulator
JPH0991169A (en) Automatic test procedure manual preparation system
JP2847928B2 (en) Electronic musical instrument
KR19980058705A (en) On-Screen Display (OSD) Device and Method Using Memory Device
KR0132988B1 (en) Interface circuit between micom of tv and external machine
KR100244877B1 (en) Integrated interface module
KR890000274Y1 (en) Interface circuit of on-screen ic and ccd
KR100359923B1 (en) Picture telephone displaying state of mode and therefor controlling method
JPH08123376A (en) Display control method, device therefor and, display device
JP2001306053A (en) Display device
JPS63189084A (en) Teletext receiver

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
AMND Amendment
E601 Decision to refuse application
J2X1 Appeal (before the patent court)

Free format text: APPEAL AGAINST DECISION TO DECLINE REFUSAL

G160 Decision to publish patent application
B701 Decision to grant
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20071017

Year of fee payment: 13

LAPS Lapse due to unpaid annual fee