| Electronic Components Datasheet Search |
|
LAN89730 Datasheet(PDF) 110 Page - Microchip Technology |
|
|
|||||||||||||||||||||||||||||
LAN89730 Datasheet(HTML) 110 Page - Microchip Technology |
|
110 / 218 page ![]() LAN89730 DS60001348A-page 110 2013-2015 Microchip Technology Inc. 4.12.2.4 Enabling External PHY Link Up Wake Events The host system must perform the following steps to enable the device to assert a remote_wake event on detection of PHY Link Up. 1. The system software determines that the link is down by periodically polling the Link Status bit of the Basic Status Register. Alternatively, the driver can detect assertion of the PHY_INT bit via the interrupt control Endpoint. The driver may also detect PHY interrupt assertion by polling the Interrupt Status Register (INT_STS). It then reads the Basic Status Register and finds the Link Status bit is deasserted. 2. On finding the link down, the host configures the device to wake up on PHY Link Up and signal the event using GPIO7 as follows: a) The PHY Link Up Enable (PHY_LINKUP_EN) bit is set in the General Purpose IO Wake Enable and Polarity Register (GPIO_WAKE) to enable GPIO7 use in signaling the PHY Link Up event. The GPIOWK7 bit is also set in the register to permit its use in wake event generation. The setting of GPIOPOL7 is a “don’t care”. b) The following additional parameters for GPIO7 must be configured in the General Purpose IO Configuration Register (GPIO_CFG): GPIOEN7 = 0, GPIODIR7 = 0, GPIOBUF7 = “don’t care”. 3. The GPIO7_INT bit in the Interrupt Status Register (INT_STS) must be cleared, since a set bit will cause the immediate assertion of the wake event. 4. The host places the device in the SUSPEND0 or SUSPEND3 state, as appropriate, by setting the Suspend Mode (SUSPEND_MODE) field in the Power Management Control Register (PMT_CTL) to 00b or 11b, to indicate the desired SUSPEND state. The host then sends suspend signaling. On detection of PHY Link Up, the device will transition back to the NORMAL state and signal a remote_wake event. The host, in trying to determine the cause of the wake event, may then examine the GPIO [10:0] (GPIOx_INT) status bits of the Interrupt Status Register (INT_STS). On finding GPIO7_INT set, the software will then use the Suspend Mode (SUS- PEND_MODE) field of the Power Management Control Register (PMT_CTL) and the value of the PHY Link Up Enable (PHY_LINKUP_EN) bit to determine a PHY Link Up wake event occurred. 4.12.2.5 Enabling Good Frame Wake Events The host system must perform the following steps to enable the device to assert a remote_wake event on detection of a Good Frame. 1. The MAC filtering is configured by setting the desired constraints in the MAC Control Register (MAC_CR). All Wake On LAN events contained in the Wakeup Control and Status Register (WUCSR) must be disabled. The setting of the Wake On LAN Enable (WOL_EN) bit of the Power Management Control Register (PMT_CTL) is a “don’t care”. 2. Bit 1 of the Wakeup Status (WUPS[1]) in the Power Management Control Register (PMT_CTL) must be cleared since a set bit will cause the immediate assertion of wake event. The WUPS[1] bit will not clear if the internal MAC wakeup event is asserted. 3. The host places the device in the SUSPEND3 state by setting the Suspend Mode (SUSPEND_MODE) field in the Power Management Control Register (PMT_CTL) to 11b, to indicate the desired SUSPEND state, then sends suspend signaling. On detection of a Good Frame, the device will transition back to the NORMAL state and signal a remote_wake event. The software will then examine the Suspend Mode (SUSPEND_MODE) field of the Power Management Control Reg- ister (PMT_CTL). Upon discovering wakeup occurred from SUSPEND3 state, the host may perform desired processing as a result of receiving the Good Frame. |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |