cancel
Showing results for 
Search instead for 
Did you mean: 

SPWF04 Standby current

Tia Meng
Associate II
Posted on April 13, 2018 at 15:15

We are using SPWF04 recently and found this module when running at standby mode would draw around >1mA current rather than uA level mentioned in the datasheet (it actually comes to uA for a couple of seconds and turns to 1.7mA after). May I know if SPWF04 could be a compatible replacement for SPWF01, any notice/tips for Hardware redesign, IO config or AT comment settings? Thanks. 

8 REPLIES 8
Elio Cometti
Senior II
Posted on April 13, 2018 at 19:40

Dear,

could you please try setting standby_time=240? You should see the current consumption in the uA level for about 4 minutes.

Please do not use values greater than 255 as we found a mismatch with what stated in the user manual. The behavior will be aligned to user manual in the next FW release.

Regards

Elio

Posted on April 13, 2018 at 21:03

Hi Elio,

This is really helpful. I will try and get back. May I know if there is an estimated timing for the next FW and UM? Thank you so much for your kind help. Have a good one.

Posted on April 16, 2018 at 05:04

Hi

Elio,

We have done a further test with shorter time-out period (240 seconds or even 100) and the module behaves the same as the current draw still remains around 1.5 mA in standby mode... Could you please provide further tips. Thank you so much.

Posted on April 16, 2018 at 17:02

Hi,

all GPIOs are put in high impendence when the module is rebooted in standby mode (AT+S.PMS=3) and you should expect a current consumption around 43uA regardless what is connected to the GPIOs. When the standby time expires or GPIO[6] is moved then the SPWF04 is woken up and the current consumption will increase to the level of your specific configuration.

I kindly ask you:

- to dump and send me your configuration (AT+S.GCFG) and status (AT+S.STS) just before issuing the PMS=3 command;

- to verify the current consumption only comes from pin24 (Vcc) of SPWF04.

Posted on April 17, 2018 at 01:58

Hi Elio,

Yes. We leave all unused GPIOs open/floating and even tried to add RC at GPIO[6]. But the standby current is still holding at uA only around 4s and raise up to 1.7 mA. Please see the status query as you required below. Your comment and advice are much appreciated. Thanks a lot.

AT+S.GCFG

AT-S.List

AT-S.Var:nv_manuf=ST

AT-S.Var:nv_model=SPWF04SA

AT-S.Var:nv_serial=3817Z22816

AT-S.Var:nv_wifi_macaddr=00:80:E1:BD:FE:F1

AT-S.Var:standby_time=10

AT-S.Var:standby_enabled=0

AT-S.Var:sleep_enabled=0

AT-S.Var:etf_mode=0

AT-S.Var:blink_led=1

AT-S.Var:ext_volume=3

AT-S.Var:ramdisk_memsize=16

AT-S.Var:aes128_key=00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00

AT-S.Var:user_desc=anonymous

AT-S.Var:python_script=3:/uPython_test.py

AT-S.Var:python_memsize=32

AT-S.Var:console_enabled=1

AT-S.Var:console_speed=115200

AT-S.Var:console_hwfc=0

AT-S.Var:console_echo=1

AT-S.Var:console_errs=2

AT-S.Var:console_winds=2

AT-S.Var:console_verbose=1

AT-S.Var:console_repeater=0x21

AT-S.Var:console_delimiter=0x2C

AT-S.Var:console_wind_off_low=0x00000000

AT-S.Var:console_wind_off_medium=0x00000000

AT-S.Var:console_wind_off_high=0x00000000

AT-S.Var:wifi_tx_msdu_lifetime=0

AT-S.Var:wifi_rx_msdu_lifetime=0

AT-S.Var:wifi_operational_mode=0x00000011

AT-S.Var:wifi_beacon_wakeup=1

AT-S.Var:wifi_beacon_interval=100

AT-S.Var:wifi_listen_interval=0

AT-S.Var:wifi_rts_threshold=3000

AT-S.Var:wifi_ssid=53:54:54:65:73:74:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00

AT-S.Var:wifi_ssid_len=6

AT-S.Var:wifi_txfail_thresh=5

