QSPI Write Issue on STM32H745 with MT25QL512 in IAR
Hello,
I am working on interfacing an external flash memory IC MT25QL512 with the STM32H745 microcontroller using QSPI in IAR Embedded Workbench.
The Problem:
When attempting to write data to the external flash using the HAL_QSPI_Transmit function, the operation fails at the following line:
status = QSPI_WaitFlagStateUntilTimeout(hqspi, QSPI_FLAG_TC, SET, tickstart, Timeout);
Details of My Setup:
- Microcontroller: STM32H745
- Flash Memory IC: MT25QL512
- Development Environment: IAR Embedded Workbench
- Has anyone encountered a similar issue with the QSPI_FLAG_TC not being set during a write operation?
- Are there specific configuration or timing considerations for the STM32H745 and MT25QL512 combination that I might be overlooking?
- Any debugging tips or suggestions would be greatly appreciated.
Thank you for your support!!
