Showing results for 
Search instead for 
Did you mean: 

SPWF01SA connection issues after configuring with firstset

Associate III
Posted on November 01, 2017 at 14:20

I can connect to network using 

wifi_connect function without any issues.

priv_mode = WPA_Personal;

status = wifi_connect('NETWORK','password', priv_mode);

When i try to configure module with firstset, it associates with AP but then it disconnects, here are the WIND messages:

+WIND:57:Received SSID is NETWORK

+WIND:57:Received Auth mode is 2

+WIND:57:Received PWD is password

+WIND:57:Received IBSS Auth type is 0

+WIND:57:Received Dhcp setting is 1

+WIND:57:Received Mode is 1


+WIND:1:Poweron (160129-c5bf5ce-SPWF01S)

+WIND:13:ST SPWF01S IWM: Copyright (c) 2012-2015 STMicroelectronics, Inc. All rights Reserved.

+WIND:3:Watchdog Running

+WIND:0:Console active

+WIND:32:WiFi Hardware Started

+WIND:21:WiFi Scanning

+WIND:35:WiFi Scan Complete (0x0)

+WIND:19:WiFi Join:C0:A0:BB:AB:46:A2

+WIND:25:WiFi Association with 'NETWORK' successful

+WIND:41:WiFi Disassociation:14

+WIND:40:WiFi Deauthentication:6

+WIND:21:WiFi Scanning

+WIND:35:WiFi Scan Complete (0x0)

+WIND:21:WiFi Scanning

+WIND:35:WiFi Scan Complete (0x0)  

then it goes in scanning loop and never connects again.

My AP is configured to use WPA/WPA2.

Posted on November 04, 2017 at 11:25

Is the module able to connect by AT-commands (no firstset)?

ps: please update to FW3.5.3

Associate II
Posted on November 22, 2017 at 12:02

Hi all,

I am facing similar problem.i have updated the firmware to 3.5.3.Still the WiFi module is not able assign IP address.and restarting again


Posted on November 22, 2017 at 16:45

Did you call AT+S.WIFI=0 before AT&W? Try to enable the radio again (AT+S.WIFI=1) before AT&W.

Please dump AT&V and AT+S.STS here (module seems in IDLE mode).