KR970004259B1 - Apparatus of ic interface - Google Patents

Apparatus of ic interface Download PDF

Info

Publication number
KR970004259B1
KR970004259B1 KR1019940016165A KR19940016165A KR970004259B1 KR 970004259 B1 KR970004259 B1 KR 970004259B1 KR 1019940016165 A KR1019940016165 A KR 1019940016165A KR 19940016165 A KR19940016165 A KR 19940016165A KR 970004259 B1 KR970004259 B1 KR 970004259B1
Authority
KR
South Korea
Prior art keywords
data
microcomputer
integrated circuit
key
control
Prior art date
Application number
KR1019940016165A
Other languages
Korean (ko)
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 KR1019940016165A priority Critical patent/KR970004259B1/en
Application granted granted Critical
Publication of KR970004259B1 publication Critical patent/KR970004259B1/en

Links

Landscapes

  • Control By Computers (AREA)

Abstract

An integrated circuit interface bus control unit embodies a circuit in order to set each mode simultaneously inputting address and data, and controls an integrated circuit. The IC interface bus control unit includes: a key input means for performing address designation and a data input, and setting a data read/write state; a microcomputer for checking a selection state of the key input means, and controlling a data read/write and an operation state; a display means for displaying a present status by a control of the microcomputer; a memory for storing a final data and a user-desired data by a control of the microcomputer; a reset means for initializing the microcomputer when selecting the inititial or reset terminal.

Description

집적회로 인터페이스 버스 제어 장치 및 그 방법Integrated circuit interface bus control device and method thereof

제1도는 종래 집적회로 인터페이스 버스 제어장치의 구성도.1 is a block diagram of a conventional integrated circuit interface bus controller.

제 2 도는 본 발명 집적회로 인터페이스 버스 제어장치의 구성도.2 is a block diagram of an integrated circuit interface bus controller of the present invention.

제3도는 제2도에서 메모리 맵을 보인 예시도.3 is an exemplary view showing a memory map in FIG.

제4도는 제5도는 제2도에 있어서, 키 입력부의 구조 및 각 키의 예시도.FIG. 4 is a diagram showing the structure of a key input unit and each key in FIG.

제6도는 본 발명의 라이트/리트 포멧의 예시도.6 is an exemplary view of the write / lit format of the present invention.

제7도는 본 발명의 모드 선택을 위한 신호 흐름도.7 is a signal flow diagram for mode selection of the present invention.

제8도는 제7도에 있어서, 각 모드 변화를 보인 예시도.FIG. 8 is an exemplary diagram showing a change in each mode in FIG.

제9도는 본 발명의 동작에 따른 파형도.9 is a waveform diagram according to the operation of the present invention.

제10도는 본 발명의 라이트 모드동작을 보인 예시도.10 is an exemplary view showing a light mode operation of the present invention.

제11도는 본 발명의 리드 모드동작을 보인 예시도.11 is an exemplary view showing a read mode operation of the present invention.

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

1 : 표시부2 : 마이크로 컴퓨터1: display unit 2: microcomputer

3 : 리셋부4 : 키 입력부3: reset section 4: key input section

5 : 메모리6 : 어드레스 입력단자5: Memory 6: Address input terminal

7 : 데이타 입력단자8 : 모드 선택단자7: Data input terminal 8: Mode selection terminal

본 발명은 I2C 버스 제어에 관한 것으로 특히, I2C 버스로 제어되는 모든 집적 회로를 손쉽게 제어하도록 하는 집적회로 인터페이스 버스 제어장치 및 그 방법에 관한 것이다.The present invention relates to I 2 C bus control, and more particularly, to an integrated circuit interface bus controller and a method for easily controlling all integrated circuits controlled by an I 2 C bus.

일반적으로 I2C 버스로 제어되는 집적회로를 개발한 메이커에서는 각 집적 회로를 제어할 수 있는 프로그램을 제공한다.Manufacturers who have developed integrated circuits, typically controlled by an I 2 C bus, provide a program to control each integrated circuit.

