Motorola PowerQUICC II MPC8280 Series Reference Manual page 695

Table of Contents

Advertisement

IDMAx channel parameter table using a user-programmed pointer (IDMAx_BASE)
located in the parameter RAM; see Section 14.5.2, "Parameter RAM." For example, if the
IDMA1 channel parameter table is to be placed at address offset 0x2000 in the dual-port
RAM, write 0x2000 to IDMA1_BASE.
1
Offset
Name
0x00
IBASE
0x02
DCM
0x04
IBDPTR
0x06
DPR_BUF
0x08
BUF_INV
0x0A
SS_MAX
0x0C
DPR_IN_PTR
0x0E
STS
0x10
DPR_OUT_PTR Hword Read pointer inside the internal buffer.
MOTOROLA
Freescale Semiconductor, Inc.
Table 19-4. IDMAx Parameter RAM
Width
Hword IDMA BD table base address. Defines the starting location in the dual-port RAM
for the set of IDMA BDs. It is an offset from the beginning of the dual-port RAM.
The user must initialize IBASE before enabling the IDMA channel and should not
overlap BD tables of two enabled serial controllers or IDMA channels or erratic
operation results. IBASE should be 16-byte aligned.
Hword DMA channel mode. See Section 19.8.2.1, "DMA Channel Mode (DCM)."
Hword IDMA BD pointer. Points to the current BD during transfer processing. Points to
the next BD to be processed when an idle channel is restarted. Initialize to
IBASE before the first
IBPTR to IBASE When the end of an IDMA BD table is reached. After a
_
command is issued, IBDPTR points to the next BD to be processed.
STOP
IDMA
It can be modified after SC interrupt is set and before a
reissued.
Hword IDMA transfer buffer base address. The base address should be aligned
according to the buffer size determined by DCM[DMA_WRAP]. The transfer
buffer size should be consistent with DCM[DMA_WRAP]; that is, DPR_BUF =
DMA_WRAP
(64 X 2
). See Section 19.8.2.1, "DMA Channel Mode (DCM)."
Hword Internal buffer inventory. Indicates the quantity of data inside the internal buffer.
Hword Steady-state maximum transfer size in bytes. User-defined parameter to
increase microcode efficiency. Initialize to internal_buffer_size - 32, that is,
DMA_WRAP
SS_MAX = (64 X 2
size on transfers to/from memory in memory-to-peripheral mode or in
peripheral-to-memory mode. For memory-to-memory mode, SS_MAX is used
as the transfer size for at least one of the devices. SS_MAX should be consistent
with STS, DTS, and DCM[S/D]. See Table 19-7 and Table 19-8.
Hword Write pointer inside the internal buffer.
Hword Source transfer size in bytes. All transfers from the source (except the start
alignment and the end) are written to the bus using this parameter.
In memory-to-peripheral mode, STS should be initialized to SS_MAX.
In peripheral-to-memory mode, STS should be initialized to the peripheral port
size or peripheral transfer size (if the peripheral accepts bursts). See Table 19-8
for valid STS values for peripherals.
In fly-by mode, STS is initialized to the peripheral port size.
In memory-to-memory mode:
• STS should be initialized to SS_MAX.
• DTS value should be initialized to SS_MAX. STS can be initialized to values
other than SS_MAX in the following conditions:
– STS must divide SS_MAX.
– STS must be divided by 32 to enable bursts during the steady-state phase.
• See Table 19-7 for memory-to-memory valid STS values.
Chapter 19. SDMA Channels and IDMA Emulation
For More Information On This Product,
Go to: www.freescale.com
Description
_
command. If BD[W] = 1, the CP initializes
START
IDMA
) - 32. If possible, SS_MAX is used as the transfer
IDMA Operation
_
command is
START
IDMA
19-19

Advertisement

Table of Contents
loading

This manual is also suitable for:

Powerquicc ii mpc8270Powerquicc ii mpc8275Powerquicc ii mpc8280

Table of Contents