KR0143098B1 - High speed asynchronous serial communication interface apparatus for information storage system - Google Patents
High speed asynchronous serial communication interface apparatus for information storage systemInfo
- Publication number
- KR0143098B1 KR0143098B1 KR1019950014068A KR19950014068A KR0143098B1 KR 0143098 B1 KR0143098 B1 KR 0143098B1 KR 1019950014068 A KR1019950014068 A KR 1019950014068A KR 19950014068 A KR19950014068 A KR 19950014068A KR 0143098 B1 KR0143098 B1 KR 0143098B1
- Authority
- KR
- South Korea
- Prior art keywords
- data
- transmission
- reception
- response
- unit
- Prior art date
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/38—Information transfer, e.g. on bus
- G06F13/42—Bus transfer protocol, e.g. handshake; Synchronisation
- G06F13/4282—Bus transfer protocol, e.g. handshake; Synchronisation on a serial bus, e.g. I2C bus, SPI bus
- G06F13/4291—Bus transfer protocol, e.g. handshake; Synchronisation on a serial bus, e.g. I2C bus, SPI bus using a clocked protocol
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/04—Generating or distributing clock signals or signals derived directly therefrom
- G06F1/10—Distribution of clock signals, e.g. skew
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/14—Handling requests for interconnection or transfer
- G06F13/16—Handling requests for interconnection or transfer for access to memory bus
- G06F13/1668—Details of memory controller
- G06F13/1673—Details of memory controller using buffers
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/14—Handling requests for interconnection or transfer
- G06F13/16—Handling requests for interconnection or transfer for access to memory bus
- G06F13/1668—Details of memory controller
- G06F13/1689—Synchronisation and timing concerns
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Communication Control (AREA)
Abstract
1. 청구범위에 기재된 발명이 속한 기술분야1. TECHNICAL FIELD OF THE INVENTION
정보저장기용 고속 비동기 시리얼통신 인터페이스 장치에 관한 것이다.A high speed asynchronous serial communication interface device for information storage.
2. 발명이 해결하려고 하는 기술적 과제2. The technical problem to be solved by the invention
통신장치 메인보오드의 처리결과를 정보 저장용 기기에 고속으로 저장하기 위한 비동기 시리얼통신 인터페이스 장치를 구현한다.An asynchronous serial communication interface device for storing the processing result of the communication device main board at high speed in the information storage device is implemented.
3. 발명의 해결방법의 요지3. Summary of Solution to Invention
본 발명의 인터페이스 장치는 메인보오드의 처리결과를 송신용 메모리에 워드단위로 써놓고 송신시작신호를 발생시켜 송신을 위한 읽기를 수행하고 또한 이를 시리얼변환 및 듀티변환하여 정보 저장기의 인터페이스장치로 전송하고, 정보 저장용 기기로부터 출력되는 정보를 수신하여 소정 비트로 래치하고 시리얼로 변환한후 수신용메모리에 워드단위로 써넣고 수신정보가 소정의 수신워드수가 되면 통신장치의 CPU보오드에 인터럽트신호를 보내 CPU보오드가 수신용메모리에 저장된 수신정보를 읽게 한다.The interface device of the present invention writes the processing result of the main board in word memory in the transmission memory, generates a transmission start signal, performs reading for transmission, and serially converts and duty converts the data to the interface device of the information storage device. Receives the information output from the information storage device, latches it into a predetermined bit, converts it into serial, writes it into the receiving memory in units of words, and sends the interrupt signal to the CPU board of the communication device when the received information is a predetermined number of received words. The CPU board reads the received information stored in the receiving memory.
Description
제1도는 여러장의 보오드들로 구성되어 동작하는 통신장치(10)에서 메인 CPU보오드(12)의 처리결과를 정보저장용 기기(20)에 저장하기 위한 구성도1 is a block diagram for storing the processing result of the main CPU board 12 in the information storage device 20 in the communication device 10 is composed of a plurality of boards operating
제2도는 본 발명에 따른 통신용 인터페이스보오드(14, 22) 구서도2 is a schematic diagram of a communication interface board 14 and 22 according to the present invention.
제3도는 제3a도∼제3c도로 구성되며, 제3a도는 본 발명에 따른 통신용 인터페이스보오드(14)의 초기화 동작 및 데이타 송신동작상태에 따른 각부 파형도이고, 제3b도는 듀티변환부(40) 및 데이타수신부(44)로부터 출력되는 송수신 데이타 TDXT와 RXDT의 구체 파형도이며, 제3c도는 통신용 인터페이스보오드(14)의 데이타 수신동작 상태에 따른 각부 파형도이다.3A to 3C are diagrams, and FIG. 3A is a waveform diagram of each part according to an initialization operation and a data transmission operation state of the communication interface board 14 according to the present invention, and FIG. 3B is a duty converter 40. And a specific waveform diagram of the transmission / reception data TDXT and RXDT output from the data reception section 44, and FIG. 3C is a waveform diagram of each section according to the data reception operation state of the communication interface board 14. FIG.
*도면의 주요부분에 대한 부호의 설명* Explanation of symbols for main parts of the drawings
10:통신장치 12:CPU보오드10: communication device 12: CPU board
14, 22:통신용 인터페이스보오드 20:정보저장용 기기14, 22: communication interface board 20: information storage device
30:송신용 FIFO메모리부 32:어드레스 디코더30: FIFO memory unit for transmission 32: Address decoder
36:타이밍 제어부 40:듀티변환부36: Timing control unit 40: Duty conversion unit
42:데이타전송부 44:데이타수신부42: data transmitter 44: data receiver
46:수신비트래치부 50:수신워드검출부46: Receive bit latch unit 50: Receive word detection unit
54:릴레이구동부 56:릴레이부54: relay drive part 56: relay part
16-1, 16-2:송,수신용 전송선로16-1, 16-2: Transmission and reception transmission line
본 발명은 통신시스템에 관한 것으로, 특히 메인보오드의 처리결과를 정보 저장용 기기에 고속으로 저장하게 이한 비동기 시리얼통신 인터페이스 장치에 관한 것이다.The present invention relates to a communication system, and more particularly to an asynchronous serial communication interface device for storing the processing result of the main board at high speed in the information storage device.
제1도는 여러장의 보오드들로 구성되어 동작하는 통신장치(10)에서 메인 CPU보오드(12)의 처리결과를 정보저장용 기기(20)에 저장하기 위한 구성도를 보여주고 있는데, 상기 처리결과를 정보저장용 기기(20)에 저장하기 위하서는 양쪽의 통신용 인터페이스보오드(14, 22)와 양쪽의 통신용 인터페이스보오드(14, 22)를 연결하는 전송선로(16)가 구비된다. 제1도의 정보저장용 기기(20)는 범용 컴퓨터 및 그와 유사한 장비들로 구성될 수 있다. 상기 정보저장용 기기(20)는 메인 CPU보오드(12)의 처리 결과를 모두 저장하도록 하여 제1도와 통신장치(10)의 정보 처리 부담을 줄이게 해준다.FIG. 1 shows a configuration diagram for storing the processing result of the main CPU board 12 in the information storage device 20 in the communication device 10 which is composed of several boards. In order to store in the information storage device 20, a transmission line 16 for connecting both communication interface boards 14 and 22 and both communication interface boards 14 and 22 is provided. Information storage device 20 of FIG. 1 may be comprised of a general purpose computer and similar equipment. The information storage device 20 stores all the processing results of the main CPU board 12 so as to reduce the information processing burden of the first diagram and the communication device 10.
이러한 제1도의 구성은 정비 및 개선 기타 용도로 사용하기 위하여서 메인 CPU보오드(12)에서 처리하는 결과가 점차 늘어나고 정보 전자용 기기(20)는 그 만큼 많은 처리 정보를 저장해야 한다. 이러한 처리정보를 정보저장용 기기(20)로 저장하기위한 메인 CPU보오드(12)는 그에 따른 통신제어 부담이 점차로 커지게 된다.In the configuration of FIG. 1, the result of processing in the main CPU board 12 is gradually increased for use in maintenance, improvement, and other purposes, and the information electronic device 20 must store as much processing information as it is. The main CPU board 12 for storing such processing information in the information storage device 20 is gradually increasing the communication control burden.
이러한 부담을 줄이도록 통신인터페이스보오드(14, 22)는 아래와 같은 표준 또는 옵션 등을 장비되어 잇다. 이들중 대표적인 것으로 GP-IB나 센트로닉스(Centronics)인터페이스 등과 같이 데이타를 패러럴(parallel)로 전송하는 인터페이싱 방식과, RS-23C, RS422, RS423인터페이스 등과 같은 데이타를 시리얼(serial)로 전송하는 인터페이스방식이 있다. 패러럴로 전송하는 인터페이스 방식은 제1도의 전송선로(16)의 라인을 패러럴처리가능하게 많이 설치하므로 메인 CPU보오드(12)에서 처리한 결과정보는 한꺼번에 많이 그리고 고속으로 처리될수 있다. 그러나 이러한 패러럴 인터페이스방식은 비록 고속이지만 통신장치(10)와 정보저장기기(20)간의 거리가 먼 경우에 전송선로(16)나 입출력 통신용인터페이스보오드(14, 22)에 코스트가 많이 든다. 또한 정보저장용 기기(20)의 이동 용이성을 저해한다.To reduce this burden, the communication interface boards 14 and 22 are equipped with the following standards or options. Among them, interfacing method for transmitting data in parallel such as GP-IB or Centronics interface, and interface method for transmitting data such as RS-23C, RS422, RS423 interface, etc. in serial There is this. In the parallel interface method, since the lines of the transmission line 16 of FIG. 1 are provided in parallel, the resultant information processed by the main CPU board 12 can be processed at a time and at a high speed. However, although the parallel interface method is high speed, when the distance between the communication device 10 and the information storage device 20 is far, the transmission line 16 and the interface boards 14 and 22 for input / output communication are expensive. In addition, the ease of movement of the information storage device 20 is impaired.
다른 방법으로 데이타를 시리얼로 전송하는 인터페이스 방식은 패러럴로 전송하는 인터페이스 방식에 비하여 전송서로(16)의 수가 적고 접속이 용이하며 노이즈대책이 용이하나, 패러럴로 전송하는 방식보다 전송속도가 느리다는 단점이 있다. 또한 RS-232C인터페이스는 통신장치(10)와 정보저장용 기기(20)간의 전송선로의 길이를 15미터까지로 규격으로 정하고 있어 그 거리가 다소 거리가 짧다.Alternatively, the interface method for transmitting data serially has a smaller number of transmission lines 16, easier access, and easier noise countermeasure than the interface method for parallel transmission, but has a lower transmission speed than the parallel method. There is this. In addition, the RS-232C interface specifies the length of the transmission line between the communication device 10 and the information storage device 20 as a standard of 15 meters, and the distance is rather short.
따라서 본 발명의 목적은 통신장치 메인보오드의 처리결과를 정보 저장용 기기에 고속으로 저장하기 위한 비동기 시리얼통신 인터페이스 장치를 제공함에 있다.Accordingly, an object of the present invention is to provide an asynchronous serial communication interface device for storing the processing result of the communication device main board at high speed in an information storage device.
본 발명의 다른 목적은 통신장치와 정보 저장용 기기 간을 연결하는 전송선로의 수롤 효율적으로 줄이면서 고속으로 통신할 수 있는 비동기 시리얼통신 인터페이스 장치를 제공함에 있다.Another object of the present invention is to provide an asynchronous serial communication interface device capable of communicating at high speed while efficiently reducing the number of transmission lines connecting a communication device and an information storage device.
이하 본 발명의 바람직한 일실시예가 첨부된 도면을 참조하여 상세히 설명된 것이다. 본 발명에서 동일한 구성은 가능한한 어느곳에든지 동일한 참조번호 및 부호를 사용하고 있음을 유의하여야 한다.Hereinafter, a preferred embodiment of the present invention will be described in detail with reference to the accompanying drawings. Note that the same configuration in the present invention uses the same reference numerals and symbols wherever possible.
제2도는 본 발명에 따른 통신용 인터페이스보오드(14, 22)로서, 제1도에 도시된 통신장치(10)의 메인 CPU보오드(12)의 처리결과를 정보 저장용 기기(20)에 고속으로 저장하기 위한 비동기 시리얼통신 인터페이스 장치이다.2 is a communication interface board 14 and 22 according to the present invention, and the processing result of the main CPU board 12 of the communication device 10 shown in FIG. 1 is stored at high speed in the information storage device 20. It is an asynchronous serial communication interface device.
본 발명에 따른 시리얼통신 인터페이스 장치는 송신용 FIFO메모리부(30)와 어드레스 디코더(32)와 클럭발생부(34)와 타이밍제어부(36)와 듀티변환부(40) 그리고 데이타전송부(42)와 수신비트래치부(46)와 직/병렬변환부(48)와 수신워드검출부(50)와 수신용 FIFO메모리부(52)를 포함하는 데이타수신인터페이스부와, 릴레이구동부(54)와 릴레이부(56)를 포함하는 루프백 테스트 형성부로 구성한다.The serial communication interface device according to the present invention includes a transmission FIFO memory unit 30, an address decoder 32, a clock generator 34, a timing controller 36, a duty converter 40, and a data transmitter 42. And a data receiving interface section including a reception bit latch section 46, a serial / parallel conversion section 48, a reception word detection section 50, and a receiving FIFO memory section 52, a relay driver 54 and a relay section. It consists of a loopback test formation part containing 56.
본 발명에 따라 양쪽의 통신용 인터페이스 보오드(14)를 서로 연결하는 통신전송선로(16)는 4선으로 구성되는바. 2선은 송신용전송선로(16-1)로서 송신데이타TXDT(+)(-)를 위해 사용되고 나머지 2선은 수신용전송선로(16-2)로서 수신데이타 RXDT(+)(-)를 위해 사용된다. 그리고 본 발명에서 구현한 시리얼 인터페이스 방식 예컨대 RS422 인터페이스로 달성될 수 있다.According to the present invention, the communication transmission line 16 connecting both communication interface boards 14 to each other is composed of four lines. Two wires are used for transmission data TXDT (+) (-) as transmission transmission line 16-1 and the remaining two wires are for transmission data RXDT (+) (-) as transmission transmission line 16-2 for reception. Used. And it can be achieved by the serial interface method implemented in the present invention, such as the RS422 interface.
이하 상기 상기한 구성에 의거하거 본 발명의 동작을 더욱 상세히 설명한다.Hereinafter, the operation of the present invention will be described in more detail based on the above configuration.
먼저 CPU보오드(12)의 처리정보를 정보저장용 기기(20)에 송신할때 본발명에 따른 통신용 인터페이스 보오드(12)의 동작을 설명한다.First, the operation of the communication interface board 12 according to the present invention when transmitting the processing information of the CPU board 12 to the information storage device 20 will be described.
CPU보오드(12)는 통신장치(10)에서 처리한 결과를 정보저장용 기기(20)에 저장하기 위하여 그 처리결과를 데이타버스, 어드레스버스 및 제어신호를 사용하여 통신용 인터페이스 보오드(12)로 전송한다. 어드레스버스 ADD는 제3a도에 도시된 바와 같이 초기화를 위한 신호들을 실어 어드레스디코드(32)에 인가되고, 제어신호는 어드레스 버스 ADD에 실린 신호들을 인에이블시키도록 하는 어드레스 인에이블신호 AEN과 인터페이스 보오드(12)의 입출력 리드(read) 인에이블시키도록 하는 인에이블신호 IORD로 구성되어 상기 어드레스 디코더(32)에 인가된다. 상기 어드레스 버스 ADD는 제3A도를 참조하면, 송신용 FIFO메모리부(30)를 초기화하기 위한 리셋신호 TCLR를 004로, 보오드 초기화를 위한 리셋신호를 0으로, 수신용 FIFO메모리부(52)를 초기화하기 위한 리셋신호 RCLR를 9로 송신시작을 위한 송신시작신호 START를 3으로 설정하고 있다. 따라서 어드레스디코더(32)는 초기화 동작에서 어드레스 인에이블신호 AEN에 응답하여 송신용 FIFO메모리부(30). 수신용 FIFO메모리부(52)로 초기화 신호 TCLR 및 RCLR등을 인가하여 초기화시키고 타이밍제어부(36)로 송신시작신호 START를 출력한다. CPU보오드(12)에서는 통신용 인터페이스 보오드(14)를 초기화 시킨 후 어드레스 디코더(32)에 송신용 FIFO메모리부(30)를 라이트 인에이블시키도록 제어신호를 출력하면 어드레스 디코드(32)는 이에 응답하여 송신용 FIFO메모리부(30)에 라이트 인에이블신호 TXWE를 출력한다. 상기 어드레스 디코더(32)는 일예로 LSI38칩으로 구현될 수 있다.The CPU board 12 transmits the processing result to the communication interface board 12 using the data bus, address bus and control signals to store the processing result in the communication device 10 in the information storage device 20. do. The address bus ADD carries signals for initialization as shown in FIG. 3A and is applied to the address decode 32, and the control signal has an address enable signal AEN and an interface board for enabling the signals carried on the address bus ADD. An enable signal IORD for enabling input / output read of (12) is applied to the address decoder 32. Referring to FIG. 3A, the address bus ADD sets the reset signal TCLR for initializing the transmission FIFO memory unit 30 to 004, the reset signal for board initialization to 0, and the reception FIFO memory unit 52. The reset signal RCLR for initialization is set to 9, and the transmission start signal START for transmission start is set to 3. Therefore, the address decoder 32 transmits the FIFO memory unit 30 in response to the address enable signal AEN in the initialization operation. The initialization signals TCLR and RCLR are applied to the reception FIFO memory unit 52 and initialized, and the transmission start signal START is output to the timing controller 36. The CPU board 12 initializes the communication interface board 14 and outputs a control signal to the address decoder 32 to write enable the transmission FIFO memory unit 30. Then, the address decode 32 responds in response thereto. The write enable signal TXWE is output to the transmission FIFO memory section 30. The address decoder 32 may be implemented with, for example, an LSI 38 chip.
송신용 FIFO메모리부(30)는 어드레스 디코더(32)로부터 출력되는 라이트인에이블 신호 TXWE에 응답하여 데이타 버스를 통하여 CPU보오드(12)의 처리정보 즉 데이타 DI를 저장한다. 이때 데이타 DI는 시리얼데이타로 전송되고 워드단위로 저장된다. 상기 송신용 FIFO메모리부(30)는 16비트(depth)×16(width)의 용량 즉 16워드 용량을 가진다.The transmission FIFO memory unit 30 stores processing information, that is, data DI, of the CPU board 12 via the data bus in response to the write enable signal TXWE output from the address decoder 32. At this time, data DI is transmitted as serial data and stored in word unit. The transmission FIFO memory unit 30 has a capacity of 16 bits x 16 (width), that is, 16 words.
한편 클럭발생부(34)는 수십메가 헤르쯔, 예를들면 16㎒의 클럭신호 CLK를 타이밍 제어부(36)로 제공한다. 타이밍 제어부(36)는 상기 클럭발생부(34)로부터 출력되는 클럭신호 CLK에 응답하여 동작하는 소정의 카운터, 분주기 및 래치들로 구성되며, 어드레스 디코더(32)로부터 출력되는 송신시작신호 START에 응답하여 제3A도에 도시한 바와 같이 읽기동작 펄스 TXRD를 송신용 FIFO메모리부 (30)로 인가한다. 송신용 FIFO메모리부(30)는 상기 읽기동작펄스 TXRD에 응답하여 저장된 데이타 DI를 16비트 패러럴형태로 병/직렬 변한부(38)는 송신용 FIFO메모리부(30)로부터 출력되는 16비트 패러럴데이타를 타이밍 제어부(36)의 동기신호 SYNC에 응답하여 시리얼로 변환하여 듀티변환부(40)로 출력하고, 듀티 변환부(40)는 듀티변환제어신호 DUT에 응답하여 시리얼변환된 데이타의 듀티를 변환하여 출력한다. 상기 병/직렬변환부(38)로부터 출력되는 데이타는 제3B도에 도시된 바와 같이 워드 스트림(word stream)#1, #2,....#512이고, 하나의 워드 스트림은 16개 데이타비트로 구성된 비트 스트림과 데이타 비인가상태인 로직 로우상태로 이루어 진다. 상기 16개의 시리얼 데이타 비트는 16μsce이고 상기 로직 로우상태는 4μsec이다. 그러므로 하나의 워드 스트림은 20μsec가 된다. 상기 데이타 비트 [데이타 1또는 0]는 듀티변환부(40)에서 출력될때 제3B도에서 도시한 바와 같은 듀티비를 가진다.On the other hand, the clock generator 34 provides the timing controller 36 with a clock signal CLK of several tens of megahertz, for example, 16 MHz. The timing controller 36 is composed of predetermined counters, dividers, and latches that operate in response to the clock signal CLK output from the clock generator 34, and is adapted to the transmission start signal START output from the address decoder 32. In response, as shown in FIG. 3A, the read operation pulse TXRD is applied to the transmitting FIFO memory section 30. FIG. The transmission FIFO memory section 30 converts the stored data DI in 16-bit parallel form in response to the read operation pulse TXRD. The conversion 38 outputs 16-bit parallel data output from the transmission FIFO memory section 30. Is converted to serial in response to the synchronization signal SYNC of the timing controller 36, and output to the duty converter 40. The duty converter 40 converts the duty of the serially converted data in response to the duty conversion control signal DUT. To print. Data output from the parallel / serial conversion unit 38 is word streams # 1, # 2, .... # 512 as shown in FIG. 3B, and one word stream has 16 data. It consists of a bit stream consisting of bits and a logic low state where no data is applied. The 16 serial data bits are 16 microseconds and the logic low state is 4 microseconds. Therefore, one word stream is 20 mu sec. The data bits [data 1 or 0] have a duty ratio as shown in FIG. 3B when output from the duty converter 40. FIG.
타이밍 제어부(36)로부터 병/직렬변환부(38)에 인가되는 동기신호 SYNC는 클럭발생부(34)의 클럭신호 CLK를 소정 분주 및 래치하므로 생성되는 신호이고, 타이밍 제어부(36)로부터 듀티변환부(40)에 인가되는 듀티변환제어신호 DUT는 본 발명의 듀티변환비에 따르도록 설정된 클럭이다.The synchronization signal SYNC applied from the timing controller 36 to the parallel / serial conversion unit 38 is a signal generated by dividing and latching the clock signal CLK of the clock generation unit 34, and the duty conversion from the timing control unit 36 is performed. The duty conversion control signal DUT applied to the unit 40 is a clock set to comply with the duty conversion ratio of the present invention.
듀티변환부(40)로부터 출력되는 송신데이타 TXDT(16워드단위)는 데이타 전송부(42)에 인가되고 데이타 전송부(42)는 이 데이타 TXDT를 차동증폭하여 데이타 TXDT(+), TXDT(-)로 송신용 전송선로(16-1)에인가한다. 상기 데이타 전송부(42)는 차동증폭회로로 구현되는바 이는 근거리 통신 및 고속 데이타 송수신에 적합하다. 상기 데이타 전송부(42)는 상용되는 AM26LS31칩 또는 DS26LS31칩으로 구현할 수 있다. 송신용 전송선호(16-1)를 통하여 전송된 데이타는 정보저장기기(20)의 통신용 인터페이스 보오드(22)를 통하여 정보저장기기(20)의 소정 정보저장영역에 저장된다.The transmission data TXDT (16 word units) output from the duty converter 40 is applied to the data transmitter 42, and the data transmitter 42 differentially amplifies the data TXDT and transmits the data TXDT (+) and TXDT (−). Is applied to the transmission transmission line 16-1. The data transmission unit 42 is implemented as a differential amplifier circuit, which is suitable for short-range communication and high-speed data transmission and reception. The data transmitter 42 may be implemented with a commercially available AM26LS31 chip or a DS26LS31 chip. The data transmitted through the transmission transmission preference 16-1 is stored in the predetermined information storage area of the information storage device 20 through the communication interface board 22 of the information storage device 20.
다음으로 정보저장용 기기 (20)의 저장 정보가 통신용 인터페이스보오드(20)와 수신용 전송통로(16-2)를 통하여 통신장치(10)의 인터페이스 보오드(14)에 수신될때 본 발명에 따른 통신용 인터페이스 보오드(12)의 동작을 설명한다.Next, when the stored information of the information storage device 20 is received at the interface board 14 of the communication device 10 through the communication interface board 20 and the reception transmission path 16-2, the communication information according to the present invention. The operation of the interface board 12 will be described.
통신용 인터페이스 보오드(12)의 릴레이부(56)는 데이타 송수신 동작을 수행할 경우에는 언제나 수신용 전송선로(16-2)와 데이타 수신부(44)를 연결하고 있다. 따라서 수신용 전송통로(16-2)를 통하여 인가되는 차동증폭 수신데이타 RXDT(+), RXDT(-)는 릴레이부 (56)를 통하여 데이타수신부(44)로 수신되고 데이타수신부(44)는 수신데이타 RXDT(+), RXDT(-)를 제3C에 도시된바와 같은 비트열의 수신데이타 RXDT로 검출하여 수신비트래치부(46)로 출력한다. 상기 데이타수신부(44)는 AM26LS32칩으로 구현할 수 있다.The relay unit 56 of the communication interface board 12 always connects the receiving transmission line 16-2 and the data receiving unit 44 when performing a data transmission / reception operation. Accordingly, the differential amplified reception data RXDT (+) and RXDT (-) applied through the reception transmission path 16-2 are received by the data receiver 44 through the relay unit 56 and the data receiver 44 receives the data. The data RXDT (+) and RXDT (-) are detected by the reception data RXDT of the bit string as shown in 3C, and output to the reception bit latch unit 46. The data receiver 44 may be implemented with an AM26LS32 chip.
제3C도에서는 16워드단위로 송신된 데이타 DI를 보여주고 일예로 워드 #15의 데이타 D15를 들고 있다. 일예의 송신 데이타 D15는 듀티변환부(40)에서 출력될때와 데이타 수신부(44)에서 수신될때에는 제3C도에 도시된 송신 및 수신데이타 TXDT, RXDT의 비트열의 형태를 가진다. 상기 데이타 D15에 해당하는 비트열은 데이타 값이 일에로 7800R(H:16진수임)임을 보여주고 있다.Figure 3C shows the data DI transmitted in units of 16 words and, for example, holds data D15 of word # 15. An example of transmission data D15 is in the form of a bit string of transmission and reception data TXDT and RXDT shown in FIG. 3C when it is output from the duty converter 40 and when it is received by the data receiver 44. The bit string corresponding to the data D15 shows that the data value is 7800R (H: 16 digits) per day.
수신비트래치부(46)는 상기 데이타수신부(44)로부터 출력되는 상기 제3C도의 일예와 같은 수신데이타 RXDT를 소정 래치한 후 직/병렬변환부(48) 및 수신워드검출부(50)로 각각 출력한다. 직/병렬변환부(48)는 시리얼 데이타를 16비트의 패러럴 데이타 즉 워드단위의 비트열로 변환하여 수신용 FIFO메모리부(52)로 출력한다. 상기 직/병렬 변환부(48)는 16비트 쉬프트 레지스터로 구현된다. 수신워드검출부(50)는 카운터로 구현되며, 수신비트래치부(46)로부터 출력되는 데이타가 매 1워드가 되면 수신용 FIFO메모리부(52)에 수신라이트 인에이블신호 RXWE를 인가한다. 따라서 수신용 FIFO메모리(52)는 상기 수신라이트 인에이블신호 RXWE에 응답하여 직/병렬 변환부(48)로부터 출력되는 해당 16비트 패러럴데이타 DO를 선택한후 차례로 저장한다. 수신용 FIFO메모리부(52)는 송신용 FIFO메모리부(30)와 마찬가지로 16비트(depth)×16(width)의 용량 즉 16워드 용량을 가진다. 제3C도에 도시된 바와 같이, 상기 직/병렬변환부(48)의 데이타 DO중일예인, D14의 데이타값 7000H 및 D15의 데이타값 7800H는 수신워드검출부(50)의 수신데이타인에이블신호 RXWE에 의하여 수신용 FIFO메모리부(52)에 라이트된다.The reception bit latch section 46 latches the reception data RXDT as shown in the example of FIG. 3C output from the data reception section 44, and then outputs them to the serial / parallel conversion section 48 and the reception word detection section 50, respectively. do. The serial / parallel conversion unit 48 converts the serial data into 16-bit parallel data, that is, a bit string in word units, and outputs the serial data to the reception FIFO memory unit 52. The serial / parallel converter 48 is implemented with a 16-bit shift register. The reception word detection unit 50 is implemented as a counter. When the data output from the reception bit latch unit 46 is one word, the reception word detection unit 50 applies the reception write enable signal RXWE to the reception FIFO memory unit 52. Therefore, the reception FIFO memory 52 selects and stores the corresponding 16-bit parallel data DO output from the serial / parallel conversion unit 48 in response to the reception write enable signal RXWE. The reception FIFO memory unit 52 has a capacity of 16 bits x 16 (width), that is, 16 words of capacity, similarly to the transmission FIFO memory unit 30. As shown in FIG. 3C, the data value 7000H of D14 and the data value 7800H of D15, which are one of the data DOs of the serial / parallel conversion unit 48, are added to the reception data enable signal RXWE of the reception word detection unit 50. The data is written to the receiving FIFO memory section 52 by the receiver.
상기 수신워드검출부(50)는 수신비트 래치부(46)로부터 출력되는 데이타의 매 워드를 검출할 뿐만아니라 검출된 워드를 카운팅하여 16워드가 되면 제3C도에 도시된 바와 같이 통신장치(10)의 CPU보오드(12)에 수신완료 인터럽트신호 IRQ를 출력한다. CPU보오드(12)는 상기 수신완료 인러럽트신호 IRQ에 응답하여 어드레스디코더(32)에 수신한 데이타를 리드하기 위한 제어신호를 출력하고, 어드레스디코더(32)는 그에따라 수신용 FIFO메모리부(52)에 수신리드인에이블신호 RXRE를 출력한다. 따라서 CPU보오드(12)는 수신용 FIFO메모리부(52)에 저장되어 있는 16워드의 수신데이타를 데이타버스를 통하여 읽어간다.The reception word detection unit 50 not only detects every word of data output from the reception bit latch unit 46, but also counts the detected word and reaches 16 words. As shown in FIG. The reception completion interrupt signal IRQ is output to the CPU board 12 of the controller. The CPU board 12 outputs a control signal for reading the received data to the address decoder 32 in response to the received interrupt signal IRQ, and the address decoder 32 accordingly receives the FIFO memory unit 52 for reception. Output receive enable signal RXRE. Therefore, the CPU board 12 reads the 16-word reception data stored in the reception FIFO memory unit 52 via the data bus.
상술한 설명에서 병/직렬변환부(38), 타이밍제어부(36), 듀티변환부(40) 그리고 데이타전송부(42)등의 데이타송신 처리수행은 데이타수신부(44)와 수신비트래치부(46)와 직/병렬변환부(48)와 수신워드검출부(50)등의데이타수신 처리수행과 무관하게 진행되므로 정보의 처리가 한층더 고속으로 될수 있다. 즉 본 발명은 데이타의 고속 비동기 인터페이싱을 수행한다.In the above description, data transmission processing such as the parallel / serial conversion unit 38, the timing control unit 36, the duty conversion unit 40, and the data transmission unit 42 is performed by the data receiving unit 44 and the receiving bit latch unit ( 46), the data processing can be performed at a higher speed since the data reception processing such as the serial / parallel conversion unit 48 and the reception word detection unit 50 is performed. In other words, the present invention performs fast asynchronous interfacing of data.
마지막으로 본 발명에 따른 통신용 인터페이스보오드(14)를 자가진단 하기 위한 동작을 설명한다.Finally, an operation for self-diagnosing the communication interface board 14 according to the present invention will be described.
통신장치(10)의 CPU보오드(12)는 자가진단모드에 대응한 제어를 어드레스버스 및 제어신호를 통하여 통신용 인터페이스 보오드(12)의 어드레스디코더(32)로 전송한다. 어드레스디코더(32)는 상기 자가진단모드에 대응된 제어상태를 디코딩하고 자가진단모드에 요구되는 루프백 테스트신호 TEST를 릴레이구동부(54)로 출력한다. 릴레이구동부(54)는 상기 루프백테스트신호 TEST에 응답하여 송신용전송선로(16-1)와 수신용전송선로(16-2)가 접속토록 하는 릴레이 구동신호 DRV를 릴레이부(56)로 출력한다. 릴레이부(56)는 릴레이 구동신호 DRV에 응답하여 송신용전송선로(16-1)와 수신용전송선로(16-2)로 데이타 경로를 형성한다 따라서 CPU보오드(12)는 데이타버스를 통하여 송신데이타를 통신용인터페이스보오드(14)로 인가하고, 통신용 인터페이스 보오드(14)에서 로프백되어 수신되는 수신데이타를 비교하므로서 상기 보오드(14)의 고장유무를 알 수 있다.The CPU board 12 of the communication device 10 transmits the control corresponding to the self-diagnosis mode to the address decoder 32 of the communication interface board 12 via the address bus and the control signal. The address decoder 32 decodes the control state corresponding to the self-diagnosis mode and outputs the loopback test signal TEST required for the self-diagnosis mode to the relay driver 54. In response to the loopback test signal TEST, the relay driver 54 outputs a relay drive signal DRV connected to the transmission transmission line 16-1 and the reception transmission line 16-2 to the relay unit 56. . The relay unit 56 forms a data path between the transmission transmission line 16-1 and the reception transmission line 16-2 in response to the relay drive signal DRV. Accordingly, the CPU board 12 transmits through the data bus. The failure of the board 14 can be known by applying the data to the communication interface board 14 and comparing the received data received by rope back from the communication interface board 14.
상술한 바와 같이 본 발명의 인터페이스 장치는 메인보오드의 처리결과를 송신용 메모리에 워드단위로 써넣고 송신시작신호를 발생시켜 송신을 위한 읽기를 수행하고 또한 이를 시리얼변환 및 듀티변환하여 정보 저장기의 인터페이스장치로 전송하고, 데이타 송신 처리와 무관하게 정보 저장용 기기로부터 출력되는 정보를 수신하여 소정 비트로 래치하고 시리얼로 변환한후 수신용 메모리에 워드단위로 써놓고 수신정보가 소정의 수신워드수가 되면 통신장치의 CPU보오드에 인터럽트신호를 보내 CPU보오드가 수신정보를 일게 하므로, 데이타를 고속으로 저장하고 저장된 데이타를 고속으로 읽을 수 있는 장점이 있다.As described above, the interface device of the present invention writes the processing result of the main board into the transmission memory in word units, generates a transmission start signal, performs reading for transmission, and serially converts and duty converts the data into the information storage device. Receives the information output from the information storage device, converts it into a predetermined bit, converts it into a serial bit, writes it in word units in the receiving memory, and the received information reaches the predetermined number of received words regardless of the data transmission process. Sending an interrupt signal to the CPU board of the communication device causes the CPU board to receive the received information, thereby saving the data at high speed and reading the stored data at high speed.
본 발명에서는 송수신되는 데이타를 16워드 단위로 설명하였지만, 본 발명의 정신에 입각하면 512워드 단위로도 설명될 수 있음이 통상의 지식을 가진자에게 자명하여진다.In the present invention, the data to be transmitted and received is described in units of 16 words, but it is apparent to those skilled in the art that it can be described in units of 512 words in the spirit of the present invention.
Claims (9)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1019950014068A KR0143098B1 (en) | 1995-05-31 | 1995-05-31 | High speed asynchronous serial communication interface apparatus for information storage system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1019950014068A KR0143098B1 (en) | 1995-05-31 | 1995-05-31 | High speed asynchronous serial communication interface apparatus for information storage system |
Publications (2)
Publication Number | Publication Date |
---|---|
KR960042399A KR960042399A (en) | 1996-12-21 |
KR0143098B1 true KR0143098B1 (en) | 1998-08-17 |
Family
ID=19416020
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1019950014068A KR0143098B1 (en) | 1995-05-31 | 1995-05-31 | High speed asynchronous serial communication interface apparatus for information storage system |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR0143098B1 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR100382467B1 (en) * | 1996-01-05 | 2003-07-23 | 엘지전자 주식회사 | Serial interface system |
-
1995
- 1995-05-31 KR KR1019950014068A patent/KR0143098B1/en not_active IP Right Cessation
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR100382467B1 (en) * | 1996-01-05 | 2003-07-23 | 엘지전자 주식회사 | Serial interface system |
Also Published As
Publication number | Publication date |
---|---|
KR960042399A (en) | 1996-12-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US4939735A (en) | Information handling system having serial channel to control unit link | |
US4106091A (en) | Interrupt status indication logic for polled interrupt digital system | |
US4156277A (en) | Access request mechanism for a serial data input/output system | |
US5778253A (en) | No repeat byte compression method for achieving high speed data transfer from a parallel port | |
US5461701A (en) | System and method for peripheral data transfer | |
CN1447973A (en) | Synchronized write data on high speed memory bus | |
US6839785B2 (en) | System for and method of interfacing expansion modules with programmable logic controllers (PLC) | |
US9036718B2 (en) | Low speed access to DRAM | |
CN1934558A (en) | Signaling arrangement and approach therefor | |
KR0143098B1 (en) | High speed asynchronous serial communication interface apparatus for information storage system | |
US6470404B1 (en) | Asynchronous communication device | |
US5748887A (en) | Inter-processor asynchronous serial communication transmission/reception apparatus using each other's memories | |
US5823871A (en) | Interface control device for use with TV game equipment | |
US6885217B2 (en) | Data transfer control circuitry including FIFO buffers | |
US20020169916A1 (en) | Computer system using an interfacing circuit to increase general purpose input/output ports | |
KR100224753B1 (en) | Faster asynchronous serial communication circuit using fifo memory | |
EP0401803A2 (en) | Multiple remote graphic work stations | |
KR0128197Y1 (en) | Pulse adding value input circuit of distributed control system | |
KR0174855B1 (en) | Asynchronous Serial Communication Transmit / Receive Device Between Two Processors Using Other Memory | |
SU1185634A2 (en) | Interface for linking electronic computer with telegraph communication channels | |
US20060132337A1 (en) | Integrated circuit interface that encodes information using at least one input signal sampled at two consecutive edge transitions of a clock signal | |
RU2055392C1 (en) | Device for serial-parallel interface | |
US7644208B2 (en) | Serial transmission system with a return signal generator from the farthest terminal to synchronize return signals/data from the farthest terminal with any specified intervening terminals | |
KR900003527Y1 (en) | Dma circuit for ic used in data transmission and receiving | |
SU1361567A1 (en) | Device for introducing information from two-position transducers |
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: 20010320 Year of fee payment: 4 |
|
LAPS | Lapse due to unpaid annual fee |