2025-07-08 12:33 AM
Good morning,
I have recently made a piece of hardware which has a F722VET6 microcontroller and a W25Q128 flash chip onboard. When I set up all the peripherals (using quite a few other spi and i2c components) and write a simple LED flash in the main while loop the LED doesn’t flash. However if I comment out the MX_Qspi_init function code runs fine on the board. This happens with both the flash soldered and if it’s not populated on the board. I also have various sensors which I have tested and they run fine with regular spi. The only thing I can think of is that when the QSPI init is left in the code (not commented) it tries to use the external flash and boot from it which doesn’t have anything on so doesn’t do anything. I’m unsure if this is correct. Wiring is correct and I’ve tried various clock speeds for the qspi does anyone have any ideas?
2025-07-08 1:49 AM
Hello @W1ll5,
Please check this example for QSPI on GitHub for STM32F769I_EVAL board.
This example demonstrates how to execute a portion of the code directly from QSPI memory.
Br
2025-07-08 12:49 PM
Hi, I have looked through the code and nothing is different on the QSPI_Init function which is when not commented out causes my code to not run. Another note is that when a new stm32 project is created and the QSPI is set up on its own, it still doesn't run with auto generated code.