JP5383856B2 - Transmitter circuit - Google Patents

Transmitter circuit Download PDF

Info

Publication number
JP5383856B2
JP5383856B2 JP2012096769A JP2012096769A JP5383856B2 JP 5383856 B2 JP5383856 B2 JP 5383856B2 JP 2012096769 A JP2012096769 A JP 2012096769A JP 2012096769 A JP2012096769 A JP 2012096769A JP 5383856 B2 JP5383856 B2 JP 5383856B2
Authority
JP
Japan
Prior art keywords
serial data
serial
block number
timing
bit
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 - Fee Related
Application number
JP2012096769A
Other languages
Japanese (ja)
Other versions
JP2012147494A (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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP2012096769A priority Critical patent/JP5383856B2/en
Publication of JP2012147494A publication Critical patent/JP2012147494A/en
Application granted granted Critical
Publication of JP5383856B2 publication Critical patent/JP5383856B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、シリアル通信等の検証作業において、データのビット位置を特定することが可能な送信回路に関する。   The present invention relates to a transmission circuit capable of specifying a bit position of data in verification work such as serial communication.

従来は、デジタル回路の動作確認やデバッグ等の作業でロジックアナライザ等の測定器や波形を出力した印刷物等を用いる際に、通信の開始位置からのビットを数えることでシリアルデータのビット位置を特定していた。   Conventionally, when using a measurement device such as a logic analyzer or printed matter that outputs a waveform for operations such as checking the operation of a digital circuit or debugging, the bit position of the serial data is specified by counting the bits from the communication start position. Was.

また、下記特許文献1には、クロックを制御する回路の一例として、通信の前後のクロックを停止する一般的な技術が開示されている。   Patent Document 1 below discloses a general technique for stopping a clock before and after communication as an example of a circuit for controlling a clock.

特開平7−226686号公報JP-A-7-226686

しかしながら、上記従来の方法では、ビットを数える時間や手間がかかること、数え間違いが生じやすいこと等の問題があった。   However, the above-described conventional methods have problems such as that it takes time and labor to count bits, and that counting errors are likely to occur.

また、上記特許文献1に記載の技術は、通信の前後のクロックを停止する一般的な技術であって、シリアル通信において特定のビット位置を認識するための技術ではない。   The technique described in Patent Document 1 is a general technique for stopping clocks before and after communication, and is not a technique for recognizing a specific bit position in serial communication.

本発明は、上記に鑑みてなされたものであって、出力するシリアルデータのビット位置を容易に特定することが可能な送信回路を得ることを目的とする。   The present invention has been made in view of the above, and an object of the present invention is to obtain a transmission circuit capable of easily specifying the bit position of serial data to be output.

上述した課題を解決し、目的を達成するために、本発明にかかる送信回路は、シリアルクロックと当該シリアルクロックに同期したシリアルデータとを出力する送信回路であって、シリアルデータのビット位置を特定するためのパルス信号を、所定の間隔で生成し出力するパルス信号出力手段、を備えることを特徴とする。   In order to solve the above-described problems and achieve the object, a transmission circuit according to the present invention is a transmission circuit that outputs a serial clock and serial data synchronized with the serial clock, and specifies a bit position of the serial data. And a pulse signal output means for generating and outputting a pulse signal at a predetermined interval.

この発明によれば、データ位置を特定するためのブロックパルスを出力する構成としたので、その回数を数えることでシリアルデータのビット位置を容易に特定することが可能になる、という効果を奏する。   According to the present invention, since the block pulse for specifying the data position is output, the bit position of the serial data can be easily specified by counting the number of times.

図1は、送信回路の実施の形態1の構成例を示す図である。FIG. 1 is a diagram illustrating a configuration example of the transmission circuit according to the first embodiment. 図2は、実施の形態1の送信回路の動作を示すタイミングチャートである。FIG. 2 is a timing chart illustrating the operation of the transmission circuit according to the first embodiment. 図3は、実施の形態1の送信回路を用いてシリアルデータのビット番号100を探し出す場合の一例を示す図である。FIG. 3 is a diagram illustrating an example of searching for a serial data bit number 100 using the transmission circuit according to the first embodiment. 図4は、送信回路の実施の形態2の構成例を示す図である。FIG. 4 is a diagram illustrating a configuration example of the second embodiment of the transmission circuit. 図5は、実施の形態2の送信回路の動作を示すタイミングチャートである。FIG. 5 is a timing chart illustrating the operation of the transmission circuit according to the second embodiment. 図6は、実施の形態2の送信回路を用いてシリアルデータのビット番号100を探し出す場合の一例を示す図である。FIG. 6 is a diagram illustrating an example of searching for the serial data bit number 100 using the transmission circuit according to the second embodiment. 図7は、送信回路の実施の形態3の構成例を示す図である。FIG. 7 is a diagram illustrating a configuration example of the transmission circuit according to the third embodiment. 図8は、実施の形態3の送信回路の動作を示すタイミングチャートである。FIG. 8 is a timing chart illustrating the operation of the transmission circuit according to the third embodiment. 図9は、実施の形態3の送信回路を用いてシリアルデータのビット番号100を探し出す場合の一例を示す図である。FIG. 9 is a diagram illustrating an example of searching for the serial data bit number 100 using the transmission circuit according to the third embodiment. 図10は、送信回路の実施の形態4の構成例を示す図である。FIG. 10 is a diagram illustrating a configuration example of the transmission circuit according to the fourth embodiment. 図11は、実施の形態4の送信回路の動作を示すタイミングチャートである。FIG. 11 is a timing chart illustrating the operation of the transmission circuit according to the fourth embodiment. 図12は、実施の形態4の送信回路を用いてシリアルデータのビット番号100を探し出す場合の一例を示す図である。FIG. 12 is a diagram illustrating an example of searching for the bit number 100 of serial data using the transmission circuit of the fourth embodiment. 図13は、送信回路の実施の形態5の構成例を示す図である。FIG. 13 is a diagram illustrating a configuration example of the transmission circuit according to the fifth embodiment. 図14は、実施の形態5の送信回路の動作を示すタイミングチャートである。FIG. 14 is a timing chart illustrating the operation of the transmission circuit according to the fifth embodiment. 図15は、実施の形態5の送信回路を用いてシリアルデータのビット番号100を探し出す場合の一例を示す図である。FIG. 15 is a diagram illustrating an example of searching for the serial data bit number 100 using the transmission circuit according to the fifth embodiment.

以下に、本発明にかかる送信回路の実施の形態を図面に基づいて詳細に説明する。なお、この実施の形態によりこの発明が限定されるものではない。   Embodiments of a transmission circuit according to the present invention will be described below in detail with reference to the drawings. Note that the present invention is not limited to the embodiments.

実施の形態1.
本実施の形態では、シリアルデータmビット毎にブロックパルス信号を出力する場合について説明する。以下、一例としてm=32とする。なお、本実施の形態におけるパラレルシリアル変換方法,mの値等は一例であり、他の変換方法や値を用いてもかまわない。
Embodiment 1 FIG.
In the present embodiment, a case where a block pulse signal is output for every m bits of serial data will be described. Hereinafter, as an example, m = 32. Note that the parallel-serial conversion method, the value of m, and the like in this embodiment are merely examples, and other conversion methods and values may be used.

図1は、本発明にかかる送信回路の実施の形態1の構成例を示す図である。図1の送信回路1aは、パラレルシリアル変換部2と、シリアルデータ計数部3aと、シリアルクロック生成部6aとを備えている。   FIG. 1 is a diagram illustrating a configuration example of a transmission circuit according to a first embodiment of the present invention. The transmission circuit 1a of FIG. 1 includes a parallel / serial conversion unit 2, a serial data counting unit 3a, and a serial clock generation unit 6a.

パラレルシリアル変換部2は、データ取り込み信号に基づいてパラレルデータをシフトレジスタ(図示せず)へ取り込む。そして、定期的に「1」となるタイミング信号に基づいてシフトレジスタ内のデータをシフトし、シフトレジスタの最下位ビット(図示のシフトレジスタ[0]に相当)をシリアルデータとして出力する。   The parallel-serial conversion unit 2 captures parallel data into a shift register (not shown) based on the data capture signal. Then, the data in the shift register is shifted based on a timing signal that periodically becomes “1”, and the least significant bit of the shift register (corresponding to the shift register [0] shown) is output as serial data.

シリアルデータ計数部3aは、タイミングカウンタ(図示せず)を備え、送信開始信号に基づきカウンタ値をリセットし、上記タイミング信号をカウントする。ここでは、m=32としているので、カウンタ値は「0」から「31」までの値を繰り返す。また、シリアルデータ計数部3aは、上記カウンタ値に基づいて、シリアルデータのビット位置を特定するためのブロックパルスを生成し、出力する。   The serial data counting unit 3a includes a timing counter (not shown), resets the counter value based on the transmission start signal, and counts the timing signal. Here, since m = 32, the counter value repeats values from “0” to “31”. Further, the serial data counting unit 3a generates and outputs a block pulse for specifying the bit position of the serial data based on the counter value.

シリアルクロック生成部6aは、上記タイミング信号に基づいてシリアルデータに同期したシリアルクロックを生成し、出力する。   The serial clock generator 6a generates and outputs a serial clock synchronized with the serial data based on the timing signal.

つづいて、上記の様に構成された送信回路1aの動作を、図2を用いて説明する。図2は、送信回路1aの動作を示すタイミングチャートである。   Next, the operation of the transmission circuit 1a configured as described above will be described with reference to FIG. FIG. 2 is a timing chart showing the operation of the transmission circuit 1a.

まず、シリアルデータ計数部3aは、送信開始信号が「1」となるタイミングでタイミングカウンタを初期化する。   First, the serial data counting unit 3a initializes the timing counter at the timing when the transmission start signal becomes “1”.

その後、パラレルシリアル変換部2は、データ取り込み信号が「1」となるタイミングで、パラレルデータを自身のシフトレジスタに取り込む。そして、タイミング信号が「1」となる毎にデータをシフトさせ、シフトレジスタの最下位ビットをシリアルデータとして出力する。このとき、シリアルクロック生成部6aでは、上記タイミング信号が「1」となるタイミングに合わせてシリアルクロックを出力する。   Thereafter, the parallel-serial conversion unit 2 captures the parallel data into its own shift register at the timing when the data capture signal becomes “1”. The data is shifted every time the timing signal becomes “1”, and the least significant bit of the shift register is output as serial data. At this time, the serial clock generation unit 6a outputs a serial clock in accordance with the timing when the timing signal becomes “1”.

また、シリアルデータ計数部3aは、上記初期化を行った後、上記タイミング信号の「1」を検出する度に、タイミングカウンタをインクリメントする。そして、タイミングカウンタが「m−1(=31)」の状態でかつタイミング信号が「1」となるタイミングで「1」となり、タイミングカウンタが「0」の状態でかつタイミング信号が「1」となるタイミングで「0」となる、制御信号を生成する。さらに、シリアルデータ計数部3aは、この制御信号を1カウント分だけ遅延させたブロックパルスを生成し、出力する。   The serial data counting unit 3a increments the timing counter every time it detects “1” of the timing signal after the initialization. Then, when the timing counter is “m−1 (= 31)” and the timing signal is “1”, the timing counter is “1”, the timing counter is “0” and the timing signal is “1”. A control signal that becomes “0” at the timing is generated. Further, the serial data counting unit 3a generates and outputs a block pulse obtained by delaying the control signal by one count.

上記の動作により、ブロックパルスが「1」となるときのシリアルデータは、m(=32)の整数倍となる。したがって、本実施の形態では、ブロックパルスの「1」の数を数えれば、そのときのシリアルデータのビット位置を特定することができる。たとえば、図2のタイミングチャートでは、ブロックパルスが3回目に「1」となった時のシリアルデータのビット位置を、「m(=32)ビット×ブロックパルス回数(=3)=ビット番号96(=97ビット目)」と特定することができる。   With the above operation, the serial data when the block pulse is “1” is an integral multiple of m (= 32). Therefore, in this embodiment, if the number of “1” in the block pulse is counted, the bit position of the serial data at that time can be specified. For example, in the timing chart of FIG. 2, the bit position of the serial data when the block pulse becomes “1” for the third time is represented by “m (= 32) bits × number of block pulses (= 3) = bit number 96 ( = 97th bit) ”.

図3は、本実施の形態の送信回路1aを用いてシリアルデータのビット番号100を探し出す場合の一例を示す図である。ここでは、3回目のブロックパルスの「1」、すなわち、ビット番号96を探し、その位置から5つ数えたところがビット番号100であることが示されている。   FIG. 3 is a diagram illustrating an example of searching for the serial data bit number 100 using the transmission circuit 1a of the present embodiment. Here, “1” of the third block pulse, that is, the bit number 96 is searched for, and the bit number 100 is indicated by counting five from the position.

以上説明したように、本実施の形態によれば、データ位置を特定するためのブロックパルスを出力する構成としたので、その回数を数えることでシリアルデータのビット位置を容易に特定することが可能になる。   As described above, according to the present embodiment, since the block pulse for specifying the data position is output, the bit position of the serial data can be easily specified by counting the number of times. become.

実施の形態2.
実施の形態1では、データ位置を特定するためのブロックパルスを出力することで、シリアルデータのビット位置を特定することとした。本実施の形態では、ブロックパルスを出力する代わりにシリアルクロックを停止させることで、シリアルデータのビット位置を特定する。
Embodiment 2. FIG.
In the first embodiment, the bit position of the serial data is specified by outputting a block pulse for specifying the data position. In this embodiment, the bit position of the serial data is specified by stopping the serial clock instead of outputting the block pulse.

本実施の形態では、シリアルデータmビット毎にシリアルクロックを停止する場合について説明する。以下、一例としてm=32とする。なお、本実施の形態におけるパラレルシリアル変換方法,mの値,シリアルクロックの停止期間等は一例であり、他の変換方法や値を用いてもかまわない。   In the present embodiment, a case where the serial clock is stopped for every m bits of serial data will be described. Hereinafter, as an example, m = 32. Note that the parallel-serial conversion method, the value of m, the stop period of the serial clock, and the like in this embodiment are examples, and other conversion methods and values may be used.

図4は、本発明にかかる送信回路の実施の形態2の構成例を示す図である。図4の送信回路1bは、シリアルデータ計数部3aの代わりにシリアルデータ計数部3bを、シリアルクロック生成部6aの代わりにシリアルクロック生成部6bを備えている。なお、前述の実施の形態1と同様の構成については同一の符号を付してその説明を省略する。   FIG. 4 is a diagram illustrating a configuration example of the transmission circuit according to the second embodiment of the present invention. The transmission circuit 1b of FIG. 4 includes a serial data counting unit 3b instead of the serial data counting unit 3a, and a serial clock generating unit 6b instead of the serial clock generating unit 6a. It should be noted that the same components as those in the first embodiment are denoted by the same reference numerals and description thereof is omitted.

シリアルデータ計数部3bは、タイミングカウンタ(図示せず)を備え、送信開始信号に基づきカウンタ値をリセットし、上記タイミング信号をカウントする。ここでは、m=32とし、シリアルクロックの停止期間を1ビットとしているので、カウンタ値は「0」から「32」までの値を繰り返す。また、シリアルデータ計数部3bは、上記カウンタ値に基づいて、シリアルクロック生成部6bが生成するシリアルクロックを停止させるための制御信号を生成し、シリアルクロック生成部6bに出力する。   The serial data counting unit 3b includes a timing counter (not shown), resets the counter value based on the transmission start signal, and counts the timing signal. Here, since m = 32 and the stop period of the serial clock is 1 bit, the counter value repeats values from “0” to “32”. The serial data counting unit 3b generates a control signal for stopping the serial clock generated by the serial clock generation unit 6b based on the counter value, and outputs the control signal to the serial clock generation unit 6b.

シリアルクロック生成部6bは、上記タイミング信号に基づいて、シリアルデータに同期したシリアルクロックを生成し、出力する。この際、上記制御信号に基づいてクロックの停止制御を行う。   The serial clock generation unit 6b generates and outputs a serial clock synchronized with the serial data based on the timing signal. At this time, clock stop control is performed based on the control signal.

つづいて、上記の様に構成された送信回路1bの動作を、図5を用いて説明する。図5は、送信回路1bの動作を示すタイミングチャートである。   Next, the operation of the transmission circuit 1b configured as described above will be described with reference to FIG. FIG. 5 is a timing chart showing the operation of the transmission circuit 1b.

まず、シリアルデータ計数部3bは、送信開始信号が「1」となるタイミングでタイミングカウンタを初期化する。   First, the serial data counting unit 3b initializes the timing counter at the timing when the transmission start signal becomes “1”.

その後、パラレルシリアル変換部2は、データ取り込み信号が「1」となるタイミングで、パラレルデータを自身のシフトレジスタに取り込む。そして、タイミング信号が「1」となる毎にデータをシフトさせ、シフトレジスタの最下位ビット(図示のシフトレジスタ[0]に相当)をシリアルデータとして出力する。   Thereafter, the parallel-serial conversion unit 2 captures the parallel data into its own shift register at the timing when the data capture signal becomes “1”. Each time the timing signal becomes “1”, the data is shifted, and the least significant bit (corresponding to the shift register [0] shown in the figure) of the shift register is output as serial data.

また、シリアルデータ計数部3bは、上記初期化を行った後、上記タイミング信号の「1」を検出する度にタイミングカウンタをインクリメントする。そして、タイミングカウンタが「31」の状態でかつタイミング信号が「1」となるタイミングで「1」となり、タイミングカウンタが「32」の状態でかつタイミング信号が「1」となるタイミングで「0」となる、制御信号を生成する。さらに、シリアルデータ計数部3bは、この制御信号をシリアルクロック生成部6bに出力する。   Further, the serial data counting unit 3b increments the timing counter each time it detects “1” of the timing signal after performing the initialization. The timing counter is “31” and the timing signal is “1”. The timing counter is “1”. The timing counter is “32” and the timing signal is “1”. A control signal is generated. Further, the serial data counting unit 3b outputs this control signal to the serial clock generating unit 6b.

また、シリアルクロック生成部6bは、上記制御信号が「0」のとき、タイミング信号が「1」となるタイミングに合わせてシリアルクロックを出力する。そして、制御信号が「1」のときは、シリアルクロックの出力を停止する。   Further, when the control signal is “0”, the serial clock generator 6 b outputs a serial clock in accordance with the timing when the timing signal becomes “1”. When the control signal is “1”, the output of the serial clock is stopped.

なお、図5の例では、シリアルクロックが停止しているときのシリアルデータはシフトレジスタ[0]であるが、このとき、受信側の回路では、シリアルクロックが停止されているため、この期間のデータを受信することはない。   In the example of FIG. 5, the serial data when the serial clock is stopped is the shift register [0]. At this time, since the serial clock is stopped in the circuit on the receiving side, No data is received.

上記の動作により、シリアルクロックが停止され、その後、制御信号「0」でシリアルクロックが再開されたときのシリアルデータは、m(=32)の整数倍となる。したがって、本実施の形態では、シリアルクロックの停止回数を数えれば、そのときのシリアルデータのビット位置を特定することができる。たとえば、図5のタイミングチャートでは、3回にわたってシリアルクロックが停止した後に、シリアルクロックが再開したときのシリアルデータのビット位置を、「m(=32)ビット×シリアルクロック停止回数(=3)=ビット番号96」と特定することができる。   With the above operation, the serial clock is stopped, and then the serial data when the serial clock is restarted with the control signal “0” is an integral multiple of m (= 32). Therefore, in this embodiment, if the number of times the serial clock is stopped is counted, the bit position of the serial data at that time can be specified. For example, in the timing chart of FIG. 5, after the serial clock is stopped three times, the bit position of the serial data when the serial clock is restarted is “m (= 32) bits × serial clock stop count (= 3) = Bit number 96 "can be specified.

図6は、本実施の形態の送信回路1bを用いてシリアルデータのビット番号100を探し出す場合の一例を示す図である。ここでは、3回目にシリアルクロックが停止する箇所、すなわち、ビット番号96を探し、その位置から5つ数えたところがビット番号100であることが示されている。   FIG. 6 is a diagram illustrating an example of searching for the serial data bit number 100 using the transmission circuit 1b of the present embodiment. Here, it is shown that the bit number 100 is found at the third stop of the serial clock, that is, the bit number 96 is searched for and counted five from the position.

以上説明したように、本実施の形態によれば、データ位置を特定するためにシリアルクロックを停止する構成としたので、その停止回数を数えることでシリアルデータのビット位置を容易に特定することが可能になる。   As described above, according to the present embodiment, since the serial clock is stopped to specify the data position, the bit position of the serial data can be easily specified by counting the number of stops. It becomes possible.

なお、本実施の形態では、一例として、タイミングカウンタが「31」の状態でかつタイミング信号が「1」となるタイミングで「1」となり、タイミングカウンタが「32」の状態でかつタイミング信号が「1」となるタイミングで「0」となる、制御信号を生成したが、これに限らず、カウンタ値を変えてシリアルクロックの停止期間を調整することにより、任意の停止期間が設定可能となる。   In the present embodiment, as an example, the timing counter is “31” and the timing signal is “1”, the timing counter is “1”, the timing counter is “32”, and the timing signal is “ Although the control signal that becomes “0” at the timing of “1” is generated, the present invention is not limited to this, and any stop period can be set by adjusting the stop period of the serial clock by changing the counter value.

実施の形態3.
実施の形態2では、シリアルクロックを一定期間停止させることで、シリアルデータのビット位置を特定することとした。本実施の形態では、シリアルデータにブロック番号を埋め込むとともに、これを認識させるための信号を出力することで、シリアルデータのビット位置を特定する。
Embodiment 3 FIG.
In the second embodiment, the bit position of the serial data is specified by stopping the serial clock for a certain period. In this embodiment, the block number is embedded in the serial data, and a signal for recognizing this is output, thereby specifying the bit position of the serial data.

本実施の形態では、シリアルデータmビット毎にnビットのブロック番号を埋め込み、さらに、ブロックイネーブルを出力する場合について説明する。以下、一例としてm=32,n=4とする。なお、本実施の形態におけるパラレルシリアル変換方法,mやnの値,ブロック番号の初回の値等は一例であり、他の変換方法や値を用いてもかまわない。   In the present embodiment, a case will be described in which an n-bit block number is embedded for each m bits of serial data and a block enable is output. Hereinafter, as an example, m = 32 and n = 4. Note that the parallel-serial conversion method, the values of m and n, the initial value of the block number, and the like in this embodiment are examples, and other conversion methods and values may be used.

図7は、本発明にかかる送信回路の実施の形態3の構成例を示す図である。図7の送信回路1cは、実施の形態1のシリアルデータ計数部3aの代わりにシリアルデータ計数部3cを備え、さらに、実施の形態1の構成に加えて、シリアルデータ切替え部4cと、ブロック番号生成部5cとを備えている。なお、前述の実施の形態1および2と同様の構成については同一の符号を付してその説明を省略する。   FIG. 7 is a diagram illustrating a configuration example of the transmission circuit according to the third embodiment of the present invention. 7 includes a serial data counting unit 3c instead of the serial data counting unit 3a of the first embodiment, and further includes a serial data switching unit 4c and a block number in addition to the configuration of the first embodiment. And a generating unit 5c. In addition, the same code | symbol is attached | subjected about the structure similar to above-mentioned Embodiment 1 and 2, and the description is abbreviate | omitted.

シリアルデータ計数部3cは、タイミングカウンタ(図示せず)を備え、送信開始信号に基づきカウンタ値をリセットし、上記タイミング信号をカウントする。ここでは、m=32,n=4としているので、カウンタ値は「0」から「35」までの値を繰り返す。また、シリアルデータ計数部3cは、上記カウンタ値に基づいて制御信号を生成し、この制御信号をブロック番号生成部5cに出力する。そして、この制御信号をタイミング信号で1カウント分だけ遅延させたブロックイネーブルを生成し、出力する。   The serial data counting unit 3c includes a timing counter (not shown), resets the counter value based on the transmission start signal, and counts the timing signal. Here, since m = 32 and n = 4, the counter value repeats values from “0” to “35”. The serial data counting unit 3c generates a control signal based on the counter value and outputs this control signal to the block number generating unit 5c. Then, a block enable obtained by delaying the control signal by one count with the timing signal is generated and output.

ブロック番号生成部5cは、シリアルデータのビット位置を特定するための4ビットのブロック番号を生成する。具体的には、送信開始信号に基づきブロック番号をリセットし、タイミング信号およびシリアルデータ計数部3cから受信する制御信号に基づき、生成したブロック番号を出力する。   The block number generation unit 5c generates a 4-bit block number for specifying the bit position of serial data. Specifically, the block number is reset based on the transmission start signal, and the generated block number is output based on the timing signal and the control signal received from the serial data counting unit 3c.

シリアルデータ切替え部4cは、シリアルデータ計数部3cから受信するブロックイネーブルに基づき、パラレルシリアル変換部2から送信されるシフトレジスタの最下位ビット:シフトレジスタ[0]、またはブロック番号生成部5cから送信されるブロック番号の最下位ビット:ブロック番号[0]を、シリアルデータとして出力する。   The serial data switching unit 4c, based on the block enable received from the serial data counting unit 3c, transmits the least significant bit of the shift register transmitted from the parallel-serial conversion unit 2: shift register [0], or transmitted from the block number generation unit 5c. The least significant bit of the block number to be output: The block number [0] is output as serial data.

つづいて、上記の様に構成された送信回路1cの動作を、図8を用いて説明する。図8は、送信回路1cの動作を示すタイミングチャートである。   Next, the operation of the transmission circuit 1c configured as described above will be described with reference to FIG. FIG. 8 is a timing chart showing the operation of the transmission circuit 1c.

まず、シリアルデータ計数部3cは、送信開始信号が「1」となるタイミングでタイミングカウンタを初期化する。また、ブロック番号生成部5cは、送信開始信号が「1」となるタイミングで、ブロック番号[3:0]に「0(=0000)」をセットする。   First, the serial data counting unit 3c initializes the timing counter at the timing when the transmission start signal becomes “1”. Further, the block number generation unit 5c sets “0 (= 0000)” to the block number [3: 0] at the timing when the transmission start signal becomes “1”.

その後、パラレルシリアル変換部2は、データ取り込み信号が「1」となるタイミングで、パラレルデータを自身のシフトレジスタに取り込む。そして、タイミング信号が「1」となる毎にデータをシフトさせ、シフトレジスタの最下位ビット(図示のシフトレジスタ[0]に相当)をシリアルデータ切替え部4cに出力する。このとき、シリアルクロック生成部6aは、タイミング信号が「1」となるタイミングに合わせてシリアルクロックを出力する。   Thereafter, the parallel-serial conversion unit 2 captures the parallel data into its own shift register at the timing when the data capture signal becomes “1”. Then, every time the timing signal becomes “1”, the data is shifted, and the least significant bit (corresponding to the shift register [0] shown) of the shift register is output to the serial data switching unit 4c. At this time, the serial clock generator 6a outputs the serial clock in accordance with the timing when the timing signal becomes “1”.

また、シリアルデータ計数部3cは、上記初期化を行った後、上記タイミング信号の「1」を検出する度に、タイミングカウンタをインクリメントする。そして、タイミングカウンタが「31」でタイミング信号が「1」となるタイミングで「1」となり、タイミングカウンタが「35」でタイミング信号が「1」となるタイミングで「0」となる、制御信号を生成し、ブロック番号生成部5cに出力する。また、シリアルデータ計数部3cは、この制御信号をタイミング信号で1カウント分だけ遅延させたブロックイネーブルを生成し出力する。   The serial data counting unit 3c increments the timing counter each time it detects “1” of the timing signal after the initialization. The control signal is “1” when the timing counter is “31” and the timing signal is “1”, and is “0” when the timing counter is “35” and the timing signal is “1”. Generate and output to the block number generation unit 5c. The serial data counting unit 3c generates and outputs a block enable obtained by delaying the control signal by one count with the timing signal.

そして、上記制御信号が「1」のとき、ブロック番号生成部5cは、タイミングカウンタが「32」のときのタイミング信号が「1」となるタイミングでブロック番号[3:0]の最下位ビット(図示のB2[0]に相当)をブロック番号[0]の1ビット目として出力する。また、タイミングカウンタが「32」〜「34」の間のタイミング信号が「1」となるタイミングでブロック番号[3:0]をシフトし、さらに、タイミングカウンタが「33」〜「35」の間のタイミング信号が「1」となるタイミングで順次最下位ビット(図示のB2[1],B2[2],B2[3]に相当)をシリアルデータ切替え部4cに出力する。また、制御信号が「1」でかつタイミングカウンタが「35」のときには、タイミング信号が「1」となるタイミングでブロック番号[3:0]をインクリメントする。   When the control signal is “1”, the block number generation unit 5c is the least significant bit (3: 0) of the block number [3: 0] at the timing when the timing signal is “1” when the timing counter is “32”. (Corresponding to B2 [0] in the figure) is output as the first bit of the block number [0]. Also, the block number [3: 0] is shifted at the timing when the timing signal between “32” and “34” becomes “1”, and the timing counter is between “33” and “35”. The least significant bits (corresponding to B2 [1], B2 [2], B2 [3] shown) are sequentially output to the serial data switching unit 4c at the timing when the timing signal becomes “1”. When the control signal is “1” and the timing counter is “35”, the block number [3: 0] is incremented at the timing when the timing signal becomes “1”.

上記各部の動作により、シリアルデータ切替え部4cでは、ブロックイネーブル「0」を検出している間は、パラレルシリアル変換部2から送信されるシフトレジスタ[0]を出力し、一方で、ブロックイネーブル「1」を検出している間は、ブロック番号生成部5cから送信されるブロック番号[0]を出力する。   As a result of the above operations, the serial data switching unit 4c outputs the shift register [0] transmitted from the parallel-serial conversion unit 2 while detecting the block enable “0”, while the block enable “0” is output. While “1” is detected, the block number [0] transmitted from the block number generator 5c is output.

上記の動作により、シリアルデータには4ビットのブロック番号が埋め込まれることになる。したがって、本実施の形態では、ブロックイネーブルが「1」である間のブロック番号を読み取れば、シリアルデータのブロック位置が特定できる。たとえば、図8のタイミングチャートでは、ブロックイネーブルが「1」のときのシリアルデータは、「0010」=「2」であるため、このブロック番号の次のビットを、「m(=32)ビット×[ブロック番号(=2)+1]=ビット番号96」、と特定することができる。   With the above operation, a 4-bit block number is embedded in the serial data. Therefore, in the present embodiment, the block position of the serial data can be specified by reading the block number while the block enable is “1”. For example, in the timing chart of FIG. 8, since the serial data when the block enable is “1” is “0010” = “2”, the next bit of this block number is “m (= 32) bits × [Block number (= 2) +1] = bit number 96 ”can be specified.

図9は、本実施の形態の送信回路1cを用いてシリアルデータのビット番号100を探し出す場合の一例を示す図である。ここでは、ブロックイネーブルが「1」のときにシリアルデータが「0010」=「2」となる箇所の次のビット、すなわち、ビット番号96を探し、その位置から5つ数えたところがビット番号100であることが示されている。   FIG. 9 is a diagram illustrating an example of searching for the bit number 100 of serial data using the transmission circuit 1c of the present embodiment. Here, when the block enable is “1”, the next bit of the portion where the serial data is “0010” = “2”, that is, the bit number 96 is searched, and five bits from the position are the bit number 100. It is shown that there is.

以上説明したように、本実施の形態によれば、送信するシリアルデータmビット毎にビット位置を特定するためのnビットのブロック番号を挿入する構成としたので、ブロックイネーブルが「1」のときのブロック番号を読み取ることにより、シリアルデータのビット位置を容易に特定することが可能となる。   As described above, according to the present embodiment, since an n-bit block number for specifying a bit position is inserted for each m bits of serial data to be transmitted, the block enable is “1”. By reading this block number, the bit position of the serial data can be easily specified.

実施の形態4.
実施の形態3では、ブロック番号をシリアルデータに埋め込むことで、シリアルデータのビット位置を特定することとした。本実施の形態では、シリアルデータmビット毎に位置を特定するブロックデータ(ブロック番号)を別の信号線から出力し、これを読み取らせることで、シリアルデータのビット位置を特定する。
Embodiment 4 FIG.
In the third embodiment, the bit position of the serial data is specified by embedding the block number in the serial data. In the present embodiment, block data (block number) for specifying a position for every m bits of serial data is output from another signal line, and this is read to specify the bit position of serial data.

本実施の形態では、シリアルデータmビット毎にnビットのブロック番号を出力する場合について説明する。以下、一例としてm=32,n=4とする。本実施の形態におけるパラレルシリアル変換方法,mやnの値,ブロック番号の初回の値等は一例であり、他の変換方法や値を用いてもかまわない。   In this embodiment, a case where an n-bit block number is output for every m bits of serial data will be described. Hereinafter, as an example, m = 32 and n = 4. The parallel-serial conversion method, the values of m and n, the initial value of the block number, etc. in this embodiment are examples, and other conversion methods and values may be used.

図10は、本発明にかかる送信回路の実施の形態4の構成例を示す図である。図10の送信回路1dは、実施の形態3のシリアルデータ計数部3cおよびブロック番号生成部5cの代わりにシリアルデータ計数部3dおよびブロック番号生成部5dを備え、一方で、シリアルデータ切替え部4cに該当する手段を備えていない。なお、前述の実施の形態1〜3と同様の構成については同一の符号を付してその説明を省略する。   FIG. 10 is a diagram illustrating a configuration example of the transmission circuit according to the fourth embodiment of the present invention. The transmission circuit 1d of FIG. 10 includes a serial data counting unit 3d and a block number generating unit 5d instead of the serial data counting unit 3c and the block number generating unit 5c of the third embodiment, while the serial data switching unit 4c includes There is no corresponding means. In addition, about the structure similar to the above-mentioned Embodiment 1-3, the same code | symbol is attached | subjected and the description is abbreviate | omitted.

シリアルデータ計数部3dは、タイミングカウンタ(図示せず)を備え、送信開始信号に基づきカウンタ値をリセットし、上記タイミング信号をカウントする。ここでは、m=32としているので、カウンタ値は「0」から「31」までの値を繰り返す。また、シリアルデータ計数部3dは、上記カウンタ値に基づいてブロック番号出力のための制御信号を生成し、この制御信号をブロック番号生成部5dに出力する。   The serial data counting unit 3d includes a timing counter (not shown), resets the counter value based on the transmission start signal, and counts the timing signal. Here, since m = 32, the counter value repeats values from “0” to “31”. The serial data counting unit 3d generates a control signal for outputting a block number based on the counter value, and outputs this control signal to the block number generating unit 5d.

ブロック番号生成部5dは、シリアルデータのビット位置を特定するための4ビットのブロック番号を生成する。詳細には、送信開始信号に基づきブロック番号をリセットし、タイミング信号およびシリアルデータ計数部3dから受信する制御信号に基づき、生成したブロック番号をブロックデータの2〜5ビット目として出力する。また、ブロック番号生成部5dは、ブロックデータ出力開始を示す開始ビットをブロックデータの1ビット目として出力する。   The block number generation unit 5d generates a 4-bit block number for specifying the bit position of serial data. Specifically, the block number is reset based on the transmission start signal, and the generated block number is output as the second to fifth bits of the block data based on the timing signal and the control signal received from the serial data counting unit 3d. The block number generation unit 5d outputs a start bit indicating the start of block data output as the first bit of the block data.

つづいて、上記の様に構成された送信回路1dの動作を、図11を用いて説明する。図11は、送信回路1dの動作を示すタイミングチャートである。   Next, the operation of the transmission circuit 1d configured as described above will be described with reference to FIG. FIG. 11 is a timing chart showing the operation of the transmission circuit 1d.

まず、シリアルデータ計数部3dは、送信開始信号が「1」となるタイミングでタイミングカウンタを初期化する。また、ブロック番号生成部5dは、送信開始信号が「1」となるタイミングでブロック番号[3:0]に「0(=0000)」をセットする。   First, the serial data counting unit 3d initializes the timing counter at the timing when the transmission start signal becomes “1”. The block number generation unit 5d sets “0 (= 0000)” to the block number [3: 0] at the timing when the transmission start signal becomes “1”.

その後、パラレルシリアル変換部2は、データ取り込み信号が「1」となるタイミングで、パラレルデータを自身のシフトレジスタに取り込む。そして、タイミング信号が「1」となる毎にデータをシフトさせ、シフトレジスタの最下位ビット(図示のシフトレジスタ[0]に相当)をシリアルデータとして出力する。このとき、シリアルクロック生成部6aは、上記タイミング信号が「1」となるタイミングに合わせてシリアルクロックを出力する。   Thereafter, the parallel-serial conversion unit 2 captures the parallel data into its own shift register at the timing when the data capture signal becomes “1”. Each time the timing signal becomes “1”, the data is shifted, and the least significant bit (corresponding to the shift register [0] shown in the figure) of the shift register is output as serial data. At this time, the serial clock generator 6a outputs the serial clock in accordance with the timing when the timing signal becomes “1”.

また、シリアルデータ計数部3dは、上記初期化を行った後、上記タイミング信号の「1」を検出する度に、タイミングカウンタをインクリメントする。そして、タイミングカウンタが「31」の状態でかつタイミング信号が「1」となるタイミングで「1」となり、タイミングカウンタが「4」の状態でかつタイミング信号が「1」となるタイミングで「0」となる、制御信号を生成し、ブロック番号生成部5dに出力する。   The serial data counting unit 3d increments the timing counter every time it detects “1” of the timing signal after the initialization. Then, “1” is obtained when the timing counter is “31” and the timing signal is “1”, and “0” is obtained when the timing counter is “4” and the timing signal is “1”. A control signal is generated and output to the block number generation unit 5d.

ブロック番号生成部5dは、上記制御信号「1」を検出すると、タイミングカウンタが「0」のときのタイミング信号が「1」となるタイミングで、まず、ブロックデータ出力開始を示す開始ビット「1」をブロックデータの1ビット目として出力する。その後、ブロック番号生成部5dは、タイミングカウンタが「1」のときのタイミング信号が「1」となるタイミングで、ブロック番号[3:0]の最下位ビットをブロックデータの2ビット目として出力する(図示のB2[0]に相当)。また、タイミングカウンタが「1」〜「3」の間のタイミング信号が「1」となるタイミングでブロック番号[3:0]をシフトし、さらに、タイミングカウンタが「2」〜「4」の間のタイミング信号が「1」となるタイミングで順次最下位ビットをブロックデータの3〜5ビット目として出力する(図示のB2[1]→B2[2]→B2[3]に相当)。また、制御信号が「1」でかつタイミングカウンタが「4」のときには、タイミング信号が「1」となるタイミングでブロック番号[3:0]をインクリメントする。   When the block number generation unit 5d detects the control signal “1”, at the timing when the timing signal when the timing counter is “0” becomes “1”, first, the start bit “1” indicating the start of block data output Is output as the first bit of the block data. Thereafter, the block number generation unit 5d outputs the least significant bit of the block number [3: 0] as the second bit of the block data at the timing when the timing signal when the timing counter is “1” becomes “1”. (Equivalent to B2 [0] in the figure). Also, the block number [3: 0] is shifted at the timing when the timing signal between “1” and “3” becomes “1”, and the timing counter is between “2” and “4”. Are sequentially output as the third to fifth bits of the block data (corresponding to B2 [1] → B2 [2] → B2 [3] in the figure). When the control signal is “1” and the timing counter is “4”, the block number [3: 0] is incremented at the timing when the timing signal becomes “1”.

上記の動作により、継続して「0」であったブロックデータの値が「1」となった後の4ビットを読み取ることで、シリアルデータのビット位置を特定することができる。たとえば、図11のタイミングチャートでは、ブロックデータとしてブロック番号開始ビットが出力された後の4ビットは、「0010」=「2」であるため、ブロック番号開始ビットが「1」のときのシリアルデータのビットを、「m(=32)ビット×[ブロック番号(=2)+1]=ビット番号96」、と特定することができる。   By the above operation, the bit position of the serial data can be specified by reading the 4 bits after the value of the block data that has been “0” continuously becomes “1”. For example, in the timing chart of FIG. 11, 4 bits after the block number start bit is output as the block data are “0010” = “2”, and therefore the serial data when the block number start bit is “1”. Can be specified as “m (= 32) bits × [block number (= 2) +1] = bit number 96”.

図12は、本実施の形態の送信回路1dを用いてシリアルデータのビット番号100を探し出す場合の一例を示す図である。ここでは、ブロックデータが「0」から「1」になったブロック番号開始ビットを探し、さらに、ブロック番号開始ビットの後のブロック番号が「2」=「0010」である箇所を探す。すなわち、ビット番号96(ブロック番号が「2」のときのブロック番号開始ビット「1」)を探し、その位置から5つ数えたところがビット番号100であることが示されている。   FIG. 12 is a diagram illustrating an example of searching for the serial data bit number 100 using the transmission circuit 1d of the present embodiment. Here, the block number start bit whose block data is changed from “0” to “1” is searched, and further, the block number after the block number start bit is searched for “2” = “0010”. That is, it is shown that the bit number 96 (the block number start bit “1” when the block number is “2”) is searched, and the bit number 100 is obtained by counting five from the position.

以上説明したように、本実施の形態によれば、送信するシリアルデータmビット毎に位置を特定するブロックデータを別の信号線から出力する構成としたので、このブロックデータからブロック番号を読み取ることによりシリアルデータのビット位置を容易に特定することが可能になる。   As described above, according to the present embodiment, the block data specifying the position for each m bits of serial data to be transmitted is output from another signal line, so the block number is read from this block data. Thus, the bit position of serial data can be easily specified.

実施の形態5.
実施の形態3では、シリアルデータにブロック番号を埋め込み、ブロックイネーブルに合わせてこの番号を読み取ることで、シリアルデータのビット位置を特定することとした。本実施の形態では、ブロックイネーブルを出力する代わりにシリアルクロックを停止させることで、シリアルデータのビット位置を特定する。
Embodiment 5 FIG.
In the third embodiment, the serial data bit position is specified by embedding the block number in the serial data and reading this number in accordance with the block enable. In the present embodiment, the bit position of the serial data is specified by stopping the serial clock instead of outputting the block enable.

本実施の形態では、シリアルデータmビット毎にシリアルクロックを停止し、かつnビットのブロック番号を出力する場合について説明する。以下、m=32,n=4とする。なお、本実施の形態におけるパラレルシリアル変換方法,mやnの値,ブロック番号の初回の値,シリアルクロックの停止期間等は一例であり、他の変換方法や値を用いてもかまわない。   In the present embodiment, a case will be described in which the serial clock is stopped for every m bits of serial data and an n-bit block number is output. Hereinafter, it is assumed that m = 32 and n = 4. Note that the parallel-serial conversion method, the values of m and n, the initial value of the block number, the stop period of the serial clock, and the like in this embodiment are merely examples, and other conversion methods and values may be used.

図13は、本発明にかかる送信回路の実施の形態5の構成例を示す図である。図13の送信回路1eは、実施の形態3の送信回路1cと比べると、シリアルクロック生成部6aの代わりに、ブロックイネーブルによりクロック停止制御を行うシリアルクロック生成部6eを備え、ブロックイネーブルを外部に出力していない。なお、前述の実施の形態1〜4と同様の構成については同一の符号を付してその説明を省略する。   FIG. 13 is a diagram illustrating a configuration example of the transmission circuit according to the fifth embodiment of the present invention. Compared to the transmission circuit 1c of the third embodiment, the transmission circuit 1e of FIG. 13 includes a serial clock generation unit 6e that performs clock stop control by block enable instead of the serial clock generation unit 6a, and externally enables the block enable. Not output. In addition, about the structure similar to the above-mentioned Embodiment 1-4, the same code | symbol is attached | subjected and the description is abbreviate | omitted.

シリアルクロック生成部6eは、タイミング信号に基づいてシリアルクロックを生成し、さらに、ブロックイネーブルに基づいて、生成したシリアルクロックの出力および停止を制御する。   The serial clock generation unit 6e generates a serial clock based on the timing signal, and further controls output and stop of the generated serial clock based on the block enable.

つづいて、上記の様に構成された送信回路1eの動作を、図14を用いて説明する。図14は、送信回路1eの動作を示すタイミングチャートである。ここでは、前述した実施の形態3と異なる動作について説明する。   Next, the operation of the transmission circuit 1e configured as described above will be described with reference to FIG. FIG. 14 is a timing chart showing the operation of the transmission circuit 1e. Here, operations different from those of the third embodiment will be described.

本実施の形態のシリアルデータ計数部3cは、実施の形態3と同様の処理でブロックイネーブルを生成し、このブロックイネーブルを、シリアルデータ切替え部4cに加えて、さらにシリアルクロック生成部6eに対して出力する。   The serial data counting unit 3c of the present embodiment generates a block enable by the same processing as that of the third embodiment, and adds this block enable to the serial data switching unit 4c and further to the serial clock generation unit 6e. Output.

これにより、シリアルクロック生成部6eでは、上記ブロックイネーブルが「0」のときは、タイミング信号が「1」となるタイミングに合わせてシリアルクロックを出力し、一方で、ブロックイネーブルが「1」のときは、シリアルクロックの出力を停止する。   As a result, when the block enable is “0”, the serial clock generation unit 6e outputs a serial clock at the timing when the timing signal becomes “1”, while when the block enable is “1”. Stops the output of the serial clock.

なお、図14の例では、シリアルクロックが停止しているときのシリアルデータはブロック番号[0]であるが、このとき、受信側の回路では、シリアルクロックが停止されているため、この期間のデータを受信することはない。   In the example of FIG. 14, the serial data when the serial clock is stopped is the block number [0]. At this time, since the serial clock is stopped in the circuit on the receiving side, No data is received.

上記の動作により、シリアルクロックはシリアルデータ32ビット毎に停止し、停止期間中のシリアルデータには4ビットのブロック番号が埋め込まれている。したがって、本実施の形態では、シリアルクロックの停止期間のブロック番号を読み取れば、そのときのシリアルデータのビット位置を特定することができる。たとえば、図14のタイミングチャートでは、3回目にシリアルクロックが停止したときのシリアルデータ(ブロック番号)が「0010(=2)」であるため、シリアルクロックが再開されたときの最初のビット位置を、「m(=32)ビット×[ブロック番号(=2)+1]=ビット番号96」、と特定することができる。   With the above operation, the serial clock stops every 32 bits of serial data, and a 4-bit block number is embedded in the serial data during the stop period. Therefore, in this embodiment, if the block number of the serial clock stop period is read, the bit position of the serial data at that time can be specified. For example, in the timing chart of FIG. 14, since the serial data (block number) when the serial clock is stopped for the third time is “0010 (= 2)”, the first bit position when the serial clock is restarted is , “M (= 32) bits × [block number (= 2) +1] = bit number 96”.

図15は、本実施の形態の送信回路1eを用いてシリアルデータのビット番号100を探し出す場合の一例を示す図である。ここでは、シリアルクロックが停止しているときのシリアルデータが「2」=「0010」である箇所の次のビットを探し、すなわち、ビット番号96を探し、その位置から5つ数えたところがビット番号100であることが示されている。   FIG. 15 is a diagram illustrating an example of searching for the serial data bit number 100 using the transmission circuit 1e according to the present embodiment. Here, the next bit of the place where the serial data is “2” = “0010” when the serial clock is stopped is searched for, that is, the bit number 96 is searched, and the bit number is obtained by counting five from the position. 100.

以上説明したように、本実施の形態によれば、送信するシリアルデータmビット毎に位置を特定するnビットのブロック番号を挿入し、その挿入期間についてはシリアルクロックを停止する構成としたので、シリアルクロックが停止している間のシリアルデータからブロック番号を読み取ることによりシリアルデータのビット位置を容易に特定することが可能になる。   As described above, according to the present embodiment, an n-bit block number for specifying a position is inserted for each m bits of serial data to be transmitted, and the serial clock is stopped for the insertion period. By reading the block number from the serial data while the serial clock is stopped, the bit position of the serial data can be easily specified.

以上のように、本発明にかかる送信回路は、シリアル通信等の検証作業に有用であり、特に、シリアルデータのビット位置を特定する場合に適している。   As described above, the transmission circuit according to the present invention is useful for verification work such as serial communication, and is particularly suitable for specifying the bit position of serial data.

1a,1b,1c,1d,1e 送信回路
2 パラレルシリアル変換部
3a,3b,3c,3d シリアルデータ計数部
4c シリアルデータ切替え部
5c,5d ブロック番号生成部
6a,6b,6e シリアルクロック生成部
1a, 1b, 1c, 1d, 1e Transmission circuit 2 Parallel-serial conversion unit 3a, 3b, 3c, 3d Serial data counting unit 4c Serial data switching unit 5c, 5d Block number generation unit 6a, 6b, 6e Serial clock generation unit

Claims (3)

シリアルクロックと当該シリアルクロックに同期したシリアルデータとを出力する送信回路であって、
送信単位である所定ビットのシリアルデータの送信順を認識させるためのブロック番号を生成するブロック番号生成手段と、
前記所定ビットのシリアルデータの出力と前記ブロック番号の出力とを切り替えるためのイネーブル信号を生成するイネーブル信号出力手段と、
前記イネーブル信号に基づいて、前記所定ビットのシリアルデータと前記ブロック番号とを切り替えて出力する切替え手段と、
を備え
前記イネーブル信号出力手段は、生成したイネーブル信号をさらに送信回路の外部へ出力することを特徴とする送信回路。
A transmission circuit that outputs a serial clock and serial data synchronized with the serial clock,
Block number generating means for generating a block number for recognizing the transmission order of serial data of a predetermined bit as a transmission unit;
An enable signal output unit that forms the raw an enable signal for switching the output of said predetermined bit to the output of the serial data and the block number,
Switching means for switching and outputting the serial data of the predetermined bit and the block number based on the enable signal;
Equipped with a,
The enable signal output means, transmission circuit, characterized that you output to the outside of the product was further transmission circuit an enable signal.
シリアルクロックと当該シリアルクロックに同期したシリアルデータとを出力する送信回路であって、
送信単位である所定ビットのシリアルデータの送信順を認識させるためのブロック番号を生成し、前記所定ビットのシリアルデータを送信する度に、ブロック番号の出力開始を示す開始ビットと送信したシリアルデータに対応するブロック番号とをブロックデータとして出力するブロックデータ出力手段、
を備えることを特徴とする送信回路。
A transmission circuit that outputs a serial clock and serial data synchronized with the serial clock,
A block number for recognizing the transmission order of serial data of a predetermined bit as a transmission unit is generated, and each time the serial data of the predetermined bit is transmitted, a start bit indicating the output start of the block number and the transmitted serial data Block data output means for outputting the corresponding block number as block data;
A transmission circuit comprising:
シリアルクロックと当該シリアルクロックに同期したシリアルデータとを出力する送信回路であって、
送信単位である所定ビットのシリアルデータの送信順を認識させるためのブロック番号を生成するブロック番号生成手段と、
前記所定ビットのシリアルデータの出力と前記ブロック番号の出力とを切り替えるためのイネーブル信号を生成するイネーブル信号生成手段と、
前記イネーブル信号に基づいて、前記所定ビットのシリアルデータと前記ブロック番号とを切り替えて出力する切替え手段と、
を備え、
前記イネーブル信号に基づいて、前記ブロック番号出力時のシリアルクロックを停止することを特徴とする送信回路。
A transmission circuit that outputs a serial clock and serial data synchronized with the serial clock,
Block number generating means for generating a block number for recognizing the transmission order of serial data of a predetermined bit as a transmission unit;
Enable signal generating means for generating an enable signal for switching between the output of the serial data of the predetermined bit and the output of the block number;
Switching means for switching and outputting the serial data of the predetermined bit and the block number based on the enable signal;
With
A transmission circuit that stops a serial clock when the block number is output based on the enable signal.
JP2012096769A 2012-04-20 2012-04-20 Transmitter circuit Expired - Fee Related JP5383856B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2012096769A JP5383856B2 (en) 2012-04-20 2012-04-20 Transmitter circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2012096769A JP5383856B2 (en) 2012-04-20 2012-04-20 Transmitter circuit

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2007261574A Division JP2009094665A (en) 2007-10-05 2007-10-05 Transmission circuit

Publications (2)

Publication Number Publication Date
JP2012147494A JP2012147494A (en) 2012-08-02
JP5383856B2 true JP5383856B2 (en) 2014-01-08

Family

ID=46790495

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2012096769A Expired - Fee Related JP5383856B2 (en) 2012-04-20 2012-04-20 Transmitter circuit

Country Status (1)

Country Link
JP (1) JP5383856B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111322987A (en) * 2020-04-20 2020-06-23 南京环电科技有限公司 Transmission line shaft tower slope monitoring devices

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61280138A (en) * 1985-06-05 1986-12-10 Nippon Telegr & Teleph Corp <Ntt> Block synchronization correction system of blocked data
JPH0671249B2 (en) * 1987-03-27 1994-09-07 沖電気工業株式会社 Information transmission method
JP2884567B2 (en) * 1988-03-09 1999-04-19 キヤノン株式会社 Digital information transmission method
JPH06119284A (en) * 1992-08-17 1994-04-28 Matsushita Electric Ind Co Ltd Data transfer device and multiprocessor system
JP2000285069A (en) * 1999-03-31 2000-10-13 Copyer Co Ltd Synchronous serial communication method and system
JP4427991B2 (en) * 2003-07-29 2010-03-10 日本電気株式会社 Clock synchronous serial data transfer method

Also Published As

Publication number Publication date
JP2012147494A (en) 2012-08-02

Similar Documents

Publication Publication Date Title
JP5896602B2 (en) Communication circuit and sampling adjustment method
US8023602B2 (en) Serial data communication apparatus and methods of using a single line
JP5794352B2 (en) Receiving device and method for detecting number of same-value bits in received bit string
TWI602046B (en) Dithering circuit for serial data transmission
JP2012516115A5 (en)
TWI447691B (en) Method for triggering source drivers
CN101719858B (en) Synchronous processing method of bit timing of control area network (CAN) controller
JP5383856B2 (en) Transmitter circuit
JP7181390B2 (en) ADC sampling data identification method and system, integrated circuit and decoding device
JP2008005123A (en) Video data transmission device, video data receiving device, and video data transmission system
TWI488047B (en) One wire signal transmission apparatus and method
JP2009094665A (en) Transmission circuit
JP3989816B2 (en) Pattern synchronous pull-in device
JP2007115036A (en) Asynchronous transfer device and asynchronous transfer method
JP2010213204A (en) Data transmitting/receiving method
JP6163895B2 (en) Receive clock extraction circuit
JP4579872B2 (en) Asynchronous communication device and asynchronous communication method
JP2010212763A (en) Data reproduction device
JP2004247856A (en) Data receiving apparatus and data transmission/ reception method
JP2002271306A (en) Serial signal receiving circuit
JP4227860B2 (en) Reset circuit
JP5556567B2 (en) Serial data receiver
JP2005050153A (en) Method of clock synchronized serial data transfer
TWI454059B (en) Can be bouncing and synchronous reset circuit, bounce jump module and synchronous reset module
TWI452837B (en) Clock recovery circuit and frequency detection module thereof

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20120420

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20130523

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20130618

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20130813

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20130903

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20131001

R150 Certificate of patent or registration of utility model

Ref document number: 5383856

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees