KR100294642B1 - Bidirectional Synchronous Communication Transceiver Using Manchester Coding Technique - Google Patents

Bidirectional Synchronous Communication Transceiver Using Manchester Coding Technique Download PDF

Info

Publication number
KR100294642B1
KR100294642B1 KR1019980021545A KR19980021545A KR100294642B1 KR 100294642 B1 KR100294642 B1 KR 100294642B1 KR 1019980021545 A KR1019980021545 A KR 1019980021545A KR 19980021545 A KR19980021545 A KR 19980021545A KR 100294642 B1 KR100294642 B1 KR 100294642B1
Authority
KR
South Korea
Prior art keywords
shifting
parity
outputting
outside
received
Prior art date
Application number
KR1019980021545A
Other languages
Korean (ko)
Other versions
KR20000001337A (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 KR1019980021545A priority Critical patent/KR100294642B1/en
Publication of KR20000001337A publication Critical patent/KR20000001337A/en
Application granted granted Critical
Publication of KR100294642B1 publication Critical patent/KR100294642B1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L7/00Arrangements for synchronising receiver with transmitter
    • H04L7/04Speed or phase control by synchronisation signals
    • H04L7/041Speed or phase control by synchronisation signals using special codes as synchronising signal
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03MCODING; DECODING; CODE CONVERSION IN GENERAL
    • H03M5/00Conversion of the form of the representation of individual digits
    • H03M5/02Conversion to or from representation by pulses
    • H03M5/04Conversion to or from representation by pulses the pulses having two levels
    • H03M5/06Code representation, e.g. transition, for a given bit cell depending only on the information in that bit cell
    • H03M5/12Biphase level code, e.g. split phase code, Manchester code; Biphase space or mark code, e.g. double frequency code
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L25/00Baseband systems
    • H04L25/38Synchronous or start-stop systems, e.g. for Baudot code
    • H04L25/40Transmitting circuits; Receiving circuits
    • H04L25/49Transmitting circuits; Receiving circuits using code conversion at the transmitter; using predistortion; using insertion of idle bits for obtaining a desired frequency spectrum; using three or more amplitude levels ; Baseband coding techniques specific to data transmission systems
    • H04L25/4904Transmitting circuits; Receiving circuits using code conversion at the transmitter; using predistortion; using insertion of idle bits for obtaining a desired frequency spectrum; using three or more amplitude levels ; Baseband coding techniques specific to data transmission systems using self-synchronising codes, e.g. split-phase codes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L7/00Arrangements for synchronising receiver with transmitter
    • H04L7/02Speed or phase control by the received code signals, the signals containing no special synchronisation information

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Spectroscopy & Molecular Physics (AREA)
  • Dc Digital Transmission (AREA)

Abstract

1. 청구범위에 기재된 발명이 속한 기술분야1. TECHNICAL FIELD OF THE INVENTION

본 발명은 맨체스터코딩 기법을 이용한 양방향 동기통신 송수신 장치에 관한 것임.The present invention relates to a two-way synchronous communication transmission and reception apparatus using the Manchester coding technique.

2. 발명이 해결하려고 하는 기술적 과제2. The technical problem to be solved by the invention

본 발명은, 맨체스터 코딩 기법을 이용하여 송신단에서는 데이터 정보와 클럭 정보를 동시에 전송하고, 수신단에서는 수신된 신호로부터 데이터 정보와 클럭 정보를 복원하여 처리함으로서 동시에 양방향 동기 통신을 할 수 있도록 하는 맨체스터 코딩 기법을 이용한 양방향 동기 통신 송수신 장치를 제공하고자 함.The present invention provides a Manchester coding scheme in which a transmitting end simultaneously transmits data information and clock information, and a receiving end recovers data information and clock information from a received signal to simultaneously perform bidirectional synchronous communication. To provide a bidirectional synchronous communication transmission and reception apparatus using.

3. 본 발명의 해결 방법의 요지3. Summary of the Solution of the Invention

본 발명은, 쉬프팅 시킨 직렬 데이터를 출력하는 제 1 쉬프팅 수단; 맨체스터 코딩하여 출력하는 맨체스터 코딩 수단; 시작 비트를 발생시킨 후에 직렬 데이터를 전송하고, 전송후에 정지 비트를 발생시켜 전송하는 시작/정지 비트 발생 및 쉬프팅 제어 수단; 및 외부로부터 입력되는 모드 선택 신호에 따라 상기 맨체스터 코딩 수단과 상기 시작/정지 비트 발생 및 쉬프팅 제어 수단으로부터 입력되는 신호중에 하나를 선택하여 출력하는 선택 수단을 포함한다.The present invention includes: first shifting means for outputting shifted serial data; Manchester coding means for outputting by Manchester coding; Start / stop bit generation and shifting control means for transmitting serial data after generating a start bit, and generating and transmitting a stop bit after transmission; And selection means for selecting and outputting one of the signals input from the Manchester coding means and the start / stop bit generation and shifting control means according to a mode selection signal input from the outside.

4. 발명의 중요한 용도4. Important uses of the invention

본 발명은 인텔 80186EC의 동기 통신에 이용됨.The present invention is used for synchronous communication of the Intel 80186EC.

Description

맨체스터 코딩 기법을 이용한 양방향 동기 통신 송수신 장치Bidirectional Synchronous Communication Transceiver Using Manchester Coding Technique

본 발명은 인텔 80186EC에 양방향 동기 통신을 제공하기 위한 맨체스터 코딩 기법을 이용한 양방향 동기 통신 송수신 장치에 관한 것이다.The present invention relates to an apparatus for transmitting and receiving bidirectional synchronous communication using a Manchester coding scheme for providing bidirectional synchronous communication to the Intel 80186EC.

종래의 80186EC(80186 Electronic Calculators)는 SCU(Serial Communication Unit)의 모드(mode) 0을 이용하여 동기 전송을 한다.The conventional 80186EC (80186 Electronic Calculators) performs synchronous transmission using mode 0 of a serial communication unit (SCU).

그리고, 이러한 동기 전송은 외부 장치와의 통신 및 다중 멀티 프로세서 통신을 하는데 이용되며, 종래의 80186EC의 SCU(Serial Communication Unit)는 송신 장치(TX machine : Transmit machine)의 TXD 핀과, 수신 장치(RX machine : Receive machine)의 RXD 핀을 이용하여 동기 전송을 제공한다.In addition, the synchronous transmission is used for communication with an external device and multi-processor communication. The conventional Serial Communication Unit (SCU) of the 80186EC has a TXD pin and a receiving device (RX) of a transmission machine (TX machine). machine: Provides synchronous transmission using the RXD pin of a receive machine.

동기 방식은 데이터와 클럭을 함께 전송한다. 클럭이 바뀔 때 데이터 값을 함께 읽으면 되기 때문에 바이트마다 시작 비트를 주지 않고 효율적으로 데이터를 전송한다.The synchronous method transfers data and clock together. When the clock changes, data values can be read together, so data is transmitted efficiently without giving a start bit for each byte.

그런데 이와 같은 동기 전송을 하기 위해서는 클럭 신호를 보내는 핀과 데이터를 전송하는 핀이 필요하다.However, in order to perform the synchronous transmission, a pin for transmitting a clock signal and a pin for transmitting data are required.

인텔 80186EC는 클럭 신호를 보내기 위해서 TXD 핀을, 데이터를 송/수신하기 위하여 RXD 핀을 사용한다.The Intel 80186EC uses the TXD pin to send clock signals and the RXD pin to send and receive data.

도 1 은 종래의 인텔 80186EC에서의 송신 클럭과 송신 데이터 및 수신 클럭과 수신 데이터를 나타낸 일예시도이다.1 is a diagram illustrating a transmission clock and transmission data and a reception clock and reception data in a conventional Intel 80186EC.

도면에 도시된 바와 같이, (a)는 송신측의 TXD 핀을 통하여 송신되는 클럭 신호를 나타내고, (b)는 송신측의 RXD 핀을 통하여 송신되는 데이터 신호를 나타내며, (c)는 수신측의 TXD 핀을 통하여 수신되는 클럭 신호를 나타내고, (d)는 RXD핀을 통하여 수신되는 데이터 신호를 나타낸다.As shown in the figure, (a) represents a clock signal transmitted through the TXD pin of the transmitting side, (b) represents a data signal transmitted through the RXD pin of the transmitting side, and (c) represents the receiving side of the receiving side. A clock signal received through the TXD pin is shown, and (d) shows a data signal received through the RXD pin.

도면에 도시된 바와 같이, 송신측은 클럭 신호(a)의 음의 천이(negative transition(1→0))을 이용하여 데이터(b)를 싣고, 수신측은 클럭 신호(c)의 양의 천이(positive transition(0→1))을 이용하여 데이터(d)를 복구하게 된다.As shown in the figure, the transmitting side loads data b using a negative transition (1 → 0) of the clock signal a, and the receiving side positively shifts the clock signal c. Data (d) is recovered using transition (0 → 1)).

