JP3451691B2 - Serial data transmission circuit - Google Patents

Serial data transmission circuit

Info

Publication number
JP3451691B2
JP3451691B2 JP34973593A JP34973593A JP3451691B2 JP 3451691 B2 JP3451691 B2 JP 3451691B2 JP 34973593 A JP34973593 A JP 34973593A JP 34973593 A JP34973593 A JP 34973593A JP 3451691 B2 JP3451691 B2 JP 3451691B2
Authority
JP
Japan
Prior art keywords
data
time
transmission
signal
serial data
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
JP34973593A
Other languages
Japanese (ja)
Other versions
JPH07200469A (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.)
Yamaha Corp
Original Assignee
Yamaha 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 Yamaha Corp filed Critical Yamaha Corp
Priority to JP34973593A priority Critical patent/JP3451691B2/en
Priority to US08/364,359 priority patent/US5598555A/en
Publication of JPH07200469A publication Critical patent/JPH07200469A/en
Application granted granted Critical
Publication of JP3451691B2 publication Critical patent/JP3451691B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Information Transfer Systems (AREA)

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】この発明は、それぞれに任意の送
信タイミングが指定された一定長のパラレルデータを、
指定されたタイミングでシリアルデータに変換して出力
するシリアルデータ送信回路に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention provides parallel data of a fixed length with arbitrary transmission timing specified for each.
The present invention relates to a serial data transmission circuit that converts to serial data and outputs at a specified timing.

【0002】[0002]

【従来の技術】送信データとそのデータの送信タイミン
グとを一対のパラレルデータとして読み込み、指定され
たタイミングで送信データをシリアルデータに変換して
出力するシリアルデータ送信方式は、例えばMIDI
(Musical Instrument Digital Interface)データの送
信等に頻繁に使用されている。この種のデータ送信方式
においては、送信データの内容もさることながら、送信
インターバルをいかに正確に実現するかが重要であり、
従来は、ソフトウェアによって送信インターバルを正確
に管理してデータを入出力することがなされている。
2. Description of the Related Art A serial data transmission method that reads transmission data and transmission timing of the data as a pair of parallel data, converts the transmission data into serial data at a designated timing, and outputs the serial data is, for example, MIDI.
(Musical Instrument Digital Interface) Frequently used for data transmission. In this type of data transmission method, it is important to accurately realize the transmission interval as well as the content of the transmission data.
Conventionally, software is used to accurately manage the transmission interval and input / output data.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、送信イ
ンターバルをソフトウェアによって管理する従来の方式
では、送信インターバルを計測するための割り込み処理
がCPUの負荷を増大させるという問題がある。また、
従来の方式では、CPUで送信インターバルが正確に管
理されても、送信回路側の処理で発生する遅延時間や、
送信タイミングとシリアル送信用のシフトクロックとの
間の位相誤差の存在等によって、必ずしも正確且つ忠実
なデータ送信インターバルを得ることができなかった。
However, in the conventional method of managing the transmission interval by software, there is a problem that the interrupt processing for measuring the transmission interval increases the load on the CPU. Also,
In the conventional method, even if the CPU accurately manages the transmission interval, the delay time generated in the processing on the transmission circuit side,
Due to the existence of a phase error between the transmission timing and the shift clock for serial transmission, it was not always possible to obtain an accurate and faithful data transmission interval.

【0004】この発明はこのような問題点を解決するた
めになされたもので、CPUの負担を軽減すると共に、
正確な送信インターバルを実現することができるシリア
ルデータ送信回路を提供することを目的とする。
The present invention has been made to solve the above problems, and reduces the load on the CPU and
An object of the present invention is to provide a serial data transmission circuit that can realize an accurate transmission interval.

【0005】[0005]

