2375561_en-US

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

2375561_en-US

2375561_en-US

FRDM S32K344 172-pin QSPI - Qspi_Ip_EraseBlock Timeout

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);

  • Commenting out the above line.

Unfortunately, neither approach resolved the issue.

Environment:

  • Board: FRDM S32K344 EVK (172-pin)
  • External Flash: W25Q64JVSSIQ
  • IDE: S32 Design Studio for S32 Platform
    • Version: 3.6.7
    • Build ID: 260420
  • RTD: S32K3 RTD R23-11 v7.0.1
  • Board Revision: SCH-94921 Rev. B
  • Attached Code Snippet for your ref main.c
    Avinpat123_0-1780469550037.pngAvinpat123_0-1780470744752.png

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

Tags (1)
No ratings
Version history
Last update:
16 hours ago
Updated by: