KR100429607B1 - Device and method for transmitting data in wireless telephone - Google Patents

Device and method for transmitting data in wireless telephone Download PDF

Info

Publication number
KR100429607B1
KR100429607B1 KR10-2002-0031246A KR20020031246A KR100429607B1 KR 100429607 B1 KR100429607 B1 KR 100429607B1 KR 20020031246 A KR20020031246 A KR 20020031246A KR 100429607 B1 KR100429607 B1 KR 100429607B1
Authority
KR
South Korea
Prior art keywords
data
address
memory
bus
bit
Prior art date
Application number
KR10-2002-0031246A
Other languages
Korean (ko)
Other versions
KR20030094437A (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 KR10-2002-0031246A priority Critical patent/KR100429607B1/en
Publication of KR20030094437A publication Critical patent/KR20030094437A/en
Application granted granted Critical
Publication of KR100429607B1 publication Critical patent/KR100429607B1/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/14Handling requests for interconnection or transfer
    • G06F13/16Handling requests for interconnection or transfer for access to memory bus
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L12/40006Architecture of a communication node
    • H04L12/40013Details regarding a bus controller

Abstract

본 발명은 휴대용 전화기의 데이터 전송 장치가 데이터를 저장하고 프로그램의 실행 중에 사용되며 고속 액세스를 할 수 있는 레지스터; 산술연산 및 논리 연산을 행하는 연산장치; 명령을 해석 및 실행하는데 필요한 컴퓨터 내부의 유닛트 사이의 데이터의 흐름을 제어하는 제어장치;로 구성되어 8비트 또는 16비트 데이터만 입출력이 가능한 마이크로프로세서와, 프로그램과 프로그램을 처리하는 데이터를 보관하는 메모리와, 16비트 이상의 데이터로 액세스할 수 있는 표시부와, 상기 마이크로프로세서와 메모리 그리고 입출력간의 데이터 전송에 사용하는 양방향 신호선인 데이터버스와, 상기 마이크로프로세서와 메모리을 연결하여 메모리 주소를 전송 및 상기 데이터버스와 함께 상기 표시부에 데이터를 전송하는 어드레스버스와, 상기 데이터를 전송하는 어드레스버스에 설치된 다이오드로 구성된 것을 특징으로 한다.The present invention provides a data transmission device of a portable telephone, a register for storing data, used during execution of a program, and capable of fast access; An arithmetic unit for performing arithmetic and logical operations; A control unit for controlling the flow of data between units inside the computer required to interpret and execute instructions; a microprocessor capable of inputting and outputting only 8-bit or 16-bit data, and a memory for storing programs and data for processing programs A data bus that is a bidirectional signal line used for data transfer between the microprocessor, memory, and input / output, a microbus and a memory are connected to transmit a memory address, and In addition, it is characterized by comprising an address bus for transmitting data to the display unit and a diode provided in the address bus for transmitting the data.

Description

휴대용 전화기의 데이터 전송 장치 및 방법 {DEVICE AND METHOD FOR TRANSMITTING DATA IN WIRELESS TELEPHONE}DEVICE AND METHOD FOR TRANSMITTING DATA IN WIRELESS TELEPHONE}

본 발명은 휴대용 단말기에 관한 것으로, 특히 16비트 이상의 데이터를 1사이클에 출력하는 휴대용 전화기의 데이터 전송 장치 및 방법에 관한 것이다.The present invention relates to a portable terminal, and more particularly, to a data transmission apparatus and method for a portable telephone for outputting 16-bit or more data in one cycle.

휴대용 전화기의 표시부에 데이터를 전송하는 마이크로프로세서의 데이터버스는 8비트 또는 16비트의 데이터만을 전송 할 수 있도록 고정되어 있다. 그러므로상기 데이터버스로 고정된 8비트 또는 16비트보다 큰 비트들을 전송할 경우, 데이터버스를 확장하기 위하여 마이크로프로세서의 데이터버스를 재구성하거나 상기 비트들을 분할하여 2사이클 이상으로 휴대요 전화기에 전송하여야 한다. 예를 들어, 1픽셀의 구성이 16비트인 휴대용 전화기의 표시부는 16비트 데이터가 데이터버스를 통해 1사이클에 전송되므로써 65k 칼라가 출력된다. 그러나 1픽셀의 구성이 18비트인 휴대용 전화기의 표시부에서는 데이터버스를 통해 먼저 16비트를 보낸 후 나머지 2비트를 보내는 2사이클에 18비트가 전송되므로써 260k 칼라가 출력된다.The data bus of the microprocessor that transfers data to the display of the portable telephone is fixed to transfer only 8-bit or 16-bit data. Therefore, in the case of transmitting bits larger than 8 bits or 16 bits fixed to the data bus, the data bus of the microprocessor must be reconfigured or the bits must be divided and transmitted to the portable telephone in two or more cycles in order to extend the data bus. For example, a display unit of a portable telephone having a 16-bit configuration of one pixel outputs 65k colors as 16-bit data is transmitted in one cycle through the data bus. However, in the display unit of a 18-bit mobile phone with 1 pixel configuration, 260k colors are output by sending 16 bits first through the data bus and then sending 18 bits in two cycles of sending the remaining 2 bits.