상기 종래의 방법은 단방향의 전송만을 지원한다.The conventional method only supports unidirectional transmission.

그러나, 종래의 80186EC는 RXD 핀을 데이터 전송을 위한 채널로 사용하고, TXD 핀을 클럭 전송을 위한 채널로 사용함으로, 어느 한시점에서 송신 혹은 수신 만이 가능하고 동시에 양방향 동기 통신을 할 수 없다는 문제점이 있었다.However, the conventional 80186EC uses the RXD pin as a channel for data transmission and the TXD pin as a channel for clock transmission, which makes it possible to transmit or receive only at one point in time and not to perform bidirectional synchronous communication at the same time. there was.

또한, 이러한 단방향 전송은 한 시점에서 송신 혹은 수신만을 지원함으로써 데이터 전송울을 저하시키고, 운용자에게는 동기화를 고려하여야 하는 부담을 주었다.In addition, such unidirectional transmission degrades data transmission by supporting only transmission or reception at a time, and puts a burden on the operator to consider synchronization.

따라서, 상기한 바와 같은 문제점을 해결하기 위하여 안출된 본 발명은, 맨체스터 코딩 기법을 이용하여 송신단에서는 데이터 정보와 클럭 정보를 동시에 전송하고, 수신단에서는 수신된 신호로부터 데이터 정보와 클럭 정보를 복원하여 처리함으로서 동시에 양방향 동기 통신을 할 수 있도록 하는 맨체스터 코딩 기법을 이용한 양방향 동기 통신 송수신 장치를 제공하는데 그 목적이 있다.Therefore, in order to solve the above problems, the present invention uses a Manchester coding scheme to simultaneously transmit data information and clock information at the transmitting end, and recover the data information and clock information from the received signal at the receiving end. It is an object of the present invention to provide a two-way synchronous communication transmission and reception apparatus using a Manchester coding technique to enable two-way synchronous communication at the same time.

도 1 은 종래의 인텔 80186EC 에서의 송신 클럭과 송신 데이터 및 수신 클럭과 수신 데이터를 나타낸 일예시도.1 is a diagram illustrating a transmission clock and transmission data and a reception clock and reception data in a conventional Intel 80186EC.

도 2 는 본 발명에 이용되는 맨체스터 코딩 기법에 대한 설명도.2 is an explanatory diagram of a Manchester coding technique used in the present invention.

