Problem with the stm32cubeExpansion wifi demo with the x-cube-wifi1
- April 21, 2017
- 3 replies
- 3995 views
Hello ST community,sorry,maybe I should post my problem here.
Now I am working on the wifi module
X-NUCLEO-IDW01M1
,I found some problem.
Hardware
:NUCLEO-F401RE,X-NUCLEO-IDW01M1Software
:STM32CubeExpansion_WIFI1_V3.0.1IDE
: iar arm 7.1From the example project I found two types one is SPWF01 another is SPWF04, I found the exampleBinary is the SPW
I change the config to SPWF01,but it still not work.
1)en.x-cube-wifi1_firmware (1)\STM32CubeExpansion_WIFI1_V3.0.1\Projects\Multi\Applications\
WiFi_VCOM
From the Tera term I found the print message,but when I input 'AT+S.STS',nothing output.
2)en.x-cube-wifi1_firmware (1)\STM32CubeExpansion_WIFI1_V3.0.1\Projects\Multi\Applications\HTTP_Request
From this example it will always run at the wifi init.
file
wifi_module.c line 294
and can not run out this function.It seems to wait for the state.I only changed one thing in wifi_conf.h
the old one is #define SPWF04,I change to
#define SPWF01
/**********************************/
while(IO_status_flag.WiFi_WIND_State != WiFiHWStarted)
{
__NOP(); //nothing to do
}
//always in this function
/*******************************/
If I press the SW1 button,only the LED2 and LED4 from on to off then on,the code can not exit the loop.
Is there anyone can tell me what is wrong ? Thank you very much.
Note: this post was migrated and contained many threaded conversations, some content may be missing.