【課題を解決するための手段】この発明に係るシリアル
データ送信回路は、送信される主データと、この主デー
タの送信のインターバルを特定する時間データとを一対
にしたパラレルデータを読み込み、前記時間データで特
定されたインターバルで前記主データをシリアルデータ
に変換して出力するシリアルデータ送信回路において、
前記時間データ及び所定のシステムクロック信号が入力
され前記時間データを前記システムクロック信号に従
ってカウントしてタイムアップ信号を出力すると共に、
このタイムアップ信号によって次の時間データを入力す
るタイマー回路と、前記システムクロック信号を分周し
て送信クロック信号を生成すると共に、前記タイマー回
路から出力される前記タイムアップ信号に基づいて前記
送信クロック信号の位相を補正する送信クロック生成回
路と、前記タイマー回路から出力される前記タイムアッ
プ信号によって前記主データを取り込み、前記送信クロ
ック生成回路から出力される前記送信クロック信号に従
って前記データをシリアルデータに変換して出力する
出力回路とを備えたことを特徴とする。
A serial data transmission circuit according to the present invention includes main data to be transmitted and a main data to be transmitted.
Data with the time data that specifies the interval of data transmission.
Read the parallel data, and use the time data
Serial data from the main data at fixed intervals
In a serial data transmission circuit that converts to and outputs
The time data and the predetermined system clock signal is input
It is, slave the time data to said system clock signal
And outputs a time-up signal,
A timer circuit for inputting the next time data by the time-up signal, to generate a transmit clock signal the system clock signal by dividing the transmission clock based on the time-up signal output from the timer circuit a transmission clock generation circuit for correcting the phase of the signal, the by time-up signal captures the main data, the serial data the main data according to the transmission clock signal output from the transmission clock generation circuit which is output from the timer circuit And an output circuit for converting and outputting to.

【0006】この発明の好ましい態様においては、前記
シリアルデータが送信中であるか否かを識別し、前記タ
イマー回路から前記タイムアップ信号が出力されたとき
に前記シリアルデータが転送中である場合には、前記タ
イマー回路への次の時間データの入力タイミング、前記
送信クロック生成回路の位相補正タイミング及び前記出
力回路への前記主データの取り込みタイミングを、前記
シリアルデータの転送終了まで遅延させる制御手段を更
に備えられる。
[0006] In a preferred embodiment of the present invention, when the serial data identifies whether the transmitting, the serial data is being transferred when said time-up signal from the timer circuit is outputted Is a control unit that delays the input timing of the next time data to the timer circuit, the phase correction timing of the transmission clock generation circuit, and the acquisition timing of the main data to the output circuit until the transfer of the serial data is completed. Further provided.

【0007】[0007]

【作用】この発明によれば、タイマー回路でデータの送
信インターバルを正確に計測してデータ送信のタイミン
グを与えるタイムアップ信号を出力し、且つ送信クロッ
ク信号の位相もこのタイムアップ信号によって補正され
るので、データ送信タイミングに関する時間的な誤差は
発生せず、指定された正確なタイミングでシリアルデー
タを送信することができる。また、CPUは、送信イン
ターバルを管理する必要がなく、比較的自由なタイミン
グで時間データとデータとを供給するだけでよく、そ
の負荷は大幅に軽減される。
According to the present invention, the timer circuit accurately measures the data transmission interval and outputs the time-up signal for giving the data transmission timing, and the phase of the transmission clock signal is also corrected by the time-up signal. Therefore, no time error occurs in the data transmission timing, and the serial data can be transmitted at the designated accurate timing. Further, the CPU does not need to manage the transmission interval, only needs to supply the time data and the main data at a relatively free timing, and the load thereof is significantly reduced.

