JPS63208966A - Dma transfer control system - Google Patents

Dma transfer control system

Info

Publication number
JPS63208966A
JPS63208966A JP4153687A JP4153687A JPS63208966A JP S63208966 A JPS63208966 A JP S63208966A JP 4153687 A JP4153687 A JP 4153687A JP 4153687 A JP4153687 A JP 4153687A JP S63208966 A JPS63208966 A JP S63208966A
Authority
JP
Japan
Prior art keywords
dma
various parameters
data
register
transfer
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP4153687A
Other languages
Japanese (ja)
Inventor
Tadashi Arakawa
荒川 忠
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP4153687A priority Critical patent/JPS63208966A/en
Publication of JPS63208966A publication Critical patent/JPS63208966A/en
Priority to US08/029,068 priority patent/US5430853A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/14Handling requests for interconnection or transfer
    • G06F13/20Handling requests for interconnection or transfer for access to input/output bus
    • G06F13/28Handling requests for interconnection or transfer for access to input/output bus using burst mode transfer, e.g. direct memory access DMA, cycle steal

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Bus Control (AREA)

Abstract

PURPOSE:To set various parameters at a DMA controller at a high speed by setting those various parameters needed for DMA transfer at the DMA controller from a CPU via a register of a reception frame control part. CONSTITUTION:When data is received by a communication control part CPU5 from a communication circuit 10, a bus master of a system bus is shifted to a DMA controller DMAC4 from the CPU1. Then the received data is transferred in turns of DMA to a memory 3 from the CCU5 based on various parameters stored in the DMAC4. When this transfer of data is ended, the bus master of the system bus moves to a reception frame control part 6 and various parameters stored in a register of the part 6 are sent to the DMAC4 and stored there. When this action is ended, the bus master returns to the CPU1 and those various parameters stored in the register of the part 6 are changed by the CPU1 for the next DMA transfer.

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は、例えば通信装置等におけるDMA(ダイレク
トメモリアクセス)転送制御方式に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a DMA (direct memory access) transfer control system in, for example, a communication device.

[従来の技術] 従来、例えば通信装置においてDMA転送を行う場合、
マイクロプロセッサ等のCPUによってDMAコントロ
ーラ(DMAC)に各種パラメータをセットし、DMA
な開始が指示されると送受信バッファとメモリとの間で
DMAによりデータ転送を行っている。具体的には、例
えば1ワードの通信データを受信すると、DMACに受
信バッファよりメモリへのDMAデータ転送の要求が出
される。これによりDMACはシステムパスの使用を要
求し、例えばサイクルスチール方式等により1ワードの
受信データをメモリに転送する。このようなりMA転送
動作を繰り返すことにより、複数ワードの通信データを
メモリ辷転送し、更に1フレーム長の通信データの転送
が終了するとCPUに1フレームの受信終了を通知する
。CPUはこの1フレームの受信終了により、次の受信
に備えてDMACの各パラメータの再設定を行って次の
フレームの受信に備える。
[Prior Art] Conventionally, for example, when performing DMA transfer in a communication device,
Various parameters are set in the DMA controller (DMAC) by a CPU such as a microprocessor, and the DMA
When a start is instructed, data is transferred between the transmitting/receiving buffer and the memory using DMA. Specifically, when one word of communication data is received, for example, a request is issued to the DMAC to transfer DMA data from the reception buffer to the memory. This causes the DMAC to request use of the system path and transfer one word of received data to the memory using, for example, a cycle steal method. By repeating the MA transfer operation in this way, a plurality of words of communication data are transferred across the memory, and when the transfer of one frame of communication data is completed, the CPU is notified that the reception of one frame has ended. Upon completion of the reception of this one frame, the CPU resets each parameter of the DMAC in preparation for the next reception, and prepares for the reception of the next frame.

「発明が解決しようとする問題点] 従って、CPUは1フレーム受信終了後から次のフレー
ム受信開始までの間に、少なくとも次のステップを実行
する必要がある。
[Problems to be Solved by the Invention] Therefore, the CPU needs to execute at least the following steps between the end of receiving one frame and the start of receiving the next frame.