종래 집적회로 시험용 버스 제어 장치의 구성도는 제1도에 도시된 바와 같이, 제어 모드 선택을 위한 키보드(101)와, 이 키보드(101)의 선택에 따라 제어 프로그램을 실행시키는 컴퓨터(102)와, 이 컴퓨터(102)의 출력 신호에 의해 집적 회로(105)를 제어하기 위한 데이터 정보를 표시하는 모니터(103)와, 상기 컴퓨터(103)에서 출력된 제어 데이타를 집적회로(IC)(105)에 전송하는 집적회로 제어 인터페이스(104)로 구성된다.As shown in FIG. 1, a configuration diagram of a conventional bus control apparatus for an integrated circuit test includes a keyboard 101 for selecting a control mode, a computer 102 for executing a control program in accordance with the selection of the keyboard 101, and And a monitor (103) for displaying data information for controlling the integrated circuit (105) by the output signal of the computer (102), and the control data output from the computer (103) for the integrated circuit (IC) (105). It consists of an integrated circuit control interface 104 for transmitting to.

이와 같은 종래의 장치의 동작 과정을 설명하면 다음과 같다.Referring to the operation of the conventional device as follows.

개발된 집적회로(105)의 동작을 점검 또는 제어하기 위하여 demo 보드 또는 샤시에 상기 집적회로(105)를 장착하고 키보드(101)에서 제어 모드 선택을 위해 키를 입력시키면 컴퓨터(102)는 메이커에서 제공된 제어 프로그램을 실행시키게 된다.In order to check or control the operation of the developed integrated circuit 105, the integrated circuit 105 is mounted on a demo board or chassis, and a key is input to select a control mode on the keyboard 101. Run the provided control program.

이때 컴퓨터(102)에서 제어 프로그램이 실행되면 모니터(103)에 제어화면이 표시되고, 사용자가 키보드(101)를 이용하여 제어 모드에 따른 동작을 선택한 후 세팅하면 상기 컴퓨터(102)에 집적회로 인터페이스(104)로 제어 데이타를 출력하게 된다.At this time, when the control program is executed on the computer 102, the control screen is displayed on the monitor 103, and when the user selects an operation according to the control mode using the keyboard 101 and sets the integrated circuit interface on the computer 102. At 104, control data is output.

이에 따라, 집적회로 제어 인터페이스(104)가 컴퓨터(102)에서 입력받은 제어 데이타를 집적회로(105)에 전송하면 상기 집적회로(105)의 내부 데이타를 제어하게 된다.Accordingly, when the integrated circuit control interface 104 transmits control data received from the computer 102 to the integrated circuit 105, the integrated circuit control interface 104 controls the internal data of the integrated circuit 105.

그러나, 이러한 종래 장치는 집적회로를 제어하기 위하여 많은 장비가 필요하고 하나의 샤시에 여러개의 I2C 버스를 통해 제어되는 집적회로가 장착되어 있을 경우에는 제어하기 곤란하며 특히, 서로 다른 메이커의 집적회로가 섞여 있을 경우에는 각각의 집적회로를 제어하여야 하는 곤란한 문제점이 있었다.However, these conventional devices require a lot of equipment to control integrated circuits and are difficult to control when one chassis is equipped with integrated circuits controlled through several I 2 C buses. When the circuits are mixed, there is a difficult problem of controlling each integrated circuit.

본 발명은 상기와 같은 종래의 문제점을 해결하기 위하여 어드레스, 데이타를 입력시킴과 아울러 각 모드를 세팅하도록 회로를 구현하므로써 집적회로를 제어하도록 하는 집적회로 인터페이스 버스 제어 장치 및 그 방법을 창안한 것으로, 이를 첨부한 도면을 참조하면 상세히 설명하면 다음과 같다.SUMMARY OF THE INVENTION The present invention has been made with an integrated circuit interface bus control apparatus and method for controlling an integrated circuit by implementing a circuit to input an address and data and to set each mode in order to solve the conventional problems as described above. This will be described in detail with reference to the accompanying drawings.

