JPH0561827B2 - - Google Patents
Info
- Publication number
- JPH0561827B2 JPH0561827B2 JP58121653A JP12165383A JPH0561827B2 JP H0561827 B2 JPH0561827 B2 JP H0561827B2 JP 58121653 A JP58121653 A JP 58121653A JP 12165383 A JP12165383 A JP 12165383A JP H0561827 B2 JPH0561827 B2 JP H0561827B2
- Authority
- JP
- Japan
- Prior art keywords
- data
- transmission
- bit
- memory
- channel
- 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
Links
- 230000005540 biological transmission Effects 0.000 claims description 38
- 230000015654 memory Effects 0.000 claims description 30
- 238000010586 diagram Methods 0.000 description 8
- 230000010355 oscillation Effects 0.000 description 3
- 238000000034 method Methods 0.000 description 2
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/50—Circuit switching systems, i.e. systems in which the path is physically permanent during the communication
- H04L12/52—Circuit switching systems, i.e. systems in which the path is physically permanent during the communication using time division techniques
- H04L12/525—Circuit switching systems, i.e. systems in which the path is physically permanent during the communication using time division techniques involving a stored program control
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Communication Control (AREA)
Description
【発明の詳細な説明】
〔発明の属する技術分野〕
この発明は、所定ビツト数の並列データを直列
データに変換して送出する直列データ送信装置に
関する。DETAILED DESCRIPTION OF THE INVENTION [Technical Field to which the Invention Pertains] The present invention relates to a serial data transmitting device that converts parallel data of a predetermined number of bits into serial data and transmits the serial data.
第1図は従来のデータ送信装置を示すブロツク
図、第2図は第1図の動作を説明するためのタイ
ミング波形図である。第1図において、1は発振
回路、2は分周回路、3はカウンタ、4はデータ
処理部、5はバツフアレジスタ、6はシフトレジ
スタ、7はバツフアアンプである。
FIG. 1 is a block diagram showing a conventional data transmitting device, and FIG. 2 is a timing waveform diagram for explaining the operation of FIG. 1. In FIG. 1, 1 is an oscillation circuit, 2 is a frequency dividing circuit, 3 is a counter, 4 is a data processing section, 5 is a buffer register, 6 is a shift register, and 7 is a buffer amplifier.
発振回路1からのクロツクパルスは、データ処
理部4のシステムクロツク信号として使用される
一方、分周回路2にて処理の周波数に分周され、
送信データを伝送するための伝送クロツクとして
使用される。なお、この伝送クロツクは、例えば
第2図イの如く示される。一方、第2図ロに示さ
れる如き、送信すべき並列のデータは書込みは信
号WTとともにデータ処理部4からバツフアレジ
スタ5に与えられる。このバツフアレジスタ5の
内容は、さらにシフトレジスタ6に与えられるの
で、シフトレジスタ6では、このデータを伝送ク
ロツクにより1ビツトずつシフトさせることによ
り、第2図ハの如く直列データに変換して送出す
る。分周回路2より得られる伝送クロツク信号
は、例えば8進カウンタ3にて計数されているの
で、伝送クロツクが8個カウントされると、カウ
ンタ3からはキヤリイ(桁上げ)信号が出され
る。この信号は、8ビツトの直列データが送出さ
れたことを示す転送完了信号BFE(第2図ニ参
照)としてデータ処理部4に与えられ、割込み処
理される。すなわち、この割込みが上がると、デ
ータ処理部4は、次の送信データをバツフアレジ
スタ5に書込むことにより、直列データの連続性
を保つようにしている。なお、データ処理部で
は、送信すべきデータの同期パターン作成または
伝送ワードの編集等の操作が行なわれる。また、
データ処理部にはマイクロプロセツサを用いるこ
とができるので、データの構成は第1図の如く8
ビツト、または16ビツト単位で送信するのが好適
であるが、必ずしもこの数に限定されるものでは
ない。 The clock pulse from the oscillation circuit 1 is used as a system clock signal for the data processing section 4, and is divided by the frequency dividing circuit 2 to the processing frequency.
Used as a transmission clock for transmitting data. Note that this transmission clock is shown, for example, as shown in FIG. 2A. On the other hand, as shown in FIG. 2B, parallel data to be transmitted is written to the buffer register 5 from the data processing section 4 together with the signal WT. The contents of this buffer register 5 are further given to the shift register 6, so the shift register 6 shifts this data one bit at a time using the transmission clock, converts it into serial data as shown in Figure 2C, and sends it out. do. The transmission clock signal obtained from the frequency dividing circuit 2 is counted by, for example, an octal counter 3, so when eight transmission clocks are counted, the counter 3 outputs a carry signal. This signal is applied to the data processing unit 4 as a transfer completion signal BFE (see FIG. 2D) indicating that 8-bit serial data has been sent out, and is subjected to interrupt processing. That is, when this interrupt is raised, the data processing section 4 writes the next transmission data into the buffer register 5, thereby maintaining the continuity of the serial data. Note that the data processing section performs operations such as creating a synchronization pattern for data to be transmitted or editing a transmission word. Also,
Since a microprocessor can be used for the data processing section, the data structure is 8 as shown in Figure 1.
It is preferable to transmit in units of bits or 16 bits, but the number is not necessarily limited to this.
しかしながら、かかる装置においてn多重回線
(局、チヤネル)のデータを取り扱うことにする
と、バツフアレジスタおよびシフトレジスタまた
は分周回路がn回線分必要となり、それに応じて
バツフアレジスタのポートアドレスもn回線分必
要となり、ハードウエアが複雑かつぼう大なもの
になるという欠点がある。また、転送完了を知ら
せる割込み信号もn回線分だけ上がることになる
ため、データ処理部の占有率が高くなり、その分
だけ処理能力が低下するという欠点を有すること
になる。 However, if such a device handles data for n multiple lines (stations, channels), buffer registers and shift registers or frequency divider circuits for n lines will be required, and accordingly, the port address of the buffer register will also be for n lines. The disadvantage is that the hardware is complicated and bulky. Furthermore, since the interrupt signal notifying the completion of transfer will also rise by the amount of n lines, the occupancy rate of the data processing section will increase, resulting in a drawback that the processing capacity will decrease by that amount.
この発明はかかる点に鑑みてなされたもので、
多重回線であつても、あるいは同期方式、(調歩
同期、フレーム同期等)、伝送フオーマツトまた
は伝送速度が互いに異なつていても、同一のハー
ドウエアで、しかも高速に対処することが可能な
直列データ送信装置を提供することを目的とする
ものである。
This invention was made in view of these points,
Serial data that can be handled at high speed with the same hardware, even if multiple lines, synchronization methods (start-stop synchronization, frame synchronization, etc.), transmission formats, or transmission speeds are different. The purpose of this invention is to provide a transmitting device.
その要点は、複数チヤネルの各々に対応して設
けられ所定ビツト数の送信データを1ビツトずつ
そのアドレスに対応させて記憶する送信フアイル
と、各フアイルからのデータを1ビツトずつ並列
に、かつシステムの最高伝送速度を対応するチヤ
ネルの伝送速度で割つた数だけ連続して各ビツト
を読出すとともにその編集または同期パターンの
作成を行なうデータ処理手段と、該処理手段を介
して与えられる各チヤネル対応のデータを1ビツ
トずつ並列に記憶しその順番に出力するフアース
トイン・フアーストアウト形式のメモリ(FIFO
メモリ)とを備え、該FIFOメモリの内容を前記
最高伝送速度に応じた信号にて読出すようにした
点にある。
The key point is that a transmission file is provided corresponding to each of multiple channels and stores a predetermined number of transmission data, bit by bit, corresponding to its address, and the data from each file is stored bit by bit in parallel, and the system data processing means for reading each bit successively by the maximum transmission speed of the channel divided by the transmission speed of the corresponding channel, and editing the bits or creating a synchronization pattern; First-in/first-out memory (FIFO) stores data bit by bit in parallel and outputs it in that order.
(memory), and the contents of the FIFO memory are read out using a signal corresponding to the maximum transmission speed.
第3図はこの発明の実施例を示す構成図、第4
図は第3図の動作を説明するためのタイミング波
形図である。第3図において、11〜18は各チ
ヤネルCH1〜CH8毎の送信データを、データ
処理部4にて編集して格納するランダムアクセス
メモリ(RAM)で、19は先入れ、先出し形メ
モリ(フアーストイン・フアーストアウトメモ
リ;FIFOメモリ)であり、その他は第1図に示
されるものと同様である。
FIG. 3 is a configuration diagram showing an embodiment of this invention, and FIG.
The figure is a timing waveform diagram for explaining the operation of FIG. 3. In FIG. 3, 11 to 18 are random access memories (RAM) for editing and storing transmission data for each channel CH1 to CH8 in the data processing section 4, and 19 is a first-in, first-out type memory (first-in, first-out type memory). It is a first-out memory (FIFO memory) and is otherwise the same as that shown in FIG.
メモリ11〜18には、各チヤネルCH1〜
CH8を介して送出すべきデータが図の如く、縦
1列に、しかも、メモリ11ではビツト位置
“7”に、またメモリ18ではビツト位置“0”
に、という具合に互いにそのビツト位置を異なら
せて記憶されており、各メモリの使用されないビ
ツト位置には“0”がそれぞれ書込まれている。
したがつて、各メモリ11〜18の同じアドレス
が順次指定されると、各メモリからは第4図ニ〜
ルの如く、1ビツトずつのデータがチヤネル数に
応じて読出されることになり、これによつて、各
データはそのアドレス順に、既に直列変換されて
いるということができる。また、この場合、各チ
ヤネルの伝送速度は互いに異なつているため、そ
れに応じてデータの読出し態様を異ならせるよう
にしている。例えば、メモリ11に対応するチヤ
ネルの伝送速度がメモリ12のそれの2倍である
とすると、メモリ11ではその都度異なるアドレ
スのデータが読出されるのに対し、メモリ12で
は1つのアドレスのデータが2回ずつ読出される
ことになる。したがつて、このシステムでは、そ
の最高の伝送速度(例えば、1200ボー)を基準に
し、最高のものは1つのアドレスについて1回ず
つ、また1/nのものは1つのアドレスについて
n回ずつ参照することにより、この伝送速度の相
違に対処するようにしている。こうすることによ
り、データ処理部4では各メモリ11〜18のア
ドレスを順次指定するだけで、その速度に応じた
データを内部のオアゲートORを介して読出し、
書込み信号WTとともに、第4図オの如くFIFO
メモリ19に書込むことができる。FIFOメモリ
19からは、分周回路2を介して得られる伝送ク
ロツク(システムの最高伝送速度に合わされてい
る。)を与えることにより、各チヤネルのデータ
が、その書込まれた順番で取り出されるので、バ
ツフアアンプ7を介して各チヤネルCH1〜CH
8に分配することができる。このとき、伝送クロ
ツクを8個カウントすると、分周回路またはカウ
ンタ3から転送完了信号BFEが出されるので
(第4図ロ参照)、データ処理部4では、第4図ハ
の如く所定の時間だけ割込み処理を実行した後、
各メモリ11〜18からデータを読出す動作を上
述の如く繰り返すことにより、所定のデータを各
チヤネル毎に送出する。つまり、この実施例は、
データ処理部のシステムクロツク(第4図イ参
照)と伝送クロツク(第2図イ参照)との同期化
にFIFOメモリを使用することにより、8回線分
のデータを同一のハードウエアにて処理できるよ
うにしたものということができる。また、データ
処理部によつてメモリ11〜18の書き換えを割
込み毎に行なえば、その伝送速度は最高の伝送速
度(例えば、1200ボー)となり、2度毎、6度毎
に行なえばその半分(600ボー)、1/6(200ボ
ー)となり、これにより各回線の伝送速度を所望
の値に設定できる利点を有することになる。な
お、第4図のt1はデータ処理部の割込み処理時
間、t2は各回線のデータを1ビツトずつ書込むた
めに要する時間であり、したがつて、8ビツトの
データを書込むために要する時間Tは、
T=t1+8t2
ということになる。 Memories 11 to 18 contain each channel CH1 to
As shown in the figure, the data to be sent out through CH8 is in one vertical column, and in memory 11 it is in bit position "7" and in memory 18 it is in bit position "0".
They are stored with different bit positions, such as , and "0" is written in unused bit positions in each memory.
Therefore, when the same address in each memory 11 to 18 is specified sequentially, the addresses shown in FIG.
The data is read out one bit at a time according to the number of channels, such as a channel, and it can be said that each data has already been serially converted in the order of its address. Furthermore, in this case, since the transmission speeds of each channel are different from each other, the data reading mode is made to differ accordingly. For example, if the transmission speed of the channel corresponding to memory 11 is twice that of memory 12, data at a different address is read each time from memory 11, whereas data from one address is read from memory 12. It will be read twice. Therefore, in this system, the highest transmission rate (for example, 1200 baud) is used as a reference, and the highest transmission rate is referred to once per address, and the 1/n is referred to per address n times. By doing so, this difference in transmission speed can be dealt with. By doing this, the data processing section 4 simply specifies the addresses of each of the memories 11 to 18 in sequence, and data corresponding to the speed is read out via the internal OR gate.
Along with the write signal WT, the FIFO is
It can be written to memory 19. Data of each channel is retrieved from the FIFO memory 19 in the order in which it was written by applying a transmission clock (adjusted to the maximum transmission speed of the system) obtained via the frequency dividing circuit 2. , each channel CH1~CH via buffer amplifier 7
It can be divided into 8 parts. At this time, when eight transmission clocks are counted, the transfer completion signal BFE is output from the frequency divider circuit or counter 3 (see Figure 4B), so the data processing unit 4 waits for a predetermined period of time as shown in Figure 4C. After executing interrupt processing,
By repeating the operation of reading data from each memory 11 to 18 as described above, predetermined data is sent out for each channel. In other words, this example:
By using FIFO memory to synchronize the system clock of the data processing section (see Figure 4 A) and the transmission clock (see Figure 2 A), data for 8 lines can be processed with the same hardware. It can be said that it has been made possible. Furthermore, if the data processing unit rewrites the memories 11 to 18 for each interrupt, the transmission speed will be the highest (for example, 1200 baud), and if it is rewritten every 2 or 6 times, the transmission speed will be half that (for example, 1200 baud). 600 baud) and 1/6 (200 baud), which has the advantage that the transmission speed of each line can be set to a desired value. Note that t1 in Fig. 4 is the interrupt processing time of the data processing section, and t2 is the time required to write data on each line one bit at a time.Therefore, in order to write 8-bit data, The required time T is T=t 1 +8t 2 .
また、データ処理部のシステムクロツクを3M
Hz、最高の伝送速度を1200ボーとすると、1200ボ
ーの1ビツト長は1/1200=0.833mSで、8ビツ
ト長では0.833×6=6.67mSとなり、したがつ
て、6.67毎にデータ処理部へ割込みが上がること
になるので、データ処理部が次の8ビツトのデー
タを書込む時間を100μSとすると、この場合の占
有率は、100(μS)÷6.67(mS)≒1.5%ということ
になり、データ処理に要する時間は殆んど問題に
ならないものである。 In addition, the system clock of the data processing section is set to 3M.
Hz, and the maximum transmission speed is 1200 baud, the length of 1 bit at 1200 baud is 1/1200 = 0.833 mS, and with 8 bit length, it is 0.833 x 6 = 6.67 mS, so the data is sent to the data processing unit every 6.67 baud. Since the interrupt will be raised, if the time for the data processing section to write the next 8 bits of data is 100 μS, the occupancy rate in this case will be 100 (μS) ÷ 6.67 (mS) ≒ 1.5%. , the time required for data processing is of little concern.
異常のように、この発明によれば、データ処理
部のシステムクロツクと伝送クロツクとの同期化
にFIFOメモリを用いることにより、多重回線を
同一のハードウエアで処理することができるばか
りでなく、データ処理部と組み合わせて使用する
ことにより、伝送方式の相違にかゝわらず対処す
ることが可能となる利点を有するものである。
According to this invention, by using FIFO memory to synchronize the system clock of the data processing section and the transmission clock, not only can multiple lines be processed with the same hardware, but also By using it in combination with a data processing section, it has the advantage of being able to handle differences in transmission methods.
第1図は従来の直列データ送信装置を示すブロ
ツク図、第2図は第1図の動作を説明するための
タイミング波形図、第3図はこの発明の実施例を
示す構成図、第4図は第3図の動作を説明するた
めのタイミング波形図である。
符号説明、1……発振回路、2……分周回路、
3……カウンタ、4……データ処理部、5……バ
ツフアレジスタ、6……シフトレジスタ、7……
バツフアアンプ、11〜18……送信フアイル
(メモリ)、19……フアーストイン・フアースト
アウトメモリ(FIFOメモリ)。
FIG. 1 is a block diagram showing a conventional serial data transmitter, FIG. 2 is a timing waveform diagram for explaining the operation of FIG. 1, FIG. 3 is a configuration diagram showing an embodiment of the present invention, and FIG. 4 3 is a timing waveform diagram for explaining the operation of FIG. 3. FIG. Explanation of symbols, 1... Oscillation circuit, 2... Frequency dividing circuit,
3... Counter, 4... Data processing section, 5... Buffer register, 6... Shift register, 7...
Buffer amplifier, 11-18...Transmission file (memory), 19...First-in/first-out memory (FIFO memory).
Claims (1)
ビツト数の送信データを1ビツトずつそのアドレ
スに対応させて記憶する送信フアイルと、各フア
イルからのデータを1ビツトずつ並列に、かつシ
ステムの最高伝送速度を対応するチヤネルの伝送
速度で割つた数だけ連続して各ビツトを読出すと
ともにその編集または同期パターンの作成を行な
うデータ処理手段と、該処理手段を介して与えら
れる各チヤネル対応のデータを1ビツトずつ並列
に記憶しその順番に出力するフアーストイン・フ
アーストアウト形式のメモリ(FIFOメモリ)と
を備え、該FIFOメモリの内容を前記最高伝送速
度に応じた信号にて読出すことにより、各チヤネ
ル毎の送信データを直列に送出することを特徴と
する直列データ送信装置。1 A transmission file that is provided corresponding to each of multiple channels and stores a predetermined number of transmission data bit by bit in correspondence with its address, and a transmission file that stores data from each file one bit at a time in parallel and at the highest transmission rate of the system. A data processing means for successively reading out each bit by the number of bits divided by the transmission speed of the corresponding channel and editing or creating a synchronization pattern, and data corresponding to each channel provided through the processing means. It is equipped with a first-in/first-out memory (FIFO memory) that stores bits in parallel and outputs them in order.By reading the contents of the FIFO memory with a signal corresponding to the maximum transmission speed, each A serial data transmitting device characterized by serially transmitting transmission data for each channel.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP58121653A JPS6014555A (en) | 1983-07-06 | 1983-07-06 | Serial data receiver |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP58121653A JPS6014555A (en) | 1983-07-06 | 1983-07-06 | Serial data receiver |
Publications (2)
Publication Number | Publication Date |
---|---|
JPS6014555A JPS6014555A (en) | 1985-01-25 |
JPH0561827B2 true JPH0561827B2 (en) | 1993-09-07 |
Family
ID=14816571
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP58121653A Granted JPS6014555A (en) | 1983-07-06 | 1983-07-06 | Serial data receiver |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPS6014555A (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS5394144A (en) * | 1977-01-28 | 1978-08-17 | Fujitsu Ltd | Time-division multiple process system |
JPS5789358A (en) * | 1980-11-22 | 1982-06-03 | Nippon Telegr & Teleph Corp <Ntt> | Line control system |
JPS5819062A (en) * | 1981-07-27 | 1983-02-03 | Nec Corp | Line adaptor |
-
1983
- 1983-07-06 JP JP58121653A patent/JPS6014555A/en active Granted
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS5394144A (en) * | 1977-01-28 | 1978-08-17 | Fujitsu Ltd | Time-division multiple process system |
JPS5789358A (en) * | 1980-11-22 | 1982-06-03 | Nippon Telegr & Teleph Corp <Ntt> | Line control system |
JPS5819062A (en) * | 1981-07-27 | 1983-02-03 | Nec Corp | Line adaptor |
Also Published As
Publication number | Publication date |
---|---|
JPS6014555A (en) | 1985-01-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US5717948A (en) | Interface circuit associated with a processor to exchange digital data in series with a peripheral device | |
JPH0561827B2 (en) | ||
US5111488A (en) | Doubling/dividing device for a series bit flow | |
JP2786170B2 (en) | Frame data conversion circuit | |
JPS60241150A (en) | Data transfer device | |
JPS6155686B2 (en) | ||
JP2001308832A (en) | Device for converting speed | |
JPS6129226A (en) | Channel data separating device | |
JPH0115214B2 (en) | ||
JP2957821B2 (en) | Transmission memory control circuit | |
JP2770375B2 (en) | Transmission delay phase compensation circuit | |
JPH0630513B2 (en) | Data transmission buffer circuit | |
JP3006000B2 (en) | Asynchronous error pulse multiplexing circuit | |
JP3198709B2 (en) | Data write and read circuit | |
JPH0144062B2 (en) | ||
RU1805548C (en) | Serial-to-parallel code converter | |
KR0155718B1 (en) | Apparatus for generating synchronization data | |
JPH01251832A (en) | Data inserting circuit | |
SU407316A1 (en) | DEVICE FOR CONTROL AND SYNCHRONIZATION OF COMPLEX INFORMATION EXCHANGE | |
JPH0360234A (en) | Data transmission rate converting device | |
JPH04270521A (en) | Multiplex channel receiver | |
JPH046138B2 (en) | ||
JPH0134493B2 (en) | ||
JPS63131735A (en) | Multiplex frame aligner | |
JPH02114323A (en) | Memory device with speed converting function |