This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

WL1835MOD: WoWLAN randomly stops working

Part Number: WL1835MOD

Hello support team,

we managed WoWLAN to be working quite well on our custom board but time to time device cannot be waken up.

We are able to reproduce given issue on beaglebone black wireless board as well.

I installed TI SDK 06.03.00.106 and executed on the wireless board

root@am335x-evm:~# uname -a
Linux am335x-evm 4.19.94-gbe5389fd85 #1 PREEMPT Sun Apr 19 03:43:09 UTC 2020 armv7l GNU/Linux

When I connect to wifi and configure wowlan I am able to put device to sleep state

echo standby > /sys/power/state


Most of the time I am able to wake up with magic packet but sometimes it happens that device stucks in sleep mode (I am actually able to wakeup via console).

I did small test that device goes repeatedly to sleep state and I permanently send magic packet from my computer. After some times this cycle is broken and board remains in sleep state. (It can take couple of minutes).

I have noticed one strange thing. Normally board ha a consumption of 37mA @5V during sleep state but when it hangs in sleep state it consumes 127mA @5V. It seems to me that there is some race condition in the firmware when it goes to low power sleep mode.

This script runs on the board:

#! /bin/sh

while true
do
    sleep 1
     echo standby > /sys/power/state
done

This script runs on a host pc:

while true
do
    sleep 0.5
     wakeonlan -i 192.168.100.14 38:D2:69:D4:16:37
done

This is how the wowlan is configured:

root@am335x-evm:~# iw phy0 wowlan show
WoWLAN is enabled:
 * wake up on packet offset: 0 pattern: 38:d2:69:d4:16:37:--:--:--:--:--:--:08:00:45:--:--:--:--:--:--:--:--:11:--:--:--:--:--:--:c0:a8:64:0e:--:--:00:09:--:--:--:--:ff:ff:ff:ff:ff:ff:38:d2:69:d4:16:37:38:d2:69:d4:16:37

This instability makes our product unusable because its not reachable to be waken up via button or console.