Skip to main content
Graduate II
January 25, 2025
Solved

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

  • January 25, 2025
  • 1 reply
  • 1418 views

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?

    This topic has been closed for replies.
    Best answer by STTwo-32

    Hello @AmrithHN 

    I've Just downloaded the Last version of the STM32CubeH7 (V1.12.1). And it seems to be working fine (it use the correct initialization 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

    1 reply

    Technical Moderator
    January 26, 2025

    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

    AmrithHNAuthor
    Graduate II
    January 26, 2025

    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

     

     

    STTwo-32Answer
    Technical Moderator
    January 26, 2025

    Hello @AmrithHN 

    I've Just downloaded the Last version of the STM32CubeH7 (V1.12.1). And it seems to be working fine (it use the correct initialization 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