【0008】なお、シリアルデータの送信中にタイムア
ップ信号が発生した場合、次のデータの入力タイミング
及び送信クロックの位相補正タイミングを、シリアルデ
ータの送信終了まで遅らせる制御手段を更に設けるよう
にすると、シリアルデータの送信中に次のデータ送信要
求が発生しても、現在送信中のデータが破壊されること
がなく、シリアルデータを連続して送信することができ
る。本発明に係るシリアルデータ送信方法は、送信され
る主データと、この主データの送信のインターバルを特
定する時間データとを一対にしたパラレルデータを読み
込み、前記時間データで特定されたインターバルで前記
主データをシリアルデータに変換して出力するシリアル
データ送信方法において、前記時間データを所定のシス
テムクロック信号に従ってカウントしてタイムアップ信
号を出力すると共に、このタイムアップ信号によって次
の時間データのカウントを開始するステップと、前記シ
ステムクロック信号を分周して送信クロック信号を生成
すると共に、前記タイムアップ信号に基づいて前記送信
クロック信号の位相を補正するステップと、前記タイム
アップ信号によって前記主データを取り込み、前記送信
クロック生成回路から出力される前記送信クロック信号
に従って前記主データをシリアルデータに変換して出力
するステップとを備えたことを特徴とする。 この発明の
好ましい態様においては、前記シリアルデータが送信中
であるか否かを識別し、前記タイムアップ信号が出力さ
れたときに前記シリアルデータが転送中である場合に
は、次の時間データの入力タイミング、前記送信クロッ
ク信号の位相補正タイミング及び前記主データの取り込
みタイミングを、前記シリアルデータの転送終了まで遅
延させる。
When a time-up signal is generated during transmission of serial data, a control means for delaying the input timing of the next data and the phase correction timing of the transmission clock until the end of the transmission of the serial data is further provided. Even if the next data transmission request occurs during transmission of serial data, the data currently being transmitted is not destroyed and serial data can be continuously transmitted. The serial data transmission method according to the present invention is
Specified main data and the interval of transmission of this main data.
Read the parallel data paired with the time data
And at the interval specified by the time data,
Serial to convert main data to serial data and output
In the data transmission method, the time data is set to a predetermined system.
System clock signal to count and time up
Signal is output and the next
Start counting the time data of the
Generates a transmit clock signal by dividing the stem clock signal
And the transmission based on the time-up signal
The step of correcting the phase of the clock signal,
Acquire the main data by an up signal and send the data
The transmission clock signal output from the clock generation circuit
According to the above, the main data is converted to serial data and output
And a step of performing. Of this invention
In a preferred embodiment, the serial data is being transmitted
And whether the time-up signal is output.
If the serial data is being transferred when
Is the input timing of the next time data, the transmission clock
Phase correction timing of the signal and loading of the main data
Delay the timing until the transfer of the serial data is completed.
Delay.

【0009】[0009]

【実施例】以下、添付の図面を参照してこの発明の実施
例について説明する。図1はこの発明の実施例に係るシ
リアルデータ送信回路のブロック図である。この回路
は、時間データ及び主データを入力し、時間データで指
定された送信インターバルで主データをパラレル/シリ
アル変換して出力するもので、タイマー回路1、カウン
タ回路2、出力回路3及び2つのレジスタ回路4,5を
備えて構成されている。この回路に入力されるデータ
は、図示しないCPUから供給され、時間データと主デ
ータとを一対にしたパラレルデータである。時間データ
は次の主データの送信までのインターバルを指定したデ
ータ、主データは1ワード単位、1バイト単位といった
一定長のパラレル送信データである。
Embodiments of the present invention will be described below with reference to the accompanying drawings. 1 is a block diagram of a serial data transmission circuit according to an embodiment of the present invention. This circuit inputs time data and main data, converts the main data to parallel / serial at a transmission interval designated by the time data, and outputs the main data. The timer circuit 1, the counter circuit 2, the output circuit 3, and the two circuits are provided. The register circuits 4 and 5 are provided. The data input to this circuit is parallel data which is supplied from a CPU (not shown) and is a pair of time data and main data. The time data is data designating an interval until the transmission of the next main data, and the main data is parallel transmission data of a fixed length such as 1 word unit or 1 byte unit.

【0010】時間データ及び主データは、それぞれレジ
スタ回路4,5に格納される。レジスタ回路4に格納さ
れた時間データは、タイムアップ信号bが端子Lから入
力される毎にタイマー回路1にロードされる。タイマー
回路1は、時間データがロードされると、この時間デー
タを端子CKから入力されるシステムクロックaに従っ
てダウンカウントする。そして、カウント値が0になっ
たときにタイムアップ信号bを出力すると共に、次の時
間データをロードする。タイムアップ信号bは、カウン
タ回路2及び出力回路3にも与えられる。
The time data and the main data are stored in the register circuits 4 and 5, respectively. The time data stored in the register circuit 4 is loaded into the timer circuit 1 every time the time-up signal b is input from the terminal L. When the time data is loaded, the timer circuit 1 down-counts the time data according to the system clock a input from the terminal CK. Then, when the count value becomes 0, the time-up signal b is output and the next time data is loaded. The time-up signal b is also given to the counter circuit 2 and the output circuit 3.