본 발명은 상기와 같은 목적을 달성하기 위하여 어드레스 및 데이타를 지정하고 데이타의 리드/라이트 및 상태 설정을 위한 키 입력 수단과, 이 키 입력 수단의 선택 상태를 점검하여 데이타의 리드/라이트 및 동작 상태를 제어하는 마이크로 컴퓨터와, 이 마이크로 컴퓨터의 제어에 의해 현재의 제어 상태를 표시하는 표시 수단과, 상기 마이크로 컴퓨터의 제어에 의해 최종 데이타 및 사용자가 기억시키려는 데이타를 저장하는 메모리와, 리셋 단자의 선택에 의해 상기 마이크로 컴퓨터의 동작을 초기화시키는 리셋 수단으로 구성한 것을 특징으로 한다.In order to achieve the above object, the present invention designates address and data, key input means for reading / writing and setting of data, and checking the selection state of the key input means to read / write and operate the data. A microcomputer controlling the microcomputer; display means for displaying a current control state under control of the microcomputer; a memory for storing final data and data to be stored by the user under control of the microcomputer; And reset means for initializing the operation of the microcomputer.

제2도는 본 발명에 따른 실시예로서 이에 도시한 바와 같이, 어드레스 입력단자(6) 및 데이타 입력단자(7)로 어드레스 및 데이타를 지정하고 무드 선택단자(8)로 데이타의 리드/라이트 및 상태를 설정하기 위한 키 입력부(4)와, 이 키 입력부(4)의 선택 상태를 점검하여 데이타의 리드/라이트 및 동작 상태를 제어하는 마이크로 컴퓨터(4)와, 이 마이크로 컴퓨터(2)의 제어에 의해 현재의 제어 상태를 표시하는 표시부(1)와, 상기 마이크로 컴퓨터(2)의 제어에 의해 최종 데이타 및 사용자가 기억시키려는 데이타를 저장하는 메모리(5)와, 리셋 단자의 선택에 의해 상기 마이크로 컴퓨터(2)의 동작을 초기로 설정하는 리셋부(3)로 구성한다.2 is an embodiment according to the present invention, as shown therein, address and data are designated by the address input terminal 6 and the data input terminal 7, and read / write and status of the data by the mood select terminal 8. A key input unit 4 for setting the key, a microcomputer 4 for checking the selection state of the key input unit 4, and controlling the read / write and operation states of the data, and control of the microcomputer 2 The display unit 1 for displaying the current control state by the controller; a memory 5 for storing final data and data to be stored by the user under control of the microcomputer 2; and the microcomputer by selection of a reset terminal. It consists of the reset part 3 which sets the operation of (2) initially.

상기 키 입력부(4)는 제4도에 도시한 바와 같은 접점 구조로서 각 접점은 제5도에 도시한 바와 같은 숫자 키 및 모드 세팅키로 이루어지는데, 어드레스 입력단자(6) 및 데이타 입력단자(7)는 "0"에서 "F"까지 숫자 키이고 모드 선택단자(8)는 라이트 포멧, 리드 포멧, SL/SU/AH/AL/FR세팅, RD, +, -, 스토어, 리콜키로 이루어진다.The key input section 4 has a contact structure as shown in FIG. 4, and each contact consists of a numeric key and a mode setting key as shown in FIG. 5. The address input terminal 6 and the data input terminal 7 ) Are the numeric keys "0" to "F", and the mode selector (8) is for write format, lead format, SL / SU / A H / A L / F R setting, RD, +,-, store, recall key. Is done.

상기 표시부(1)는 엘씨디(LCD) 또는 엘이디(LED)등으로 구성할 수 있으며 본 발명에서는 7-세그먼트 엘이디(LED)로 구성하였다고 가정한다.The display unit 1 may be composed of an LCD or an LED, and in the present invention, it is assumed that the display unit 1 is composed of a 7-segment LED.

이와 같이 구성한 본 발명의 동작 및 작용효과를 제3원, 제6도 내지 제11도를 참조하여 상세히 설명하면 다음과 같다.The operation and the effect of the present invention configured as described above will be described in detail with reference to the third circle, FIGS. 6 to 11 as follows.

우선, 전원이 공급되는 리셋부(3)에 의해 마이크로 컴퓨터(2)가 초기화 된 후 동작을 수행하는데, 상기 마이크로 컴퓨터(2)는 초기화시 라이트 포멧, 리드 포멧, 각 어드레스, 주파수 및 데이타를 읽은 후 전송 주파수를 세팅하고 메모리(5)에 저장된 데이타를 I2C 버스를 통해 집적회로에 전송하게 된다.First, the microcomputer 2 is initialized by the reset unit 3 to which power is supplied. The microcomputer 2 reads the write format, read format, each address, frequency, and data during initialization. Then, the transmission frequency is set and data stored in the memory 5 is transferred to the integrated circuit through the I 2 C bus.