도 3 은 본 발명의 일실시예에 따른 양방향 동기 통신 송신 장치를 나타낸 구성도.3 is a block diagram showing a bidirectional synchronous communication transmission apparatus according to an embodiment of the present invention.

도 4 는 본 발명의 일실시예에 따른 양방향 동기 통신 수신 장치를 나타낸 구성도.4 is a block diagram showing a bidirectional synchronous communication receiving apparatus according to an embodiment of the present invention.

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

301, 406 : 레지스터 302 : 패리티 발생기301, 406: Register 302: Parity Generator

303 : 패리티 제어기 304, 405 : 쉬프트 레지스터303: parity controller 304, 405: shift register

305 : 맨체스터 엔코더305: Manchester encoder

306 : 시작/정지 비트 발생 및 쉬프트 제어기306: Start / Stop bit generation and shift controller

307, 403, 404 : 멀티 플렉서 308 : 쉬프터307, 403, 404: Multiplexer 308: Shifter

401 : 맨체스터 디코더 402 : 샘플러401: Manchester Decoder 402: Sampler

상기 목적을 달성하기 위한 본 발명의 송신 장치는, 외부로부터 입력받은 전송할 바이트를 외부로부터 입력되는 패리티 인에이블 신호와 우수 인에이블 신호에 따라 패리티 비트를 생성하여 첨가하고, 외부로부터 입력되는 쉬프트 클럭에 따라 쉬프팅 시킨 직렬 데이터를 출력하는 제 1 쉬프팅 수단; 상기 제 1 쉬프팅 수단으로부터 입력받은 직렬 데이터를 외부로부터 입력되는 보드 클럭에 따라 맨체스터 코딩하여 출력하는 맨체스터 코딩 수단; 외부로부터 입력되는 보드 클럭에 따라 시작 비트를 발생시킨 후에 상기 제 1 쉬프팅 수단으로부터 입력받은 직렬 데이터를 전송하고, 전송후에 정지 비트를 발생시켜 전송하는 시작/정지 비트 발생 및 쉬프팅 제어 수단; 및 외부로부터 입력되는 모드 선택 신호에 따라 상기 맨체스터 코딩 수단과 상기 시작/정지 비트 발생 및 쉬프팅 제어 수단으로부터 입력되는 신호중에 하나를 선택하여 출력하는 선택 수단을 포함하여 이루어지는 것을 특징으로 한다.In order to achieve the above object, the transmitting apparatus of the present invention generates and adds a parity bit according to a parity enable signal and an even enable signal inputted from the outside and transmits the byte to be transmitted from the outside to the shift clock input from the outside. First shifting means for outputting serial data shifted along; Manchester coding means for outputting Manchester coded serial data received from the first shifting means according to a board clock input from the outside; A start / stop bit generation and shifting control means for transmitting the serial data received from the first shifting means after generating a start bit according to a board clock input from the outside, and generating and transmitting a stop bit after transmission; And selection means for selecting and outputting one of the signals input from the Manchester coding means and the start / stop bit generation and shifting control means according to a mode selection signal input from the outside.

또한, 본 발명의 수신 장치는, 외부로부터 입력받은 맨체스터 코딩된 신호로부터 데이터와 쉬프트 클럭을 복원하여 출력하는 맨체스터 디코딩 수단; 외부로부터 입력되는 보드 클럭에 따라 외부로부터 시작 비트와 전송할 데이터 및 정지 비트로 이루어진 신호를 입력받아 데이터와 쉬프트 클럭을 복원하여 출력하는 샘플링 수단; 및 상기 맨체스터 디코딩 수단과 상기 샘플링 수단으로부터 입력받은 신호를 쉬프트 클럭에 따라 쉬프팅 시킨 병렬 데이터를 출력하는 제 1 쉬프팅 수단을 포함하여 이루어지는 것을 특징으로 한다.In addition, the receiving apparatus of the present invention, Manchester decoding means for recovering the data and the shift clock from the Manchester coded signal received from the outside; Sampling means for receiving a signal consisting of a start bit, a data to be transmitted, and a stop bit from an external device according to a board clock input from the outside to restore and output the data and the shift clock; And first shifting means for outputting parallel data obtained by shifting a signal received from the Manchester decoding means and the sampling means according to a shift clock.

또한, 본 발명의 송수신 장치는, 외부로부터 입력받은 전송할 바이트를 외부로부터 입력되는 패리티 인에이블 신호와 우수 인에이블 신호에 따라 패리티 비트 생성하여 첨가하고, 외부로부터 입력되는 쉬프트 클럭에 따라 쉬프팅 시킨 직렬 데이터를 출력하는 제 1 쉬프팅 수단; 상기 제 1 쉬프팅 수단으로부터 입력받은 직렬 데이터를 외부로부터 입력되는 보드 클럭에 따라 맨체스터 코딩하여 출력하는 맨체스터 코딩 수단; 외부로부터 입력되는 보드 클럭에 따라 시작 비트를 발생시킨 후에 상기 제 1 쉬프팅 수단으로부터 입력받은 직렬 데이터를 전송하고, 전송후에 정지 비트를 발생시켜 전송하는 시작/정지 비트 발생 및 쉬프팅 제어 수단; 외부로부터 입력되는 모드 선택 신호에 따라 상기 맨체스터 코딩 수단과 상기 시작/정지 비트 발생 및 쉬프팅 제어 수단으로부터 입력되는 신호중에 하나를 선택하여 출력하는 제 1 선택 수단; 상기 제 1 선택 수단에서 입력받은 맨체스터 코딩된 신호로부터 데이터와 쉬프트 클럭을 복원하여 출력하는 맨체스터 디코딩 수단; 외부로부터 입력되는 보드 클럭에 따라 상기 제 1 선택 수단으로부터 시작 비트와 전송할 데이터 및 정지 비트로 이루어진 신호를 입력받아 데이터와 쉬프트 클럭을 복원하여 출력하는 샘플링 수단; 및 상기 맨체스터 디코딩 수단과 상기 샘플링 수단으로부터 입력받은 신호를 쉬프트 클럭에 따라 쉬프팅 시킨 병렬 데이터를 출력하는 제 2 쉬프팅 수단을 포함하여 이루어지는 것을 특징으로 한다.In addition, the transmission and reception apparatus of the present invention generates and adds a parity bit according to a parity enable signal and a good enable signal input from the outside, and shifts the serial byte shifted according to a shift clock input from the outside. First shifting means for outputting a; Manchester coding means for outputting Manchester coded serial data received from the first shifting means according to a board clock input from the outside; A start / stop bit generation and shifting control means for transmitting the serial data received from the first shifting means after generating a start bit according to a board clock input from the outside, and generating and transmitting a stop bit after transmission; First selection means for selecting and outputting one of the signals input from the Manchester coding means and the start / stop bit generation and shifting control means according to a mode selection signal input from an external device; Manchester decoding means for restoring and outputting the data and the shift clock from the Manchester coded signal received by the first selection means; Sampling means for receiving a signal consisting of a start bit, a data to be transmitted, and a stop bit from the first selection means, restoring the data and the shift clock according to a board clock input from the outside; And second shifting means for outputting parallel data obtained by shifting a signal received from the Manchester decoding means and the sampling means according to a shift clock.