ステップ1 割込み応答時のタスク切換ステップ2 次
フレーム受信用の記憶領域の確保 ステップ3 、DMACの内部レジスタの再設定しかし
ながら、これらのステップに要する時間はプログラム制
御故に、遅く、特にステップ2では記憶領域自体を管理
する別タスクの介入が必要になる。これは通信システム
の設計を行う時、上記全ステップの所要時間に多くのマ
ージン時間を見込んだ設計を行わねばならぬことを意味
しており、通信システムの受信能力の制約、即ち連続す
る高速フレームを確実に受信処理できる能力を制約する
という問題かがあった。
Step 1 Task switching when responding to an interrupt Step 2 Securing storage area for receiving the next frame Step 3 Resetting the internal registers of the DMAC However, the time required for these steps is slow due to program control, and especially in Step 2, the storage area is The intervention of another task to manage itself is required. This means that when designing a communication system, it is necessary to allow for a large margin time in addition to the time required for all of the above steps. There was a problem in that the ability to receive and process data reliably was restricted.

本発明は上記従来例に鑑みなされたもので、DMA制御
部への各種パラメータの再設定をCPUによるプログラ
ム制御により行うことなく、高速に設定することができ
るDMA転送制御方式を提供することを目的とする。
The present invention has been made in view of the above-mentioned conventional example, and an object of the present invention is to provide a DMA transfer control method that enables high-speed resetting of various parameters in a DMA control unit without the need for program control by a CPU. shall be.

[問題点を解決するための手段] 上記目的を達成するために本発明のDMA転送制御方式
は以下の様な構成からなる。即ち、CPUと共通のパス
に接続されたDMA制御手段と、該DMA制御手段への
各種パラメータを前記CPUより入力して記憶する記憶
手段と、前記各種パラメータの前記1)MACへのセッ
トアドレスを出力するアドレス手段と、前記CPUの基
本クロックに同期して前記各種パラメータを前記記憶手
段より前記DMA制御手段に出力する手段とを備える。
[Means for Solving the Problems] In order to achieve the above object, the DMA transfer control system of the present invention has the following configuration. That is, a DMA control means connected to a common path with the CPU, a storage means for inputting and storing various parameters to the DMA control means from the CPU, and a set address of the various parameters to the 1) MAC. The device includes address means for outputting, and means for outputting the various parameters from the storage means to the DMA control means in synchronization with the basic clock of the CPU.

[作用] 以上の構成において、CPUと共通のパスに接続された
DMA制御手段への各種パラメータを、CPUより入力
して記憶手段に記憶する。DMA転送開始前に、CPU
の制御によらず、CPUの基本クロックに同期して各種
パラメータを記憶手段より読み出し、アドレス手段によ
りアドレスされたDMA制御手段のアドレスに出力して
、各種パラメータの設定を行うように動作する。
[Operation] In the above configuration, various parameters to the DMA control means connected to the common path with the CPU are inputted from the CPU and stored in the storage means. Before starting DMA transfer, the CPU
It operates to read various parameters from the storage means in synchronization with the basic clock of the CPU, output them to the address of the DMA control means addressed by the address means, and set the various parameters regardless of the control of the CPU.

[実施例] 以下、添付図面を参照して本発明の好適な実施例を詳細
に説明する。
[Embodiments] Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the accompanying drawings.

[通信装置の説明 (第2図)] 第2図は本実施例の通信装置の主要部の構成図である。[Description of communication device (Figure 2)] FIG. 2 is a configuration diagram of the main parts of the communication device of this embodiment.

図中、1はプログラムメモリ2に格納された制御プログ
ラムやデータ等に従って各種論理演算や制御信号を入出
力を行い、装置全体の動作制御を行うCPUで、例えば
8ビツトのマイクロプロセッサである。3は送受信デー
タを格納するメモリである。4は設定されたパラメータ
に従ってメモリ3と通信制御部(CCU)との間でDM
A転送を行うDMAコントローラ(DMAC)である。
In the figure, reference numeral 1 denotes a CPU, which is, for example, an 8-bit microprocessor, which performs various logical operations and input/output control signals in accordance with control programs and data stored in the program memory 2, and controls the operation of the entire apparatus. 3 is a memory for storing transmitted and received data. 4 is a DM between the memory 3 and the communication control unit (CCU) according to the set parameters.
This is a DMA controller (DMAC) that performs A transfer.

