Skip to main content
Kyle Yu
Visitor II
May 16, 2017
Question

WiFi Module Not Connecting

  • May 16, 2017
  • 2 replies
  • 2844 views
Posted on May 16, 2017 at 15:38

Hi,

I am using the STM32 Nucleo Expansion Board WiFi Module for a project. I followed the Quick Start Guide and tried to run the HTTP_Request example project. However, after asking for the SSID, password and encryption mode, the terminal does not ask for the Hostname nor connect to the WiFi as shown in the guide. I have followed all the setup steps and updated the firmware, so I don't understand why it is not connecting. 

Does someone know what is wrong or had similar problems?

Thanks!

    This topic has been closed for replies.

    2 replies

    Mridupawan Das
    Visitor II
    May 18, 2017
    Posted on May 18, 2017 at 09:48

    Hi,

    can you specify which Nucleo and X-Nucleo board you are using?

    you need to enable specific macros correctly in the HTTP_Request\Inc\wifi_conf.h file.

    by default in the release v3.0.1, the build is for SPWF04 and SPI interface.

    regards

    Martin B.
    Associate
    July 5, 2017
    Posted on July 05, 2017 at 23:04

    HI!

    I have the same problem!

    nucleo L476RG with SPWF04 expension board release v3.0.2 and STM32 workbench

    I can enter the ssid (but not always) and when I enter the PW the programm stop running (not always but mostly).

    Also I cannot debug the code in this functions (WiFi_Status_t wifi_get_AP_settings(void))

    SPWF04 is defined in wifi_conf.h (#define SPWF04)

    It seems like the scanf doesn't work proper.

    regards,

    Martin

    p.s. here is a log from the terminal window

    *                                                      *<\n><\r>

     * X-CUBE-WIFI1 Expansion Software v3.0.2               *<\n><\r>

     * X-NUCLEO-IDW0xx1 Wi-Fi Mini-AP Configuration.        *<\n><\r>

     * HTTP-Request Example                                 *<\n><\r>

     *                                                      *<\n><\r>

     *******************************************************/<\n><\r>

    <\n>Do you want to setup SSID?(y/n):y<\n><\r>

    <\n>Enter the SSID:STM<\n><\r>

    <\n>cnt: 1<\r>

    <\n>entered =STM<\r>

    <\n>Enter the password:stmwifi