여기서, 메모리(5)는 제3도에 도시한 바와 같이, 라이트 포멧, 리트 포멧, 슬래브 어드레스(SL), 서브어드레스(SU), 추가 하이 어드레스(AH), 추가 로우 어드레스(AL), 주파수(Fr)를 저장하는 영역, 유저의 데이타 저장하는 영역 및 최종 데이타를 저장하는 영역으로 구성된다.As shown in FIG. 3, the memory 5 includes a write format, a lit format, a slab address SL, a sub address SU, an additional high address A H , an additional row address A L , It consists of an area for storing the frequency F r , an area for storing user data, and an area for storing final data.

그리고, 리셋단자를 누름에 의해 리셋부(3)는 마이크로 컴퓨터(2)를 초기화시키므로써 상기와 같은 동작을 동일하게 수행하게 된다.Then, by pressing the reset terminal, the reset unit 3 performs the same operation as described above by initializing the microcomputer 2.

이때, 마이크로 컴퓨터(2)는 초기화 동작이 종료되면 제4도와 같은 구조의 키입력부(4)를 스캔하여 어드레스 입력단자(6) 및 데이타 입력단자(7)를 점검하므로써 스캔 펄스가 있는지 판별하고, 스캔 펄스가 없을 때 모드 선택단자(8)를 점검하게 된다.At this time, when the initialization operation is finished, the microcomputer 2 scans the key input unit 4 having the structure as shown in FIG. 4 and checks the address input terminal 6 and the data input terminal 7 to determine whether there is a scan pulse. When there is no scan pulse, the mode selection terminal 8 is checked.

이에 따라, 사용자가 각 키를 누를 때마다 마이크로 컴퓨터(2)의 제어에 의해 표시부(1)가 현 상태를 표시하고 사용자가 숫자 키인 데이타 입력단자(7)로 마지막 데이타를 입력하는 순간에 현재 상태를 표시함과 아울러 데이타 송수신이 버스 라인을 통해 이루어진다.As a result, each time the user presses each key, the display unit 1 displays the current state under the control of the microcomputer 2 and the current state at the moment when the user inputs the last data into the data input terminal 7 which is a numeric key. In addition, data transmission and reception are performed through the bus line.

즉, 마이크로 컴퓨터(2)는 키 입력을 판별하였을 때 모드 선택단자(8)에서 라이트 포맷키를 선택하면 제6도(가)와 같은 I2C의 라이트 포멧중 최종 포멧을 표시하고, 리트 포멧키를 선택하면 제6도(나)와 같은 리트포멧중 최종 포멧을 표시하며, 어드레스 지정키(SL/SU/AH/AL/Ff)를 선택하면 제어하려는 집적회로의 슬래브 어드레스/서브 어드레스/추가 어드레스 하이/ 로우 및 주파수를 표시하고, 리트 키(RD)를 선택하면 지정된 리드 포멧으로 슬래브 데이타를 읽어 지정된 리트 포멧으로 표시하게 된다.That is, when the microcomputer 2 determines the key input and selects the write format key from the mode selection terminal 8, the microcomputer 2 displays the final format among the write formats of I 2 C as shown in FIG. Selecting the key displays the final format among the lit formats as shown in FIG. 6 (b). Selecting the addressing key (SL / SU / A H / A L / F f ) selects the slab address / sub of the integrated circuit to be controlled. When the address / additional address high / low and frequency are displayed and the lit key RD is selected, the slab data is read in the designated read format and displayed in the designated lit format.

이때, 라이트 포멧키, 리트 포멧키, 어드레스 키 및 리드 키를 선택하여 현재의 상태를 표시할 때 증감키(+)(-)를 선택하여 현재의 상태를 재설정할 수 있는데, 라이트 포멧의 경우 증감 키(+)(-)를 선택하므로써 제8도(가)와 같이 라이트 포멧 상태를 순차적으로 변화시키고 리트 포멧의 경우 제8도(나)와 같이 리드 포멧의 상태를 순차적으로 변화시키며 어드레스 지정의 경우 제8도(다)와 같이 어드레스 지정 상태를 변화시키므로써 SL,SU,AH,SL,Fr을 순차적으로 바꾸게 된다.At this time, when the current format is selected by selecting the right format key, the lit format key, the address key, and the read key, the current state can be reset by selecting the increase / decrease key (+) (-). By selecting the key (+) (-), the write format status is changed sequentially as in FIG. 8 (a). In the case of the lit format, the read format status is changed sequentially as in FIG. 8 (b). In this case, as shown in FIG. 8 (C), SL, SU, A H , S L , and F r are sequentially changed by changing the addressing state.

