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 />

Received frames are considered “good” if none of the following errors exists:<br />

+ CRC error<br />

+ Runt Frame (shorter than 64 bytes)<br />

+ Alignment error (in 10/ 100 Mbit/s only)<br />

+ Length error (non-Type frames only)<br />

+ Out of Range (non-Type frames only, longer than maximum size)<br />

+ MII_RXER Input error<br />

The maximum frame size depends on the frame type, as follows:<br />

+ Untagged frame maxsize = 1518<br />

+ VLAN Frame maxsize = 1522<br />

29.5.8 Power management: PMT<br />

This section describes the power management (PMT) mechanisms supported by the MAC.<br />

PMT supports the reception of network (remote) wakeup frames and Magic Packet frames.<br />

PMT generates interrupts for wakeup frames and Magic Packets received by the MAC. The<br />

PMT block is enabled with remote wakeup frame enable and Magic Packet enable. These<br />

enable bits (WFE and MPE) are in the ETH_MACPMTCSR register and are programmed by<br />

the application. When the power down mode is enabled in the PMT, then all received frames<br />

are dropped by the MAC and they are not forwarded to the application. The MAC comes out<br />

of the power down mode only when either a Magic Packet or a Remote wakeup frame is<br />

received and the corresponding detection is enabled.<br />

Remote wakeup frame filter register<br />

There are eight wakeup frame filter registers. To write on each of them, load the wakeup<br />

frame filter register value by value. The wanted values of the wakeup frame filter are loaded<br />

by sequentially loading eight times the wakeup frame filter register. The read operation is<br />

identical to the write operation. To read the eight values, you have to read eight times the<br />

wakeup frame filter register to reach the last register. Each read/write points the wakeup<br />

frame filter register to the next filter register.<br />

931/1416 Doc ID 018909 Rev 3

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

Saved successfully!

Ooh no, something went wrong!