2026-03-16 8:15 AM
Hello everyone,
I'm using a host (STM32F7) communication with ST67W611 BLE WIFI via SPI.
So far, I can configure application P2P Client, T01 architecture, gen code and build pass.
The issue what I'm facing is I can't init SPI communicaiton with ST67W611. so Could you help me answer some question to debug what issue is?
1. I bought ST64W611, so Could I need to re-flash firmawre for this module?
2. the W6X_Init(0 function init failed, I checked the pin SPI_RDY alreay has level low (= 0).
so I hope if there is someone has worked with ST67W611 via SPI with a host STM32, please share me the experience?
Thank you very much!
2026-03-16 8:23 AM
Welcome to the forum.
Please give more details of your setup - see: How to write your question to maximize your chances to find a solution
2026-03-16 8:53 AM
Hi @GiangN
It is indeed necessary to update the module binary as stated in the note here. The procedure is described in the same wiki page. Let us know if this solves your issue or if we need to look further into it.
Best regards,
2026-03-16 9:16 AM
Hi @TarikAb,
follow the process to flash the binary. I saw the note in below:
"If the host board is not included in X-CUBE-ST67W61, the NCP_Loader project must be migrated to generate above mentioned binaries"
My question is: how to migrate to generate the binary for my host ( STM32F7690.
Thanks,
Giang
2026-03-16 9:27 AM
@GiangN wrote:how to migrate to generate the binary for my host ( STM32F7690.
The same way you'd migrate (aka "port") any other software from one microcontroller to another: identify which parts are specific to the particular microcontroller, and adjust them accordingly...
This is why we have layered architectures:
only the lowest layer - which deals directly with the SPI hardware - should be microcontroller-specific ...
2026-03-16 10:02 AM - last edited on 2026-03-17 7:22 AM by Andrew Neil
Hi @TarikAb and @Andrew Neil ,
So please see my processes in below and correct if I was wrong.
Require: development an P2P Client application from HOST STM32F769 with ST67W611.
Flow:
Step 1. re-flash firmware for ST67W611, follow this link https://wiki.st.com/stm32mcu/wiki/Connectivity:Wi-Fi_MCU_Hardware_Setup#How_to_flash_the_ST67W611M1
I can flash ST67W611 without host STM32 (standalone mode), so with this step, we can use this way for any host (STM32F1/F4/F7 both of them is ok?)
Step 2: after flash completed, I can use STM32Cubex to configure host and X-Cube-ST67W61
from now on, I only work on host application, the communication with ST67W611 via AT commands with SPI peripheral.
Please let me know whether my understanding is correct?
Thanks,
Giang
2026-03-17 6:51 AM
Hi @GiangN
Your understanding is correct.
Updating the ST67 binary is the first step. If you're able to flash it without using an STM32 then fine (maybe you use an USB/UART dongle to connect your PC to the ST67 UART pins, while controlling CHIP_EN and BOOT pins to boot the module from UART). The alternative would be to use the STM32 on which you'd port the NCP_loader project and then run the binary update script.
Once the ST67 is with the right binary, you could indeed connect it to your STM32 on which you run your ported p2p client application project binary. In this case, SPI is the communication interface between the Host and the ST67.
Regards
2026-03-17 7:32 AM - last edited on 2026-03-17 9:00 AM by Andrew Neil
Hi @TarikAb ,
Thanks for your quick response!
Currently, I'm trying to re-flash firmware for ST67W61 module via UART.
So I'm not sure the connect BOOT and CHIP_EN direct to 3.3V is correct.
could you give me the guide how to setup the hardware and how to control the BOOT and CHIP_EN pin to get ST67W61 go to the flash mode?
Thank you very much!
See separate thread: Error during flash firmware for ST67W61