여기서, 라이트/리드 포멧 또는 어드레스를 지정한 후 숫자 키인 데이타 입력단자(7)로 각 데이타를 2digit 단위로 입력시켜 세팅하여, 어드레스 지정의 경우 AH, AL은 리드/라이트 코멧이 아니면 나타나지 않는다.Here, after specifying the write / read format or address, each data is set in 2 digit units using the data input terminal 7, which is a numeric key, and A H and A L do not appear unless the read / write format is used for addressing.

그리고, 마이크로 컴퓨터(2)는 모드 선택단자(8)에서 스토어 키를 선택하면 지금까지 제어한 데이타를 저장시킴과 아울러 표시부(1)에 제8도(마)와 같이 숫자키로 지정한 저장번지 '5t 0-'를 표시하고 리콜키(RCL)를 선택하면 상기 표시부(1)에 제8도(바)와 같이 'RC L-'을 표시함과 아울러 숫자키인 어드레스 입력단자(6)로 지정한 번지에 따른 상기 메모리(5)에 저장된 데이타를 다시 읽어 출력하게 된다.When the store computer is selected in the mode selection terminal 8, the microcomputer 2 stores the data so far controlled and the storage address designated by the numeric keys on the display unit 1 as shown in FIG. When 0- 'is displayed and the recall key (RCL) is selected,' RC L- 'is displayed on the display unit 1 as shown in FIG. 8 (bar), and the address designated by the address input terminal 6, which is a numeric key, is displayed. The data stored in the memory 5 is read back and output.

이에 따라, 어드레스 입력단자(6)로 어드레스를 지정하고 데이타 입력단자(7)로 데이타를 입력시킨 후 모든 데이타가 입력되었으면 마이크로 컴퓨터(2)는 I2C 버스를 통해 데이타를 전송하고 모드 선택단자(8)의 리드키(RD)를 입력시키면 데이타 전송 상태에 따라 제8도(라)와 같이 표시부(1)에 표시하게 된다.Accordingly, after addressing to the address input terminal 6 and data input to the data input terminal 7 and all the data has been input, the microcomputer 2 transfers the data through the I 2 C bus and the mode selection terminal. When the lead key RD of (8) is inputted, it is displayed on the display unit 1 as shown in FIG.

상기와 같은 동작은 제7도에 도시한 바와 같은 신호 흐름도에 의해 이루어진다.The above operation is performed by the signal flow diagram as shown in FIG.

본 발명은 입력된 키를 인식하고 데이타를 처리하는 키 스캔 과정과, 현재의 상태를 표시함과 아울러 입출력되는 데이타를 표시하는 표시 과정과, 버스 라인을 통해 데이타를 라이트하거나 리트하는 데이타 입출력 과정과, 최종 데이타 및 유저 데이타를 입출력하는 메모리 제어 과정으로 이루어진 소프트웨어를 수행하여 상기와 같은 동작을 제어하게 된다.The present invention provides a key scanning process for recognizing an input key and processing data, a display process for displaying the current state as well as input and output data, and a data input / output process for writing or writing data through a bus line; The above operation is controlled by performing a software control process for inputting and outputting final data and user data.

이때 본 발명은 마이크로 컴퓨터(2) 내의 I2C 인터페이스를 이용하는 방식으로 I2C 제어를 수행하며 데이타 입력단자(7)로 데이타를 입력시키면 1바이트의 명령을 자동으로 출력하는데, 전송 모드에서는 슬래브 어드레스, 서브 어드레스 및 데이타는 1바이트 전송하고 리트 모드에서는 1바이트의 데이타를 읽어 들이게 된다.In this case, the present invention performs I 2 C control by using the I 2 C interface in the microcomputer 2 and automatically inputs a command of 1 byte when data is input to the data input terminal 7. In the transmission mode, the slab The address, subaddress and data are transmitted by one byte, and in the read mode, one byte of data is read.