상기와 같이 18비트의 데이터를 데이터버스를 통해 2사이클에 전송 할 경우, 마이크로프로세서가 상당히 빠른 속도로 액세스가 가능하다면 큰 문제를 유발하지 않지만 상기 마이크로프로세서가 느린 속도로 휴대용 전화기의 표시부에 액세스된다면 1사이클과 2사이클의 출력 속도에서 문제가 발생하여 화면에 출력되는 속도는 더욱 느려지게 되며, 록업(LOCKUP)등이 발생 될 우려가 있었다.If 18-bit data is transmitted in two cycles through the data bus as described above, if the microprocessor can be accessed at a fairly high speed, it does not cause a big problem, but if the microprocessor is accessed at the display of the portable telephone at a slow speed, There was a problem in the output speed of 1 cycle and 2 cycles, the output speed on the screen is slower, there was a fear that lockup, etc. occur.

따라서 본 발명의 목적은 휴대용 단말기의 표시부에 16비트 이상의 데이터 전송시 데이터버스의 확장을 위한 재구성 없이 1사이클에 데이터를 출력 할 수 있는 장치 및 방법을 제공함에 있다.Accordingly, an object of the present invention is to provide an apparatus and method capable of outputting data in one cycle without reconfiguring for expansion of a data bus when transmitting 16 bits or more of data to a display unit of a portable terminal.

상기 목적을 달성하기 위한 휴대용 전화기의 데이터 전송 장치가 데이터를 저장하고 프로그램의 실행 중에 사용되며 고속 액세스를 할 수 있는 레지스터; 산술연산 및 논리 연산을 행하는 연산장치; 명령을 해석 및 실행하는데 필요한 컴퓨터 내부의 유닛트 사이의 데이터의 흐름을 제어하는 제어장치;로 구성되어 8비트 또는 16비트 데이터만 입출력이 가능한 마이크로프로세서와, 프로그램과 프로그램을 처리하는 데이터를 보관하는 메모리와, 16비트 이상의 데이터로 액세스할 수 있는 표시부와, 상기 마이크로프로세서와 메모리 그리고 입출력간의 데이터 전송에 사용하는 양방향 신호선인 데이터버스와, 상기 마이크로프로세서와 메모리을 연결하여 메모리 주소를 전송 및 상기 데이터버스와 함께 상기 표시부에 데이터를 전송하는 어드레스버스와, 상기 데이터를 전송하는 어드레스버스에 설치된 다이오드로 구성된 것을 특징으로 한다.A register to which a data transmission device of a portable telephone for achieving the above object stores data, is used during execution of a program, and has fast access; An arithmetic unit for performing arithmetic and logical operations; A control unit for controlling the flow of data between units inside the computer required to interpret and execute instructions; a microprocessor capable of inputting and outputting only 8-bit or 16-bit data, and a memory for storing programs and data for processing programs A data bus that is a bidirectional signal line used for data transfer between the microprocessor, memory, and input / output, a microbus and a memory are connected to transmit a memory address, and In addition, it is characterized by comprising an address bus for transmitting data to the display unit and a diode provided in the address bus for transmitting the data.

또한 상기 목적을 달성하기 위하여, 휴대용 전화기의 데이터 전송 방법이 16비트 이상의 데이터 출력시, 출력될 데이터가 있는 메모리의 주소 번지정보가 입력되는 과정과, 상기 입력된 메모리의 주소번지에 해당하는 데이터를 선택하는 과정과, 상기 선택된 16비트 이상의 데이터들을 데이터버퍼로 출력하는 과정과, 상기 데이터버퍼에 출력된 16비트 이상의 데이터들을 변수A에 저장하는 과정과, 시프트 연산을 이용하여, 상기 변수A에 저장된 16비트 이상의 데이터들 중 하위 16비트 데이터들을 제거하고 남은 상위 비트 데이터들을 데이터가 전송될 어드레스버스에 맞춘 후, 상기 데이터가 전송될 어드레스값과 논리합으로 연산하여 변수B에 저장하는 과정과, 상기 변수A에 저장된 16비트 이상의 데이터와 출력될 데이터가 있는 메모리칩의 최대값을 논리곱으로 연산하여 나온 하위 16비트 데이터는 데이터버스를 통해, 상기 변수B에 저장된 데이터는 데이터가 전송될 어드레스버스를 통해 동시에 표시부로 전송하는 과정으로 이루어짐을 특징으로 한다.In order to achieve the above object, when the data transmission method of the portable telephone outputs data of 16 bits or more, a process of inputting address address information of a memory having data to be output, and data corresponding to the address address of the input memory is performed. A process of selecting, outputting the selected 16-bit or more data to a data buffer, storing the 16-bit or more data output to the data buffer in a variable A, and using a shift operation, Removing the lower 16-bit data from the 16-bit or more data and matching the remaining upper bit data to the address bus to which the data is to be transmitted, and then calculating the OR with the address value to which the data is to be transmitted and storing the result in variable B; The maximum value of the memory chip which has more than 16 bits of data stored in A and the data to be output is logic. The lower 16-bit data calculated by the product is transmitted through the data bus, and the data stored in the variable B is simultaneously transmitted to the display through the address bus to which the data is to be transmitted.

