English
Language : 

SH7710 Datasheet, PDF (764/996 Pages) Renesas Technology Corp – Renesas 32-Bit RISC Microcomputer SuperHTM RISC engine Family / SH7700 Series
Section 18 Ethernet Controller (EtherC)
(1) Write to PHY interface
register
MMD = 0
MDC = 0
MDC
MDO
(1)
Independent bus release
timing relationship
Figure 18.9 (4) Independent Bus Release Flowchart (IDLE in Write in Figure 18.8)
18.4.7 Magic Packet Detection
The EtherC has a Magic Packet detection function. This function provides a Wake-On-LAN
(WOL) facility that activates various peripheral devices connected to a LAN from the host device
or other source. This makes it possible to construct a system in which a peripheral device receives
a Magic Packet sent from the host device or other source, and activates itself. When the Magic
Packet is detected, data is stored in the FIFO of the E-DMAC by the broadcast packet that has
received data previously and the EtherC is notified of the receiving status. To return to normal
operation from the interrupt processing, initialize the EtherC and E-DMAC by using ARST bit in
the software reset register (ARSTR).
With a Magic Packet, reception is performed regardless of the destination address. As a result, this
function is valid, and the WOL pin enabled, only in the case of a match with the destination
address specified by the format in the Magic Packet. Further information on Magic Packets can be
found in the technical documentation published by AMD Corporation.
The procedure for using the WOL function with this LSI is as follows.
1. Disable interrupt source output by means of the various interrupt enable/mask registers.
2. Set the Magic Packet detection enable bit (MPDE) in the EtherC mode register (ECMR).
3. Set the Magic Packet detection interrupt enable bit (MPDIP) in the EtherC interrupt enable
register (ECSIPR) to the enable setting.
4. If necessary, set the CPU operating mode to sleep mode or set peripheral modules to module
standby mode.
5. When a Magic Packet is detected, an interrupt is sent to the CPU. The WOL pin notifies
peripheral LSIs that the Magic Packet has been detected.
Rev. 2.00 Dec. 07, 2005 Page 722 of 950
REJ09B0079-0200