JPH03192855A - Synchronizing data reception circuit - Google Patents
Synchronizing data reception circuitInfo
- Publication number
- JPH03192855A JPH03192855A JP1334372A JP33437289A JPH03192855A JP H03192855 A JPH03192855 A JP H03192855A JP 1334372 A JP1334372 A JP 1334372A JP 33437289 A JP33437289 A JP 33437289A JP H03192855 A JPH03192855 A JP H03192855A
- Authority
- JP
- Japan
- Prior art keywords
- data
- bit
- timing
- flag
- data receiver
- Prior art date
- Legal status (The legal status 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 status listed.)
- Pending
Links
- 238000003780 insertion Methods 0.000 claims abstract description 8
- 230000037431 insertion Effects 0.000 claims abstract description 8
- 230000001360 synchronised effect Effects 0.000 claims description 12
- 238000004891 communication Methods 0.000 claims description 2
- 238000001514 detection method Methods 0.000 claims description 2
- 230000008030 elimination Effects 0.000 abstract 1
- 238000003379 elimination reaction Methods 0.000 abstract 1
- 238000010586 diagram Methods 0.000 description 2
- 238000000034 method Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000007704 transition Effects 0.000 description 1
Abstract
Description
【発明の詳細な説明】
〔産業上の利用分野〕
本発明は同期データ受信回路に関し、特にHDLCの1
6ビットシーケンス、15ビットシーケンスの連続フラ
グシーケンスを持つ同期データの受信回路に関する。DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a synchronous data receiving circuit, and particularly to an HDLC one.
The present invention relates to a synchronous data receiving circuit having a continuous flag sequence of a 6-bit sequence and a 15-bit sequence.
従来の同期データ受信回路は、HDLCの16ビットシ
ーケンス、15ビットシーケンスの連続フラグシーケン
スをどちらか一方に固定して同期データの受信を行って
いた。A conventional synchronous data receiving circuit receives synchronous data by fixing a continuous flag sequence of an HDLC 16-bit sequence or a 15-bit sequence to either one.
上述した従来の同期データ受信回路では、HDLCの1
6ビットシーケンス、15ビットシーケンスの連続フラ
グシーケンスをどちらか一方に固定しなければ同期デー
タの受信ができないという欠点がある。In the conventional synchronous data receiving circuit described above, the HDLC 1
There is a drawback that synchronized data cannot be received unless the continuous flag sequence of the 6-bit sequence or the 15-bit sequence is fixed to either one.
本発明の同期データ受信回路は、同期通信のHDLC方
式の受信データを受信クロックのタイミングで8ビット
のパラレルデータに変換するシリアル/パラレル変換器
と、このシリアル/パラレル変換器が出力した前記パラ
レルデータがらデータ“7E”パターンを検出するフラ
グ検出器と、このフラグ検出器の検出タイミングで起動
してパルスを出力し以降前記受信クロック8個ごとにパ
ルスを出力する8進カウンタと、前記パラレルデータを
前記受信クロックのタイミングで伝達する8ビットのフ
リップフロップと、前記8進カウンタの出力パルスのタ
イミングで前記フリップフロップから8ビットごとにデ
ータを取り込み、かつ、取り込んだデータ中のゼロ挿入
ビットを検出して前記8進カウンタに強制リセットをか
け再起動させてゼロ挿入ビット除去処理を行うデータ受
信器とを備えている。The synchronous data receiving circuit of the present invention includes a serial/parallel converter that converts HDLC reception data of synchronous communication into 8-bit parallel data at the timing of a reception clock, and the parallel data outputted from the serial/parallel converter. a flag detector that detects the data "7E" pattern while the flag is detected; an octal counter that is activated at the detection timing of the flag detector and outputs a pulse; and an octal counter that outputs a pulse every eight received clocks; Data is taken in every 8 bits from the 8-bit flip-flop transmitted at the timing of the reception clock and the flip-flop at the timing of the output pulse of the octal counter, and a zero insertion bit in the taken data is detected. and a data receiver for forcibly resetting and restarting the octal counter to perform zero insertion bit removal processing.
次に、本発明について図面を参照して説明する。 Next, the present invention will be explained with reference to the drawings.
第1図は本発明の一実施例のブロック図である。FIG. 1 is a block diagram of one embodiment of the present invention.
受信データは受信クロックに同期しており、受信データ
の中央部は受信クロックのONからOFFの変化(立ち
下がり)タイミングに一致している。The received data is synchronized with the reception clock, and the center portion of the reception data coincides with the transition timing (falling edge) of the reception clock from ON to OFF.
受信データは受信クロックのタイミングで、シリアル/
パラレル変換器1aによって8ビットのパラレルデータ
に変換され、フラグ検出器1b及び8ビットのフリップ
フロップ1eに伝えられる。The received data is serial/transmitted at the timing of the receive clock.
It is converted into 8-bit parallel data by a parallel converter 1a, and transmitted to a flag detector 1b and an 8-bit flip-flop 1e.
HDLCの連続フラグシーケンスには、16ビットシー
ケンス゛・・・0111111001111110・・
・”と15ビットシーケンス“・・・01111110
1111110・・・“とがあるが、フラグ検出器1b
はこのどちらであってもONする。The HDLC continuous flag sequence includes a 16-bit sequence ``...0111111001111110...''
・” and the 15-bit sequence “...01111110
1111110...", but the flag detector 1b
will turn on regardless of which of these conditions.
又、フリップフロップ1eはシリアル/パラレル変換器
1aの出力を受信クロックのタイミングで受は取る。Further, the flip-flop 1e receives the output of the serial/parallel converter 1a at the timing of the reception clock.
フラグ検出器1bの出力はORゲート1dに伝えられる
。この時、データ受信器1fのP出力はOFFに保たれ
ている。ORゲート1dがONすると、8進カウンタI
Cにリセットがかかり8進カウンタ1cは初期化される
。これ以後、8進カウンタICのQ出力は受信クロック
8個ごとにONL、データ受信器1fの割り込み入力ポ
ートINTに伝えられる。The output of flag detector 1b is transmitted to OR gate 1d. At this time, the P output of the data receiver 1f is kept OFF. When the OR gate 1d turns on, the octal counter I
C is reset and the octal counter 1c is initialized. After this, the Q output of the octal counter IC is transmitted to ONL and the interrupt input port INT of the data receiver 1f every eight reception clocks.
データ受信器1fはINTのタイミングで受信する。受
信処理は、データ受信器1fの読み出しパルス出力Rが
ONL、それがフリップフロップ1eの出力イネーブル
OEに伝えられ、フリップフロップ1eの出力QO〜Q
7がデータ受信器1fのデータ入力ポートDO〜D7に
伝えられ、データ受信器1fがその8ビットデータを取
り込むことにより完了する。データ受信器1fのINT
は受信クロック8個ごとに発生するので、データ受信器
1fはフリップフロップ1eの出力を8ビットごと抜け
なく受信できる。The data receiver 1f receives the data at the INT timing. In the reception process, the read pulse output R of the data receiver 1f is ONL, which is transmitted to the output enable OE of the flip-flop 1e, and the output QO to Q of the flip-flop 1e is transmitted to the output enable OE of the flip-flop 1e.
7 is transmitted to the data input ports DO to D7 of the data receiver 1f, and the data receiver 1f takes in the 8-bit data, thereby completing the process. INT of data receiver 1f
is generated every eight reception clocks, so the data receiver 1f can receive the output of the flip-flop 1e without missing every 8 bits.
フラグ検出器1bがON、又はデータ受信器1fのP出
力がONするまで8進カウンタICは自走して受信クロ
ック8個ごとにONL、データ受信器1fはINTのタ
イミングで連続受信する。The octal counter IC runs on its own until the flag detector 1b turns ON or the P output of the data receiver 1f turns ON, and the data receiver 1f continuously receives signals at ONL and INT timings every 8 reception clocks.
第2図は、16ビットシーケンスを受信した時の動作を
示すタイムチャートである。FIG. 2 is a time chart showing the operation when a 16-bit sequence is received.
2はフラグ“7E”′パターンを検出してフラグ検出器
1bがONするタイミングを示す。2bは8進カウンタ
1cがONL、データ受信器1fのINTに伝えられデ
ータ受信器1fか受信するタイミングを示す。フラグが
連続する場合でも、次にタイミング2a(8ビット後)
で再度フラグを検出しフラグ検出器1bがONL、8進
カウンタIC経由でデータ受信器1fに伝わり再同期す
ることができる。2 indicates the timing at which the flag detector 1b turns ON upon detecting the flag "7E"' pattern. 2b indicates the timing at which the octal counter 1c is transmitted to the ONL and INT of the data receiver 1f and received by the data receiver 1f. Even if the flags are consecutive, next timing 2a (after 8 bits)
The flag is detected again by the flag detector 1b, which is transmitted to the data receiver 1f via the ONL and octal counter IC, and resynchronization can be performed.
第3図は、15ビットシーケンスを受信した時の動作を
示すタイムチャートである。FIG. 3 is a time chart showing the operation when a 15-bit sequence is received.
3aはフラグ7E″パターンを検出してフラグ検出器1
bがONするタイミングを示す。3bは8進カウンタ1
cがONL、データ受信器1fのINTに伝えられデー
タ受信器1fが受信するタイミングを示す、フラグが連
続する場合でも、次のタイミング3a(7ビット後)で
再度フラグを検出しフラグ検出器1bがONL、8進カ
ウタIC経由でデータ受信器1fに伝わり再同期するこ
とができる。3a detects the flag 7E'' pattern and outputs the flag detector 1.
This shows the timing when b turns on. 3b is octal counter 1
c is transmitted to ONL and INT of data receiver 1f, indicating the timing at which data receiver 1f receives it.Even if the flags are consecutive, the flag is detected again at the next timing 3a (after 7 bits), and the flag detector 1b detects the flag again. is transmitted to the data receiver 1f via the ONL and octal counter IC, allowing resynchronization.
第2図、第3図かられかるように、16ビットシーケン
ス、15ビットシーケンスを区別することなく同期がと
れ、データ受信が実現できる。As can be seen from FIGS. 2 and 3, synchronization can be achieved without distinguishing between 16-bit sequences and 15-bit sequences, and data reception can be achieved.
第4図は、ゼロ挿入されたデータを受信した時のゼロ除
去処理の動作を示すタイムチャートである。FIG. 4 is a time chart showing the operation of zero removal processing when zero-inserted data is received.
データ受信器1fが受信したデータの中に“1“。There is a “1” in the data received by the data receiver 1f.
が5個連続した場合は、次にビットを調べそのビットが
°“0°′であればゼロ挿入されたビットと判断してゼ
ロ除去処理を行う、尚、2バイトにまたがって、′1°
”が5個連続し、次のビットが°“0″である時も同様
にゼロ挿入されたビットと判断する。If there are 5 consecutive bits, the next bit is checked and if the bit is '0°', it is determined that a zero has been inserted and zero removal processing is performed.
When `` is five consecutive bits and the next bit is ``0'', it is similarly determined that the bit is a zero-inserted bit.
4aはデータ受信器1fが受信するタイミングを示す、
この時データ受信器1fがゼロ挿入ビットを1ビット、
もしくは2ビット検出したならば、4bのタイミングで
P出力をONL、ORゲート1d経由で8進カウンタ1
cに強制リセットをかける。データ受信器1fはこの時
8ビットデータ(前段データ)を保持する。データ受信
器1fはゼロ挿入ビット数によりP出力のON時間をコ
ントロールし、その後P出力をOFFする。4a indicates the timing at which the data receiver 1f receives;
At this time, the data receiver 1f inserts one zero insertion bit,
Or, if 2 bits are detected, the P output is ONL at the timing of 4b, and the octal counter 1 is sent via the OR gate 1d.
Force a reset to c. At this time, the data receiver 1f holds 8-bit data (previous stage data). The data receiver 1f controls the ON time of the P output by the number of zero insertion bits, and then turns the P output OFF.
これにより8進カウンタICは初期化され、4cのタイ
ミング(1ビット、もしくは2ビット後)で8進カウン
タICはONL、データ受信器1fに受信を伝える。デ
ータ受信器1fはこの時8とットデータ(後段データ)
を保持する。データ受信器1fは前段データの挿入され
た“0”を除去(“0′′より上位ビットを下位ビット
側にシフトする)し、後段データの下位ビットを除去し
たビット数だけ前段データの上位ビットに移動するよう
なデータ加工を行う、この操作によりゼロ除去が実現す
る。As a result, the octal counter IC is initialized, and at timing 4c (after 1 bit or 2 bits), the octal counter IC notifies ONL and data receiver 1f of reception. At this time, the data receiver 1f receives 8 bits of data (later stage data).
hold. The data receiver 1f removes the inserted "0" from the previous stage data (shifts the higher bits from "0'' to the lower bits), and removes the upper bits of the previous stage data by the number of bits removed from the lower bits of the latter data. Zero removal is achieved through this operation.
以後データ受信器1fは、再自走する8進カウンタ1c
のカウンタの出力タイミング4dで8ビットデータごと
受信処理を行う。Thereafter, the data receiver 1f uses the octal counter 1c which runs again.
Reception processing is performed for each 8-bit data at the output timing 4d of the counter.
以上説明したように本発明は、HDLCの16ビットシ
ーケンス、15ビットシーケンスの連続フラグシーケン
スを区別することなく同期データ受信ができるという効
果がある。As described above, the present invention has the advantage that synchronous data reception can be performed without distinguishing between continuous flag sequences of HDLC 16-bit sequences and 15-bit sequences.
第1図は、本発明の一実施例のブロック図、第2図〜第
4図は第1図に示す実施例のタイムチャートである。
1a・・・シリアル/パラレル変換器、1b・・・フラ
グ検出器、1c・・・8進カウンタ、1d・・・ORゲ
ート、1e・・・フリップフロップ、1f・・・データ
受信器。
−T)1 図
+f−FIG. 1 is a block diagram of an embodiment of the present invention, and FIGS. 2 to 4 are time charts of the embodiment shown in FIG. 1a... Serial/parallel converter, 1b... Flag detector, 1c... Octal counter, 1d... OR gate, 1e... Flip-flop, 1f... Data receiver. -T)1 Figure +f-
Claims (1)
タイミングで8ビットのパラレルデータに変換するシリ
アル/パラレル変換器と、このシリアル/パラレル変換
器が出力した前記パラレルデータからデータ“7E”パ
ターンを検出するフラグ検出器と、このフラグ検出器の
検出タイミングで起動してパルスを出力し以降前記受信
クロック8個ごとにパルスを出力する8進カウンタと、
前記パラレルデータを前記受信クロックのタイミングで
伝達する8ビットのフリップフロップと、前記8進カウ
ンタの出力パルスのタイミングで前記フリップフロップ
から8ビットごとにデータを取り込み、かつ、取り込ん
だデータ中のゼロ挿入ビットを検出して前記8進カウン
タに強制リセットをかけ再起動させてゼロ挿入ビット除
去処理を行うデータ受信器とを備えたことを特徴とする
同期データ受信回路。A serial/parallel converter converts HDLC received data of synchronous communication into 8-bit parallel data at the timing of the reception clock, and a data "7E" pattern is detected from the parallel data output from this serial/parallel converter. a flag detector; an octal counter that is activated at the detection timing of the flag detector and outputs a pulse, and thereafter outputs a pulse every eight received clocks;
An 8-bit flip-flop that transmits the parallel data at the timing of the reception clock, and data that is fetched every 8 bits from the flip-flop at the timing of the output pulse of the octal counter, and zero insertion in the fetched data. A synchronous data receiving circuit comprising: a data receiver that detects a bit, forcibly resets and restarts the octal counter, and performs zero insertion bit removal processing.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP1334372A JPH03192855A (en) | 1989-12-21 | 1989-12-21 | Synchronizing data reception circuit |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP1334372A JPH03192855A (en) | 1989-12-21 | 1989-12-21 | Synchronizing data reception circuit |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH03192855A true JPH03192855A (en) | 1991-08-22 |
Family
ID=18276634
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP1334372A Pending JPH03192855A (en) | 1989-12-21 | 1989-12-21 | Synchronizing data reception circuit |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH03192855A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8586246B2 (en) | 2008-09-01 | 2013-11-19 | Sony Corporation | Positive electrode active material, positive electrode using the same and non-aqueous electrolyte secondary battery |
US8828606B2 (en) | 2007-08-02 | 2014-09-09 | Sony Corporation | Positive electrode active material, positive electrode using the same and non-aqueous electrolyte secondary battery |
US8841025B2 (en) | 2009-11-05 | 2014-09-23 | Sony Corporation | Positive electrode with heteropoly and phosphorous additives and nonaqueous electrolyte battery |
USRE45310E1 (en) | 2008-02-13 | 2014-12-30 | Sony Corporation | Cathode active material, cathode therewith and nonaqueous electrolyte secondary battery |
-
1989
- 1989-12-21 JP JP1334372A patent/JPH03192855A/en active Pending
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8828606B2 (en) | 2007-08-02 | 2014-09-09 | Sony Corporation | Positive electrode active material, positive electrode using the same and non-aqueous electrolyte secondary battery |
USRE45310E1 (en) | 2008-02-13 | 2014-12-30 | Sony Corporation | Cathode active material, cathode therewith and nonaqueous electrolyte secondary battery |
US8586246B2 (en) | 2008-09-01 | 2013-11-19 | Sony Corporation | Positive electrode active material, positive electrode using the same and non-aqueous electrolyte secondary battery |
US8841025B2 (en) | 2009-11-05 | 2014-09-23 | Sony Corporation | Positive electrode with heteropoly and phosphorous additives and nonaqueous electrolyte battery |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP2641999B2 (en) | Data format detection circuit | |
JPH03192855A (en) | Synchronizing data reception circuit | |
US6327259B1 (en) | Flexible placement of serial data within a time divisioned multiplexed frame through programmable time slot start and stop bit positions | |
EP0530030B1 (en) | Circuit for detecting a synchronizing signal in frame synchronized data transmission | |
EP0299265A2 (en) | Receiver synchronization in encoder/decoder | |
JP3085448B2 (en) | Communications system | |
JP4427991B2 (en) | Clock synchronous serial data transfer method | |
JP2723078B2 (en) | Asynchronous data transmission circuit | |
JPH04145566A (en) | Serial transferring circuit | |
JP2590935B2 (en) | Digital transmission data recovery circuit | |
JP2973725B2 (en) | Subframe synchronization signal detection circuit | |
JPH0358538A (en) | Synchronism detecting circuit | |
JPS60126941A (en) | Code synchronization system | |
JPS62230133A (en) | Synchronization detection system | |
JPH0616619B2 (en) | Out-of-sync detection circuit | |
JPH0233238A (en) | Reception clock recovery circuit for start-stop synchronization data | |
JPS6323442A (en) | Data line terminating device | |
JP3517362B2 (en) | Synchronization circuit of Manchester code | |
JP3137090B2 (en) | Error detection circuit | |
JPS59173824A (en) | Terminal equipment | |
JPH08102732A (en) | Frame synchronization circuit | |
JPS59125143A (en) | Asynchronous modulating and demodulating device | |
JPH03172037A (en) | Serial data transfer device | |
JPS634730A (en) | Data synchronizing device in bus type line switching system | |
JPS6085640A (en) | Frame synchronization circuit |