Hello @andrewpei ,
Use a debugger to identify the exact instruction causing the HardFault.
Have you made any updates to the example? If yes, please share the exact modifications you made and the debugger output when the HardFault occurs?
Ensure that the QSPI and GPIO peripherals do not have conflicting configurations or resource usage.
Ensure that the dummy cycles are correctly configured as per the QSPI memory datasheet.
Remember to use the latest release of CubeF7 firmware package.
In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. Thanks