cancel
Showing results for 
Search instead for 
Did you mean: 

stm32h7b3i-dk : Regarding wifi MB1486 - WIFI MODULE WITH INVENTEK ISM43340-M4G-L44-10CF

AmrithHN
Associate

Hi,

I am trying to use the Clock and weather application code that has some driver for wifi to test the module but it seems the net_conf_es_wifi_spi.c from the driver is trying to init SPI4 instead of SPI2 as per the schematics on st.com website.

Screenshot 2025-01-25 225103.png

 

why is there a difference in SPI and other GPIO pins? what is the correct pins that needs to be initialised?

4 REPLIES 4
STTwo-32
ST Employee

Hello @AmrithHN @and welcome to the ST Community.

It seems to be a typo on the .c that you have shared with us. Could you please send me the link to the project you are using to verify. 
Best Regards.

STTwo-32

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

Thank you @STTwo-32 for checking it out.  The file I shared is part of "clock and weather app" in demonstrations folder under the device support packages. But it doesnt work out of the box and has PIN configurations wrong/outdated.I have attached the original one in this post.

Actually I was able to use a different model driver from github and was able to get some sort of connection working. But without proper documentation and some basic drivers Its hard to debug.

https://github.com/nano256/ISM43362-M3G-L44-Driver

I have attached a modified version of the above for the WiFi module I am using. The one written for "Clock and Weather" application seems really hard to modify because of abstractions and hard coded values.

This is my repo that contains some barely working code, It still Hardfaults a lot when trying to set some AT commands like C3, C4 etc and doesnt establish a connection.

https://github.com/Amrith-H-N/ISM43362-M3G-L44-stm32-driver

 

 

Hello @AmrithHN 

I've Just downloaded rhe Last version of the STM32CubeH7 (V1.12.1). And it seems to be working fine (it use the correct initialisation code for pinot and spi2...) please try using the Last version.

PS: it seems to me that you are using the project dedicated for the STM32H7B3I-EVAL and not the one dedicated for the STM32H7B3I-DK.

Best Regards.

STTwo-32

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

@STTwo-32  Thank you so much for checking the issue.

Is it possible to share the project code? I used stm32cube_fw_h7_v1120 and stm32cube_fw_h7_v1121 from stm website (https://www.st.com/en/embedded-software/stm32cubeh7.html)

I also checked the github but it seems that they have excluded those folders in the latest commits.

 

Update: I checked again and @STTwo-32 you are right, I copied the project from EVAL not DK folder , I will try to test this one hopefully it will provide a working code for wifi driver. Thank you so much!