Hi,
I have a problem with DLL configuration for external flash memory using hyperbus.
Hardware description:
Custom board with imxrt1170 microcontroller. FLEXSPI1 is connected to the INFINEON's S26HS512TGABHI000 hyperflash. It uses differential clock and is set up to work in combined mode in order to use 8 data lines.
The issue:
Whenever I set the flexspiRootClk to something over 100MHz, the code hangs in the loop below.
However, If I comment this loop out, the code works correctly for the given moment. I only did so for experimentational purposes and I had not intent in modifying fsl_flexspi API.
Synchronization (i.e. breaking out of the loop) happens only for clock setups slower than 100MHz (for which there is a dedicated if statement check which in turn is responsible for setting up the DLL config value inside FLEXSPI_CalculateDll function).
What could be a possible reason/solution for this issue?
I have been struggling with this problem for a while now, so I decided to post it as a question on the forum. Please let me know if you need any further details regarding my setup or anything else.
BR,
Michael