If Secure-ON is enabled on a DP83822, seeing the target MAC repeated in a packet capture is not enough. TI specifies a six-byte synchronization stream and sixteen uninterrupted repetitions of the local MAC. With Secure-ON enabled, the matching six-byte value must immediately follow. A wrong value or placement can stop the PHY from recognizing the frame. On a board with a 25 MHz KDS crystal, first separate rejection at the PHY from a valid wake event that never reaches the sleeping host.
Read the PHY receive status instead of inferring it from host logs
Save the packet capture and the PHY Receive Status register, RXFS. TI provides distinct status bits for a Secure-ON mismatch, bad CRC and valid Magic Packet detection. A mismatch points first to the actual byte order and placement on an isolated test network, not to the reference crystal or the GPIO trigger. If the PHY reports a bad CRC, check the receive path and frame integrity. Some capture adapters do not retain the original FCS, so no FCS displayed in a trace is not evidence that it was correct. A valid wake status without a host wake instead calls for checking notification routing, polarity and the host's sleep configuration.
Change one field at a time
On an authorized bench, send a test frame that matches the configuration, then a control frame with only the matching value changed and the rest of the format held constant. Record RXFS, the notification pin and the host wake time for each. Handle read-to-clear flags as specified so background polling does not erase the evidence. Secure-ON is an in-frame match, not cryptographic authentication. If neither frame arrives, diagnose delivery and link. If only the correctly configured frame registers as valid but the host remains asleep, repair the notification path. Keep the clock unchanged unless independent measurements identify a reference fault.
Related selection guide: MERLIN Crystal Timing: DP83822 with a 25 MHz crystal links up but passes no traffic: where is the 50 MHz RMII clock?
Resource link: https://www.mecxtal.com.cn/en/handbook/new-0826.html
