JP2689735B2 - Serial signal switching control circuit - Google Patents

Serial signal switching control circuit

Info

Publication number
JP2689735B2
JP2689735B2 JP3013818A JP1381891A JP2689735B2 JP 2689735 B2 JP2689735 B2 JP 2689735B2 JP 3013818 A JP3013818 A JP 3013818A JP 1381891 A JP1381891 A JP 1381891A JP 2689735 B2 JP2689735 B2 JP 2689735B2
Authority
JP
Japan
Prior art keywords
switching control
control
switching
signal
serial
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.)
Expired - Lifetime
Application number
JP3013818A
Other languages
Japanese (ja)
Other versions
JPH04235426A (en
Inventor
知樹 吉原
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
NEC Corp
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 NEC Corp filed Critical NEC Corp
Priority to JP3013818A priority Critical patent/JP2689735B2/en
Publication of JPH04235426A publication Critical patent/JPH04235426A/en
Application granted granted Critical
Publication of JP2689735B2 publication Critical patent/JP2689735B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【技術分野】本発明はシリアル信号切替制御回路に関
し、特にディジタル通信装置等において複数の制御部が
シリアル信号を用いて他の回路の制御を行う場合の信号
切替制御回路に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a serial signal switching control circuit, and more particularly to a signal switching control circuit when a plurality of control units control other circuits using serial signals in a digital communication device or the like.

【0002】[0002]

【従来技術】従来のシリアル信号切替制御回路を図3に
示す。図においては、2枚の制御パッケージ1,2から
のデータを切替制御パッケージ3によって切替えて被制
御パッケージ4に入力する場合の構成が示されている。
2. Description of the Related Art A conventional serial signal switching control circuit is shown in FIG. The figure shows a configuration in which data from two control packages 1 and 2 is switched by the switching control package 3 and input to the controlled package 4.

【0003】制御パッケージ1は、制御用パラレル信号
12を制御用シリアル信号14に変換するパラレル―シ
リアル(P/S)変換部11を有している。なお、13
はシリアル信号14のフレームパルス、15はクロック
である。
The control package 1 has a parallel-serial (P / S) converter 11 for converting the control parallel signal 12 into a control serial signal 14. Note that 13
Is a frame pulse of the serial signal 14, and 15 is a clock.

【0004】また、制御パッケージ2も、制御パッケー
ジ1と同様なパラレル−シリアル変換部21を有してい
る。なお、23はシリアル信号24のフレームパルス、
25はクロックである。
The control package 2 also has a parallel-serial conversion section 21 similar to the control package 1. In addition, 23 is a frame pulse of the serial signal 24,
25 is a clock.

【0005】さらにまた、切替制御パッケージ3は切替
制御部33とセレクタ31,32及び37とを有し、切
替制御部33から出力される切替制御信号36に基づ
き、セレクタ31,32及び37を同時に切替える。
Furthermore, the switching control package 3 has a switching control unit 33 and selectors 31, 32 and 37, and based on a switching control signal 36 output from the switching control unit 33, the selectors 31, 32 and 37 are simultaneously operated. Switch.

【0006】被制御パッケージ4は、切替制御パッケー
ジ3内のセレクタ31から出力される制御用シリアル信
号34を入力とし、制御用パラレル信号43に変換して
分離する、シフトレジスタ等からなるシリアル―パラレ
ル(S/P)変換部41を有する。なお、シリアル―パ
ラレル変換部41には、セレクタ32,37から夫々出
力されるフレームパルス35、クロック38も入力され
る。
The controlled package 4 receives the control serial signal 34 output from the selector 31 in the switching control package 3, converts it into a control parallel signal 43, and separates it. It has a (S / P) converter 41. The frame pulse 35 and the clock 38 output from the selectors 32 and 37 are also input to the serial-parallel converter 41.

【0007】次に、上述した従来のシリアル信号切替制
御回路の動作について図4のタイムチャートを用いて説
明する。図においては、図1中の制御パッケージ1から
出力される制御用シリアル信号14、フレームパルス1
3、クロック15が示されている。同様に、制御パッケ
ージ2から出力される制御用シリアル信号24、フレー
ムパルス23、クロック25も示されている。
Next, the operation of the above-mentioned conventional serial signal switching control circuit will be described with reference to the time chart of FIG. In the figure, the control serial signal 14 and the frame pulse 1 output from the control package 1 in FIG.
3, clock 15 is shown. Similarly, the control serial signal 24, the frame pulse 23, and the clock 25 output from the control package 2 are also shown.

【0008】また、切替制御信号36はその極性(H又
はL)によって図1中のセレクタ31,32,37を切
替えるものである。
The switching control signal 36 switches the selectors 31, 32 and 37 in FIG. 1 according to the polarity (H or L).

【0009】さらにまた、図には、セレクタ選択後の制
御用シリアル信号34、フレームパルス35、クロック
38も示されており、これら各信号に基づき、被制御パ
ッケージ内では、フレームパルス35に応答してパラレ
ル信号43が生成される。なお、図4では被制御パッケ
ージ内のシリアル―パラレル変換部41のパラレル信号
43は、フレームパルス35の立下りで、出力されるも
のとして、示されている。
Furthermore, the figure also shows the control serial signal 34, frame pulse 35, and clock 38 after selector selection. Based on these signals, the controlled package responds to the frame pulse 35 in the controlled package. As a result, the parallel signal 43 is generated. In FIG. 4, the parallel signal 43 of the serial-parallel converter 41 in the controlled package is shown as being output at the trailing edge of the frame pulse 35.

【0010】被制御パッケージ4ではパラレル信号43
に基づいて通信制御等が行われる。
In the controlled package 4, the parallel signal 43
Based on the above, communication control and the like are performed.

【0011】ところで、図3に示されている従来のシリ
アル信号切替制御回路では、2系統の制御パッケージか
ら夫々出力される制御用シリアル信号及びフレームパル
スは、両系統間で非同期である。そのため、図4に示さ
れているように、切替制御信号36の発生前後のフレー
ムパルス35の間隔が、正しい1フレームの周期よりも
短くなってしまう。これにより、被制御パッケージ側の
シリアル―パラレル変換部41へ誤った周期のシリアル
パルス35が入力されるため、制御用パラレル信号43
には、データDのように“A”と“B”とが混在し、出
力ビット位置がずれた誤ったデータが出力され、その結
果誤制御を行ってしまうという欠点があった。
By the way, in the conventional serial signal switching control circuit shown in FIG. 3, the control serial signal and the frame pulse output from the control packages of the two systems are asynchronous between the two systems. Therefore, as shown in FIG. 4, the interval between the frame pulses 35 before and after the generation of the switching control signal 36 becomes shorter than the correct cycle of one frame. As a result, since the serial pulse 35 having an incorrect cycle is input to the serial-parallel converter 41 on the controlled package side, the control parallel signal 43
Has a drawback in that "A" and "B" are mixed as in the data D, and erroneous data in which the output bit position is shifted is output, resulting in erroneous control.

【0012】[0012]

【発明の目的】本発明は上述した従来の欠点を解決する
ためになされたものであり、その目的は誤ったデータが
出力されることのないシリアル信号切替制御回路を提供
することである。
SUMMARY OF THE INVENTION The present invention has been made to solve the above-mentioned conventional drawbacks, and an object thereof is to provide a serial signal switching control circuit in which erroneous data is not output.

【0013】[0013]

【発明の構成】本発明によるシリアル信号切替制御回路
は、外部入力される複数種類のシリアルデータとその各
々に対応し、対応シリアルデータのフレームを規定する
フレームパルスとを同時に切替えて送出する切替え手段
と、この切替え手段からのシリアルデータを順次保持
し、その1フレーム分を前記フレームパルスに応答して
パラレルデータとして送出する変換手段とを有するシリ
アル信号切替制御回路であって、前記切替え手段による
切替え動作直後における前記変換手段への前記フレーム
パルスの入力を禁止する禁止手段を有することを特徴と
する。
The serial signal switching control circuit according to the present invention is a switching means for simultaneously switching and transmitting a plurality of types of externally input serial data and a frame pulse corresponding to each of them and defining a frame of the corresponding serial data. A serial signal switching control circuit which sequentially holds the serial data from the switching means and sends one frame of the serial data as parallel data in response to the frame pulse. It is characterized in that it has a prohibition means for prohibiting the input of the frame pulse to the conversion means immediately after the operation.

【0014】[0014]

【実施例】次に、本発明について図面を参照して説明す
る。
Next, the present invention will be described with reference to the drawings.

【0015】図1は本発明によるシリアル信号切替制御
回路の一実施例の構成を示すブロック図であり、図3と
同等部分は同一符号により示されている。図において、
本実施例のシリアル信号切替制御回路は、切替制御信号
36を、切替選択後のフレームパルス35でラッチする
ラッチ回路54及びそのラッチした信号と切替制御信号
36との排他的論理和をとるゲート55を含むパルス生
成回路50と、その排他的論理和ゲートからの出力52
と切替選択後のフレームパルス35との論理和をとるゲ
ート53とが図3の回路に追加された構成となってい
る。
FIG. 1 is a block diagram showing a configuration of an embodiment of a serial signal switching control circuit according to the present invention, and the same portions as those in FIG. 3 are designated by the same reference numerals. In the figure,
The serial signal switching control circuit of the present embodiment latches the switching control signal 36 with the frame pulse 35 after switching selection, and the gate 55 that takes the exclusive OR of the latched signal and the switching control signal 36. And a pulse generation circuit 50 including an output 52 from an exclusive OR gate
And a gate 53 that takes the logical sum of the frame pulse 35 after switching and selection are added to the circuit of FIG.

【0016】制御パッケージ1は、制御用パラレル信号
12を制御用シリアル信号14へ変換し、切替制御パッ
ケージ3へ制御用シリアル信号14、フレームパルス1
3及びクロック15を送出する。同様に、制御パッケー
ジ2は、切替制御パッケージ3へ制御用シリアル信号2
4、フレームパルス23及びクロック25を送出する。
また、切替制御パッケージ3は、切替制御部33から出
力される切替制御信号36の情報に基づいて、2系統の
制御パッケージからの制御用シリアル信号、フレームパ
ルス及びクロックのうちの1系統をセレクタ31,32
及び37で選択する。
The control package 1 converts the control parallel signal 12 into a control serial signal 14, and supplies the control serial signal 14 and the frame pulse 1 to the switching control package 3.
3 and clock 15 are transmitted. Similarly, the control package 2 sends the control serial signal 2 to the switching control package 3.
4, the frame pulse 23 and the clock 25 are transmitted.
In addition, the switching control package 3 selects one of the control serial signal, the frame pulse, and the clock from the two-system control package based on the information of the switching control signal 36 output from the switching control unit 33. , 32
And 37.

【0017】図2には、切替制御信号36がLからHへ
変化した場合における本実施例の回路各部の動作のタイ
ムチャートが示されている。切替制御信号がLからHに
変化すると、セレクタ選択後の制御用シリアル信号34
及びフレームパルス35は、図2に示されているように
なる。ここで、切替制御信号36を、切替選択後のフレ
ームパルス35でラッチすることにより、パルス生成回
路50内のラッチ回路54から出力51が送出される。
さらに、この出力51と切替制御信号36との排他的論
理和をとったものが、パルス生成回路50から出力52
として送出される。
FIG. 2 shows a time chart of the operation of each part of the circuit of this embodiment when the switching control signal 36 changes from L to H. When the switching control signal changes from L to H, the control serial signal 34 after the selector is selected.
And the frame pulse 35 becomes as shown in FIG. Here, by latching the switching control signal 36 with the frame pulse 35 after switching selection, the output 51 is sent out from the latch circuit 54 in the pulse generation circuit 50.
Further, the exclusive OR of this output 51 and the switching control signal 36 is output 52 from the pulse generation circuit 50.
Is sent as

【0018】この出力52は、切替制御信号36がLか
らHへ変化した時点からフレームパルス32が次に立上
った時点までHとなる信号である。すなわち、元の切替
制御信号とラッチされた切替制御信号とのレベルが異な
ったときにのみ、Hとなるのである。
The output 52 is a signal which becomes H from the time when the switching control signal 36 changes from L to H to the time when the frame pulse 32 rises next time. That is, it becomes H only when the levels of the original switching control signal and the latched switching control signal are different.

【0019】この出力52とセレクタ選択後のフレーム
パルス35とを論理和ゲート53を通して論理和した信
号であるフレームパルス42は、フレームパルス35に
ついて、切替制御後、1発目にくるパルスをマスクした
波形となる。このため、切替時における出力ビット位置
がずれた誤ったデータは、制御用パラレル信号43とし
て出力されない。よって、切替前の制御パッケージ1の
制御データEが、さらに次のフレームパルスの立下りが
現れるまで保持されることとなる。
A frame pulse 42, which is a signal obtained by ORing the output 52 and the frame pulse 35 after selector selection through the OR gate 53, masks the first pulse of the frame pulse 35 after switching control. It becomes a waveform. Therefore, erroneous data in which the output bit position is shifted at the time of switching is not output as the control parallel signal 43. Therefore, the control data E of the control package 1 before switching is held until the next falling edge of the frame pulse appears.

【0020】つまり、誤動作の生じる部分である切替動
作直後のフレームパルスの入力を禁止しているのであ
る。
That is, the input of the frame pulse immediately after the switching operation, which is the portion where the malfunction occurs, is prohibited.

【0021】なお、本実施例では、制御パッケージが2
枚の場合について説明したが、3枚又はそれ以上の制御
パッケージが含まれる場合についても、本発明が適用で
きることは明白である。その場合には、各セレクタの入
力端子数を増せば良い。
In this embodiment, the control package is 2
Although the case of one sheet has been described, it is obvious that the present invention can be applied to the case of including three or more control packages. In that case, the number of input terminals of each selector may be increased.

【0022】[0022]

【発明の効果】以上説明したように本発明は、誤った制
御データがシリアル―パラレル変換されないよう、切替
動作直後はフレームパルスの入力を禁止することによ
り、切替時に誤制御が行われないという効果がある。
As described above, according to the present invention, erroneous control is not performed at the time of switching by prohibiting the input of the frame pulse immediately after the switching operation so that erroneous control data is not serial-parallel converted. There is.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明の実施例によるシリアル信号切替制御回
路の構成を示すブロック図である。
FIG. 1 is a block diagram showing a configuration of a serial signal switching control circuit according to an embodiment of the present invention.

【図2】図1の各部の動作を示すタイムチャートであ
る。
FIG. 2 is a time chart showing the operation of each unit in FIG.

【図3】従来のシリアル信号切替制御回路の構成を示す
ブロック図である。
FIG. 3 is a block diagram showing a configuration of a conventional serial signal switching control circuit.

【図4】図3の各部の動作を示すタイムチャートであ
る。
FIG. 4 is a time chart showing the operation of each unit in FIG.

【符号の説明】[Explanation of symbols]

13,23,35,42 フレームパルス 14,24,34 シリアル信号 15,25,38 クロック 31,32,37 セレクタ 50 パルス生成回路 53 論理和ゲート 13, 23, 35, 42 Frame pulse 14, 24, 34 Serial signal 15, 25, 38 Clock 31, 32, 37 Selector 50 Pulse generation circuit 53 OR gate

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 外部入力される複数種類のシリアルデー
タとその各々に対応し、対応シリアルデータのフレーム
を規定するフレームパルスとを同時に切替えて送出する
切替え手段と、この切替え手段からのシリアルデータを
順次保持し、その1フレーム分を前記フレームパルスに
応答してパラレルデータとして送出する変換手段とを有
するシリアル信号切替制御回路であって、前記切替え手
段による切替え動作直後における前記変換手段への前記
フレームパルスの入力を禁止する禁止手段を有すること
を特徴とするシリアル信号切替制御回路。
1. A switching means for simultaneously switching and transmitting a plurality of kinds of externally input serial data and a frame pulse corresponding to each of them and defining a frame of the corresponding serial data, and serial data from the switching means. A serial signal switching control circuit having a conversion means for sequentially holding and transmitting one frame thereof as parallel data in response to the frame pulse, wherein the frame to the conversion means immediately after the switching operation by the switching means A serial signal switching control circuit having a prohibiting means for prohibiting pulse input.
JP3013818A 1991-01-10 1991-01-10 Serial signal switching control circuit Expired - Lifetime JP2689735B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3013818A JP2689735B2 (en) 1991-01-10 1991-01-10 Serial signal switching control circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3013818A JP2689735B2 (en) 1991-01-10 1991-01-10 Serial signal switching control circuit

Publications (2)

Publication Number Publication Date
JPH04235426A JPH04235426A (en) 1992-08-24
JP2689735B2 true JP2689735B2 (en) 1997-12-10

Family

ID=11843865

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3013818A Expired - Lifetime JP2689735B2 (en) 1991-01-10 1991-01-10 Serial signal switching control circuit

Country Status (1)

Country Link
JP (1) JP2689735B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4756228B1 (en) * 2010-07-30 2011-08-24 Necインフロンティア株式会社 Transmission / reception system and transmission / reception method

Also Published As

Publication number Publication date
JPH04235426A (en) 1992-08-24

Similar Documents

Publication Publication Date Title
KR950012663A (en) Semiconductor device with boundary scan test circuit
EP0017091B1 (en) Two-mode-shift register/counter device
JPH0775343B2 (en) Synchronization detection circuit and method
US4138917A (en) Key code generator
JP2689735B2 (en) Serial signal switching control circuit
US4551583A (en) Control signal transmission system for key telephone system
US5062125A (en) Statistic coding arrangement for producing code words comprising a variable number of bits
JPH0746802B2 (en) Frame synchronization circuit
JP2615700B2 (en) Error correction information output circuit
US6134288A (en) Apparatus and method for generating a decoding clock signal in response to a period of write and read clock signals
JP2555628B2 (en) Data transfer circuit
JP3135990B2 (en) Parity addition circuit
SU1451691A2 (en) Modulo-m adding and subtracting device
SU1425649A1 (en) Multiple-function logical module
JPS61185450A (en) Emphasizing printing system
SU1084856A1 (en) Device for receiving commands
JPS6240732B2 (en)
SU1264160A1 (en) Device for calculating sets of logic functions
SU1438008A1 (en) Code converter
JP2584915B2 (en) Connection circuit
KR100199190B1 (en) Data acquisition logic
GB1586153A (en) Data transmission
JPH03222539A (en) Start bit detection circuit
EP0845739A1 (en) A method to transfer data, a transfer device realising the method, a comparator using such a transfer device and a use of such a comparator as a filling level controller of a memory means
JPH0752824B2 (en) Integrated circuit