KR960005978B1 - Serial communication circuit - Google Patents

Serial communication circuit Download PDF

Info

Publication number
KR960005978B1
KR960005978B1 KR1019930030069A KR930030069A KR960005978B1 KR 960005978 B1 KR960005978 B1 KR 960005978B1 KR 1019930030069 A KR1019930030069 A KR 1019930030069A KR 930030069 A KR930030069 A KR 930030069A KR 960005978 B1 KR960005978 B1 KR 960005978B1
Authority
KR
South Korea
Prior art keywords
clock
output
data
buffer
latches
Prior art date
Application number
KR1019930030069A
Other languages
Korean (ko)
Other versions
KR950022076A (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 KR1019930030069A priority Critical patent/KR960005978B1/en
Publication of KR950022076A publication Critical patent/KR950022076A/en
Application granted granted Critical
Publication of KR960005978B1 publication Critical patent/KR960005978B1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication

Abstract

The circuit transmits data in high speed and is of use especially for retransmission. It includes following components. Latches(LT1~LT8) are connected parellel to data bus and they store or read data from a data bus and an input buffer(11). A clock counter(13) counts the number of clocks from a clock generator(12). Decoder(16) controls the output of latches(LT1~LT8) by decoding the value of clock count. Latch buffer(14) temporarily stores the output of latches and generates them by clock. Clock output buffer(15) controls the output of the clock generator(12) by clock output control signal from the clock counter(13).

Description

직렬통신회로Serial communication circuit

제 1 도는 종래의 직렬통신회로도.1 is a conventional serial communication circuit diagram.

제 2 도는 본 발명의 직렬통신회로도.2 is a serial communication circuit diagram of the present invention.

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

11 : 입력버퍼 12 : 클럭발생기11: input buffer 12: clock generator

13 : 클럭카운터 14 : 데이타출력 래치버퍼13: Clock counter 14: Data output latch buffer

15 : 클럭출력버퍼 16 : 디코더15: clock output buffer 16: decoder

LT1~LT8 : 래치 DATA BUS : 데이타버스LT1 ~ LT8: Latch DATA BUS: Data Bus

본 발명은 직렬통신회로에 관한 것으로, 특히 회로를 간단하게 구성하여 고속의 동작에 적당하도록 한 직렬통신회로에 관한 것이다.BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a serial communication circuit, and more particularly, to a serial communication circuit in which a circuit is simply configured to be suitable for high speed operation.

종래의 직렬통신회로는 제 1 도에 도시된 바와같이, 전송할 데이타의 비트수만큼 직렬로 연결되어 클럭입력에 따라 앞단으로부터 데이타를 가져옴과 동시에 자신이 갖고있던 데이타를 다음단에 보내주는 쉬프트레지스터(REG1~REG7)와, 상기 쉬프트레지스터(REG1~REG7)의 데이타입력단에 연결되어 제어신호에 따라 데이타를 로드하거나 시스템으로 출력할 수 있도록 한 데이타버스(DATA BUS)와, 상기 쉬프트레지스터(REG1~REG7)의 클럭입력단(CK)에 연결되어 클럭을 공급하는 클럭발생기(2)와, 상기 클럭발생기(2)로 부터 쉬프트레지스터(REG1~REG7)에 공급되는 클럭이 몇개나 되는지 카운트하는 클럭카운터(3)와, 상기 쉬프트레지스터(REG1~REG7)의 출력을 일시적으로 래치하고 전송하기 위한 데이타출력 래치버퍼(4)와, 상기 클럭발생기(3)로부터 발생하는 클럭의 출력을 제어하는 클럭출력버퍼(5)로 구성된다. 여기서 미설명부호 1은 입력버퍼이다.In the conventional serial communication circuit, as shown in FIG. 1, a shift register that is serially connected by the number of bits of data to be transmitted, receives data from the front end according to a clock input, and sends the data that it has to the next step. REG1 to REG7, a data bus connected to the data input terminals of the shift registers REG1 to REG7 to load data or output data to a system according to a control signal, and the shift registers REG1 to REG7. A clock generator 2 connected to the clock input terminal CK of the circuit board 2 to supply a clock, and a clock counter 3 to count how many clocks are supplied from the clock generator 2 to the shift registers REG1 to REG7. ), A data output latch buffer 4 for temporarily latching and transmitting the outputs of the shift registers REG1 to REG7, and a clock output generated from the clock generator 3. It is composed of a clock output buffer (5). Here, reference numeral 1 is an input buffer.

