![Analog Devices Blackfin ADSP-BF537 Скачать руководство пользователя страница 431](http://html.mh-extra.com/html/analog-devices/blackfin-adsp-bf537/blackfin-adsp-bf537_hardware-reference-manual_2939700431.webp)
ADSP-BF537 Blackfin Processor Hardware Reference
8-51
Ethernet MAC
Receiving Data
In order to receive data, memory buffers must be allocated to construct a
queue of DMA data and status descriptors. If the
RXDWA
bit in
EMAC_SYSCTL
is 0, then the first item in the receive frame header is the destination MAC
address. If the
RXDWA
bit in
EMAC_SYSCTL
is 1, then the first 16-bit word is
all-zero to pad the frame, and the second item is the destination MAC
address. The DMA engine is then configured through the
DMA_CONFIG
reg-
ister. After the DMA is set up, the MAC receive functionality is enabled
by setting the
RE
bit in
EMAC_OPMODE
. Completion can be signaled by inter-
rupts or by polling the DMA status registers.
Transmitting Data
To transmit data, memory buffers must be allocated to construct a queue
of DMA data and status descriptors. The first 16-bit word of the data
buffers is written to signify the number of bytes in the frame. The DMA
engine is then configured through the
DMA_CONFIG
register. After the DMA
is set up, the MAC transmit functionality is enabled by setting the
TE
bit
in
EMAC_OPMODE
. Completion can be signaled by interrupts or by polling
the DMA status registers.
Ethernet MAC Register Definitions
The MAC register set is broken up into three groups corresponding to the
peripheral’s major system blocks:
• Control-status register group (MAC block)
• System interface register group (SIF block)
• MAC management counter register group (MMC block)
Содержание Blackfin ADSP-BF537
Страница 42: ...Contents xlii ADSP BF537 Blackfin Processor Hardware Reference ...
Страница 90: ...Development Tools 1 32 ADSP BF537 Blackfin Processor Hardware Reference ...
Страница 138: ...Programming Examples 4 26 ADSP BF537 Blackfin Processor Hardware Reference ...
Страница 340: ...SDC Programming Examples 6 84 ADSP BF537 Blackfin Processor Hardware Reference ...
Страница 606: ...Programming Examples 9 94 ADSP BF537 Blackfin Processor Hardware Reference ...
Страница 660: ...Programming Examples 10 54 ADSP BF537 Blackfin Processor Hardware Reference ...
Страница 720: ...Electrical Specifications 11 60 ADSP BF537 Blackfin Processor Hardware Reference ...
Страница 840: ...Programming Examples 13 42 ADSP BF537 Blackfin Processor Hardware Reference ...
Страница 876: ...Programming Examples 14 36 ADSP BF537 Blackfin Processor Hardware Reference ...
Страница 938: ...Programming Examples 15 62 ADSP BF537 Blackfin Processor Hardware Reference ...
Страница 958: ...Programming Examples 17 12 ADSP BF537 Blackfin Processor Hardware Reference ...
Страница 986: ...Programming Examples 18 28 ADSP BF537 Blackfin Processor Hardware Reference ...
Страница 1162: ...G 26 ADSP BF537 Blackfin Processor Hardware Reference ...
Страница 1218: ...Index I 56 ADSP BF537 Blackfin Processor Hardware Reference ...