도 1은 본 발명의 실시예에 따라 휴대용 전화기의 표시부에 데이터를 전송하는 장치의 구성을 도시하는 도면.1 is a diagram showing a configuration of an apparatus for transmitting data to a display portion of a portable telephone according to an embodiment of the present invention.

도 2는 본 발명의 실시예에 따라 휴대용 전화기의 표시부에 데이터 전송시 데이터버스와 어드레스버스가 동시에 데이터 전송을 수행하는 흐름도.2 is a flowchart in which a data bus and an address bus simultaneously perform data transmission when data is transmitted to a display unit of a portable telephone according to an embodiment of the present invention.

도 3은 본 발명의 실시예에 따라 누설자계를 제거하기 위한 휴대용 전화기의 마이크로프로세서가 표시부에서 데이터를 리드(Read)하는 방법을 나타낸 도면.3 is a diagram illustrating a method of reading data from a display unit by a microprocessor of a portable telephone for removing a leakage magnetic field according to an exemplary embodiment of the present invention.

이하 본 발명의 바람직한 실시예들의 상세한 설명이 첨부된 도면들을 참조하여 설명될 것이다.DETAILED DESCRIPTION A detailed description of preferred embodiments of the present invention will now be described with reference to the accompanying drawings.

본 발명의 실시예에 따라 데이터 전송 장치는 휴대용 전화기로 가정하여 설명될 것이다. 그러나 본 발명의 실시예에 따른 장치 및 방법은 휴대용 전화기 이외에 데이터를 전송하여 출력되는 일반적인 통신장치에도 동일하게 적용할 수 있다.According to an embodiment of the present invention, a data transmission apparatus will be described assuming a portable telephone. However, the apparatus and method according to the embodiment of the present invention can be equally applied to general communication devices that transmit and output data in addition to the portable telephone.

도 1은 본 발명의 실시예에 따라 휴대용 전화기의 표시부에 데이터를 전송하는 장치의 구성도이다. 또한 상기 도1의 실시예에서 18비트의 데이터가 표시부에 전송되는 것을 보여주고 있다.1 is a block diagram of an apparatus for transmitting data to a display unit of a portable telephone according to an embodiment of the present invention. 1 shows that 18 bits of data are transmitted to the display unit.

상기 도 1을 참조하면, 마이크로프로세서100은 휴대용 전화기의 전반적인 동작을 제어하는 기능을 수행한다. 즉 메모리로부터 프로그램의 각 명칭을 판독해 그것을 해석하고 어느 데이터에 어떤 처리를 해야하는가 판단해서 그것을 실행하고, 다음에 실행해야 할 명령을 결정한다. 상기 마이크로프로세서는 레지스터101, 연산장치102, 및 제어장치103으로 구성된다. 상기 장치들은 서로 접속되어 있기도 하고, 입출력 포트와 메모리에도 데이터버스에 의해서 접속되어 있다. 상기 레지스터101은 데이터를 보관하는 작은 메모리로 프로그램의 실행 중에 사용되며 고속 액세스를 할 수 있다. 또한 본 발명의 실시예에 따라 16비트이상의 데이터가 1사이클에 데이터버스와 어드레스버스를 통해 출력되도록 연산장치102가 의해 상기 16비트이상의 데이터를 연산시 변수값이 저장된다. 상기 연산장치102는 가산이나승산 등의 산술연산을 행한다. 또한 레지스터 내의 하나 혹은 두 개의 값 사이에서 AND조작과 같은 연산을 행한다. 또한 본 발명의 실시예에 따라 16비트이상의 데이터가 1사이클에 데이터버스와 어드레스버스를 통해 출력되도록 상기 16비트이상의 데이터를 연산한다. 상기 제어장치103은 명령을 해석하고 그것을 실행하는데 필요한 휴대용 전화기 내부의 각 유니트 사이의 데이터의 흐름을 제어한다. 또한 본 발명의 실시예에 따라 16비트이상의 데이터가 1사이클에 데이터버스와 어드레스버스를 통해 출력되도록 상기 레지스터101과 연산장치102를 제어한다.Referring to FIG. 1, the microprocessor 100 performs a function of controlling the overall operation of the portable telephone. That is, it reads each name of the program from memory, interprets it, decides what data should be processed, executes it, and decides the next command to be executed. The microprocessor is composed of a register 101, an operation unit 102, and a control unit 103. The devices are also connected to each other, and are also connected to the input / output port and the memory by a data bus. The register 101 is a small memory for storing data and is used during execution of a program, and allows fast access. In addition, according to an embodiment of the present invention, a variable value is stored when the arithmetic unit 102 calculates the 16-bit or more data so that 16-bit or more data is output through the data bus and the address bus in one cycle. The computing device 102 performs arithmetic operations such as addition and multiplication. It also performs the same operation as the AND operation between one or two values in the register. Further, according to an embodiment of the present invention, the 16-bit or more data is calculated so that 16-bit or more data is output through the data bus and the address bus in one cycle. The control device 103 controls the flow of data between each unit inside the portable telephone necessary to interpret the command and execute it. In addition, according to an embodiment of the present invention, the register 101 and the calculation unit 102 are controlled so that 16 bits or more of data is output through the data bus and the address bus in one cycle.

