09.12.2012 Views

RM0090: Reference manual - STMicroelectronics

RM0090: Reference manual - STMicroelectronics

RM0090: Reference manual - STMicroelectronics

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>RM0090</strong> Ethernet (ETH): media access control (MAC) with DMA controller<br />

Bits 15:0 MACA1H: MAC address1 high [47:32]<br />

This field contains the upper 16 bits (47:32) of the 6-byte second MAC address.<br />

Ethernet MAC address1 low register (ETH_MACA1LR)<br />

Address offset: 0x004C<br />

Reset value: 0xFFFF FFFF<br />

The MAC address 1 low register holds the lower 32 bits of the 6-byte second MAC address<br />

of the station.<br />

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0<br />

MACA1L<br />

rw rw rw rw rw rw rw rw rw rw rw rw rw rw rw rw rw rw rw rw rw rw rw rw rw rw rw rw rw rw rw rw<br />

Bits 31:0 MACA1L: MAC address1 low [31:0]<br />

This field contains the lower 32 bits of the 6-byte MAC address1. The content of this field is<br />

undefined until loaded by the application after the initialization process.<br />

Ethernet MAC address 2 high register (ETH_MACA2HR)<br />

Address offset: 0x0050<br />

Reset value: 0x0000 FFFF<br />

The MAC address 2 high register holds the upper 16 bits of the 6-byte second MAC address<br />

of the station.<br />

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0<br />

AE SA MBC<br />

MACA2H<br />

Reserved<br />

rw rw rw rw rw rw rw rw rw rw rw rw rw rw rw rw rw rw rw rw rw rw rw rw<br />

Bit 31 AE: Address enable<br />

When this bit is set, the address filters use the MAC address2 for perfect filtering. When<br />

reset, the address filters ignore the address for filtering.<br />

Bit 30 SA: Source address<br />

When this bit is set, the MAC address 2 [47:0] is used for comparison with the SA fields of<br />

the received frame.<br />

When this bit is reset, the MAC address 2 [47:0] is used for comparison with the DA fields of<br />

the received frame.<br />

Bits 29:24 MBC: Mask byte control<br />

These bits are mask control bits for comparison of each of the MAC address2 bytes. When<br />

set high, the MAC core does not compare the corresponding byte of received DA/SA with the<br />

contents of the MAC address 2 registers. Each bit controls the masking of the bytes as<br />

follows:<br />

– Bit 29: ETH_MACA2HR [15:8]<br />

– Bit 28: ETH_MACA2HR [7:0]<br />

– Bit 27: ETH_MACA2LR [31:24]<br />

…<br />

– Bit 24: ETH_MACA2LR [7:0]<br />

Doc ID 018909 Rev 3 984/1416

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

Saved successfully!

Ooh no, something went wrong!