【0011】カウンタ回路2は、送信クロック生成回路
を構成するもので、タイマー回路1と同様に高速のシス
テムクロックaに応じてカウント動作する。カウンタ回
路2は、タイムアップ信号bの入力によってセット又は
リセットされ、システムクロックaを所望のタイミング
に分周して送信クロックとしてのシフトクロックcを出
力する。このシフトクロックcは出力回路3に供給され
る。出力回路3は、例えばシフトレジスタ等から構成さ
れ、レジスタ回路5に格納された主データを、その端子
Lに供給されたタイムアップ信号bに応答してパラレル
にロードし、カウンタ回路2から供給されるシフトクロ
ックcに従ってロードされた主データをシリアルに出力
する。
The counter circuit 2 constitutes a transmission clock generation circuit and, like the timer circuit 1, performs a counting operation in response to a high-speed system clock a. The counter circuit 2 is set or reset by the input of the time-up signal b, divides the system clock a at a desired timing, and outputs a shift clock c as a transmission clock. This shift clock c is supplied to the output circuit 3. The output circuit 3 is composed of, for example, a shift register or the like, loads the main data stored in the register circuit 5 in parallel in response to the time-up signal b supplied to its terminal L, and is supplied from the counter circuit 2. The main data loaded according to the shift clock c is output serially.