AT-S.Var:wifi_dtim_period=1

AT-S.Var:wifi_add_tim_ie=0

AT-S.Var:wifi_region=1

AT-S.Var:wifi_ht_mode=1

AT-S.Var:wifi_channelnum=6

AT-S.Var:wifi_opr_rate_mask=0x003FFFCF

AT-S.Var:wifi_bas_rate_mask=0x0000000F

AT-S.Var:wifi_mode=1

AT-S.Var:wifi_auth_type=0

AT-S.Var:wifi_atim_window=0

AT-S.Var:wifi_powersave=0

AT-S.Var:wifi_tx_power=18

AT-S.Var:wifi_rssi_thresh=0

AT-S.Var:wifi_rssi_hyst=0

AT-S.Var:wifi_ap_idle_timeout=120

AT-S.Var:wifi_beacon_loss_thresh=10

AT-S.Var:wifi_priv_mode=0

AT-S.Var:wifi_wep_keys[0]=00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00

AT-S.Var:wifi_wep_keys[1]=00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00

AT-S.Var:wifi_wep_keys[2]=00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00

AT-S.Var:wifi_wep_keys[3]=00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00

AT-S.Var:wifi_wep_key_lens=00:00:00:00

AT-S.Var:wifi_wep_default_key=0

AT-S.Var:wifi_wpa_psk_raw=00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00

AT-S.Var:wifi_wpa_psk_text=

AT-S.Var:wifi_eap_identity=identity

AT-S.Var:wifi_eap_anon_identity=

mailto:anonymous@identity.org

AT-S.Var:wifi_eap_passwd=password

AT-S.Var:wifi_eap_type=0

AT-S.Var:wifi_eap_skip_datechecks=0

AT-S.Var:wifi_wps_walk_time=120

AT-S.Var:wifi_wps_pin=1234567

AT-S.Var:ip_sock_memsize=1

AT-S.Var:ip_sock_threshold=0

AT-S.Var:ip_dhcp_lease_time=120

AT-S.Var:ip_macfilter=00:00:00:00:00:00

AT-S.Var:ip_num_clients=5

AT-S.Var:ip_allow_port_scans=1

AT-S.Var:ip_use_v6=1

AT-S.Var:ip_use_dhcpd=1

AT-S.Var:ip_use_httpd=1

AT-S.Var:ip_use_tftpd=1

AT-S.Var:ip_use_dhcpc=2

AT-S.Var:ip_hostname=iwm-BD-FE-F1

AT-S.Var:ip_apdomainname=

https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fcaptiveportal.net&data=02%7C01%7CHAO.MENG%40arrowasia.com%7Ca396451150034370461c08d5a3f3f53c%7C0beb0c359cbb4feb99e5589e415c7944%7C1%7C0%7C636595190559535411&sdata=jozxi2s4ljn1sxmrmuKkwRIL9jTMWt6dDuDCTc9kZDI%3D&reserved=0

AT-S.Var:ip_apredirect=firstset.html

AT-S.Var:ip_ipaddr=192.168.0.50

AT-S.Var:ip_netmask=255.255.255.0

AT-S.Var:ip_gw=192.168.0.1

AT-S.Var:ip_dns1=208.67.222.222

AT-S.Var:ip_dns2=208.67.220.220

AT-S.Var:ip_local=0:0:0:0:0:0:0:0

AT-S.Var:ip_dns1v6=0:0:0:0:0:0:0:0

AT-S.Var:ip_dns2v6=0:0:0:0:0:0:0:0

AT-S.Var:ip_dhcp_timeout=20

AT-S.Var:ip_ntp_server1=

https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fptbtime1.ptb.de&data=02%7C01%7CHAO.MENG%40arrowasia.com%7Ca396451150034370461c08d5a3f3f53c%7C0beb0c359cbb4feb99e5589e415c7944%7C1%7C0%7C636595190559535411&sdata=1FaER2mp1LGPohhaQ7%2Ftpeo9PqaNJ%2FI137uRJ66VjzE%3D&reserved=0

AT-S.Var:ip_ntp_server2=