이하, 도 2 내지 4 를 참조하여 본 발명에 따른 바람직한 일실시예를 상세히 설명한다.Hereinafter, a preferred embodiment of the present invention will be described in detail with reference to FIGS. 2 to 4.

도 2 는 본 발명에 이용되는 맨체스터 코딩 기법에 대한 설명도이다.2 is an explanatory diagram of a Manchester coding technique used in the present invention.

도면에 도시된 바와 같이, (a)는 전송할 비트열을 나타내며, (b)는 맨체스터 코딩된 신호를 나타내고, (c)는 수신측에서 재생한 클럭을 나타내며, (d)는 클럭에서 재생한 데이터를 나타낸다.As shown in the figure, (a) denotes a bit string to be transmitted, (b) denotes a Manchester coded signal, (c) denotes a clock reproduced on the receiving side, and (d) denotes data reproduced on a clock. Indicates.

맨체스터 코딩 기법이란 1은 01로 0은 10으로 데이터를 변환하는 방법을 말한다.The Manchester coding technique is a method of converting data from 1 to 01 and 0 to 10.

상기 맨체스터 코딩 기법을 이용하여 송신측에서 데이터를 전송하면 수신측에서는 1→0 또는 0→1로 천이하는 천이점을 기준으로 조금 뒤에 데이터를 읽어 데이터를 복구하고, 1→0 또는 0→1로 천이하는 천이점을 클럭의 천이점으로 인식하여 클럭을 복구한다.When the transmitter transmits data using the Manchester coding scheme, the receiver reads the data a little later based on the transition point of 1 → 0 or 0 → 1, and recovers the data, and then transitions to 1 → 0 or 0 → 1. The clock is recovered by recognizing the transition point as the clock transition point.

도면에 도시된 바와 같이, 전송할 비트열(a)는 10011101이고, 전송할 비트열(a)을 맨체스터 코딩한 신호(b)는 0110100101011001이며, 수신측에서 재생한 클럭(c)은 맨체스터 코딩된 신호(b)의 천이점을 클럭의 천이점으로 인식하여 구하며, 이렇게 재생된 클럭을 이용하여 데이터(d)를 복구한다.As shown in the figure, the bit string a to be transmitted is 10011101, the signal b obtained by Manchester coding the bit string a to be transmitted is 0110100101011001, and the clock c reproduced on the receiving side is a Manchester coded signal ( The transition point of b) is recognized as the transition point of the clock and obtained. The data d is recovered using the reproduced clock.

이와 같은 맨체스터 코딩 기법을 이용하면, 별도의 클럭을 사용하지 않고 데이터 전송 채널만을 이용하여 동기 방식으로 통신을 할 수 있다.By using the Manchester coding scheme, it is possible to communicate in a synchronous manner using only a data transmission channel without using a separate clock.

또한, 이와 같은 방식은 데이터 전송 채널만을 이용함으로써 TXD 핀을 데이터 전송을 위해서 RXD 핀은 수신을 위해서 사용할 수 있다.In addition, this method can use the TXD pin for data transmission and the RXD pin for reception by using only the data transmission channel.

그러므로, 동기화된 양방향의 전송을 할 수 있는 것이다.Therefore, synchronized bidirectional transmission is possible.

도 3 은 본 발명의 일실시예에 따른 양방향 동기 통신 송신 장치를 나타낸 구성도이다.3 is a block diagram showing a bidirectional synchronous communication transmission apparatus according to an embodiment of the present invention.

도면에 도시된 바와 같이, 양방향 동기 통신 송신 장치는, 레지스터(301)와, 패리티 발생기(302)와, 패리티 제어기(303)와, 쉬프트 레지스터(304)와, 맨체스터 엔코더(305)와, 시작/정지 비트 발생 및 쉬프트 제어기(306)와, 멀티 플렉서(307) 및 쉬프터(308)를 구비하고 있다.As shown in the figure, the bidirectional synchronous communication transmission apparatus includes a register 301, a parity generator 302, a parity controller 303, a shift register 304, a Manchester encoder 305, a start / A stop bit generation and shift controller 306, a multiplexer 307 and a shifter 308 are provided.