메모리120은 프로그램 메모리 및 데이터 메모리들로 구성될 수 있다. 상기 프로그램 메모리에는 휴대용 전화기의 일반적인 동작을 제어하기 위한 프로그램들 을 저장할 수 있으며, 상기 데이터 메모리에는 상기 프로그램들을 수행하는 중에 발생되는 데이터들을 일시 저장하는 기능을 수행한다. 또한, 상기 마이크로프로세서에 의해 사용되어지며 마이크로프로세서의 명령어 또는 데이터를 기억하다. 상기 메모리에는 RAM(Random Access Memory)와 ROM(Read Only Memory)가 있다.The memory 120 may be composed of a program memory and a data memory. The program memory may store programs for controlling a general operation of the portable telephone, and the data memory temporarily stores data generated during the execution of the programs. It is also used by the microprocessor and stores instructions or data of the microprocessor. The memory includes random access memory (RAM) and read only memory (ROM).

표시부130은 마이크로프로세서100의 제어에 하에 수행되고 있는 상태 및 통화기능 수행시 사용자의 키조작 상태를 표시한다. 또한 본 발명의 실시예에 따라 16비트 이상의 데이터로 액세스할 수 있으며, 데이터버스와 어드레스버스에 의해서 16비트이상의 데이터를 1사이클에 받아 표시한다.The display unit 130 displays the state being performed under the control of the microprocessor 100 and the key operation state of the user when performing a call function. Further, according to the embodiment of the present invention, data can be accessed with 16 bits or more, and data of 16 bits or more is received and displayed in one cycle by the data bus and the address bus.

데이터버스140은 상기 마이크로프로세서와 메모리 그리고 입출력간의 데이터전송에 사용하는 양방향 신호선이다. 어드레스버스150은 상기 마이크로프로세서100과 메모리120을 연결하여 메모리 주소를 전송하거나, 상기 데이터버스140이 16비트데이터를 표시부에 전송할 때 동시에 나머지 비트들을 상기 표시부130으로 전송한다. 다이오드160은 상기 마이크로프로세서100이 데이터를 전송하는 어드레스버스151을 통해 상기 표시부130으로 부터 데이터를 리드(Read)하는 것을 방지하기 위하여 데이터를 전송하는 어드레스버스151에 설치된다. 키입력부170은 숫자 및 문자 정보를 입력하기 위한 키들 및 각종 기능들을 설정하기 위한 기능키들을 구비한다.The data bus 140 is a bidirectional signal line used for data transmission between the microprocessor, memory, and input / output. The address bus 150 transmits a memory address by connecting the microprocessor 100 and the memory 120, or simultaneously transmits the remaining bits to the display unit 130 when the data bus 140 transmits 16-bit data to the display unit. The diode 160 is installed in the address bus 151 for transmitting data in order to prevent the microprocessor 100 from reading data from the display unit 130 through the address bus 151 for transmitting data. The key input unit 170 includes keys for inputting numeric and character information and function keys for setting various functions.

상기 도 1을 참조하여 16비트 이상의 데이터가 휴대용 전화기의 표시부에 전송되는 동작을 살펴보면, 먼저 어드레스버스150중 표시부130에 데이터 전송시 사용되지 않거나 타이밍에 적합한 어드레스버스151을 임의로 설정하여 역전압에 따른 누설전류 발생을 방지하기 위한 다이오드 설치한다.Referring to FIG. 1, when 16-bit or more data is transmitted to a display unit of a portable telephone, first, an address bus 151 which is not used or is appropriate for timing data transmission to the display unit 130 of the address bus 150 may be arbitrarily set according to a reverse voltage. Install diode to prevent leakage current.

