cancel
Showing results for 
Search instead for 
Did you mean: 

Soft AP does not work with the Cube example for B-L475E-IOT01A with ISM43362

jonarnp
Associate II

There seems to be a bug when activating a Soft Access Point for the B-L475E-IOT01A MB1297D.

The problem is either in the Wi-Fi module's firmware or in the es_wifi drivers in STM32Cube_FW_L4_V1.11.0 and STM32CubeExpansion_Cloud_AWS_V1.2.1.

The es_wifi drivers expects a "[AP   ]" reply from the module when the 'A0' command is sent. No reply is received and the ES_WIFI_ActivateAP will time out. Even though the module does not reply, the Soft AP starts correctly and the web server is able to configure a network.

Only after a network is configured, the module will reply with the "[AP   ]" message. Full output example:

> [AP   ] SSID: Soft AP network MAC: XX:XX:XX:XX:XX:XX ,11,192.168.10.1

[WEB SVR] Server started

>

[SOMA][AP DHCP] Assigned XX:XX:XX:XX:XX:XX has 192.168.10.100[EOMA]

[JOIN  ] Actual Wifi network,192.168.2.157,0,0

OK

STM32L4 Discovery kit IoT node (B-L475E-IOT01A MB1297D) with ISM43362.

Tested with these firmware versions:

ISM43362-M3G-L44-SPI-C3.5.2.5.STM

ISM43362-M3G-L44-SPI C3.5.2.3.BETA9

Is this a known bug? Does the Soft AP es_wifi code work with different ISM43362 firmware?

11 REPLIES 11
Cvega.11
Associate II

Hello my friend

To communicate with the wifi module, use the SPI2 of the board but no more, the board does not give me any answer. Any idea how to implement an example ???

How to send the AT commanders in the SPI communication through the following lines:

HAL_SPI_TransmitReceive_IT (SPI_HandleTypeDef * hspi, uint8_t * pTxData, uint8_t * pRxData, uint16_t Size)

HAL_StatusTypeDef HAL_SPI_Transmit_IT (SPI_HandleTypeDef * hspi, uint8_t * pData, uint16_t Size)

Cvega.11
Associate II

Hello my friend

To communicate with the wifi module, use the SPI2 of the board but no more, the board does not give me any answer. Any idea how to implement an example ???

How to send the AT commanders in the SPI communication through the following lines:

HAL_SPI_TransmitReceive_IT (SPI_HandleTypeDef * hspi, uint8_t * pTxData, uint8_t * pRxData, uint16_t Size)

HAL_StatusTypeDef HAL_SPI_Transmit_IT (SPI_HandleTypeDef * hspi, uint8_t * pData, uint16_t Size)