즉, 제10도의 파형도에 도시한 바와 같이 시작 상태가 설정된 후 데이타를 전송하고 전송이 완료되어 인식 신호(ACK)가 인에이블되면 데이타 전송을 중지하게 된다.That is, as shown in the waveform diagram of FIG. 10, after the start state is set, data is transmitted. When the transmission is completed and the recognition signal ACK is enabled, the data transmission is stopped.

여기서, 데이타 전송에 에러가 발생하면 표시부(1)는 마이크로 컴퓨터(2)의 제어에 의해 하단부의 7-세그먼트 엘이디가 블링킹(blinking) 상태가 된다.Here, if an error occurs in the data transmission, the display unit 1 is brought into a 7-segment LED at the lower end by the control of the microcomputer 2 in a blinking state.

상기와 같은 동작에서 라이트 및 리드 동작을 설명하면 다음과 같다.Referring to the write and read operation in the above operation is as follows.

먼저, 데이타 라이트 동작의 경우 제11도에 도시한 바와 같이;First, as shown in FIG. 11 for the data write operation;

에러 카운트값이 "5"면 슬래브 어드레스를 전송하고 에러인지 판별하여 에러이면 에러 카운트 값을 감소시킨 후 에러 카운트 값이 "0"인지 판별하여 "0"가 아니면 슬래브 어드레스를 전송함과 아울러 에러인지 판별하는 동작을 반복하여 에러 카운트 값이 "0"일면 에러 플래그를 세트한다.If the error count value is "5", the slab address is transmitted and it is determined to be an error. If it is an error, the error count value is decreased, and if the error count value is "0", if it is not "0", the slab address is transmitted and it is an error. The discriminating operation is repeated to set the error flag when the error count value is "0".

그리고, 슬래브어드레스를 전송 후 에러인지 판별하여 에러가 아니면 라이트 포멧이 "1,2,3,4"인지 판별하며, 라이트 포멧이 "1,2,3,4"가 아니면 슬래브 어드레스를 전송한 후 에러인지 판별하게 된다.After the slab address is transmitted, it is determined whether it is an error. If it is not an error, it is determined whether the write format is "1, 2, 3, 4". Determine if an error.

이때, 에러가 아니면 라이트 포멧이 "9"인지 판별하여 "9"이면 추가 어드레스 하이를 전송한 후 에러인지 판별하고 에러가 아니면 추가 어드레스 로우를 전송한 후 에러인지 판별하여 에러가 아니면 데이터를 전송한 후 에러인지 판별하게 된다.At this time, if it is not an error, it is determined whether the write format is "9". If it is "9", it is determined whether it is an error after transmitting an additional address high. If not, it is determined that it is an error after transmitting an additional address row. It is then determined whether it is an error.

이에 따라 에러가 아니면 n개의 데이타가 전송되었는지 판별하여 전송되었으면 플래그를 리셋하게 된다.Accordingly, if it is not an error, it is determined whether n data have been transmitted, and if so, the flag is reset.

또한 데이타 리드 동작은 제12도에 도시한 바와 같이, 에러 카운트 값이 "5"이면 리드 포멧이 "1,2,3,4"인지 판별하여 리드 포멧이 "1,2,3,4"가 아니면 라이트 모드인 슬래브 어드레스를 전송한 후 에러인지 판별하게된다.In addition, as shown in FIG. 12, when the error count value is "5", the data read operation determines whether the read format is "1, 2, 3, 4" and the read format is "1, 2, 3, 4". Otherwise, it transmits the slab address in the write mode and determines whether it is an error.

이때, 슬래브 어드레슬 전송한 후 에러를 판별하면 에러 카운트 값을 갑소시킨 후 에러 카운트 값이 "0"인지 판별하여 "0"가 아니면 리드 포멧이 "1,2,3,4"인지 판별하여 "1,2,3,4"가 아닐때 라이트 모디은 슬래브 어드레스를 전송함과 아울러 에러를 판별하는 동작을 반복하고 에러 카운트 값이 "0"이면 에러 플래그를 세트한다.At this time, if the error is determined after the slab address transmission, the error count value is abbreviated, and the error count value is "0", and if it is not "0", the read format is "1, 2, 3, 4" and the " When it is not 1, 2, 3, 4 ", the write mode transmits the slab address and repeats the operation of identifying the error. If the error count value is" 0 ", the write module sets the error flag.