【0012】図2は、この回路の動作を更に詳細に示す
タイミングチャートである。図示しないCPUからは、
時間データΔti+1 (i=…,n−1,n,n+1,
…:以下同じ)と主データdi (i=…,n−1,n,
n+1,…:以下同じ)とからなるパラレルデータが供
給されるが、このデータの入力タイミングは、シリアル
データdi-1 の送信終了から次のタイムアップ信号bの
発生までの間であれば、どのようなタイミングでもよ
い。CPUから供給されるこれらのデータは、次のデー
タが供給されるまでレジスタ4,5に保持される。その
間、タイムアップ信号bが発生すると、その立上がりタ
イミングで時間データΔti がタイマー回路1にロード
されると同時に、タイマー回路1でのカウントダウンが
開始され、そのカウント値が0になると同時に次のタイ
ムアップ信号bが出力され、次の時間データΔti+1 が
タイマー回路1にロードされる。なお、ここで時間デー
タΔti は、主データdi-1 と主データdi との間の送
信間隔であると定義しているが、時間データΔti を主
データdi と主データdi+1 との間の送信間隔であると
定義した場合には、Δti とdi とを同時にロードする
ことになる。
FIG. 2 is a timing chart showing the operation of this circuit in more detail. From the CPU (not shown)
Time data Δti + 1 (i = ..., n-1, n, n + 1,
...: same as below and main data di (i = ..., n-1, n,
n + 1, ...: Same as below) is supplied, but the input timing of this data is from the end of transmission of the serial data di-1 to the generation of the next time-up signal b. Such timing may be used. These data supplied from the CPU are held in the registers 4 and 5 until the next data is supplied. Meanwhile, when the time-up signal b is generated, the time data .DELTA.ti is loaded into the timer circuit 1 at the rising timing thereof, and at the same time, the count-down in the timer circuit 1 is started. The signal b is output and the next time data Δti + 1 is loaded into the timer circuit 1. Although the time data .DELTA.ti is defined as the transmission interval between the main data di-1 and the main data di, the time data .DELTA.ti is defined as the transmission interval between the main data di and the main data di + 1. If it is defined as a transmission interval, .DELTA.ti and di are loaded at the same time.

【0013】図3は、シリアルデータの送信タイミング
を示すタイミングチャートである。タイムアップ信号b
とシフトクロックcとは、共に高速のシステムクロック
aに同期しているが、シフトクロックcは、システムク
ロックaを分周して得た低速クロックであるから、タイ
ムアップ信号bとシフトクロックcとが位相同期すると
は限らない。そこで、この回路では、カウンタ回路2か
らのシフトクロックcをタイムアップ信号bの前方エッ
ジによってリセットし、後方エッジによってセットする
ことにより、タイムアップ信号bの発生直後のシフトク
ロックcの位相を強制的にタイムアップ信号bの位相に
合致させるように補正している。この結果、不確定な処
理遅延や非同期誤差等が発生することなく、正確且つ忠
実なデータ送信インターバルを実現することができる。
FIG. 3 is a timing chart showing the transmission timing of serial data. Time-up signal b
Both the shift clock c and the shift clock c are synchronized with the high-speed system clock a. However, since the shift clock c is a low-speed clock obtained by dividing the system clock a, the time-up signal b and the shift clock c are Are not necessarily in phase synchronization. Therefore, in this circuit, the shift clock c from the counter circuit 2 is reset by the leading edge of the time-up signal b and set by the trailing edge, so that the phase of the shift clock c immediately after the generation of the time-up signal b is forced. Is corrected so as to match the phase of the time-up signal b. As a result, an accurate and faithful data transmission interval can be realized without causing an uncertain processing delay or an asynchronous error.

【0014】図4は、この発明の他の実施例に係るシリ
アルデータ送信回路のブロック図であり、図1と同一部
分には同一符号を付してある。この実施例の回路が先の
実施例の回路と異なる点は、シリアルデータが送信中で
あるときに、新たなパラレルデータのロードとシフトク
ロックの補正とを、送信終了まで遅らせるための制御手
段として、カウンタ回路6及び制御回路7を新たに追加
した点である。カウンタ回路6は、シリアルデータの送
信開始から送信終了まで、ゲート信号eをONにする回
路で、端子CKに入力されるシフトクロックcを例えば
1ワードに相当するビット数だけカウントする。制御回
路7は、タイマー回路1から出力されるタイムアップ信
号b及びカウンタ回路6から出力されるゲート信号eに
基づいて制御信号b0,b1,b2を出力する。
FIG. 4 is a block diagram of a serial data transmission circuit according to another embodiment of the present invention. The same parts as those in FIG. 1 are designated by the same reference numerals. The circuit of this embodiment is different from the circuit of the previous embodiment as a control means for delaying loading of new parallel data and correction of shift clock until the end of transmission when serial data is being transmitted. The point is that a counter circuit 6 and a control circuit 7 are newly added. The counter circuit 6 is a circuit that turns on the gate signal e from the start of transmission of serial data to the end of transmission, and counts the shift clock c input to the terminal CK by the number of bits corresponding to, for example, one word. The control circuit 7 outputs control signals b0, b1, b2 based on the time-up signal b output from the timer circuit 1 and the gate signal e output from the counter circuit 6.

【0015】図5は、この制御回路7の動作を示すフロ
ーチャートである。制御回路7は、タイムアップ信号b
が発生したことを検出したら(S1)、ゲート信号eの
ON/OFFを判別する(S2)。ゲート信号eがON
である場合には、それがOFFになるまで待機し(S
3)、OFFになったら疑似タイムアップ信号b′を生
成する(S4)。これと同時に、カウンタ回路2へシフ
トクロックcの位相を補正するための制御信号b1を出
力し(S5)、出力回路3へ主データのロードのための
制御信号b2を出力し(S6)、カウンタ回路6へゲー
ト信号eをONにするための制御信号b1を出力し(S
7)、タイマー回路1に次の時間データのロードのため
の制御信号b0を出力する(S8)。また、ステップS
2でゲート信号eがOFFであると判定された場合に
は、先の実施例と同様の動作を実現するため、直ちに制
御信号b0〜b2を出力する(S5〜S8)。
FIG. 5 is a flow chart showing the operation of the control circuit 7. The control circuit 7 outputs the time-up signal b
When it is detected (S1), ON / OFF of the gate signal e is determined (S2). Gate signal e is ON
If it is, wait until it turns off (S
3) When it is turned off, a pseudo time-up signal b'is generated (S4). At the same time, the control signal b1 for correcting the phase of the shift clock c is output to the counter circuit 2 (S5), and the control signal b2 for loading the main data is output to the output circuit 3 (S6). The control signal b1 for turning on the gate signal e is output to the circuit 6 (S
7) The control signal b0 for loading the next time data is output to the timer circuit 1 (S8). Also, step S
If it is determined in 2 that the gate signal e is OFF, the control signals b0 to b2 are immediately output in order to realize the same operation as in the previous embodiment (S5 to S8).