5は通信回線10に接続され、CCITT勧告のX、2
5レベル2の下位機能をサポートする通信制御部(CC
U)で、この下位機能とは具体的にHDLC(ハイ・レ
ベル・データ・リンク・コントロール)フレームにおけ
るフラグ同期、タイムフィル、ゼロ挿入/削除等の機能
をいう。
5 is connected to the communication line 10, and
Communication control unit (CC) that supports lower level 5 level 2 functions.
In U), these lower-level functions specifically refer to functions such as flag synchronization, time fill, and zero insertion/deletion in HDLC (High Level Data Link Control) frames.

6は第1図にその詳細を示す受信フレーム制御部で、後
述するようにDMAC4への各種パラメータのセットを
行う。これら1〜6の各部はアドレスバス7、データバ
ス8(8ビツト)、制御線9(以下、これらをまとめて
システムバスと呼ぶ)を介して相互に接続されており、
制御線は各装置間の動作を制御するり−ド/ライト線や
クロック信号線あるいはバス要求信号線等の全ての制御
信号線の集合体である。
Reference numeral 6 denotes a reception frame control unit whose details are shown in FIG. 1, which sets various parameters to the DMAC 4 as described later. These units 1 to 6 are interconnected via an address bus 7, a data bus 8 (8 bits), and a control line 9 (hereinafter collectively referred to as a system bus).
The control line is a collection of all control signal lines such as read/write lines, clock signal lines, and bus request signal lines that control operations between devices.

以上の構成において、CCU3はシステムバスを介して
メモリ3との間で1バイト毎のDMA転送を行うととも
に、通信回線10との間でX、 21インタフエース等
にて、)IDLCフレームデータの送受信を行う。CC
U 5が通信回線10から受信したデータをメモリ3へ
DMA転送するとき、このDMAチャネルを受信DMA
チャネルという。受信DMAチャネルはDMAC4の内
部レジスタで制御されるが、少なくとも2つのレジスタ
が必要である。1つは受信データの転送先のメモリアド
レスを記憶している16ビツトの受信アドレスレジスタ
(RxADR) 、もう1つは受信フレームの最大長を
記憶する16ビツトの受信バイトカウントレジスタ(R
,BCR)である。
In the above configuration, the CCU 3 performs 1-byte DMA transfer with the memory 3 via the system bus, and also transmits/receives IDLC frame data with the communication line 10 via the X, 21 interface, etc. I do. C.C.
When U 5 transfers the data received from the communication line 10 to the memory 3 by DMA, this DMA channel is used as the receiving DMA.
It's called a channel. The receive DMA channel is controlled by internal registers of DMAC4, but at least two registers are required. One is a 16-bit receive address register (RxADR) that stores the memory address to which the received data is transferred, and the other is a 16-bit receive byte count register (RxADR) that stores the maximum length of the received frame.
, BCR).

[受信フレーム制御部の説明 (第1図)]第1図は本
実施例の受信フレーム制御部の構成を示すブロック図で
ある。
[Description of Received Frame Control Unit (FIG. 1)] FIG. 1 is a block diagram showing the configuration of the received frame control unit of this embodiment.

