cancel
Showing results for 
Search instead for 
Did you mean: 

WiFi Connection Issue with STM32H7BI3-DK using AT Commands

Ayoub_Bnina
Associate III

Hi ST Community members,

I recently encountered a problem with the ISM43341-M4G-L44-SPI WiFi module mounted on the STM32H7BI3-DK development board. Here are the details of the issue:

  1. Context:

    • I updated my Cube Programmer, CubeIDE, and stlink firmware.
    • WiFi access point scanning is successful, and I am able to see the available networks.
    • I cannot join the network using the AT C0\r command.
  2. Hardware Configuration:

    • After the update, I faced difficulties powering up the board efficiently with the required voltage. So I changed the 5V Power Jumper from STLK to CHGR.
    • Initially, I used a charger cable with the jumper set to STLK, and the code was working.
  3. Code:
    The AT_ExecuteCommand function returns ES_WIFI_STATUS_UNEXPECTED_CLOSED_SOCKET when it encounters the AT_ERROR_STRING in the received data. This unexpected closed socket error occurs even when the AT command sent does not result in an error. I suspect there might be an issue with how the function is handling the received data or interpreting the AT_ERROR_STRING.
319797052-76005461-9066-490d-b9ec-a18e03b42611.png

 
319796470-55655b29-ee17-4ed4-bf93-8bd7d709cbf6.png

I hope this additional information helps in diagnosing my problem. If anyone has insights or suggestions, please feel free to share them. Thank you for your assistance!

0 REPLIES 0