【0016】これにより、図6に示すように、シリアル
データdn-1 の送信中に、タイムアップ信号bn が発生
した場合でも、次のシリアルデータdn の送信開始がシ
リアルデータdn-1 の送信終了まで遅らされるので、送
信データは破壊されることがなく連続して送信される。
このとき、タイマー回路1は、新規データがロードされ
ないため、フリーランして図中Mのように動作するが、
シリアルデータdn-1の送信が完了すると、ゲート信号
はOFFになり、制御信号b0によって次の時間データ
Δn+1 が図中Lのようにロードされるので、動作上何等
問題とはならない。
As a result, as shown in FIG. 6, even when the time-up signal bn is generated during the transmission of the serial data dn-1, the start of the transmission of the next serial data dn is the end of the transmission of the serial data dn-1. The transmission data is continuously transmitted without being destroyed.
At this time, the timer circuit 1 runs free-running and operates as shown by M in the figure because new data is not loaded.
When the transmission of the serial data dn-1 is completed, the gate signal is turned off and the next time data .DELTA.n + 1 is loaded by the control signal b0 as shown by L in the figure, so that there is no problem in operation.

【0017】なお、このような現象は、時間データΔt
n が、シリアルデータdの1ワード送信時間よりも短い
場合に起こるが、このようなケースは、例えば連続デー
タを送信するような場合に、時間データの生成過程にお
ける計測誤差等によって発生し得る問題である。この実
施例によれば、上述のように与えられた時間データに誤
差を含んでいても、送信データが不良になることがな
く、常に正常な時間間隔を再現して送信することができ
る。
Incidentally, such a phenomenon is caused by time data Δt.
This occurs when n is shorter than the 1-word transmission time of the serial data d. Such a case may occur due to a measurement error or the like in the time data generation process when transmitting continuous data, for example. Is. According to this embodiment, even if the given time data includes an error as described above, the transmission data does not become defective, and it is possible to always reproduce and transmit a normal time interval.

【0018】[0018]

【発明の効果】以上述べたように、この発明によれば、
タイマー回路でデータの送信インターバルを正確に計測
してデータ送信のタイミングを与え、且つ送信クロック
信号の位相も送信タイミングに合わせて補正されるの
で、データ送信タイミングに関する時間的な誤差は発生
せず、指定された正確なタイミングでシリアルデータを
送信することができると共に、CPUの負担も軽減でき
るという効果を奏する。
As described above, according to the present invention,
Since the timer circuit accurately measures the data transmission interval to give the timing of data transmission, and the phase of the transmission clock signal is also corrected in accordance with the transmission timing, no time error related to the data transmission timing occurs, As a result, the serial data can be transmitted at the specified accurate timing, and the burden on the CPU can be reduced.

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

【図1】 この発明の実施例に係るシリアルデータ送信
回路のブロック図である。
FIG. 1 is a block diagram of a serial data transmission circuit according to an embodiment of the present invention.

【図2】 同回路の動作を示すタイミングチャートであ
る。
FIG. 2 is a timing chart showing the operation of the circuit.

【図3】 同回路の動作を示すタイミングチャートであ
る。
FIG. 3 is a timing chart showing the operation of the circuit.

【図4】 この発明の他の実施例に係るシリアルデータ
送信回路のブロック図である。
FIG. 4 is a block diagram of a serial data transmission circuit according to another embodiment of the present invention.

【図5】 同回路における制御回路の動作を示すフロー
チャートである。
FIG. 5 is a flowchart showing an operation of a control circuit in the same circuit.

【図6】 同回路の動作を示すタイミングチャートであ
る。
FIG. 6 is a timing chart showing the operation of the circuit.

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

