WiFi - Power Save

The official PYBD running MicroPython, and its accessories.
Target audience: Users with a PYBD
Post Reply
sadok_1912
Posts: 11
Joined: Fri Mar 20, 2020 4:49 pm

WiFi - Power Save

Post by sadok_1912 » Mon Dec 07, 2020 2:39 pm

Hi All,

I'm trying to enable WiFi power save mode on an SF6 Board. I know the CYW43x is capable of doing so and is also implemented in WICED. Looking in the driver files of micropython in "cyw43_ctrl.c" and "cyw43_ll.h", I'm guessing cyw43_wifi_pm configures the power mode of the chip. Due the the lack of documentation, it is not trivial to find out how to enable the power save mode. Also it would be great to know what these magic numbers mean (register settings pm_in: 0x00adbrrm ?):

Code: Select all

cyw43_wifi_pm(self, 10 << 20 | 1 << 16 | 1 << 12 | 20 << 4 | 2);
In WICED, the function is

Code: Select all

wwd_wifi_enable_powersave_with_throughput
Any input is appreciated.

Thank you.

Post Reply