cancel
Showing results for 
Search instead for 
Did you mean: 

First Time Connection SPWF04SA - Faild ,please help

maor
Associate III
Posted on December 12, 2017 at 22:52

Hello running the example code  : WIFI_Example_Client_Socket

using SPWF04SA

also the server program in the st utility ip 10.0.0.1 (checked with external socket.exe and worekd)

but the WIFI_Example_Client_Socket  moo working or sending data please view the log...

/********************************************************

*                                                      *

* X-CUBE-WIFI1 Expansion Software v3.1.0               *

* X-NUCLEO-IDW0xx1 Wi-Fi Configuration.                *

* Client-Socket Example                                *

*                                                      *

*******************************************************/

Do you want to setup SSID?(y/n):y

Enter the SSID:

yaniv

Enter the password:

magic111

Enter the encryption mode(0:Open, 1:WEP, 2:WPA2/WPA2-Personal):

2

Enter the Hostname (Apache Server):

10.0.0.1

/**************************************************************

* Configuration Complete                                     *

* Port Number:32000, Protocol: TCP/IP                        *

* Please make sure a server is listening at given hostname   *

*************************************************************/

Initializing the wifi module...

Build Configuration:

Nucleo: NUCLEO-L476RG

X-Nucleo: X-NUCLEO-IDW04A1

Interface: UART

with the flowing setup :

then when it freeze / stoped

1 REPLY 1
Mridupawan Das
Associate II
Posted on December 14, 2017 at 11:31

Hi,

can you please check your jumper settings for UART:

-----------

Setup of X-NUCLEO-IDW04A1

-----------

- To use SPI interface:

- JP5 must be on.

- JP10…13 in close mode

- JP6…9 in position 2-3

- JP3 in position 1-2

- To use UART interface:

- JP5 must be off.

- JP10…13 in cross mode

- JP6…9 in position 1-2

- JP3 in position 1-2

- to see DEBUG PRINTS on the serial terminal, the #define DEBUG_PRINT must be set to 1. File to change: X-CUBE-WIFI\Projects\Multi\Applications\<$PROJECT-NAME>\Inc\wifi_conf.h

Also some debug prints using DEBUG 1 would be helpful.

Thanks.