키입력부170의 조작으로 표시부130에 출력될 데이터가 있는 메모리의 주소 번지정보가 어드레스번지150에 입력된다. 상기 마이크로프로세서100에 있는 디코더는 상기 어드레스번지150에 입력된 메모리의 주소번지를 선택하여, 선택된 주소 번지의 데이터를 상기 메모리120의 버퍼를 거쳐 마이크로프로세서100의 데이터버퍼로 출력한다. 상기 마이크로프로세서의 제어장치103은 레지스터101과 연산장치102가 상기 데이터버퍼에 저장된 16비트이상의 데이터를 데이터버스가 전송할 하위 16비트 데이터와 어드레스버스가 전송할 나머지 상위 비트들로 분리하도록 제어한다. 상기 데이터버스140과 어드레스버스150은 16비트 이상의 데이터를 표시부130에 동시에 전송한다.The address address information of the memory having data to be output to the display unit 130 is input to the address address 150 by the operation of the key input unit 170. The decoder of the microprocessor 100 selects the address of the memory input to the address 150 and outputs the data of the selected address to the data buffer of the microprocessor 100 through the buffer of the memory 120. The control unit 103 of the microprocessor controls the register 101 and the operation unit 102 to separate 16-bit or more data stored in the data buffer into lower 16-bit data to be transmitted by the data bus and the remaining higher bits to be transmitted by the address bus. The data bus 140 and the address bus 150 simultaneously transmit data of 16 bits or more to the display unit 130.

도 2는 본 발명의 실시예에 따라 휴대용 전화기의 표시부에 데이터 전송시데이터버스와 어드레스버스가 동시에 데이터 전송을 수행하는 흐름도이다. 상기 도2의 실시예에서는 CS(Chip Selection)이 0x00000 ~ 0x0FFFF까지 사용 가능한 휴대용 전화기의 표시부에 260k 칼라를 출력하기 위해 18비트의 데이터인 0x20FFF를 전송하며, 어드레스버스 A0~ A17중 A2~ A3을 데이터를 전송하는 어드레스버스로 설명한다. 상기 데이터를 전송하는 어드레스버스는 데이터버스가 표시부에 데이터 전송시 타이밍이 적절하거나 사용되지 않고 있는 어드레스버스를 선택할수 있다.2 is a flowchart in which a data bus and an address bus simultaneously perform data transmission when data is transmitted to a display unit of a portable telephone according to an exemplary embodiment of the present invention. The Figure in the embodiment of Figure 2 CS (Chip Selection) is 0x00000 ~ sends data of 0x20FFF of 18 bits to output a 260k color on the display unit of the portable telephone used by 0x0FFFF, address bus A 0 ~ A 17 of A 2 It describes a a ~ 3 as an address bus to transfer data. The address bus for transferring the data can select an address bus whose timing is not appropriate or used when the data bus is transferring data to the display unit.

이하 본 발명의 실시예를 도 1의 참조와 함께 상세히 설명한다.An embodiment of the present invention will now be described in detail with reference to FIG. 1.

키입력부170의 조작으로 200단계에서 표시부130에 출력될 데이터가 있는 메모리의 주소 번지정보가 어드레스번지 A0~ A17150에 입력된다. 상기 마이크로프로세서100에 있는 디코더는 210단계에서 상기 어드레스번지 A0~ A17150에 입력된 주소번지를 메모리120에서 선택한다. 선택된 메모리120의 주소번지의 데이터를 220단계에서 상기 메모리120의 버퍼를 거쳐 마이크로프로세서100의 데이터버퍼로 출력한다.In operation 200, the address address information of the memory having data to be output to the display unit 130 is input to the address addresses A 0 to A 17 150 by the operation of the key input unit 170. In operation 210, the decoder in the microprocessor 100 selects an address address input to the address addresses A 0 to A 17 150 from the memory 120. The data of the address of the selected memory 120 is output to the data buffer of the microprocessor 100 through the buffer of the memory 120 in step 220.