1…タイマー回路、2,6…カウンタ回路、3…出力回
路、4,5…レジスタ回路、7…制御回路。
1 ... Timer circuit, 2, 6 ... Counter circuit, 3 ... Output circuit, 4, 5 ... Register circuit, 7 ... Control circuit.

───────────────────────────────────────────────────── フロントページの続き (58)調査した分野(Int.Cl.7,DB名) G06F 13/38 350 G06F 13/42 350 WPI(DIALOG)─────────────────────────────────────────────────── ─── Continuation of the front page (58) Fields surveyed (Int.Cl. 7 , DB name) G06F 13/38 350 G06F 13/42 350 WPI (DIALOG)

Claims (4)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 送信される主データと、この主データの
送信のインターバルを特定する時間データとを一対にし
たパラレルデータを読み込み、前記時間データで特定さ
れたインターバルで前記主データをシリアルデータに変
換して出力するシリアルデータ送信回路において、 前記 時間データ及び所定のシステムクロック信号が入力
され前記時間データを前記システムクロック信号に従
ってカウントしてタイムアップ信号を出力すると共に、
このタイムアップ信号によって次の時間データを入力す
るタイマー回路と、前記 システムクロック信号を分周して送信クロック信号
を生成すると共に、前記タイマー回路から出力される
タイムアップ信号に基づいて前記送信クロック信号の
位相を補正する送信クロック生成回路と、 前記タイマー回路から出力される前記タイムアップ信号
によって前記主データを取り込み、前記送信クロック生
成回路から出力される前記送信クロック信号に従って前
データをシリアルデータに変換して出力する出力回
路とを備えたことを特徴とするシリアルデータ送信回
路。
1. Main data to be transmitted and this main data
Pair with time data that specifies the transmission interval
Parallel data is read and specified by the time data.
The main data is converted to serial data at
In serial data transmission circuit for outputting the changeover, the time data and the predetermined system clock signal is input
It is, slave the time data to said system clock signal
And outputs a time-up signal,
A timer circuit for inputting the next time data by the time-up signal, to generate a transmit clock signal the system clock signal by dividing, before being output from the timer circuit
A transmission clock generation circuit for correcting the phase of the transmission clock signal based on the serial time-up signal, takes in the main data by the time-up signal output from the timer circuit, the output from the transmission clock generation circuit An output circuit for converting the main data into serial data and outputting the serial data according to a transmission clock signal.
【請求項2】 前記シリアルデータが送信中であるか否
かを識別し、前記タイマー回路から前記タイムアップ信
号が出力されたときに前記シリアルデータが転送中であ
る場合には、前記タイマー回路への次の時間データの入
力タイミング、前記送信クロック生成回路の位相補正タ
イミング及び前記出力回路への前記主データの取り込み
タイミングを、前記シリアルデータの転送終了まで遅延
させる制御手段を更に備えたことを特徴とする請求項1
記載のシリアルデータ送信回路。
Wherein identifying whether the or the serial data is being transmitted, wherein when the serial data from the timer circuit when said time-up signal is output is being transferred, to the timer circuit Further comprising control means for delaying the input timing of the next time data, the phase correction timing of the transmission clock generation circuit, and the acquisition timing of the main data to the output circuit until the transfer of the serial data is completed. Claim 1
The described serial data transmission circuit.
【請求項3】 送信される主データと、この主データの3. The main data to be transmitted and the main data
送信のインターバルを特定する時間データとを一対にしPair with time data that specifies the transmission interval
たパラレルデータを読み込み、前記時間データで特定さParallel data is read and specified by the time data.
れたインターバルで前記主データをシリアルデータに変The main data is converted to serial data at
換して出力するシリアルデータ送信方法において、In the serial data transmission method of converting and outputting, 前記時間データを所定のシステムクロック信号に従ってAccording to a predetermined system clock signal, the time data
カウントしてタイムアップ信号を出力すると共に、このWhile counting and outputting the time-up signal,
タイムアップ信号によって次の時間データのカウントをThe next time data is counted by the time-up signal
開始するステップと、The steps to start, 前記システムクロック信号を分周して送信クロック信号Transmission clock signal by dividing the system clock signal
を生成すると共に、前記タイムアップ信号に基づいて前And generate based on the time-up signal
記送信クロック信号の位相を補正するステップと、A step of correcting the phase of the transmission clock signal, 前記タイムアップ信号によって前記主データを取り込Capture the main data by the time-up signal
み、前記送信クロック生成回路から出力される前記送信Only the transmission output from the transmission clock generation circuit
クロック信号に従って前記主データをシリアルデータにThe main data is converted to serial data according to the clock signal.
変換して出力するステップとThe step of converting and outputting を備えたことを特徴とするIt is characterized by having
シリアルデータ送信方法。Serial data transmission method.
【請求項4】 前記シリアルデータが送信中であるか否4. Whether or not the serial data is being transmitted
かを識別し、前記タイムアップ信号が出力されたときにWhen the time-up signal is output,
前記シリアルデータが転送中である場合には、次の時間If the serial data is being transferred, the next time
データの入力タイミング、前記送信クロック信号の位相Data input timing, phase of the transmission clock signal
補正タイミング及び前記主データの取り込みタイミングCorrection timing and acquisition timing of the main data
を、前記シリアルデータの転送終了まで遅延させる請求Is delayed until the transfer of the serial data is completed.
項3記載のシリアルデータ送信方法。Item 3. The serial data transmission method according to item 3.
JP34973593A 1993-12-28 1993-12-28 Serial data transmission circuit Expired - Fee Related JP3451691B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP34973593A JP3451691B2 (en) 1993-12-28 1993-12-28 Serial data transmission circuit
US08/364,359 US5598555A (en) 1993-12-28 1994-12-27 Data transmission apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP34973593A JP3451691B2 (en) 1993-12-28 1993-12-28 Serial data transmission circuit