https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fntp0.ipv6.fau.de&data=02%7C01%7CHAO.MENG%40arrowasia.com%7Ca396451150034370461c08d5a3f3f53c%7C0beb0c359cbb4feb99e5589e415c7944%7C1%7C0%7C636595190559535411&sdata=iT8k%2FRdBMDe4c6TQhEbJheBc0UxSlu1bPCTaQ8x4Pbs%3D&reserved=0

AT-S.Var:ip_ntp_refresh=3600

AT-S.Var:ip_ntp_startup=1

AT-S.Var:ip_mdns_domain_name=SPWF04S-Default

AT-S.Var:ip_mdns_device_name_ttl=120

AT-S.Var:ip_mdns_services_name=SPWF04S-WebSrv SPWF04S-TFTPSrv

AT-S.Var:ip_mdns_services_prot=_http._tcp _tftp._udp

AT-S.Var:ip_mdns_services_keys=dev1 dev2

AT-S.Var:ip_mdns_services_vals=number1 number2

AT-S.Var:ip_mdns_services_port=80 69

AT-S.Var:ip_mdns_services_ttl=120 60

AT-S.Var:ip_mdns_startup=01:01

AT-S.OK

AT+S.STS

AT-S.List

AT-S.Var:build=171117-0328fe3-SPWF04S

AT-S.Var:fw_version=1.1.0

AT-S.Var:boot_version=1.0

AT-S.Var:var_version=2

AT-S.Var:free_heap=46072

AT-S.Var:min_heap=43368

AT-S.Var:system_time=946684942

AT-S.Var:system_uptime=63

AT-S.Var:system_sleeptime=0

AT-S.Var:reset_reason=2

AT-S.Var:startup=0

AT-S.Var:random_number=660795666

AT-S.Var:gpio_enable=0x0000

AT-S.Var:app_fs=1

AT-S.Var:ram_fs=1

AT-S.Var:user_fs=0

AT-S.Var:extvol_fs=0

AT-S.Var:nv_power_cycles=1

AT-S.Var:nv_wdog_resets=0

AT-S.Var:nv_reset_cycles=4

AT-S.Var:wifi_state=5

AT-S.Var:wifi_own_macaddr=00:80:E1:BD:FE:F1

AT-S.Var:wifi_bssid=00:00:00:00:00:00

AT-S.Var:wifi_aid=0

AT-S.Var:wifi_channelnum=0

AT-S.Var:wifi_sup_rate_mask=0x003FFFCF

AT-S.Var:wifi_bas_rate_mask=0x00000000

AT-S.Var:wifi_chan_activity=0x00001FFF

AT-S.Var:wifi_max_tx_power=18

AT-S.Var:wifi_gf_mode=0

AT-S.Var:wifi_reg_country=AU

AT-S.Var:wifi_dtim_period=0

AT-S.Var:wifi_num_assoc=0

AT-S.Var:ip_from_AutoIP=0

AT-S.Var:ip_ipaddr=0.0.0.0

AT-S.Var:ip_netmask=0.0.0.0

AT-S.Var:ip_gw=0.0.0.0

AT-S.Var:ip_dns1=0.0.0.0

AT-S.Var:ip_dns2=0.0.0.0

AT-S.Var:ip_linklocal=0:0:0:0:0:0:0:0

AT-S.Var:ip_local=0:0:0:0:0:0:0:0

AT-S.Var:ip_dns1v6=0:0:0:0:0:0:0:0

AT-S.Var:ip_dns2v6=0:0:0:0:0:0:0:0

AT-S.OK

Posted on April 19, 2018 at 10:26

Hi Elio,

We are still keen to know your kind comment and advice regarding to this issue. The feedback is important to the decision making on whether to keep ST 04 module in our future products. Thank you so much for your great support.

Posted on April 19, 2018 at 16:33

Hello,

we are trying to figure out why your sample is consuming such amount of current.

I'll update you ASAP.

Elio

Posted on April 26, 2018 at 00:13

Hi Elio,

May I know if you have any progress and further comment on this case. BTW, the main board for this test is based on STEVAL-IDW001V1, will try 

X-NUCLEO-IDW04A1 later. 

Thank you so much.