이와같이 구성된 종래의 회로에 있어서 8비트의 직렬통신회로라는 가정하에 설명하면, 입력버퍼(1)를 통해 데이타가 입력됨에 따라 각각의 쉬프트레지스터(REG1~REG7)는 클럭발생기(2)로부터 출력되는 클럭을 클럭입력단(CK)으로 입력받음에 따라 앞단의 쉬프트레지스터의 출력을 받아들임과 동시에 자신의 데이타를 다음단으로 전송한다.In the conventional circuit configured as described above, the 8-bit serial communication circuit will be described. As data is input through the input buffer 1, each of the shift registers REG1 to REG7 is outputted from the clock generator 2. In response to the clock input terminal CK, it accepts the output of the previous shift register and transfers its data to the next stage.

이렇게 전송된 데이타가 데이타출력 래치버퍼(4)로 입력되면, 상기 데이타출력 래치버퍼(4)도 상기 클럭발생기(2)로부터 출력되는 클럭을 클럭입력단(CK)으로 받아들임에 따라 입력데이타를 일시적으로 저장하고 있다가 순차적으로 출력한다.When the data thus transmitted is input to the data output latch buffer 4, the data output latch buffer 4 also temporarily receives the input data as the clock output terminal CK receives the clock output from the clock generator 2 as well. Save and output sequentially.

이때 8비트데이타가 모두 전송되었는가를 클럭카운터(3)가 클럭발생기(2)로부터 각각의 쉬프트레지스터(REG1~REG7)의 클럭입력단(CK)으로 출력되는 클럭의 갯수를 카운트하여 알 수 있다. 그리고 클럭카운터(3)에서 클럭의 갯수를 카운트하여 클럭출력제어신호를 클럭출력버퍼(5)로 출력하면, 그 클럭출력버퍼(5)는 클럭의 출력을 제어하여 출력한다.At this time, it can be known whether the clock counter 3 counts the number of clocks output from the clock generator 2 to the clock input terminal CK of each shift register REG1 to REG7. When the clock counter 3 counts the number of clocks and outputs the clock output control signal to the clock output buffer 5, the clock output buffer 5 controls and outputs the clock output.

그러나 이와같은 종래의 회로에 있어서, 쉬프트레지스터를 사용하여 순차적으로 데이타를 다음단의 쉬프트레지스터로 전송함에 있어 쉬프트레지스터의 회로가 복잡하고 클럭펄스의 상승시간 및 하강시간에 데이타의 전달이 여러개의 쉬프트레지스터를 한꺼번에 건너뛰는 현상이 발생할 수 있기 때문에 클럭발생기를 잘 만들어야 하며, 고속의 동작에 부적합하다. 또한 데이타의 전송도중에는 데이타가 쉬프트되어 있기 때문에 처음설정한 값과는 다른 데이타를 갖게되는 문제점이 있었다.However, in such a conventional circuit, in shifting data sequentially to a next shift register using a shift register, the circuit of the shift register is complicated, and the transfer of data in the rise time and the fall time of the clock pulse is multiple shifts. The clock generator needs to be well built because it can skip registers all at once and is not suitable for high speed operation. In addition, there was a problem in that the data was shifted during the data transmission, and thus the data was different from the initially set value.