레지스터(301)는 외부로부터 입력되는 전송할 바이트를 저장하고 있으며, 쉬프트 레지스터(304)와 패리티 발생기(302)로 저장되어 있는 데이터를 출력한다.The register 301 stores bytes to be transmitted from the outside, and outputs data stored in the shift register 304 and the parity generator 302.

패리티 발생기(302)는 상기 레지스터(301)로부터 입력되는 데이터 정보에 따라 패리티를 발생시켜 패리티 제어기(303)로 출력한다.The parity generator 302 generates parity according to the data information input from the register 301 and outputs the parity to the parity controller 303.

패리티 제어기(303)는 외부로부터 인에이블 신호가 입력됨에 따라 입력받은 패리티를 쉬프터(308)로 출력하며, 또한 외부로부터 입력되는 우수 인에이블 신호에 따라 우수 페리티를 쉬프터(308)로 출력한다.The parity controller 303 outputs the input parity to the shifter 308 as the enable signal is input from the outside, and also outputs the even parity to the shifter 308 according to the even enable signal input from the outside.

쉬프터(306)는 패리티 제어기(303)으로부터 입력되는 패리티를 좌로 또는 우로 소정의 비트를 쉬프트하여 쉬프트 레지스터(304)로 출력한다.The shifter 306 shifts a predetermined bit to the left or right of the parity input from the parity controller 303 and outputs the predetermined bit to the shift register 304.

쉬프터 레지스터(304)는 레지스터로부터 입력되는 전송할 바이트에 쉬프터(308)로부터 입력되는 패리티를 첨가한 후에 좌로 또는 우로 쉬프트하면서 직렬로 데이터를 맨체스터 엔코더(305)와 시작/정지 비트 발생 및 쉬프트 제어기(306)로 출력한다.The shifter register 304 adds parity input from the shifter 308 to the transfer byte input from the register and then shifts the data left or right in series with the Manchester encoder 305 and start / stop bit generation and shift controller 306. )

맨체스터 엔코더(305)는 쉬프트 레지스터(304)로부터 입력되는 신호에 대해 외부로부터 입력되는 보드 클럭(baud clock)에 따라 1은 10으로 0은 01로 변환하는 맨체스터 코딩을 수행한 후에 멀티 플렉서(307)로 출력한다.The Manchester encoder 305 performs a multiplexer 307 after performing Manchester coding on a signal input from the shift register 304 to convert 1 into 10 and 0 into 01 according to a baud clock input from the outside. )

시작/정지 비트 발생 및 쉬프트 제어기(306)는 쉬프트 레지스터(304)로부터 입력되는 신호를 전송하기 위하여 외부로부터 입력되는 보드 클럭에 따라 시작을 알리는 비트를 생성하여 출력한 다음 데이터를 전송한 후에, 정지를 알리는 비트를 생성하여 멀티 플렉서(307)로 출력한다.The start / stop bit generation and shift controller 306 generates and outputs a bit indicating start according to a board clock input from the outside to transmit a signal input from the shift register 304, and then stops after transmitting data. Generates a bit to inform the output to the multiplexer 307.

멀티 플렉서(307)는 입력되는 신호를 외부로부터 입력되는 모드 선택 신호에 따라 선택하여 외부로 출력한다.The multiplexer 307 selects an input signal according to a mode selection signal input from the outside and outputs the selected signal to the outside.

도 4 는 본 발명의 일실시예에 따른 양방향 동기 통신 수신 장치를 나타낸 구성도이다.4 is a block diagram showing an apparatus for receiving bidirectional synchronous communication according to an embodiment of the present invention.

도면에 도시된 바와 같이, 동기 통신 수신 장치는, 맨체스터 디코더(401)와, 샘플러(402)와, 제1 멀티 플렉서(403)와, 제2 멀티 플렉서(404)와, 쉬프터 레지스터(405) 및 레지스터(406)를 구비하고 있다.As shown in the figure, the synchronous communication receiving apparatus includes a Manchester decoder 401, a sampler 402, a first multiplexer 403, a second multiplexer 404, and a shifter register 405. ) And a register 406.

맨체스터 디코더(401)는 외부로부터 맨체스터 코딩된 신호를 입력받아 데이터와 클럭을 복원하여 제1 멀티 플렉서(403)와 제2 멀티 플렉서(404)로 출력한다.The Manchester decoder 401 receives a Manchester coded signal from an external source, restores data and a clock, and outputs the data to a first multiplexer 403 and a second multiplexer 404.

샘플러(402)는 외부로부터 입력되는 보드 클럭에 따라 송신측의 시작/정지 비트 발생 및 쉬프트 제어기(306)에서 발생되는 신호를 입력받아 데이터와 쉬프트 클럭을 복원하여 제1 멀티 플렉서(403)와 제2 멀티 플렉서(404)로 출력한다.The sampler 402 receives a signal generated by the start / stop bit generation and the shift controller 306 of the transmitter according to a board clock input from the outside, and restores the data and the shift clock to the first multiplexer 403. Output to the second multiplexer 404.

제1 멀티 플렉서(403)와 제2 멀티 플렉서(404)는 외부로부터 입력되는 모드 선택 신호에 따라 입력되는 신호를 선택하여 쉬프트 레지스터(405)로 출력한다.The first multiplexer 403 and the second multiplexer 404 select an input signal according to a mode selection signal input from the outside and output the selected signal to the shift register 405.

쉬프트 레지스터(405)는 제2 멀티 플렉서(404)로부터 입력되는 쉬프트 클럭에 따라 제1 멀티 플렉서(403)로부터 입력되는 데이터를 쉬프트하여 레지스터(406)로 출력한다.The shift register 405 shifts data input from the first multiplexer 403 according to the shift clock input from the second multiplexer 404 and outputs the data to the register 406.

