The SDK comes with a snippet app called ping_powersave that demonstrates doing periodic Wi-Fi activity while minimizing power consumption between pings.
What hardware platform do you have?
Many WICED development platforms have a dedicated test point where you can hook up an oscilloscope to measure the current drawn by the Wi-Fi module (This includes the power of the host processor).
By writing a test application and measuring the current usage you can approximately calculate how much energy your application will consume over a period of time.
We are using BCM943362WCD4_EVB for development. I saw the example and the functions I mention is from that example.
I want the module to go into power save mode for a minute, then wake up and do a similar ping. Where are the test points? I don't want to measure the FTDI parts draw.
The schematic for the module and eval board are in the SDK-2.4.0/Doc/Schematics directory
There are two test points on the eval board marked GND & CURRENT.
Grab a scope and get busy!
It is surprising to find out that the lowest it can go is 2.9mA. This is a very big current draw if you are operating on batteries.
Please read the Powersave application note shipped with the SDK.
It provides detailed information about measuring power.
The power measurement cct on the eval board is not designed to measure below a few mA.
The BCM43362 chip drops to ~200uA between beacons, you will need to add any MCU current consumption to this number however.
We are using Murata Type YD for production. Their report confirms what we are seeing on the scope. Will it be better to turn off WiFi between transmissions to save battery or if it takes too long to associate and get IP address, it will be better to stay connected.
I have no doubt that the radio is pretty low power when idle, but I am surprised to see that the MCU is adding so much.