따라서 본 발명의 목적은 래치에 저장된 데이타가 직렬전송도중에도 변화없이 저장되어 있도록 함으로써 재전송이 필요할 경우 아주 유용하도록 한 직렬통신회로를 제공하기 위한 것이다.Accordingly, an object of the present invention is to provide a serial communication circuit that is very useful when retransmission is required by allowing data stored in a latch to be stored unchanged during serial transmission.

본 발명의 다른 목적은 쉬프트레지스터와 같이 데이타가 한꺼번에 여러개 지나치는 현상이 발생하지 않도록 하여 고속동작에 적당하고 회로를 간단히 구현할 수 있도록 한 직렬통신회로를 제공하기 위한 것이다.Another object of the present invention is to provide a serial communication circuit that is suitable for high-speed operation and can easily implement a circuit such that a plurality of data do not occur at once, such as a shift register.

본 발명의 목적을 달성하기 위한 회로는, 제 2 도에 도시된 바와같이 전송할 데이타를 쓰거나 데이타버스(DATA BUS) 및 입력버퍼(11)를 통해 전송받은 데이타를 읽을 수 있도록 한 전송할 데이타의 비스트 만큼 상기 데이타버스(DATA BUS)에 병렬연결된 래치(LT1~LT8)와, 클럭발생기(12)로부터 출력되는 클럭의 갯수를 카운트하는 클럭카운터(13)와, 상기 클럭카운터(13)의 카운트값을 디코딩하여 상기 래치(LT1~LT8)의 출력을 제어하는 디코더(16)와, 상기 래치(LT1~LT8)의 출력을 일시적으로 저장하고 있다가 클럭에 따라 출력하는 데이타출력 래치버퍼(14)와, 상기 클럭발생기(12)의 클럭출력을 상기 클럭카운터(13)로부터 발생하는 클럭출력제어신호에 따라 제어하는 클럭출력버퍼(15)로 구성한다.The circuit for achieving the object of the present invention, as shown in Figure 2, writes the data to be transmitted, or as much as the beast of the data to be transmitted to read the data received through the data bus (DATA BUS) and the input buffer 11 A latch LT1 to LT8 connected in parallel to the data bus, a clock counter 13 for counting the number of clocks output from the clock generator 12, and a count value of the clock counter 13 is decoded. Decoder 16 for controlling the outputs of the latches LT1 to LT8, a data output latch buffer 14 for temporarily storing the outputs of the latches LT1 to LT8 and outputting them according to a clock, The clock output buffer 15 controls the clock output of the clock generator 12 according to the clock output control signal generated from the clock counter 13.

이와같이 구성된 본 발명의 작용 및 효과에 대하여 상세히 설명하면 다음과 같다.Referring to the operation and effects of the present invention configured as described above in detail.

여기서 래치는 전송하고자 하는 데이타가 8비트데이타라는 가정하에서 설명하면, 시스템의 데이타버스(DATA BUS)에서 전송되어져야 할 데이타가 래치(LT1~LT8)에 저장되거나 입력버퍼(11)를 통해 입력되는 데이타를 저장한 상태에서, 클럭발생기(12)에서 클럭이 발생하면 이를 클럭카운터(13)에서 입력되는 클럭의 갯수를 카운트하고 그 카운트된 값을 디코더(16)에 출력함과 아울러 클럭발생제어신호는 클럭발생기(12)에 클럭출력제어신호는 클럭출력버퍼(15)에 각각 출력한다.In this case, the latch is assuming that data to be transmitted is 8-bit data. The data to be transmitted from the data bus of the system is stored in the latches LT1 to LT8 or inputted through the input buffer 11. In the state where the data is stored, when the clock is generated by the clock generator 12, the number of clocks inputted from the clock counter 13 is counted, and the counted value is output to the decoder 16 and the clock generation control signal. The clock output control signals to the clock generator 12 are output to the clock output buffer 15, respectively.

