Download Print this page

Advertisement

Section 21 Ethernet Controller Direct Memory Access Controller (E-DMAC)

21.3

Operation

The E-DMAC is connected to the EtherC, and performs efficient transfer of transmit/receive data
between the EtherC and memory (buffers) without the intervention of the CPU. The E-DMAC
itself reads control information, including buffer pointers called descriptors, relating to the buffers.
The E-DMAC reads transmit data from the transmit buffer and writes receive data to the receive
buffer in accordance with this control information. By setting up a number of consecutive
descriptors (a descriptor list), it is possible to execute transmission and reception continuously.
21.3.1
Descriptor List and Data Buffers
Before starting transmission/reception, the communication program creates transmit and receive
descriptor lists in memory. The start addresses of these lists are then set in the transmit and receive
descriptor list start address registers.
The descriptor start address must be aligned so that it matches the address boundary according to
the descriptor length set by the E-DMAC mode register (EDMR). The transmit buffer start address
may be set on a byte, a word, and a longword boundary.
(1)
Transmit Descriptor
Figure 21.2 shows the relationship between a transmit descriptor and the transmit buffer.
According to the specification in this descriptor, the relationship between the transmit frame and
transmit buffer can be defined as one frame/one buffer or one frame/multi-buffer.
Rev. 1.00 Mar. 12, 2008 Page 816 of 1178
REJ09B0403-0100

Advertisement

loading

This manual is also suitable for:

R4f2472R4f2462H8s/2462H8s/2400 seriesH8s/2472