Hi,
I am currently working on the FRDM S32K344 EVK (172-pin) and interfacing a W25Q64JVSSIQ external flash using QSPI.
We started with the existing QSPI example provided for the S32K344, and the QSPI read/write operations work correctly when the example is executed standalone. However, after integrating QSPI with CAN and LPUART functionality, we started encountering a timeout issue during flash erase operations.
The timeout occurs in:
Qspi_Ip_EraseBlock()
We also investigated the pin configuration in Mem_ExFls_PinSetup() and tried both of the following approaches:
Keeping the line:I
P_SIUL2->IMCR[821 - 512] = SIUL2_IMCR_SSS(1U);
Unfortunately, neither approach resolved the issue.
Environment:
Has anyone experienced a similar timeout issue when integrating QSPI with other peripherals such as CAN and LPUART? Any suggestions regarding clock configuration, interrupt priorities, pin multiplexing, or QSPI driver settings would be greatly appreciated.
Thank you