
ASIX ELECTRONICS CORPORATION
26
AX88196BLF
.
For Example.
A Ping packet is configured as a Wakeup frame and AX88196B MAC address is 00 A0 0C C4 7D 69.
00 A0 0C C4 7D 69 00 0E C6 12 34 56
08 00 45
00
00 3C 01 8C 00 00 80
01
27 1E C0 09 C9 02 C0 09
C9 01
08
00 47 5C 05 00 01 00 61 62 63 64 65 66
67 68 69 6A 6B 6C 6D 6E 6F 70 71 72 73 74 75 76
77 61 62 63 64 65 66 67 68 69 CRC (4 bytes)
Host configure Wakeup frame registers sequences
// Go to gape3
Write CR(Offset 0h) C2h
// Set Byte Mask 0 = 00 40 08 07
Write WFBM0 (Page3, Offset 01H) 07h
Write WFBM0 (Page3, Offset 01H) 08h
Write WFBM0 (Page3, Offset 01H) 40h
Write WFBM0 (Page3, Offset 01H) 00h
// Set {Wakeup Frame 1 CRC, Wakeup Frame 0 CRC} = 00 00
2B 42
h
Write WF10CRC (Offset 05H) 42h
Write WF10CRC (Offset 05H) 2Bh
Write WF10CRC (Offset 05H) 00h
Write WF10CRC (Offset 05H) 00h
// Set {Offset 3 2 1 0} = 00 00 00 06h
Write WFOFST (Offset 07H) 06h
Write WFOFST (Offset 07H) 00h
Write WFOFST (Offset 07H) 00h
Write WFOFST (Offset 07H) 00h
// Set {Last Byte 3 2 1 0} = 00 00 00 08h
Write WFLB (Page3, Offset 08H) 08h
Write WFLB (Page3, Offset 08H) 00h
Write WFLB (Page3, Offset 08H) 00h
Write WFLB (Page3, Offset 08H) 00h
// Set {Cascade, Command 3 2 1 0} = 00 00 00 03h
Write WFCMD (Offset 09H) 03h
Write WFCMD (Offset 09H) 00h
Write WFCMD (Offset 09H) 00h
Write WFCMD (Offset 09H) 00h
match is required)
// Set PME and IRQ pin I/O Buffer Type (Please Ref. Datasheet Offset 15 descriptions)
Write BTCR (Offset 15H)
// Host enables wakeup frame detection then enter D1 sleep
Write WUCSR (Page3, Offset 0AH) 02h
Write PMR (Offset 0BH) 01h
4.3.2 Magic Packet frame
AX88196B checks frame for 16 repetitions of the MAC address without any breaks or interruptions. The 16
repetitions may be anywhere in the frame but must be preceded by the synchronization stream
48’hFF_FF_FF_FF_FF_FF pattern. If the MAC address of a node is 00h 11h 22h 33h 44h 55h, then AX88196B
scans for the following data sequence in an Ethernet frame.
Destination Address (6 byte) Source Address (6 byte) . . . . . . . . . FF FF FF FF FF FF
00 11 22 33 44 55 00 11 22 33 44 55 00 11 22 33 44 55 00 11 22 33 44 55
00 11 22 33 44 55 00 11 22 33 44 55 00 11 22 33 44 55 00 11 22 33 44 55
00 11 22 33 44 55 00 11 22 33 44 55 00 11 22 33 44 55 00 11 22 33 44 55
00 11 22 33 44 55 00 11 22 33 44 55 00 11 22 33 44 55 00 11 22 33 44 55
. . . . . . . . . CRC (4 byte)
; page3
; WFBM0 =
07
00 00 00h
; WFBM0 =
08 07
00 00h
; WFBM0 =
40 08 07
00h
; WFBM0 =
00 40 08 07
h
; WF10CRC =
42
00 00 00h
; WF10CRC =
2B 42
00 00h
; WF10CRC =
00 2B 42
00h
; WF10CRC =
00 00 2B 42
h
; WFOFST =
06
00 00 00h
; WFOFST =
00 06
00 00h
; WFOFST =
00 00 06
00h
; WFOFST =
00 00 00 06
h
(Offset = 6*2 = 12)
; {Last Byte 3 2 1 0} =
08
00 00 00h
; {Last Byte 3 2 1 0} =
00 08
00 00h
; {Last Byte 3 2 1 0} =
00 00 08
00h
; {Last Byte 3 2 1 0} =
00 00 00 08
h
; WFCMD =
03
00 00 00h
; WFCMD =
00 03
00 00h
; WFCMD =
00 00 03
00h
; WFCMD =
00 00 00 03
h (enabled wake-up frame filter 0, and DA
;
; (Wakeup frame enable)
; (Enter D1 Sleep mode)