Datasheet
3.5.4Wakeup Frame DetectionSetting the Wakeup Frame Enable bit (WAKE_EN) in the
Before putting the MAC into the wakeup frame detection state, the Host application must provide the detection logic with a list of sample frames and their corresponding byte masks. This information is written into the Wakeup Frame Filter register (WUFF). Please refer to Section 4.4.11, "Wakeup Frame Filter (WUFF)," on page 132 for additional information on this register.
The MAC supports four programmable filters that support many different receive packet patterns. If remote wakeup mode is enabled, the remote wakeup function receives all frames addressed to the MAC. It then checks each frame against the enabled filter and recognizes the frame as a remote wakeup frame if it passes the wakeup frame filter register’s address filtering and CRC value match.
In order to determine which bytes of the frames should be checked by the CRC module, the MAC uses a programmable byte mask and a programmable pattern offset for each of the four supported filters.
The pattern’s offset defines the location of the first byte that should be checked in the frame. The byte mask is a
In order to load the Wakeup Frame Filter register, the LAN driver software must perform eight writes to the Wakeup Frame Filter register (WUFF). Table 3.14 shows the Wakeup Frame Filter register’s structure.
Note 3.1 Wakeup frame detection can be performed when LAN9420/LAN9420i is in any power state. Wakeup frame detection is enabled when the WUEN bit is set.
Note: When
Table 3.14 Wakeup Frame Filter Register Structure | |
|
|
Filter 0 | Byte Mask |
|
|
Filter 1 | Byte Mask |
|
|
Filter 2 | Byte Mask |
|
|
Filter 3 | Byte Mask |
Reserved | Filter 3 | Reserved | Filter 2 | Reserved | Filter 1 | Reserved | Filter 0 |
| Command |
| Command |
| Command |
| Command |
|
|
|
|
|
|
|
|
Filter 3 Offset | Filter 2 Offset | Filter 1Offset | Filter 0 Offset | ||||
|
|
|
|
|
|
|
|
| Filter 1 |
|
| Filter 0 |
| ||
|
|
|
|
|
| ||
| Filter 3 |
|
| Filter 2 |
| ||
|
|
|
|
|
|
|
|
SMSC LAN9420/LAN9420i | 57 | Revision 1.22 |
| DATASHEET |
|