100は受信フレーム制御部6の制御を行うコントロー
ル回路で、制御線9を介して受信終了を検知すると、バ
ス要求信号(B U S ’RQ )を出力してバス要
求を行ったり、またCPUIよりの制御信号やデコーダ
102よりのアドレスデコード信号109を入力して、
レジスタ104.105への書き込み信号107.10
8を出力する。これによりCPUIよりの各種パラメー
タがアドレスデコード信号109に対応するレジスタに
セットされる。尚、102はアドレスバス7より16ビ
ツトのアドレスデータの下位アドレスを入力し、デコー
ドしてアドレスデコード信号109を出力するデコーダ
である。
Reference numeral 100 denotes a control circuit that controls the reception frame control unit 6, and when it detects the end of reception via the control line 9, it outputs a bus request signal (BUS'RQ) to request a bus, and also outputs a bus request from the CPU The control signal and the address decode signal 109 from the decoder 102 are input,
Write signal 107.10 to register 104.105
Outputs 8. As a result, various parameters from the CPUI are set in the register corresponding to the address decode signal 109. A decoder 102 inputs the lower address of 16-bit address data from the address bus 7, decodes it, and outputs an address decode signal 109.

アドレスシーケンサ103の出力は3ステート出力バツ
フアを介してアドレスバス7に接続されており、CPU
Iの基本クロック106をシーケンスクロツクとして人
力し、特定のアドレスデータをアドレスバス7に出力す
る。このアドレスデータは本実施例では、予め固定して
設定されているものとする。
The output of the address sequencer 103 is connected to the address bus 7 via a 3-state output buffer, and
The basic clock 106 of I is used as a sequence clock, and specific address data is output to the address bus 7. In this embodiment, it is assumed that this address data is fixed and set in advance.

104.105は共に16ビツトのレジスタで、それぞ
れ2個の8ビツトレジスタで構成され、各レジスタは3
ステート入出力バツフアを介してデータバス8に接続さ
れている。これら4個の8ビツトレジスタはデコーダ1
02よりのアドレスデコード信号109によって選択さ
れる。タイミングシーケンサ101は基本クロック10
6を入力して、上記4個の8ビツトレジスタの出力及び
アドレスシーケンサ103よりのアドレスデータの出力
タイミングの制御を行っている。
Both 104 and 105 are 16-bit registers, each consisting of two 8-bit registers, and each register has 3
It is connected to data bus 8 via a state input/output buffer. These four 8-bit registers are decoder 1
It is selected by the address decode signal 109 from 02. Timing sequencer 101 has basic clock 10
6 is input to control the output timing of the four 8-bit registers and the output timing of address data from the address sequencer 103.

以上の構成により、CPU 1よりの各パラメータがレ
ジスタ104.105の各8ビツトレジスタに書き込ま
れ、各レジスタの8ビツトデータが、基本クロック10
9の1クロツクサイクルでDMAC4の内部レジスタへ
書き込まれることになる。
With the above configuration, each parameter from CPU 1 is written to each 8-bit register of registers 104 and 105, and the 8-bit data of each register is written to the basic clock 10.
It will be written to the internal register of DMAC4 in one clock cycle of 9.

[動作説明  (第3図〜第6図)] 第3図はプログラムメモリ2に格納されているCPUI
のデータ受信処理の制御プログラムのフローチャートで
ある。
[Operation explanation (Figures 3 to 6)] Figure 3 shows the CPUI stored in the program memory 2.
2 is a flowchart of a control program for data reception processing in FIG.

本プログラムは装置の電源オンによって開始され、まず
ステップS1で第4図に示す初期化処理を行う。ステッ
プS2でデータ受信があるとステップS3に進み、DM
AC4にDMAの開始指示を行う。尚、このDMAの開
始はDMAC4がCCU3よりの指示により自動的に行
うようにしてもよい。
This program is started by turning on the power of the device, and first performs initialization processing shown in FIG. 4 in step S1. If data is received in step S2, the process advances to step S3, and the DM
Instructs AC4 to start DMA. Incidentally, this DMA may be started automatically by the DMAC 4 according to an instruction from the CCU 3.

DMAが開始されるとシステムバスのバスマスタはcp
utよりDMAC4に移る(ステップ510)、ステッ
プSIOではCCU3より受信データを入力してメモリ
3に1バイトのDMAデータ転送を行い、1フレームの
受信が終了するまでCCU3よりメモリ3へのデータ転
送を繰り返し、lフレームのデータ転送が終了するとD
MAを終了する。
When DMA is started, the bus master of the system bus is cp
ut to DMAC4 (step 510), and in step SIO, input the received data from CCU3, transfer 1 byte of DMA data to memory 3, and continue data transfer from CCU3 to memory 3 until reception of one frame is completed. Repeatedly, when data transfer of 1 frame is completed, D
Finish MA.

ステップSitは1フレームのデータ受信終了時におけ
る受信フレーム制御部の動作ステップで、詳細を第5図
に示す。
Step Sit is an operation step of the reception frame control section at the end of data reception of one frame, and the details are shown in FIG.

ステップS10.11が終了するとステップS4で再び
CPUIがバスマスタとなってcpu iに制御が穆さ
れる。ステップS4ではメモリ3に次フレームの受信エ
リアを確保する。ステップS5ではメモリ3に確保した
受信エリアの先頭アドレスの上位8ビツトをレジスタ1
04の上位バイトに書き込み、ステップS6で先頭アド
レスの下位8ビツトをレジスタ10′4の下位バイトに
書き込む。この後、再びステップSZに戻り、受信デー
タを受信すると前述の動作を繰り返し実行する。
When step S10.11 is completed, CPU I becomes the bus master again in step S4, and control is given to CPU i. In step S4, a reception area for the next frame is secured in the memory 3. In step S5, the upper 8 bits of the start address of the reception area secured in memory 3 are stored in register 1.
04, and in step S6, the lower 8 bits of the start address are written to the lower byte of register 10'4. Thereafter, the process returns to step SZ, and upon receiving the received data, the above-described operations are repeated.

尚、本フローチャートでは1フレームのデータ数は固定
として、ステップS4以降でレジスタ105の受信フレ
ームの最大転送バイト数の書き換えを行っていないが、
lフレームのデータ数が変動するときは、レジスタ10
5のデータを変更するステップを追加してもよいことは
もちろんである。
Note that in this flowchart, the number of data in one frame is fixed, and the maximum number of transfer bytes of the received frame in the register 105 is not rewritten after step S4.
When the number of data in l frame changes, register 10
Of course, a step of changing the data in step 5 may be added.

第4図はCPUIによる初期化処理のフローチャートで
ある。
FIG. 4 is a flowchart of initialization processing by the CPUI.

ステップS20では1フレームデータの受信エリアをメ
モリ3に確保し、ステップS21でDMAC4の受信ア
ドレスレジスタR,ADRに、ステップS20で確保し
たメモリエリアの先頭番地を書き込む。ステップS22
ではDMAC4の受信バイトカウントレジスタR,BC
Hに、受信フレームの最大転送バイト数を書き込む。ス
テップS23では次の受信フレーム用のメモリエリアを
メモリ3に確保し、ステップS24でレジスタ104に
ステップ323で確保したメモリエリアの先頭番地を書
き込む。次にステップS25ではレジスタ105に受信
フレームの最大転送バイト数を書き込む。
In step S20, a reception area for one frame data is secured in the memory 3, and in step S21, the start address of the memory area secured in step S20 is written into the reception address registers R and ADR of the DMAC 4. Step S22
Now, DMAC4 receive byte count register R, BC
Write the maximum number of transfer bytes of the received frame to H. In step S23, a memory area for the next received frame is secured in the memory 3, and in step S24, the starting address of the memory area secured in step 323 is written in the register 104. Next, in step S25, the maximum number of transfer bytes of the received frame is written into the register 105.

[受信フレーム制御部の動作説明 (第5図、第6図)] 第5図は受信フレーム制御部回路6のコントロール回路
100とタイミングシーケンサ101及びアドレスシー
ケンサ103の連係によるDMAC4へのパラメータセ
ット処理のフローチャートである。
[Explanation of operation of received frame control section (FIGS. 5 and 6)] FIG. It is a flowchart.

ステップS30でDMAの転送路゛了が検知されるとス
テップS31に進み、システムバスのバスマスタになる
べくバス要求信号を出力する。バス要求が受けつけられ
てバスマスタになるとステップ333に進み、タイミン
グシーケンサ101及びアドレスシーケンサ103を起
動する。ステップS34ではレジスタ104の上位バイ
トをDMAC4の受信アドレスレジスタRXADRの上
位バイトに書き込み、ステップS35でレジスタ104
の下位バイトをDMAC4のR,ADRの下位バイトに
書き込む。
When the completion of the DMA transfer path is detected in step S30, the process proceeds to step S31, and a bus request signal is outputted to the bus master of the system bus as much as possible. When the bus request is accepted and the device becomes the bus master, the process proceeds to step 333, where the timing sequencer 101 and address sequencer 103 are activated. In step S34, the upper byte of the register 104 is written to the upper byte of the reception address register RXADR of the DMAC4.
The lower byte of is written to the lower byte of R and ADR of DMAC4.

次にステップS36.37でレジスタ105の上位バイ
ト及び下位バイトをDMAC4の受信バイトカウントレ
ジスタR,BCRに書き込む。これらの書き込み処理は
基本クロック106の1クロツクサイクルで実施、され
る。
Next, in steps S36 and 37, the upper byte and lower byte of the register 105 are written into the received byte count registers R and BCR of the DMAC4. These write operations are executed in one clock cycle of the basic clock 106.

ステップ338ではタイミングシーケンサ1゜1及びア
ドレスシーケンサ103の動作を停止し、ステップS3
9でシステムバスの使用を放棄して処理を終了する。
In step 338, the operation of the timing sequencer 1.1 and the address sequencer 103 is stopped, and in step S3
At step 9, use of the system bus is abandoned and the process ends.

第6図はCPUIの動作タイミングと受信フレーム制御
部の動作タイミングを比較した図である。
FIG. 6 is a diagram comparing the operation timing of the CPUI and the operation timing of the reception frame control section.

60はアドレスバスとデータバスの基本タイミングを示
す波形で、61はCPUIより出力される書き込み信号
(WR)である。このように通常のマイクロプロセッサ
では、アキュームレータに書き込みデータがセットされ
ていても、DMAC4の各レジスタへの書き込み(I1
0ライト命令)には少なくとも基本クロック109の4
サイクル分の時間が必要である。
60 is a waveform showing the basic timing of the address bus and data bus, and 61 is a write signal (WR) output from the CPUI. In this way, in a normal microprocessor, even if write data is set in the accumulator, writing to each register of DMAC4 (I1
0 write instruction), at least the basic clock 109:4
The time required for the cycle is required.

それに比べて本実施例ではDMAC4への4バイトのデ
ータ書き込みは、基本クロック109の4クロツクサイ
クルで行えるため、DMAC4の各パラメータのセット
が高速で実施できる。
In comparison, in this embodiment, writing 4 bytes of data to the DMAC 4 can be done in 4 clock cycles of the basic clock 109, so each parameter of the DMAC 4 can be set at high speed.

尚、本実施例ではDMAC4の内部レジスタRxADR
%RXBCRのデータセットについて説明したがこれに
限定されるものでなく、DMAC4の書き込み可能な内
部レジスタの全てに対して受信フレーム制御部6に仮想
レジスタを設けて書き込みを行うようにしてもよい。例
えば、DMAC4のDMA転送を許可/禁止する内部レ
ジスタに対して仮想レジスタを設ければ、システム側か
らの要求によりフレーム受信終了と同時に、以降のDM
A転送を禁止することができる。
In this embodiment, the internal register RxADR of DMAC4
Although the data set of %RXBCR has been described, the present invention is not limited to this, and virtual registers may be provided in the reception frame control unit 6 to write to all of the writable internal registers of the DMAC 4. For example, if a virtual register is provided for the internal register that allows/disables DMA transfer of DMAC4, the subsequent DM transfers will be executed at the same time as frame reception is completed upon request from the system side.
A transfer can be prohibited.

また本実施例は通信装置のDMA転送について説明した
がこれに限定されるものでなく、通常のメモリあるいは
I10装置とのDMA転送にも応用できることはもちろ
んである。
Further, although the present embodiment has been described with respect to DMA transfer of a communication device, the present invention is not limited to this, and it goes without saying that the present invention can also be applied to DMA transfer with a normal memory or an I10 device.

以上説明したように本実施例によれば、DMACの転送
準備を高速に行うことができるため、高速で連続する通
信フレームを確実に受信できるという効果がある。
As described above, according to the present embodiment, the DMAC transfer preparation can be performed at high speed, so that there is an effect that continuous communication frames can be reliably received at high speed.

[発明の効果] 以上述べた如く本発明によれば、DMACへの各種パラ
メータのセットを高速に行うことができるため、連続し
て高速にDMA転送を行うことがで齢るという効果があ
る。
[Effects of the Invention] As described above, according to the present invention, various parameters can be set to the DMAC at high speed, so there is an effect that DMA transfer can be performed continuously at high speed.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本実施例の受信フレーム制御部の概略構成を示
す図、 第2図は本実施例の通信装置の主要部の構成を示す図、 第3図はCPUによる受信制御のフローチャートを示す
図、 第4図はCPUによる初期化処理を示すフローチャート
、 第5図は受信フレーム制御部によるDMACのパラメー
タセット動作のフローチャート、第6図はDMACへの
書き込みタイミングとCPUの動作との比較を示すタイ
ミングチャートである。 図中、1・・・CPU、2・・・プログラムメモリ、3
・・・メモリ、4・・・DMAC,5・・・CCU、6
・・・受信フレーム制御部、7・・・アドレスバス、8
・・・データバス、9・・・制御線、10・・・通信回
線、100・・・コントロール部、101・・・タイミ
ングシーケンサ、102・・・デコーダ、103・・・
アドレスシーケンサ、104.105・・・レジスタ、
106・・・基本クロック、10フ、108・・・書き
込み信号である。
FIG. 1 is a diagram showing a schematic configuration of the reception frame control section of this embodiment, FIG. 2 is a diagram showing the configuration of the main part of the communication device of this embodiment, and FIG. 3 is a flowchart of reception control by the CPU. Figure 4 is a flowchart showing the initialization process by the CPU, Figure 5 is a flowchart of the DMAC parameter setting operation by the received frame control unit, and Figure 6 is a comparison between the timing of writing to the DMAC and the operation of the CPU. This is a timing chart. In the figure, 1...CPU, 2...Program memory, 3
...Memory, 4...DMAC, 5...CCU, 6
. . . Reception frame control unit, 7 . . Address bus, 8
...Data bus, 9...Control line, 10...Communication line, 100...Control unit, 101...Timing sequencer, 102...Decoder, 103...
Address sequencer, 104.105... register,
106...Basic clock, 10F, 108...Write signal.

Claims (2)

【特許請求の範囲】[Claims] (1)CPUと共通のバスに接続されたDMA制御手段
と、該DMA制御手段への各種パラメータを前記CPU
より入力して記憶する記憶手段と、前記各種パラメータ
の前記DMACへのセットアドレスを出力するアドレス
手段と、前記CPUの基本クロックに同期して前記各種
パラメータを前記記憶手段より前記DMA制御手段に出
力する手段とを備えたことを特徴とするDMA転送制御
方式
(1) A DMA control means connected to a common bus with the CPU, and various parameters to the DMA control means
a storage means for inputting and storing the various parameters, an address means for outputting a set address of the various parameters to the DMAC, and an outputting of the various parameters from the storage means to the DMA control means in synchronization with a basic clock of the CPU. A DMA transfer control method characterized by comprising means for
(2)記憶手段よりDMA制御手段への各種パラメータ
の転送はCPUを介することなく直接アクセスにより行
われることを特徴とする特許請求の範囲第1項に記載の
DMA転送制御方式。
(2) The DMA transfer control method according to claim 1, wherein the transfer of various parameters from the storage means to the DMA control means is performed by direct access without going through the CPU.
JP4153687A 1987-02-26 1987-02-26 Dma transfer control system Pending JPS63208966A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP4153687A JPS63208966A (en) 1987-02-26 1987-02-26 Dma transfer control system
US08/029,068 US5430853A (en) 1987-02-26 1993-03-10 Update of control parameters of a direct memory access system without use of associated processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4153687A JPS63208966A (en) 1987-02-26 1987-02-26 Dma transfer control system

Publications (1)

Publication Number Publication Date
JPS63208966A true JPS63208966A (en) 1988-08-30

Family

ID=12611136

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4153687A Pending JPS63208966A (en) 1987-02-26 1987-02-26 Dma transfer control system

Country Status (1)

Country Link
JP (1) JPS63208966A (en)

Similar Documents

Publication Publication Date Title
JP2001142842A (en) Dma handshake protocol
JPH1091572A (en) Data transfer method and data transfer device using the method
JP6602579B2 (en) Semiconductor device and system
KR100348545B1 (en) Communication dma device
US5430853A (en) Update of control parameters of a direct memory access system without use of associated processor
KR20030097700A (en) Data processor
JPS63208966A (en) Dma transfer control system
JP2608286B2 (en) Data transfer device
US6785795B1 (en) Data processing device for use in cooperation with a memory
JPS63292355A (en) Control system for dma transfer
JPH04323755A (en) Dma device
JPH0756803A (en) High-speed dma transfer device
JP2000099452A (en) Dma control device
JPH06131294A (en) Data transfer device
CN115729863A (en) Data transmission method, device, electronic equipment and medium
JP2625573B2 (en) Direct memory access controller
JP2719227B2 (en) Processing equipment
JPH1097411A (en) Data processor
JPH04306754A (en) Dma controller
KR19990058930A (en) Deamic controller and method for changing priority of deamplification request signal using same
JPH05173936A (en) Data transfer processing device
JPS61120262A (en) Inter-memory intelligent dma controller
JPH09259074A (en) Memory access circuit
JPH0567035A (en) Data alignment system for dma transfer
JPS63220352A (en) Data transfer circuit for inter-cpu