30.01.2015 Views

UM10211 - Standard ICs

UM10211 - Standard ICs

UM10211 - Standard ICs

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

NXP Semiconductors<br />

<strong>UM10211</strong><br />

Chapter 28: LPC2300 GPDMA<br />

Table 535. Protection bits<br />

DMACC1Control<br />

Bit<br />

Value Description Reset<br />

Value<br />

30 Cacheable or not cacheable. This indicates that the access is<br />

cacheable. This bit can, for example, be used to indicate to an<br />

AMBA bridge that when it saw the first read of a burst of eight it<br />

can transfer the whole burst of eight reads on the destination<br />

bus, rather than pass the transactions through one at a time.<br />

This bit controls the AHB HPROT[3] signal.<br />

Indicates that the access is cacheable or not cacheable:<br />

0 Not cacheable.<br />

1 Cacheable.<br />

0<br />

9.6 Channel Configuration Registers (DMACC0Configuration -<br />

0xFFE0 4110 and DMACC1Configuration - 0xFFE0 4130)<br />

The two DMACCxConfiguration Registers are read/write with the exception of bit[17]<br />

which is read-only. Used these to configure the DMA channel. The registers are not<br />

updated when a new LLI is requested. Table 28–536 shows the bit assignments of the<br />

DMACCxConfiguration Register.<br />

Table 536. Channel Configuration registers (DMACC0Configuration - address 0xFFE0 4110 and<br />

DMACC1Configuration - address 0xFFE0 4130) bit description<br />

Bit Symbol Value Description Reset<br />

Value<br />

0 E The Channel Enable bit status can also be found by reading the DMACEnbldChns<br />

Register.<br />

A channel is enabled by setting this bit.<br />

A channel can be disabled by clearing the Enable bit. This causes the current AHB<br />

transfer (if one is in progress) to complete and the channel is then disabled. Any<br />

data in the FIFO of the relevant channel is lost. Restarting the channel by setting the<br />

Channel Enable bit has unpredictable effects and the channel must be fully<br />

re-initialized.<br />

The channel is also disabled, and Channel Enable bit cleared, when the last LLI is<br />

reached or if a channel error is encountered.<br />

If a channel has to be disabled without losing data in the FIFO the Halt bit must be<br />

set so that further DMA requests are ignored. The Active bit must then be polled<br />

until it reaches 0, indicating that there is no data left in the FIFO. Finally the Channel<br />

Enable bit can be cleared.<br />

Channel enable -- reading this bit indicates whether a channel is currently enabled<br />

or disabled:<br />

0<br />

0 Channel disabled.<br />

1 Channel enabled.<br />

<strong>UM10211</strong>_1<br />

© NXP B.V. 2007. All rights reserved.<br />

User manual Rev. 01 — 27 March 2007 554 of 613

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!