그리고, 라이트 모드인 슬래브 어드레스를 전송 후 에러인지 판별하여 에러가 아니면 슬래브 어드레스를 전송하고 슬래브 어드레스 전송 후 에러인지 판별하여 에러가 아니면 리트 포멧이 "9"인지 판별하게 된다. 이때, 에러가 아니면 리드 포멧이 "9"인지 판별하여 "9"이면 추가 어드레스 하이를 전송한 후 에러인지 판별하고 에러가 아니면 추가 어드레스 로우를 전송한 후 에러인지 판별하여 에러가 아니면 리드 모드인 슬래브 어드레스를 전송하여 에러인지 판별하여 에러가 아니면 데이타를 읽은 후 에러인지 판별하게 된다.After the slab address in the write mode is transmitted, it is determined whether it is an error. If it is not an error, the slab address is transmitted. If it is not an error, the slab address is transmitted. At this time, if it is not an error, it is determined whether the read format is "9". If it is "9", it is determined that it is an error after transmitting an additional address high. If not, it is determined that it is an error after transmitting an additional address row. It is determined whether it is an error by sending an address. If it is not an error, it is determined after reading data.

이에 따라, 읽어들인 데이타가 에러가 아니면 n개의 데이타를 읽었는지 판별하여 n개의 데이타를 읽었으면 에러 플래그를 리셋하게 된다.Accordingly, if the read data is not an error, it is determined whether n data have been read, and when n data is read, the error flag is reset.

본 발명은 다른 실시예는 마스터 메모리를 키트위에 장착하여 확장버튼 중 메모리 전송 키를 선택하므로써 마스터 메모리의 내용을 다른 메모리에 기억시키도록 하는 메모리 지그(Jig) 또는 샤시의 데이타를 조절하여 메모리에 저장하고 확장 버퍼를 이용하여 메모리의 번지를 지정한 후 데이타를 전송하도록 하는 조정 지그(Jig) 등으로 활용할 수 있다.Another embodiment of the present invention is to adjust the data of the memory jig (Jig) or the chassis to store the contents of the master memory in another memory by selecting the memory transfer key of the expansion button by mounting the master memory on the kit and stored in the memory It can be used as an adjustment jig to transfer data after designating address of memory by using expansion buffer.

상기에서 상세히 설명한 바와 같이 본 발명은 최소화 및 경량화에 의해 손쉽게 운반할 수 있고 컴퓨터가 없이도 I2C 버스로 제어되는 모든 집적 회로를 점검할 수 있음과 동시에 데이타의 조정이 가능하므로 공장 자동화등에 적용할 수 있는 효과가 있다.As described in detail above, the present invention can be easily carried by minimization and light weight, and can be applied to factory automation since it can check all integrated circuits controlled by the I 2 C bus without a computer and adjust data at the same time. It can be effective.

Claims (5)

