English
Language : 

LAN9116 Datasheet, PDF (29/109 Pages) SMSC Corporation – Highly Efficient Single-Chip 10/100 Non-PCI Ethernet Controller
LAN9116
(see Section 3.5, "Wake-up Frame Detection," on page 19). If used, the host interrupt and PME signal
must be enabled prior to entering the D1 state.
A write to the BYTE_TEST register, regardless of whether a wake-up frame or Magic Packet was detected, will return
LAN9116 to the D0 state and will reset the PM_MODE field to the D0 state. As noted above, the host is required to check
the READY bit and verify that it is set before attempting any other reads or writes of the device.
Note 3-8 The host must do only read accesses prior to the ready bit being set.
Once the READY bit is set, the LAN9116 is ready to resume normal operation. At this time the WUPS field can be
cleared.
3.10.2.2 D2 Sleep
In this state, as shown in Table 3-9, all clocks to the MAC and host bus are disabled, and the PHY is placed in a reduced
power state. To enter this state, the EDPWRDOWN bit in register 17 of the PHY (Mode Control/Status register) must be
set. This places the PHY in the Energy Detect mode. The PM_MODE bits in the PMT_CTRL register must then be set
to 10b. Upon setting the PM_MODE bits, the LAN9116 will enter the D2 sleep state. The READY bit in PMT_CTRL is
cleared when entering the D2 state.
Note 3-9 If carrier is present when this state is entered detection will occur immediately.
If properly enabled via the ED_EN and PME_EN bits, LAN9116 will assert the PME hardware signal upon detection of
a valid carrier. Upon detection, the WUPS field in PMT_CTRL will be set to a 01b.
Note 3-10 The PME interrupt status bit on the INT_STS register (PME_INT) is set regardless of the setting of
PME_EN.
A write to the BYTE_TEST register, regardless of whether a carrier was detected, will return LAN9116 to the D0 state
and will reset the PM_MODE field to the D0 state. As noted above, the host is required to check the READY bit and
verify that it is set before attempting any other reads or writes of the device. Before LAN9116 is fully awake from this
state the EDPWRDOWN bit in register 17 of the PHY must be cleared in order to wake the PHY. Do not attempt to clear
the EDPWRDOWN bit until the READY bit is set. After clearing the EDPWRDOWN bit the LAN9116 is ready to resume
normal operation. At this time the WUPS field can be cleared.
TABLE 3-9: POWER MANAGEMENT STATES
Device Block
D0
(Normal Operation)
D1
(WOL)
PHY
MAC Power
Management
Full ON
Full ON
Full ON
RX Power Mgmt. Block On
MAC and Host Interface
Internal Clock
Full ON
Full ON
OFF
Full ON
D2
(Energy Detect)
Energy Detect Power-Down
OFF
OFF
OFF
Key
CLOCK ON
BLOCK DISABLED – CLOCK ON
FULL OFF
3.10.2.3 Power Management Event Indicators
Figure 3-11 is a simplified block diagram of the logic that controls the external PME, and internal pme_interrupt signals.
The pme_interrupt signal is used to set the PME_INT status bit in the INT_STS register, which, if enabled, will generate
a host interrupt upon detection of a power management event. The PME_INT status bit in INT_STS will remain set until
the internal pme_interrupt signal is cleared by clearing the WUPS bits, or by clearing the corresponding WOL_EN or
ED_EN bit. After clearing the internal pme_interrupt signal, the PME_INT status bit may be cleared by writing a ‘1’ to
this bit in the INT_STS register. It should be noted that the LAN9116 can generate a host interrupt regardless of the state
of the PME_EN bit, or the external PME signal.
 2005-2016 Microchip Technology Inc.
DS00002268A-page 29