09.12.2012 Views

RM0090: Reference manual - STMicroelectronics

RM0090: Reference manual - STMicroelectronics

RM0090: Reference manual - STMicroelectronics

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

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

Bits 31:17 Reserved, must be kept at reset value.<br />

Bit 16 VLANTC: 12-bit VLAN tag comparison<br />

When this bit is set, a 12-bit VLAN identifier, rather than the complete 16-bit VLAN tag, is<br />

used for comparison and filtering. Bits[11:0] of the VLAN tag are compared with the<br />

corresponding field in the received VLAN-tagged frame.<br />

When this bit is reset, all 16 bits of the received VLAN frame’s fifteenth and sixteenth bytes<br />

are used for comparison.<br />

Bits 15:0 VLANTI: VLAN tag identifier (for receive frames)<br />

This contains the 802.1Q VLAN tag to identify VLAN frames, and is compared to the fifteenth<br />

and sixteenth bytes of the frames being received for VLAN frames. Bits[15:13] are the user<br />

priority, Bit[12] is the canonical format indicator (CFI) and bits[11:0] are the VLAN tag’s VLAN<br />

identifier (VID) field. When the VLANTC bit is set, only the VID (bits[11:0]) is used for<br />

comparison.<br />

If VLANTI (VLANTI[11:0] if VLANTC is set) is all zeros, the MAC does not check the fifteenth<br />

and sixteenth bytes for VLAN tag comparison, and declares all frames with a Type field value<br />

of 0x8100 as VLAN frames.<br />

Ethernet MAC remote wakeup frame filter register (ETH_MACRWUFFR)<br />

Address offset: 0x0028<br />

Reset value: 0x0000 0000<br />

This is the address through which the remote wakeup frame filter registers are written/read<br />

by the application. The Wakeup frame filter register is actually a pointer to eight (not<br />

transparent) such wakeup frame filter registers. Eight sequential write operations to this<br />

address with the offset (0x0028) will write all wakeup frame filter registers. Eight sequential<br />

read operations from this address with the offset (0x0028) will read all wakeup frame filter<br />

registers. This register contains the higher 16 bits of the 7th MAC address. Refer to Remote<br />

wakeup frame filter register section for additional information.<br />

Figure 355. Ethernet MAC remote wakeup frame filter register (ETH_MACRWUFFR)<br />

Wakeup frame filter reg0<br />

Wakeup frame filter reg1<br />

Wakeup frame filter reg2<br />

Wakeup frame filter reg3<br />

Wakeup frame filter reg4<br />

Wakeup frame filter reg5<br />

Wakeup frame filter reg6<br />

Wakeup frame filter reg7<br />

RSVD<br />

Filter 3<br />

Command<br />

RSVD<br />

977/1416 Doc ID 018909 Rev 3<br />

Filter 0 Byte Mask<br />

Filter 1 Byte Mask<br />

Filter 2 Byte Mask<br />

Filter 3 Byte Mask<br />

Filter 2<br />

Command<br />

RSVD<br />

Filter 1<br />

Command<br />

RSVD<br />

Filter 0<br />

Command<br />

Filter 3 Offset Filter 2 Offset Filter 1 Offset Filter 0 Offset<br />

Filter 1 CRC - 16 Filter 0 CRC - 16<br />

Filter 3 CRC - 16 Filter 2 CRC - 16<br />

ai15648

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

Saved successfully!

Ooh no, something went wrong!