레지스터(406)은 쉬프트 레지스터(406)로부터 입려되는 데이터를 일시 저장한 후에 외부로 출력한다.The register 406 temporarily stores data input from the shift register 406 and outputs the data to the outside.

이상에서 설명한 본 발명은, 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자에 있어 본 발명의 기술적 사상을 벗어나지 않는 범위내에서 여러 가지 치환 , 변형 및 변경이 가능하므로 전술한 실시예 및 첨부된 도면에 한정되는 것이 아니다.The present invention described above is capable of various substitutions, modifications, and changes without departing from the technical spirit of the present invention for those skilled in the art to which the present invention pertains. It is not limited to the drawings.

상기와 같은 본 발명은, TXD 핀과 RXD 핀을 데이터 채널로 활용함으로써 클럭 신호를 전송할 필요성이 없어 프로그래밍을 용이하게 할 수 있도록 하며 양방향 통신을 위해 TXD 핀과 RXD 핀을 데이터 채널로 활용함으로써 데이터 대역폭이 커지는 효과가 있다.The present invention as described above, by using the TXD pin and RXD pin as a data channel, there is no need to transmit a clock signal to facilitate programming and by using the TXD pin and RXD pin as a data channel for bidirectional communication data bandwidth This has a growing effect.

Claims (7)

