
. . . . .
I / O H U B M O D U L E
DMA controller
www.digiembedded.com
365
Buffer descriptors
The peripheral buffer data is held in buffers in external memory, linked together
using buffer descriptors. The buffer descriptors are 16 bytes in length and are
located contiguously in external memory.
This is the format of the buffer descriptor:
Source address
[pointer]
The source address pointer points to the start of the buffer in system memory.
For transmit channels, the address can start on any byte boundary.
For receive channels, the address must be a 32-bit word aligned.
Buffer length
The buffer length is the length of the buffer in bytes, and allows a buffer size of up to
64k–1 bytes to be in a single buffer. Bits 31:16 are not used.
For receive channels, the buffer length field is updated with the actual number of
bytes written to memory, as the peripheral has the ability to close the buffer early.
Control[15] – W
The Wrap (W) bit, when set, tells the DMA controller that this is the last buffer
descriptor within the continuous list of descriptors. The next descriptor is found using
the initial DMA channel buffer descriptor pointer. When the W bit is not set, the next
buffer descriptor is found using the 16-byte offset.
Control[14] – I
The Interrupt (I) bit, when set, tells the DMA controller to issue an interrupt when the
buffer is closed due to normal channel completion.
Control[13] – L
This is the Last (L) bit.
For transmit channels, firmware sets the L bit when the current buffer is the
last in the packet.
For receive channels. hardware sets the L bit when the current buffer is closed
by status bits received from the peripheral device. Status bits can include
conditions such as a character gap timeout, character match, or error
condition.
Control[12] – F
This is the Full (F) bit.
Address
Description
0
Source address
4
Reserved
Buffer length
8
Reserved
C
Control
Status
Summary of Contents for NS9215
Page 1: ...NS9215 Hardware Reference 90000847_C Release date 10 April 2008...
Page 3: ......
Page 4: ......
Page 26: ...26 Hardware Reference NS9215...
Page 44: ...P I N O U T 26 5 System clock 44 Hardware Reference NS9215 System clock drawing...
Page 52: ...P I N O U T 26 5 Power and ground 52 Hardware Reference NS9215...
Page 80: ...I O C O N T ROL M O D U L E Memory Bus Configuration register 80 Hardware Reference NS9215...
Page 136: ...WOR KI N G W I TH T H E C P U Noncachable instruction fetches 136 Hardware Reference NS9215...
Page 202: ...S Y S T E M C O N T RO L M OD U L E RTC Module Control register 202 Hardware Reference NS9215...
Page 354: ...E X T E R N A L D M A DMA Peripheral Chip Select register 354 Hardware Reference NS9215...
Page 472: ...R E A L TI M E C L O C K M O D U L E General Status register 472 Hardware Reference NS9215...
Page 512: ...TI M I NG Clock timing 512 Hardware Reference NS9215...
Page 515: ...PA CKA GING Processor Dimensions www digiembedded com 515...
Page 516: ...PA CKA GING Processor Dimensions 516 Hardware Reference NS9215...