beautypg.com

Ppalloc – Cirrus Logic EP93xx User Manual

Page 417

background image

DS785UM1

10-23

Copyright 2007 Cirrus Logic

DMA Controller

EP93xx User’s Guide

1

0

1

0

10

ABORT:

This bit determines how the DMA Channel State machine
behaves while in the NEXT state and in receipt of a
peripheral error, indicated on RxEnd/TxEnd. This bit is
ignored when ICE is set.
0 - NEXT -> ON state, effectively ignoring the error.
1 - NEXT -> STALL state, effectively disabling the channel.
No STALLInt interrupt is set for this condition.

ICE:

Ignore Channel Error bit. Setting this bit results in
suppression of the generation of the ChErrorInt interrupt
and does not result in buffer termination. This bit may be
set for data streams whereby the end user is tolerant to
occasional bit errors.

PPALLOC

Address:

Channel Base Address + 0x0008 - Read/Write

Definition:

This is the Peripheral Port Allocation register used to configure the internal
M2P channel programmability. It is possible to program a channels use on one
of a number of different peripherals.

There can be 20 external peripherals - 10 Tx and 10 Rx - connected to the 20
“ports” of the DMA. The 10 internal M2P DMA channels can serve 10 of these
ports at one time.

Bit Descriptions:

RSVD:

Reserved. Unknown During Read.

Note: PPALLOC:

Table 10-5

,

Table 10-6

, and

Table 10-7

give the PPALLOC decode for the port

allocation for both a transmit channel and a receive channel.

Two channels cannot be programmed to serve the same port since, in the case of an
erroneous software write operation, the lower channel number is given priority. For
example, if software writes the value 0x01 to Channel 0 Tx PPALLOC[3:0], and also writes
this same value to Channel 2 Tx PPALLOC[3:0], then the Channel 0 Tx will be configured
for Port 0 and Channel 2 will not function correctly.

The PPALLOC register must be written to before a channel is enabled. If this is not done,
then the default allocation of the ports will be used.

31

30

29

28

27

26

25

24

23

22

21

20

19

18

17

16

RSVD

15

14

13

12

11

10

9

8

7

6

5

4

3

2

1

0

RSVD

PPALLOC