상기 220단계에서 데이터버퍼로 저장된 18비트의 데이터 0x2FFF를 230단계에서 레지스터101의 변수A에 저장한다. 제어장치103은 240단계에서 레지스터10과 연산장치102를 제어하여 상기 230단계에서 레지스터101의 변수A에 저장된 0x2FFF을 연산한다. 먼저, 0x2FFF을 오른쪽으로 15만큼 시프트 연산을 하여 하위 16비트 인 0x0FFF을 제거한다. 남은 상위 두 비트 0x2를 어드레스버스 A2~ A3151 맞추기 위해 왼쪽으로 2만큼 시프트 연산한다. 그런 후, 상기 어드레스버스 A2~ A3의 어드레스값인 Addr과 논리합으로 연산하여 레지스터의 변수B에 저장한다.In operation 220, the 18-bit data 0x2FFF stored as the data buffer is stored in the variable A of the register 101 in operation 230. The controller 103 controls the register 10 and the arithmetic unit 102 in operation 240 to calculate 0x2FFF stored in the variable A of the register 101 in operation 230. First, 0x2FFF is shifted right by 15 to remove the lower 16 bits, 0x0FFF. Shift the left two bits 0x2 left by two to align the address buses A 2 to A 3 151. Thereafter, the data is calculated by performing a logical OR with Addr, which is an address value of the address buses A 2 to A 3 , and stored in the variable B of the register.

250단계에서는, 상기 230단계에서 변수A에 저장된 0x20FFF를 표시부130에 출력될 데이터가 있는 메모리 칩의 최대값인 0x0FFFF과 논리곱으로 연산하여 나온 하위 16비트 데이터 0x0FFF과, 상기 240단계에서 변수B에 저장된 데이터를 동시에 출력한다.In step 250, 0x20FFF stored in variable A in operation 230 is logically multiplied with 0x0FFFF, which is the maximum value of a memory chip that has data to be output on display 130, and the lower 16-bit data 0x0FFF, and in step 240, variable B Output stored data at the same time.

상기 250단계에서 상기 240단계에서 변수B에 저장된 데이터는 어드레스버스 A2~ A3151을 통해, 하위 16비트 데이터 0x0FFF은 데이터버스140을 통해 동시에 표시부130으로 전송되어 표시되는 260단계로 진행한다.In step 250, the data stored in the variable B in step 240 is transmitted through the address buses A 2 to A 3 151, and the lower 16-bit data 0x0FFF is simultaneously transmitted to the display unit 130 via the data bus 140 to be displayed.

어드레스버스150은 아웃풋(output)전용이므로 데이터를 리드(Read)할 경우 역전압에 따른 누설전류가 발생한다. 그러므로, 데이터를 전송하는 어드레스버스 A2~ A3151에 설치된 다이오드160은 상기 마이크로프로세서100이 데이터를 전송하는 어드레스버스 A2~ A3151을 통해 상기 표시부130으로부터 데이터를 리드(Read)하는 것을 방지한다.Since the address bus 150 is only for output, leakage current occurs due to reverse voltage when data is read. Therefore, the diode 160 installed in the address buses A 2 to A 3 151 which transmits data prevents the microprocessor 100 from reading the data from the display unit 130 via the address buses A 2 to A 3 151 which transmits the data. prevent.

그러나, 마이크로프로세서100이 표시부130을 리드(Read)할 필요가 없거나, 표시부130의 데이터(D16~D17)가 리드(Read)만 하는 포트라면 다이오드160을 제거해도 무방하다.However, the diode 160 may be removed if the microprocessor 100 does not need to read the display unit 130, or if the data D 16 to D 17 of the display unit 130 read only the port.

도 3은 본 발명의 실시예에 따라 누설자계를 제거하기 위한 휴대용 전화기의마이크로프로세서가 표시부에서 데이터를 리드(Read)하는 방법을 나타내고 있다3 illustrates a method of reading data from a display unit by a microprocessor of a portable telephone for removing a leakage magnetic field according to an exemplary embodiment of the present invention.