이에따라 상기 디코더(16)는 상기 클럭카운터(13)로부터 출력되는 카운트값을 디코딩한 각 래치의 제어신호를 상기 래치(LT7-LT8)에 출력한다. 그러면 상기 래치(LT1-LT8)는 입력되는 제어신호에 의해 그의 출력데이타를 데이타출력 래치버퍼(14)의 입력단자(IN)로 전달한다. 상기 데이타를 래치(LT1-LT8)로부터 입력받은 데이타출력 래치버퍼(14)는 상기 클럭발생기(12)로부터 클럭단자(CK)로 입력되는 클럭에 따라 최종적으로 데이타를 출력하게 된다.Accordingly, the decoder 16 outputs a control signal of each latch which decodes the count value output from the clock counter 13 to the latches LT7-LT8. Then, the latches LT1-LT8 transfer the output data thereof to the input terminal IN of the data output latch buffer 14 by an input control signal. The data output latch buffer 14 receiving the data from the latches LT1-LT8 finally outputs the data according to the clock input from the clock generator 12 to the clock terminal CK.

이와같이 클럭발생기(12)에서 발생한 클럭을 카운트하는 클럭카운터(13)가 동작함에 따라 상기 디코더(16)는 순차적으로 각각의 래치(LT1-LT8)에 제어신호를 보내게 되고 제어신호를 받는 래치(LT1-LT8)는 자신의 데이타를 데이타출력 래치버퍼(14)로 보내게 되며, 상기 데이타출력 래치버퍼(14)의 데이타는 직렬전송회로의 출력으로서 출력하게 되는 것이다.As the clock counter 13 counts the clock generated by the clock generator 12 as described above, the decoder 16 sequentially sends a control signal to each of the latches LT1-LT8 and receives a control signal. LT1-LT8 sends its data to the data output latch buffer 14, and the data of the data output latch buffer 14 is output as the output of the serial transmission circuit.

즉, 시스템의 데이타버스(DATA BUS)에서 전송되어져야 할 데이타가 래치(LT1-LT8)에 저장되고, 각각의 래치(LT1-LT8)에는 디코더(16)의 출력이 제어신호로서 입력되는데, 상기 디코더(16)는 클럭카운터(13)의 출력에 따라 하나의 래치(LT1-LT8) 출력데이타를 데이타출력 래치버퍼(14)에 출력하도록 제어한다. 이때 클럭이 발생함에 따라 클럭카운터(13)는 클럭의 갯수를 카운트하게 되고 그 결과 디코더(16)는 순차적으로 래치(LT1-LT8)를 제어하여 전송해야할 데이타가 순차적으로 데이타출력 래치버퍼(14)를 거쳐 출력하게 된다. 데이타를 전송받을때도 같은 방법으로 동작하며 입력된 데이타가 순차적으로 각 래치(LT1-LT8)에 저장되도록 한다.That is, data to be transmitted in the data bus of the system is stored in the latches LT1-LT8, and the output of the decoder 16 is input to each latch LT1-LT8 as a control signal. The decoder 16 controls to output one latch (LT1-LT8) output data to the data output latch buffer 14 according to the output of the clock counter 13. At this time, as the clock is generated, the clock counter 13 counts the number of clocks. As a result, the decoder 16 sequentially controls the latches LT1-LT8 so that data to be transmitted is sequentially outputted from the data output latch buffer 14. Will output via When receiving data, it operates in the same way and input data is sequentially stored in each latch (LT1-LT8).

이상에서 상세히 설명한 바와같이 본 발명은 각 래치에 저장된 데이타가 직렬전송 도중에는 변화가 없어 전송도중 발생한 문제로 재전송이 필요한 경우 대단히 유용하며, 쉬프트레지스터와 같이 데이타가 한꺼번에 여러개 지나치는 현상이 발생하지 않으므로 고속의 동작이 가능하고, 회로가 간단하여 면적을 최소화할 수 있도록 한 효과가 있다.As described in detail above, the present invention is very useful when the data stored in each latch does not change during serial transmission and needs to be retransmitted due to a problem occurring during transmission. Since the data does not occur at the same time as a shift register, a plurality of data do not occur at once. The operation is possible, and the circuit has a simple effect to minimize the area.

