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 />

9. Channel registers<br />

Table 528. Synchronization register (DMACSync - address 0xFFE0 4034) bit description<br />

Bit Symbol Description Reset<br />

Value<br />

15:0 DMACSync DMA synchronization logic for DMA request signals enabled or<br />

disabled. A LOW bit indicates that the synchronization logic for<br />

the DMACBREQ[15:0], DMACSREQ[15:0],<br />

DMACLBREQ[15:0], and DMACLSREQ[15:0] request signals<br />

is enabled. A HIGH bit indicates that the synchronization logic<br />

is disabled.<br />

0x0000<br />

31:16 - Reserved, user software should not write ones to reserved bits.<br />

The value read from a reserved bit is not defined.<br />

The channel registers are used to program the two DMA channels. These registers<br />

consist of:<br />

• Two DMACCxSrcAddr Registers<br />

• Two DMACCxDestAddr Registers<br />

• Two DMACCxLLI Registers<br />

• Two DMACCxControl Registers<br />

• Two DMACCxConfiguration Registers<br />

When performing scatter/gather DMA the first four registers are automatically updated.<br />

9.1 Channel Source Address Registers (DMACC0SrcAddr - 0xFFE0 4100<br />

and DMACC1SrcAddr - 0xFFE0 4120)<br />

The two read/write DMACCxSrcAddr Registers contain the current source address<br />

(byte-aligned) of the data to be transferred. Each register is programmed directly by<br />

software before the appropriate channel is enabled. When the DMA channel is enabled<br />

this register is updated:<br />

• As the source address is incremented.<br />

• By following the linked list when a complete packet of data has been transferred.<br />

Reading the register when the channel is active does not provide useful information. This<br />

is because by the time software has processed the value read, the channel might have<br />

progressed. It is intended to be read only when the channel has stopped, in which case it<br />

shows the source address of the last item read.<br />

Note: The source and destination addresses must be aligned to the source and<br />

destination widths.<br />

Table 28–529 shows the bit assignments of the DMACCxSrcAddr Registers.<br />

Table 529. Channel Source Address registers (DMACC0SrcAddr - address 0xFFE0 4100 and<br />

DMACC1SrcAddr - address 0xFFE0 4120) bit description<br />

Bit Symbol Description Reset Value<br />

31:0 SrcAddr DMA source address. 0x0000 0000<br />

NA<br />

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

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

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

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

Saved successfully!

Ooh no, something went wrong!