어드레스 지정 및 데이타 입력을 수행함과 아울러 데이타의 리드/라이트 및 상태 설정을 위한 키 입력 수단과, 이 키 입력 수단의 선택 상태를 점검하여 데이타의 리드/라이트 및 동작 상태를 제어하는 마이크로 컴퓨터와, 이 마이크로 컴퓨터의 제어에 의해 현재의 제어 상태를 표시하는 표시 수단과, 상기 마이크로 컴퓨터의 제어에 의해 최종 데이타 및 사용자가 기억시키려는 데이타 저장하는 메모리와, 초기 또는 리셋 단자 선택시 상기 마이크로 컴퓨터의 동작을 초기화시키는 리셋 수단으로 구성한 것을 특징으로 하는 집적회로 인터페이스 버스 제어 장치.A key input means for performing addressing and data input, as well as setting data read / write and status, and a microcomputer for checking the selection state of the key input means to control read / write and operation status of the data, and Display means for displaying the current control state under control of the microcomputer, memory for storing final data and data to be stored by the user under control of the microcomputer, and initializing the operation of the microcomputer at the time of initial or reset terminal selection An integrated circuit interface bus control apparatus comprising: a reset means. 제1항에 있어서, 마이크로 컴퓨터는 키 입력 수단의 스캔 펄스를 감지하여 스캔 펄스가 있으면 어드레스 및 데이타를 읽어 들이고 스캔 펄스가 없으면 제어 모드를 판별하는 것을 특징으로 하는 집적회로 인터페이스 버스 제어 장치.2. The integrated circuit interface bus control apparatus according to claim 1, wherein the microcomputer senses a scan pulse of the key input means to read an address and data if there is a scan pulse and to determine a control mode if there is no scan pulse. 제1항에 있어서, 키 입력 수단은 어드레스 지정을 위한 어드레스 입력단자와, 데이타 입력을 위한 데이타 입력단자와, 제어 모드 설정을 위한 모드 선택단자로 구성한 것을 특징으로 하는 집적회로 인터페이스 버스 제어 장치.The integrated circuit interface bus control apparatus according to claim 1, wherein the key input means comprises an address input terminal for address designation, a data input terminal for data input, and a mode selection terminal for control mode setting. 입력된 키를 인식하고 데이타를 처리하는 키 스캔 과정과, 현재의 상태를 표시함과 아울러 키 조작에 의해 입출력되는 데이타를 표시하는 상태 표시 및 조작 과정과, 버스 라인을 통해 데이타를 라이트하거나 리드하는 데이타 입출력 과정으로 이루어진 것을 특징으로 하는 집적회로 인터페이스 버스 제어 방법.Key scanning process for recognizing input keys and processing data, status display and operation process for displaying the current state and data input / output by key operation, and writing or reading data through bus lines Integrated circuit interface bus control method comprising a data input and output process. 제4항에 있어서, 최종 데이타 및 유저 데이타의 입출력을 제어하여 설정된 동일 데이타를 반복 사용하기 위한 메모리 제어 과정을 포함한 것을 특징으로 하는 집적회로 인터페이스 버스 제어 방법.The integrated circuit interface bus control method according to claim 4, further comprising a memory control process for repeatedly using the same data set by controlling the input / output of the final data and the user data.
KR1019940016165A 1994-07-06 1994-07-06 Apparatus of ic interface KR970004259B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019940016165A KR970004259B1 (en) 1994-07-06 1994-07-06 Apparatus of ic interface

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019940016165A KR970004259B1 (en) 1994-07-06 1994-07-06 Apparatus of ic interface

Publications (1)

Publication Number Publication Date
KR970004259B1 true KR970004259B1 (en) 1997-03-26

Family

ID=19387380

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019940016165A KR970004259B1 (en) 1994-07-06 1994-07-06 Apparatus of ic interface

Country Status (1)

Country Link
KR (1) KR970004259B1 (en)

Similar Documents

Publication Publication Date Title
US5717428A (en) Portable computer keyboard for use with a plurality of different host computers
US5410305A (en) Portable computer keyboard
US5412800A (en) System for running incompatible graphics programs
US5278958A (en) Method and apparatus for selecting a keyboard on a computer system
US4424576A (en) Maintenance panel for communicating with an automated maintenance system
JP4106771B2 (en) Display controller driver and display unit driving method
KR970004259B1 (en) Apparatus of ic interface
US5630167A (en) Electronic apparatus having a plurality of connectors each connecting one of a plurality of kinds of cards
KR20060015946A (en) Display apparatus and display system
CN1118017C (en) Monitor communicable with personal computer
GB2128786A (en) Apparatus for controlling production of speech or text
JPH06259615A (en) Portable terminal information processor
CN2255817Y (en) Electronic testing instrument for visual acuity
KR100451585B1 (en) Virtual host apparatus
JPS59200312A (en) Computer controller provided with control display board
KR100482815B1 (en) A system and method for operating lcd module
JPS62213348A (en) Electronic device
JP2001195227A (en) Display method and display driver device
JPH0962313A (en) Flexible input and output module and programmable controller
KR930004421B1 (en) Data monitoring method for terminal
KR950000535B1 (en) Monitor control apparatus
KR19990070404A (en) Apparatus and method for selecting a screen adjustment menu for a window on a display device
KR940009428B1 (en) Computer link unit with common memory
JP2981773B2 (en) Terminal device, and terminal device body and switch unit constituting the terminal device
JP2001195030A (en) Display method and display driving device

Legal Events

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

Payment date: 20070619

Year of fee payment: 11

LAPS Lapse due to unpaid annual fee