English
Language : 

LAN9500 Datasheet, PDF (106/213 Pages) SMSC Corporation – USB 2.0 to 10/100 Ethernet Controller Promiscuous mode
LAN950x
Note 5-7 Supported only by LAN9500A/LAN9500Ai.
Note 1: Wake-on-LAN events resulting in the generation of a remote-wake event may only occur when in SUS-
PEND0 state.
2: Energy Detect events resulting in the generation of a remote-wake event may only occur when in SUS-
PEND1 state.
Wakeup Frame detection must be enabled in the MAC before detection can occur. Likewise, the energy detect interrupt
must be enabled in the PHY before this interrupt can be used as a wake event. If the device is properly configured, the
internal wake event interrupt will cause the assertion of the remote_wake signal on detection of a wake event.
5.12.1.3.2
Good Frame Detection (LAN9500A/LAN9500Ai ONLY)
To wakeup on reception of a frame passing the filtering constraints set solely by the MAC Control Register (MAC_CR),
the enables for all Wake-On-LAN events contained in the Wakeup Control and Status Register (WUCSR) must be
cleared and the desired constraints must be selected in MAC_CR. The setting of the Wake-On-Lan Enable (WOL_EN)
bit of the Power Management Control Register (PMT_CTL) is a “don’t care”. The logic will generate an internal wake
event interrupt when the MAC detects a frame passing the filtering constraints (“Good Frame”). The Wake-On-LAN bit
of the Wakeup Status (WUPS) field of the Power Management Control Register (PMT_CTL) is used to signal wakeup
due to reception of the “Good Frame”.
Note: “Good Frame” reception resulting in the generation of a remote-wake event may only occur when in the
SUSPEND3 state.
5.12.1.3.3
GPIO Pin
GPIO pins 0 through 10 may cause the generation of a remote-wake event when properly configured and in any of the
SUSPEND states. GPIO pins 0 through 7 each have a control bit (GPIOENx, 0<=x<=7) in the General Purpose IO Con-
figuration Register (GPIO_CFG) that is used to enable the GPIO pin to generate a remote-wake event. GPIO pins 8
through 10 have no specific enable bit. The corresponding enable signal for these pins (GPIOENy, 8<=y<=10) is derived
from the manner in which the pin is programmed. Ten GPIO wakeup status bits (GPIOWKy, 8<=y<=10) are available to
determine the source of the event.
5.12.1.3.4
PHY Link Up (LAN9500A/LAN9500Ai ONLY)
GPIO7 may be programmed to signal a wakeup in SUSPEND0 or SUSPEND3 state on occurrence of a PHY Link Up.
The PHY Link Up Enable (PHY_LINKUP_EN) bit of the General Purpose IO Wake Enable and Polarity Register (GPI-
O_WAKE) must be set to use GPIO7 for this purpose. When used in this mode, the signal connected to the device’s pin
is ignored.
5.12.2 ENABLING WAKE EVENTS
5.12.2.1 Enabling GPIO Wake Events
The Host system must perform the following steps to enable the device to assert a remote_wake event on detection of
a GPIO wake event.
1. The GPIO pin is programmed to facilitate generation of the wake event. If the pin is one of GPIO0 through GPIO7,
the pin must be enabled to generate the event (GPIOENx must be clear in the General Purpose IO Configuration
Register (GPIO_CFG)). If the pin is one of GPIO8 through GPIO10, the pin must be programmed as a input GPIO
pin (the GPCTL and GPDIR fields for the pin in the LED General Purpose IO Configuration Register (LED_GPI-
O_CFG) must be set to 00b and 0, respectively). In addition, the pin must be enabled for wakeup and its desired
polarity specified in the GPIO Wake 0-10 (GPIOWKn) and GPIO Polarity 0-10 (GPIOPOLn) fields, respectively,
of the General Purpose IO Wake Enable and Polarity Register (GPIO_WAKE).
2. The Host places the device in the any one of the SUSPEND states by setting the Suspend Mode (SUSPEND_-
MODE) field of the Power Management Control Register (PMT_CTL) to indicate the desired suspend state, then
sends suspend signaling.
On detection of an enabled GPIO wake event, the device will transition back to the NORMAL state and signal a
remote_wake event. The Host may then examine the GPIO [10:0] (GPIOx_INT) status bits of the Interrupt Status Reg-
ister (INT_STS) to determine the source of the wakeup.
DS00001875A-page 106
 2010 - 2015 Microchip Technology Inc.