Programming Model
8-48
ADSP-BF537 Blackfin Processor Hardware Reference
• The wakeup frame events are controlled through the
EMAC_WKUP_CTL
register.
• The TX DMA direction error detected and RX DMA direction
error detected interrupts are non-maskable. Therefore, an interrupt
service routine to handle them should always be installed.
• The station management transfer done interrupt is enabled
through the
STAIE
bit of the
EMAC_STAADD
register.
The DMA MAC receive and DMA MAC transmit functions are initial-
ized to the DMA1 and DMA2 channels by default. The interrupts for the
channels corresponding to the Ethernet MAC transfers should be
unmasked and a corresponding ISR should be installed if a polling tech-
nique is not used.
Configure MAC Registers
After the interrupts are set up correctly, the MAC address registers and the
MII protocol must be initialized.
MAC Address
Set the MAC address by writing to the
EMAC_ADDRHI
and
EMAC_ADDRLO
reg-
isters. Since the MAC address is a unique number, it is usually stored in a
non-volatile memory like a flash device. In this way, every system using
the Blackfin MAC peripheral can be easily programmed with a different
MAC address during mass production.
MII Station Management
The following procedure should be used to set up the MII communica-
tions protocol with the external PHY device.
Summary of Contents for Blackfin ADSP-BF537
Page 42: ...Contents xlii ADSP BF537 Blackfin Processor Hardware Reference ...
Page 90: ...Development Tools 1 32 ADSP BF537 Blackfin Processor Hardware Reference ...
Page 138: ...Programming Examples 4 26 ADSP BF537 Blackfin Processor Hardware Reference ...
Page 340: ...SDC Programming Examples 6 84 ADSP BF537 Blackfin Processor Hardware Reference ...
Page 606: ...Programming Examples 9 94 ADSP BF537 Blackfin Processor Hardware Reference ...
Page 660: ...Programming Examples 10 54 ADSP BF537 Blackfin Processor Hardware Reference ...
Page 720: ...Electrical Specifications 11 60 ADSP BF537 Blackfin Processor Hardware Reference ...
Page 840: ...Programming Examples 13 42 ADSP BF537 Blackfin Processor Hardware Reference ...
Page 876: ...Programming Examples 14 36 ADSP BF537 Blackfin Processor Hardware Reference ...
Page 938: ...Programming Examples 15 62 ADSP BF537 Blackfin Processor Hardware Reference ...
Page 958: ...Programming Examples 17 12 ADSP BF537 Blackfin Processor Hardware Reference ...
Page 986: ...Programming Examples 18 28 ADSP BF537 Blackfin Processor Hardware Reference ...
Page 1162: ...G 26 ADSP BF537 Blackfin Processor Hardware Reference ...
Page 1218: ...Index I 56 ADSP BF537 Blackfin Processor Hardware Reference ...