Publications (2)

Publication Number Publication Date
JPH07200469A JPH07200469A (en) 1995-08-04
JP3451691B2 true JP3451691B2 (en) 2003-09-29

Family

ID=18405754

Family Applications (1)

Application Number Title Priority Date Filing Date
JP34973593A Expired - Fee Related JP3451691B2 (en) 1993-12-28 1993-12-28 Serial data transmission circuit

Country Status (1)

Country Link
JP (1) JP3451691B2 (en)

Also Published As

Publication number Publication date
JPH07200469A (en) 1995-08-04

Similar Documents

Publication Publication Date Title
US6316980B1 (en) Calibrating data strobe signal using adjustable delays with feedback
US6560716B1 (en) System for measuring delay of digital signal using clock generator and delay unit wherein a set of digital elements of clock generator identical to a set of digital elements of delay unit
JP3054630B2 (en) Digital data generator
JP3451691B2 (en) Serial data transmission circuit
JP2765245B2 (en) Serial clock generation circuit
JPS6096023A (en) Timing signal generator
JP2559237Y2 (en) Serial data sampling signal generator
JP3453829B2 (en) Data transmission device
JPH11112440A (en) Sampling rate converter
JP2696051B2 (en) Test pattern generation apparatus and method
JPH0216829A (en) Data reception control system
JP2003244108A (en) Method and equipment for correcting data
JPS59131214A (en) Signal delay circuit
JP2696091B2 (en) Test pattern generation apparatus and method
JP2001133525A (en) Timing pulse generating circuit for ic tester, and ic tester
JP3196183B2 (en) Time measuring device
JPS6272241A (en) Frame synchronizing device
JP3443215B2 (en) Serial input and output device
JP2002162427A (en) Frequency-measuring circuit and digital signal processor using the same
JPH08288849A (en) Digital signal processor
JP2709201B2 (en) Microcomputer
JPH0786790B2 (en) Counter value reading method
JPH04277953A (en) Time synchronizer for lan
JPH08130534A (en) Data transmission adaptive system and data transmitter provided with the system
JP2001069438A (en) Time code signal reader

Legal Events

Date Code Title Description
S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313532

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090718

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090718

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100718

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100718

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110718

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110718

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120718

Year of fee payment: 9

LAPS Cancellation because of no payment of annual fees