CP3UB26G18NEP National Semiconductor, CP3UB26G18NEP Datasheet - Page 41

no-image

CP3UB26G18NEP

Manufacturer Part Number
CP3UB26G18NEP
Description
Manufacturer
National Semiconductor
Datasheet

Specifications of CP3UB26G18NEP

Operating Temperature (min)
-40C
Operating Temperature (max)
85C
Operating Temperature Classification
Industrial
Mounting
Surface Mount
Pin Count
128
Package Type
LQFP
Lead Free Status / RoHS Status
Not Compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
CP3UB26G18NEP/NOPB
Manufacturer:
Texas Instruments
Quantity:
10 000
Part Number:
CP3UB26G18NEPX
Manufacturer:
Texas Instruments
Quantity:
10 000
9.0
The DMA Controller (DMAC) has a register-based program-
ming interface, as opposed to an interface based on I/O
control blocks. After loading the registers with source and
destination addresses, as well as block size and type of op-
eration, a DMAC channel is ready to respond to DMA trans-
fer requests. A request can only come from on-chip
peripherals or software, not external peripherals. On receiv-
ing a DMA transfer request, if the channel is enabled, the
DMAC performs the following operations:
Each DMAC channel can be programmed for direct (flyby)
or indirect (memory-to-memory) data transfers. Once a
DMAC transfer cycle is in progress, the next transfer request
is sampled when the DMAC acknowledge is de-asserted,
then on the rising edge of every clock cycle.
The configuration of either address freeze or address up-
date (increment or decrement) is independent of the num-
ber of transferred bytes, transfer direction, or number of
bytes in each DMAC transfer cycle. All these can be config-
ured for each channel by programming the appropriate con-
trol registers.
Each DMAC channel has eight control registers. DMAC
channels are described hereafter with the suffix n, where n
= 0 to 3, representing the channel number in the register-
names.
9.1
Table 17 shows the assignment of the DMA channels to dif-
ferent tasks. Four channels can be shared by a primary and
an secondary function. However, only one source at a time
can be enabled. If a channel is used for memory block trans-
fers, other resources must be disabled.
1. Arbitrates to become master of the CPU bus.
2. Determines priority among the DMAC channels, one
3. Executes data transfer bus cycle(s) selected by the val-
4. If the transfer of a block is terminated, the DMAC does
5. If DMRQn is still active, and the Bus Policy is “continu-
6. Returns mastership of the CPU bus to the CPU.
clock cycle before T1 of the DMAC transfer cycle. (T1
is the first clock cycle of the bus cycle.) Priority among
the DMAC channels is fixed in descending order, with
Channel 0 having the highest priority.
ues held in the control registers of the channel being
serviced, and according to the accessed memory ad-
dress. The DMAC acknowledges the request during the
bus cycle that accesses the requesting device.
the following:
Updates the termination bits.
Generates an interrupt (if enabled).
Goes to step 6.
ous”, returns to step 3.
DMA Controller
CHANNEL ASSIGNMENT
41
DMACK[3:0]
9.2
The DMAC uses two data transfer modes, Direct (Flyby )
and Indirect (Memory-to-Memory) . The choice of mode de-
pends on the required bus performance and whether direct
mode is available for the transfer. Indirect mode must be
used when the source and destination have differing bus
widths, when both the source and destination are in memo-
ry, and when the destination does not support direct mode.
9.2.1
In direct mode each data item is transferred using a single
bus cycle, without reading the data into the DMAC. It pro-
vides the fastest transfer rate, but it requires identical source
and destination bus widths. The DMAC cannot use Direct
cycles between two memory devices. One of the devices
must be an I/O device that supports the Direct (Flyby) mech-
anism, as shown in Figure 3.
DMRQ[3:0]
Figure 3. Direct DMA Cycle Followed by a CPU Cycle
0 (Secondary)
1 (Secondary)
2 (Secondary)
3 (Secondary)
0 (Primary)
1 (Primary)
2 (Primary)
3 (Primary)
ADDR
Channel
CLK
Direct (Flyby) Transfers
TRANSFER TYPES
Table 17 DMA Channel Assignment
Audio Interface
Audio Interface
CVSD/PCM
CVSD/PCM
Transcoder
Transcoder
Peripheral
Reserved
UART0
UART0
USB
T1
ADCA
Trans-
action
R/W
T2
N/A
Bus State
W
W
W
R
R
R
www.national.com
Tidle
RX/TX FIFO
PCMOUT
Register
RXBUF
ARDR0
TXBUF
ATDR0
PCMIN
N/A
T1
DS005

Related parts for CP3UB26G18NEP