Hi,
Initially, I used the "Hello World" example project as the base for implementing my code, where I encountered a hard fault issue during the clock initialization of the FlexSPI. However, when I switched to using the "FlexSPI" example project as the base and initialized both the FlexSPI and Ethernet modules, the hard fault issue no longer occurred.
I’ve compared the clock configurations between the "Hello World" and "FlexSPI" base project setups, but I couldn’t find any significant differences.
While this workaround has solved the issue, I would like to understand the root cause behind this behavior.
Could there be any additional settings or configurations that is required for the FlexSPI initialization? Any insights or suggestions would be greatly appreciated!
The same code was used in both the projects, I've attached the code for your reference.