상기 마이크로프로세서100이 로직하이(Logic High)상태인 어드레스버스 A2~ A3151을 통해 상기 표시부130으로부터 리드 액세스(Read Access)를 하면, 상기 어드레스버스 A2~ A3151을 통해 출력되는 데이터((D16~D17)는 로직로우(Logic Low) 또는 로직하이(Logic High)로 출력될 것이다.When the microprocessor 100 performs read access from the display unit 130 through address buses A 2 to A 3 151 in a logic high state, data is output through the address buses A 2 to A 3 151. ((D 16 ~ D 17 ) will be output as Logic Low or Logic High.

이때, 상기 데이터(D16~D17)가 로직하이(Logic High)로 출력되었을 경우에는 문제가 없지만, 로직로우(Logic Low)로 출력될 경우에는 로직하이(Logic High) 출력된 어드레스 버스 A2~ A3151이 강제적으로 로직로우(Logic Low)로 되는 현상이 나타나 누설전류 및 이상작동이 발생된다.At this time, there is no problem when the data D16 to D17 are output at logic high, but when output is logic low, the address bus A 2 to A output is logic high. 3 151 is forced to logic low, causing leakage current and abnormal operation.

이를 방지하기 위해 도 3에서와 같이, 마이크로프로세서100이 표시부130의 데이터를 리드(Read)할 때 상기 마이크로프로세서100은 300단계에서 리드(Read)할 주소번지(A2~ A3)의 데이터 0x20000을 지정한다. 상기 선택된 주소번지(A2~ A3)의 데이터 0x20000은 301단계에서 레지스터101의 변수C에 저장된다. 제어장치103은 302단계에서 레지스터101과 연산장치102를 제어하여 상기 301단계에서 레지스터101의 변수C에 저장된 주소번지(A2~ A3)의 데이터 0x20000을 0x0FFF3과 논리곱으로 연산하여 상기 주소번지(A2~ A3)값을 '0'으로 만든다.To prevent this, as shown in FIG. 3, when the microprocessor 100 reads data of the display unit 130, the microprocessor 100 may read data of address addresses A 2 to A 3 to be read in step 300. Specify. Data 0x20000 of the selected address A 2 to A 3 is stored in variable C of register 101 in step 301. The controller 103 controls the register 101 and the arithmetic unit 102 in step 302, and calculates the data 0x20000 of the address addresses A 2 to A 3 stored in the variable C of the register 101 in a logical product by 0x0FFF3 in step 301. (A 2 ~ A 3 ) Make the value '0'.

상기와 같이 어드레스버스 A2~ A3151을 로직로우(Logic Low)로 주소를 출력함으로써, 리드(Read)에 따른 표시부130의 출력이 로직로우(Logic Low) 혹은 로직하이(Logic High)에 관계없이 정상작동이 가능하다.As described above, the address buses A 2 to A 3 151 are outputted at logic low, so that the output of the display unit 130 according to the read is related to logic low or logic high. Normal operation is possible without

즉, 상술한 바와 같이 본 발명은, 휴대용 전화기의 표시부에 16비트 이상의 데이터를 데이터버스와 어드레스버스를 통해 1사이클에 전송함으로써, 데이터버스의 확장을 위한 재구성 없이 화면에 출력되는 속도를 증가시킬 수 있다.That is, as described above, the present invention can increase the speed output on the screen without reconfiguration for the expansion of the data bus by transmitting 16-bit or more data to the display unit of the portable telephone in one cycle through the data bus and the address bus. have.

또한, 데이터 전송을 하는 어드레스버스에 다이오드를 설치함으로써, 상기 데이터 전송을 하는 어드레스버스 통해 데이터 리드(Read)시 발생하는 역전압에 따른 누설전류를 막을 수 있는 효과가 있다.In addition, by providing a diode in the address bus for data transmission, there is an effect that can prevent the leakage current due to the reverse voltage generated during data read through the address bus for data transmission.

Claims (2)

휴대용 전화기의 데이터 전송 장치에 있어서,In the data transmission device of a portable telephone, 데이터를 저장하고 프로그램의 실행 중에 사용되며 고속 액세스를 할 수 있는 레지스터;Registers for storing data and used during execution of the program and capable of fast access; 산술연산 및 논리 연산을 행하는 연산장치;An arithmetic unit for performing arithmetic and logical operations; 명령을 해석 및 실행하는데 필요한 컴퓨터 내부의 유닛트 사이의 데이터의 흐름을 제어하는 제어장치;로 구성되어 8비트 또는 16비트 데이터만 입출력이 가능한 마이크로프로세서와,A microprocessor configured to control the flow of data between units inside a computer required to interpret and execute instructions; 프로그램과 프로그램을 처리하는 데이터를 보관하는 메모리와,Memory that stores programs and data that processes them, 16비트 이상의 데이터로 액세스할 수 있는 표시부와,A display that can be accessed with data of 16 bits or more, 상기 마이크로프로세서와 메모리 그리고 입출력간의 데이터 전송에 사용하는 양방향 신호선인 데이터버스와,A data bus which is a bidirectional signal line used for data transmission between the microprocessor, memory, and input / output, 상기 마이크로프로세서와 메모리을 연결하여 메모리 주소를 전송 및 상기 데이터버스와 함께 상기 표시부에 데이터를 전송하는 어드레스버스와,An address bus which connects the microprocessor and a memory to transmit a memory address and to transmit data to the display unit together with the data bus; 상기 마이크로프로세서가 데이터를 전송하는 어드레스버스를 통해 데이터를 리드(read)하는 것을 방지하기 위해 상기 데이터를 전송하는 어드레스버스에 설치된 다이오드로 구성된 것을 특징으로 하는 휴대용 전화기의 데이터 전송 장치.And a diode installed in the address bus for transmitting the data in order to prevent the microprocessor from reading data through the address bus for transmitting the data. 휴대용 전화기의 데이터 전송 방법에 있어서,In the data transmission method of the portable telephone, 16비트 이상의 데이터 출력시, 출력될 데이터가 있는 메모리의 주소 번지정보가 입력되는 과정과,In case of outputting data more than 16 bits, the address address information of the memory where the data to be output is inputted; 상기 입력된 메모리의 주소번지에 해당하는 데이터를 선택하는 과정과,Selecting data corresponding to the address of the input memory; 상기 선택된 16비트 이상의 데이터들을 데이터버퍼로 출력하는 과정과,Outputting the selected 16-bit or more data to a data buffer; 상기 데이터버퍼에 출력된 16비트 이상의 데이터들을 변수A에 저장하는 과정과,Storing at least 16 bits of data output to the data buffer in variable A; 시프트 연산을 이용하여, 상기 변수A에 저장된 16비트 이상의 데이터들 중 하위 16비트 데이터들을 제거하고 남은 상위 비트 데이터들을 데이터가 전송될 어드레스버스에 맞춘 후, 상기 데이터가 전송될 어드레스값과 논리합으로 연산하여 변수B에 저장하는 과정과,By using a shift operation, the lower 16-bit data is removed from the 16-bit or more data stored in the variable A, and the remaining upper-bit data is aligned with the address bus to which data is to be transmitted, and then the operation is performed by performing a logical OR with the address value to be transmitted. To store in variable B, 상기 변수A에 저장된 16비트 이상의 데이터와 출력될 데이터가 있는 메모리칩의 최대값을 논리곱으로 연산하여 나온 하위 16비트 데이터는 데이터버스를 통해, 상기 변수B에 저장된 데이터는 데이터가 전송될 어드레스버스를 통해 동시에 표시부로 전송하는 과정으로 이루어짐을 특징으로 하는 휴대용 전화기의 데이터 전송 방법.The lower 16-bit data obtained by performing a logical product on the 16-bit or more data stored in the variable A and the maximum value of the memory chip having the data to be output is via a data bus, and the data stored in the variable B is an address bus to which data is transferred The data transmission method of a portable telephone, characterized in that the process of transmitting to the display at the same time through.
KR10-2002-0031246A 2002-06-04 2002-06-04 Device and method for transmitting data in wireless telephone KR100429607B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR10-2002-0031246A KR100429607B1 (en) 2002-06-04 2002-06-04 Device and method for transmitting data in wireless telephone

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR10-2002-0031246A KR100429607B1 (en) 2002-06-04 2002-06-04 Device and method for transmitting data in wireless telephone

Publications (2)

Publication Number Publication Date
KR20030094437A KR20030094437A (en) 2003-12-12
KR100429607B1 true KR100429607B1 (en) 2004-05-03

Family

ID=32385793

Family Applications (1)

Application Number Title Priority Date Filing Date
KR10-2002-0031246A KR100429607B1 (en) 2002-06-04 2002-06-04 Device and method for transmitting data in wireless telephone

Country Status (1)

Country Link
KR (1) KR100429607B1 (en)

Also Published As

Publication number Publication date
KR20030094437A (en) 2003-12-12

Similar Documents

Publication Publication Date Title
US5847450A (en) Microcontroller having an n-bit data bus width with less than n I/O pins
EP2384016B1 (en) Operation terminal and screen display method for operation terminal
KR100805836B1 (en) Bus width configuration device, display device, and the method configuring bus width
KR100429607B1 (en) Device and method for transmitting data in wireless telephone
US4961191A (en) Test circuit for logic circuits
US5333259A (en) Graphic information processing system having a RISC CPU for displaying information in a window
JPH1185724A (en) Cpu mode switch circuit
KR100480729B1 (en) Apparatus and Method for Realizing Graphic User Interface of The TV
KR19990065452A (en) Microcomputer's command interpreter
KR100595632B1 (en) Method for controlling display data of mobile terminal
KR100597752B1 (en) Device with function of Bootstrap And Electronic Apparatus Comprising the device And Control Method Thereof
US20030145245A1 (en) Microcontroller
US20030160773A1 (en) Microcomputer having OSD circuit, and bus control device and method
US20020007263A1 (en) Apparatus for supporting microprocessor development system
KR910000646B1 (en) Processing circuit and method of digital sound effect
KR100200735B1 (en) High-speed micro-controller
KR200142909Y1 (en) Input/output interface apparatus
KR920006970B1 (en) Programmable logic controller
JP4534288B2 (en) Signal processing system, signal processing circuit, and demodulator
KR100962306B1 (en) Bidirectional data transmission apparatus and the method thereof for embedded system
KR100420477B1 (en) Method for transmitting data by using preset mode register
KR940000221B1 (en) Ladder command processor apparatus
KR0186202B1 (en) One-chip micro-computer
JPH1078828A (en) Frequency multistage change controller for clock and its method
KR19990070404A (en) Apparatus and method for selecting a screen adjustment menu for a window on a display 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: 20120329

Year of fee payment: 9

FPAY Annual fee payment

Payment date: 20130328

Year of fee payment: 10

LAPS Lapse due to unpaid annual fee