Nxp semiconductors, 4 channel logic and channel register bank, 5 interrupt request – NXP Semiconductors LPC24XX UM10237 User Manual

Page 714: 6 ahb master interface, 7 bus and transfer widths, 8 endian behavior

Advertising
background image

UM10237_4

© NXP B.V. 2009. All rights reserved.

User manual

Rev. 04 — 26 August 2009

714 of 792

NXP Semiconductors

UM10237

Chapter 32: LPC24XX General Purpose DMA (GPDMA) controller

4.2.4 Channel Logic and Channel Register Bank

The channel logic and channel register bank contains registers and logic required for each
DMA channel.

4.2.5 Interrupt Request

The interrupt request generates interrupts to the ARM processor.

4.2.6 AHB Master Interface

The GPDMA contains a full AHB master. See

Figure 32–145

for how the GPDMA is

connected in the LPC24XX.

The AHB master is capable of dealing with all types of AHB transactions, including:

Split, retry, and error responses from slaves. If a peripheral performs a split or retry,
the GPDMA stalls and waits until the transaction can complete.

Locked transfers for source and destination of each stream.

Setting of protection bits for transfers on each stream.

4.2.7 Bus and transfer widths

The physical width of the AHB bus is 32 bits. Source and destination transfers can be of
differing widths, and can be the same width or narrower than the physical bus width. The
GPDMA packs or unpacks data as appropriate.

4.2.8 Endian behavior

The GPDMA can cope with both little-endian and big-endian addressing. You can set the
endianness of each AHB master individually.

Internally the GPDMA treats all data as a stream of bytes instead of 16 bit or 32 bit
quantities. This means that when performing mixed-endian activity, where the endianness
of the source and destination are different, byte swapping of the data within the 32 bit data
bus is observed.

Note: If you do not require byte swapping then avoid using different endianness between
the source and destination addresses.

Fig 145. GPDMA in the LPC24XX

GPDMA

EXTERNAL

MEMORY

EXTERNAL

MEMORY

CONTROLLER

AHB

MASTER

AHB

SLAVE

ARM7

AHB

BRIDGE

APB

BRIDGE

SSP0

SSP1

SD/MMC

I2S1

16 kB

SRAM

I2S0

AHB1

Advertising