pc87591l-n05 National Semiconductor Corporation, pc87591l-n05 Datasheet - Page 86

no-image

pc87591l-n05

Manufacturer Part Number
pc87591l-n05
Description
Lpc Mobile Embedded Controller
Manufacturer
National Semiconductor Corporation
Datasheet
www.national.com
4.0 Embedded Controller Modules
4.2.3
Table 14 shows the assignment of the DMA channels to different tasks in the PC87591L-N05.
4.2.4
The DMAC uses two data transfer modes, direct (fly-by) and indirect (memory-to-memory). The choice of mode depends on
the correlation between the source and destination bus lengths, the required bus performance and the peripheral structure
(as indicated in Table 14).
Direct (Fly-By) Transfers
In Direct mode, each data item is transferred using a single bus cycle without reading the data into the DMAC. It provides
the fastest transfer rate, but it requires identical source and destination bus widths.
Data transfer cannot occur between two memory elements. One of the elements must be the I/O device that requested the
DMA transfer. This device is referred to as the implied I/O device. The other element can be either memory or another I/O
device and is referred to as the addressed I/O device.
The appropriate DMA acknowledge signal for each channel is asserted during the bus cycle.
If the bus policy is “intermittent”, maximum throughput is one transaction every three clock cycles. If bus policy is “continu-
ous”, maximum throughput on the internal core bus is one transaction every two clock cycles.
Since only one address is required in Direct mode, this address is taken from the corresponding ADCAn counter. The DMAC
Channel generates either a read or a write bus cycle according to the setting of DIR bit in DMACNTLn register.
When DIR bit is 0, a read bus cycle from the addressed device is performed, and the data is written to the implied I/O device.
When DIR bit is 1, a write bus cycle to the addressed device is performed, and the data is read from the implied I/O device.
The configuration of either address freeze or address update (increment or decrement) is independent of the number of
transferred bytes, transfer direction, or number of bytes in each DMAC transfer cycle. All these can be configured for each
channel by programing the appropriate control register.
The number of bytes transferred in each cycle is taken from TCS bit in DMACNTLn register. After the data item has been
transferred, the BLTCn counter is decremented by one. The ADCAn counter are updated according to INCAn field and ADA
bit in DMACNTLn register.
Channel Assignment in PC87591L-N05
Transfer Types
Channel
Bus State
CLK
DMRQi
ADDR
DMACKi
0
1
2
3
Figure 26. DMAC Direct Bus Cycle Followed by a Core Bus Cycle
USART1 Transmit
USART1 Receive
ACCESS.bus3
ACCESS.bus4
Usage
Table 14. DMA Channel Assignment
(Continued)
Indirect
Indirect
Indirect
Indirect
Mode
86
T1
ADCA
ACCESS.bus3 registers
ACCESS.bus4 registers
USART1 registers
USART1 registers
Enable Control
T2
Tidle
T1
DMA_INT0
DMA_INT1
DMA_INT2
DMA_INT3
Interrupt
Revision 1.2

Related parts for pc87591l-n05