AnsweredAssumed Answered

SPWF04SA seems to be stuck in miniAP mode

Question asked by Steve Fairhead on Sep 26, 2017
Latest reply on Oct 29, 2017 by Gerardo Gallucci

I'm trying to get a SPWF04SA to connect to a WAP with no success. Whatever I do, the radio seems to come up in MiniAP mode (wifi_mode=3). I'm sending the following commands, in UART mode, waiting for a positive response from each one before continuing:

 

AT+S.WIFI=0
AT+S.SSIDTXT=wap_ssid
AT+S.SCFG=wifi_wpa_psk_text,wap_pwd
AT+S.SCFG=wifi_priv_mode,2
AT+S.SCFG=wifi_mode,1
AT+S.SCFG=ip_use_dhcpc,1
AT+S.WCFG
AT+S.RESET
AT+S.WIFI=1

 

Here's what the last two give me:

 

AT+S.RESET
+WIND:2:Reset
+WIND:1:Poweron:170216-fd39c59-SPWF04S
+WIND:13:Copyright (c) 2012-2017 STMicroelectronics, Inc. All rights Reserved:SPWF04SA
+WIND:0:Console active
+WIND:3:Watchdog Running:20


AT+S.WIFI=1
AT-S.OK

+WIND:39:HW in miniAP mode
+WIND:32:WiFi Hardware Started
+WIND:26:Started AP:iwm-BD-01-56
+WIND:24:WiFi Up:0:192.168.0.50

 

All GPIO pins are pulled low.

 

What am I doing wrong?

 

Thanks,

Steve

Outcomes