Claims (1)

제어신호에 따라 데이타버스(DATA BUS)를 통해 전송받은 데이타를 저장하거나 입력버퍼를 통해 데이타를 입력받아 상기 데이타버스로 출력하도록 전송할 데이타의 비스트 만큼 상기 데이타버스(DATA BUS)에 병렬연결된 래치와, 클럭발생기로부터 발생되어 출력되는 클럭의 갯수를 카운트하는 클럭카운터와, 상기 클럭카운터의 카운트값을 디코딩하여 상기 래치들중 하나씩 순차 출력하도록 제어하는 디코더와, 상기 래치들의 출력을 상기 클럭발생기로부터 출력되는 클럭에 따라 저장하여 출력하는 데이타출력 래치버퍼와, 상기 클럭발생기에서 발생되어 출력되는 클럭을 상기 클럭카운터로부터 발생하는 클럭출력제어신호에 따라 외부로 출력하는 클럭출력버퍼로 구성하여 된 것을 특징으로 하는 직렬통신회로.A latch connected in parallel to the data bus as much as a beast of data to be transmitted to store data received through a data bus or a data received through an input buffer and output to the data bus according to a control signal; A clock counter that counts the number of clocks generated and output from a clock generator, a decoder which decodes the count value of the clock counter and sequentially outputs one of the latches, and outputs the latches output from the clock generator Data output latch buffer for storing and output according to the clock, and a clock output buffer for outputting the clock generated by the clock generator to the outside in accordance with the clock output control signal generated from the clock counter. Serial communication circuit.
KR1019930030069A 1993-12-27 1993-12-27 Serial communication circuit KR960005978B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019930030069A KR960005978B1 (en) 1993-12-27 1993-12-27 Serial communication circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019930030069A KR960005978B1 (en) 1993-12-27 1993-12-27 Serial communication circuit

Publications (2)

Publication Number Publication Date
KR950022076A KR950022076A (en) 1995-07-26
KR960005978B1 true KR960005978B1 (en) 1996-05-06

Family

ID=19373091

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019930030069A KR960005978B1 (en) 1993-12-27 1993-12-27 Serial communication circuit

Country Status (1)

Country Link
KR (1) KR960005978B1 (en)

Also Published As

Publication number Publication date
KR950022076A (en) 1995-07-26

Similar Documents

Publication Publication Date Title
JP3540844B2 (en) Semiconductor integrated circuit
KR920020308A (en) Display controller
KR960005978B1 (en) Serial communication circuit
KR920018640A (en) LCD driving circuit
US4387294A (en) Shift register-latch circuit driven by clocks with half cycle phase deviation and usable with a serial alu
JP2001236306A (en) Method and device for data transfer
KR100266696B1 (en) Serial communication interface circuit
KR100223732B1 (en) A counter circuit for implementing linear burst sequence
JP2578144B2 (en) Parallel data port selection method and device
US6466505B1 (en) Flexible input structure for an embedded memory
KR19980043765A (en) High Speed Serial Communication Circuit in High Capacity ICPS
JPH11509658A (en) Extended chip select reset device and method
EP0395208B1 (en) Bit residue correction in DLC receivers
KR930008038B1 (en) Memory controller
KR0158490B1 (en) Programmable serial input/output circuits
KR960032930A (en) Data transfer circuit
JP2748401B2 (en) Error pulse counting circuit
KR0171939B1 (en) Random accessible fifo resistor
JP2508291B2 (en) Serial input / output circuit
KR100236331B1 (en) Counter
KR950007028B1 (en) Shutter speed controlling circuit for camera system
KR790001619Y1 (en) Input device
KR0182175B1 (en) Thermal head driving circuit
SU843223A1 (en) Coder of compatible codes of high density
KR950009571B1 (en) Self-check device in digital output port

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
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: 20120423

Year of fee payment: 17

LAPS Lapse due to unpaid annual fee