외부로부터 입력받은 전송할 바이트를 외부로부터 입력되는 패리티 인에이블 신호와 우수 인에이블 신호에 따라 패리티 비트를 생성하여 첨가하고, 외부로부터 입력되는 쉬프트 클럭에 따라 쉬프팅 시킨 직렬 데이터를 출력하는 제 1 쉬프팅 수단;First shifting means for generating and adding a parity bit according to the parity enable signal and the even enable signal inputted from the outside and outputting serial data shifted according to the shift clock inputted from the outside; 상기 제 1 쉬프팅 수단으로부터 입력받은 직렬 데이터를 외부로부터 입력되는 보드 클럭에 따라 맨체스터 코딩하여 출력하는 맨체스터 코딩 수단;Manchester coding means for outputting Manchester coded serial data received from the first shifting means according to a board clock input from the outside; 외부로부터 입력되는 보드 클럭에 따라 시작 비트를 발생시킨 후에 상기 제 1 쉬프팅 수단으로부터 입력받은 직렬 데이터를 전송하고, 전송후에 정지 비트를 발생시켜 전송하는 시작/정지 비트 발생 및 쉬프팅 제어 수단; 및A start / stop bit generation and shifting control means for transmitting the serial data received from the first shifting means after generating a start bit according to a board clock input from the outside, and generating and transmitting a stop bit after transmission; And 외부로부터 입력되는 모드 선택 신호에 따라 상기 맨체스터 코딩 수단과 상기 시작/정지 비트 발생 및 쉬프팅 제어 수단으로부터 입력되는 신호중에 하나를 선택하여 출력하는 선택 수단Selection means for selecting and outputting one of the signals input from the Manchester coding means and the start / stop bit generation and shifting control means in accordance with a mode selection signal input from an external device 을 포함하여 이루어진 양방향 동기 통신 송신 장치.Bidirectional synchronous communication transmission device comprising a. 제 1 항에 있어서The method of claim 1 상기 제 1 쉬프팅 수단은,The first shifting means, 외부로부터 입력되는 전송할 바이트를 저장하고 있는 저장 수단;Storage means for storing a byte to be transmitted from outside; 상기 저장 수단으로부터 입력받은 전송할 바이트에 따라 패리티를 발생시켜 출력하는 패리티 발생 수단;Parity generating means for generating and outputting parity according to the transmitted bytes received from the storage means; 상기 패리티 발생 수단으로부터 입력받은 패리티를 외부로부터 입력받은 인에이블 신호와 우수 인에이블 신호에 따라 조절하여 출력하는 패리티 제어 수단;Parity control means for adjusting and outputting the parity received from the parity generating means according to the enable signal and the even enable signal received from the outside; 상기 패리티 제어 수단으로부터 조정된 패리티를 입력받아 쉬프팅시켜 출력하는 제 2 쉬프팅 수단; 및Second shifting means for receiving the adjusted parity from the parity control means and outputting the shifted parity; And 외부로부터 입력받은 쉬프트 클럭에 따라 상기 제 2 쉬프팅 수단으로부터 패리티 신호를 입력받아 상기 저장 수단으로부터 입력받은 전송할 바이트에 첨가한 후에 쉬프팅을 수행하여 직렬로 데이터를 출력하는 제 3 쉬프팅 수단Third shifting means for receiving the parity signal from the second shifting means according to the shift clock received from the outside and adding the parity signal to the transmission byte received from the storage means, and then performing shifting to output data in series 을 포함하여 이루어진 양방향 동기 통신 송신 장치.Bidirectional synchronous communication transmission device comprising a. 외부로부터 입력받은 맨체스터 코딩된 신호로부터 데이터와 쉬프트 클럭을 복원하여 출력하는 맨체스터 디코딩 수단;Manchester decoding means for restoring and outputting the data and the shift clock from the Manchester coded signal received from the outside; 외부로부터 입력되는 보드 클럭에 따라 외부로부터 시작 비트와 전송할 데이터 및 정지 비트로 이루어진 신호를 입력받아 데이터와 쉬프트 클럭을 복원하여 출력하는 샘플링 수단; 및Sampling means for receiving a signal consisting of a start bit, a data to be transmitted, and a stop bit from an external device according to a board clock input from the outside to restore and output the data and the shift clock; And 상기 맨체스터 디코딩 수단과 상기 샘플링 수단으로부터 입력받은 신호를 쉬프트 클럭에 따라 쉬프팅 시킨 병렬 데이터를 출력하는 제 1 쉬프팅 수단First shifting means for outputting parallel data obtained by shifting a signal received from the Manchester decoding means and the sampling means according to a shift clock 을 포함하여 이루어진 양방향 동기 통신 수신 장치.Bidirectional synchronous communication receiving device comprising a. 제 3 항에 있어서,The method of claim 3, wherein 상기 제 1 쉬프팅 수단은,The first shifting means, 상기 맨체스터 디코딩 수단과 상기 샘플링 수단으로부터 입력받은 데이터 신호중에 하나를 외부로부터 입력되는 모드 선택 신호에 따라 선택하여 출력하는 제 1 선택 수단;First selecting means for selecting one of the Manchester decoding means and the data signal input from the sampling means according to a mode selection signal input from the outside; 상기 맨체스터 디코딩 수단과 상기 샘플링 수단으로부터 입력받은 쉬프트 클럭 신호중에 하나를 선택하여 출력하는 제 2 선택 수단;Second selection means for selecting one of the Manchester decoding means and the shift clock signal received from the sampling means and outputting the selected one; 상기 제 1 선택 수단으로부터 입력받은 데이터 신호를 상기 제 2 선택 수단으로부터 입력받은 쉬프트 클럭에 따라 쉬프팅시킨 병렬 데이터를 출력하는 제 2 쉬프팅 수단; 및Second shifting means for outputting parallel data obtained by shifting the data signal received from the first selection means according to the shift clock received from the second selection means; And 상기 제 2 쉬프팅 수단으로부터 입력받은 신호를 일시 저장한 후에 외부로 출력하는 저장 수단Storage means for temporarily storing a signal received from the second shifting means and outputting the signal externally 을 포함하여 이루어진 양방향 동기 통신 수신 장치.Bidirectional synchronous communication receiving device comprising a. 외부로부터 입력받은 전송할 바이트를 외부로부터 입력되는 패리티 인에이블 신호와 우수 인에이블 신호에 따라 패리티 비트 생성하여 첨가하고, 외부로부터 입력되는 쉬프트 클럭에 따라 쉬프팅 시킨 직렬 데이터를 출력하는 제 1 쉬프팅 수단;First shifting means for generating and adding a parity bit according to a parity enable signal and an even enable signal input from an external source and outputting serial data shifted according to a shift clock input from an external source; 상기 제 1 쉬프팅 수단으로부터 입력받은 직렬 데이터를 외부로부터 입력되는 보드 클럭에 따라 맨체스터 코딩하여 출력하는 맨체스터 코딩 수단;Manchester coding means for outputting Manchester coded serial data received from the first shifting means according to a board clock input from the outside; 외부로부터 입력되는 보드 클럭에 따라 시작 비트를 발생시킨 후에 상기 제 1 쉬프팅 수단으로부터 입력받은 직렬 데이터를 전송하고, 전송후에 정지 비트를 발생시켜 전송하는 시작/정지 비트 발생 및 쉬프팅 제어 수단;A start / stop bit generation and shifting control means for transmitting the serial data received from the first shifting means after generating a start bit according to a board clock input from the outside, and generating and transmitting a stop bit after transmission; 외부로부터 입력되는 모드 선택 신호에 따라 상기 맨체스터 코딩 수단과 상기 시작/정지 비트 발생 및 쉬프팅 제어 수단으로부터 입력되는 신호중에 하나를 선택하여 출력하는 제 1 선택 수단;First selection means for selecting and outputting one of the signals input from the Manchester coding means and the start / stop bit generation and shifting control means according to a mode selection signal input from an external device; 상기 제 1 선택 수단에서 입력받은 맨체스터 코딩된 신호로부터 데이터와 쉬프트 클럭을 복원하여 출력하는 맨체스터 디코딩 수단;Manchester decoding means for restoring and outputting the data and the shift clock from the Manchester coded signal received by the first selection means; 외부로부터 입력되는 보드 클럭에 따라 상기 제 1 선택 수단으로부터 시작 비트와 전송할 데이터 및 정지 비트로 이루어진 신호를 입력받아 데이터와 쉬프트 클럭을 복원하여 출력하는 샘플링 수단; 및Sampling means for receiving a signal consisting of a start bit, a data to be transmitted, and a stop bit from the first selection means, restoring the data and the shift clock according to a board clock input from the outside; And 상기 맨체스터 디코딩 수단과 상기 샘플링 수단으로부터 입력받은 신호를 쉬프트 클럭에 따라 쉬프팅 시킨 병렬 데이터를 출력하는 제 2 쉬프팅 수단Second shifting means for outputting parallel data obtained by shifting a signal received from the Manchester decoding means and the sampling means according to a shift clock; 을 포함하여 이루어진 양방향 동기 통신 송수신 장치.Bidirectional synchronous communication transceiver comprising a. 제 5 항에 있어서The method of claim 5 상기 제 1 쉬프팅 수단은,The first shifting means, 외부로부터 입력되는 전송할 바이트를 저장하고 있는 제 1 저장 수단;First storage means for storing a byte to be transmitted from outside; 상기 제 1 저장 수단으로부터 입력받은 전송할 바이트에 따라 패리티를 발생시켜 출력하는 패리티 발생 수단;Parity generating means for generating and outputting parity according to the transmitted bytes received from the first storage means; 상기 패리티 발생 수단으로부터 입력받은 패리티를 외부로부터 입력받은 인에이블 신호와 우수 인에이블 신호에 따라 조절하여 출력하는 패리티 제어 수단;Parity control means for adjusting and outputting the parity received from the parity generating means according to the enable signal and the even enable signal received from the outside; 상기 패리티 제어 수단으로부터 조정된 패리티를 입력받아 쉬프팅시켜 출력하는 제 3 쉬프팅 수단; 및Third shifting means for receiving the adjusted parity from the parity control means and shifting the output; And 외부로부터 입력받은 쉬프트 클럭에 따라 상기 제 3 쉬프팅 수단으로부터 패리티 신호를 입력받아 상기 제 1 저장 수단으로부터 입력받은 전송할 바이트에 첨가한 후에 쉬프팅을 수행하여 직렬로 데이터를 출력하는 제 4 쉬프팅 수단Fourth shifting means for receiving the parity signal from the third shifting means in accordance with the shift clock received from the outside and adding the parity signal to the transmission byte received from the first storage means, and then performing shifting to output data in series. 을 포함하여 이루어진 양방향 동기 통신 송수신 장치.Bidirectional synchronous communication transceiver comprising a. 제 5 항 또는 제 6 항에 있어서,The method according to claim 5 or 6, 상기 제 2 쉬프팅 수단은,The second shifting means, 상기 맨체스터 디코딩 수단과 상기 샘플링 수단으로부터 입력받은 데이터 신호중에 하나를 외부로부터 입력되는 모드 선택 신호에 따라 선택하여 출력하는 제 2 선택 수단;Second selecting means for selecting one of the Manchester decoding means and the data signal input from the sampling means according to a mode selection signal input from the outside; 상기 맨체스터 디코딩 수단과 상기 샘플링 수단으로부터 입력받은 쉬프트 클럭 신호중에 하나를 선택하여 출력하는 제 3 선택 수단;Third selecting means for selecting one of the Manchester decoding means and the shift clock signal received from the sampling means and outputting the selected one; 상기 제 2 선택 수단으로부터 입력받은 데이터 신호를 상기 제 3 선택 수단으로부터 입력받은 쉬프트 클럭에 따라 쉬프팅시킨 병렬 데이터를 출력하는 제 4 쉬프팅 수단; 및Fourth shifting means for outputting parallel data obtained by shifting the data signal received from the second selecting means according to the shift clock received from the third selecting means; And 상기 제 4 쉬프팅 수단으로부터 입력받은 신호를 일시 저장한 후에 외부로 출력하는 제 2 저장 수단Second storage means for temporarily storing the signal received from the fourth shifting means and outputting the signal to the outside 을 포함하여 이루어진 양방향 동기 통신 송수신 장치.Bidirectional synchronous communication transceiver comprising a.
KR1019980021545A 1998-06-10 1998-06-10 Bidirectional Synchronous Communication Transceiver Using Manchester Coding Technique KR100294642B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019980021545A KR100294642B1 (en) 1998-06-10 1998-06-10 Bidirectional Synchronous Communication Transceiver Using Manchester Coding Technique

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019980021545A KR100294642B1 (en) 1998-06-10 1998-06-10 Bidirectional Synchronous Communication Transceiver Using Manchester Coding Technique

