7 byte transfer order, Byte[0, Byte[1 – Intel PXA26X User Manual

Page 168: Byte[2, Byte[3, Figure 5-5. little endian transfers

Advertising
background image

5-10

Intel® PXA26x Processor Family Developer’s Manual

Direct Memory Access Controller

5.1.7

Byte Transfer Order

The DCMD[ENDIAN] bit indicates the byte ordering in a word when data is read from or written
to memory. Refer to

Figure 5-5 on page 5-10

for details. The DCMD[ENDIAN} bit must be set to

0, which is little endian transfers.

Figure 5-5, “Little Endian Transfers” on page 5-10

shows the order which data is transferred as

determined by the DCMD[ENDIAN] and DCMD[SIZE] bits.

If data is being transferred from an internal device to memory, DCMD[ENDIAN] is set to a 0, and
DCMD[SIZE] is set to a 1, the memory receives the data in this order:

1. Byte[0]

2. Byte[1]

3. Byte[2]

4. Byte[3]

Figure 5-5. Little Endian Transfers

D[31]

D[0]

from memory

3

2

1

0

DMAC

From

To

To

From

3

2

1

0

3

2

1

0

1

0

1

0

3

2

3

2

Half-Word Wide

Device

Byte Wide

Device

Little Endian DMA Transfers

3

2

1

0

To/From

Word Wide

Device

Advertising