Publications (2)

Publication Number Publication Date
KR20000001337A KR20000001337A (en) 2000-01-15
KR100294642B1 true KR100294642B1 (en) 2001-07-12

Family

ID=19538915

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019980021545A KR100294642B1 (en) 1998-06-10 1998-06-10 Bidirectional Synchronous Communication Transceiver Using Manchester Coding Technique

Country Status (1)

Country Link
KR (1) KR100294642B1 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100741747B1 (en) * 2006-03-13 2007-07-23 주식회사 옵토스타 Apparatus for receiving manchester coded signals
KR102238709B1 (en) 2014-09-12 2021-04-12 삼성전자주식회사 Radio frequency processing apparatus and method
WO2017191010A1 (en) * 2016-05-04 2017-11-09 Philips Lighting Holding B.V. Two-way communication using leds
CN112311401B (en) * 2020-11-08 2024-04-09 西北工业大学 Manchester encoding and decoding method for coaxial cable

Also Published As

Publication number Publication date
KR20000001337A (en) 2000-01-15

Similar Documents

Publication Publication Date Title
US6496540B1 (en) Transformation of parallel interface into coded format with preservation of baud-rate
CN107171728B (en) 1B4B and Manchester coded forward and reverse transmission method, device and system
KR100648742B1 (en) High-speed serial data communication system
KR100294642B1 (en) Bidirectional Synchronous Communication Transceiver Using Manchester Coding Technique
EP0557561A1 (en) Serial data link utilising NRZI and Manchester code
CN101039158B (en) Apparatus for canceling frame dislocation
JP2001069181A (en) Digital data transmitting method and device to carry out the same
KR100277059B1 (en) Weaving coding punching device and method for digital communication
JPH1198200A (en) Start-stop synchronization type serial data transmission and reception method, transmitter, receiver and transmitter-receiver
KR20040037470A (en) Data transmission apparatus and method
KR950003519B1 (en) Data error examining method in control system
KR930006751B1 (en) Coding converted appalatus of t1 stuffing 8b6t
JPH065831B2 (en) Signal frame transmission method
KR20000040531A (en) High-speed physical chip system for ieee 1394 serial bus interface and method transmitting and receiving data of the same
JP2892546B2 (en) Wireless control device
JPH079470Y2 (en) Asynchronous / synchronous code converter
KR100208280B1 (en) Data transmission apparatus having a fifo controller
SU1439611A1 (en) Device for interfacing computer with subscriber through telegraph channel
KR880001023B1 (en) Self-clocking data transmission system
JP2605108Y2 (en) Transmission test equipment for signal transmission system
KR0146432B1 (en) A circuit for controlling the other side's dsu without a loss of data
KR0157154B1 (en) Audio decoder
SU767993A1 (en) Device for transmitting and receiving digital data with error correction
JPS5917749A (en) Transmission system of digital signal
JPH0216866A (en) Light signal transmitting method

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: 20050322

Year of fee payment: 5

LAPS Lapse due to unpaid annual fee