Hello .. I am doing bare metal application on IMX8MMini with A53 core. I do not want to use Linux, i want strictly bare metal application. I want to access QSPI flash over FlexSPI.
Is that possible from A53 core? Also, I want to do that from M4 side also. I would like to use IP commands. I see that in SDK for M4 there is no example for that, Could you refer some examples or starting point where I can see how this can be done?
Thank you and best regards
Thank you for you answer.
1. I also have a question regarding FlexSPI clock. I can not find a ROOT clock for FLEXSPI in IMX8MM. In EVK-MIMXRT1050 there exists kCLOCK_FlexSpi. I see that for FlexSPI clock in IMX8MM it is necessary to enable QSPI clock, AHB and IPG, is that correct? What about Flexspi clock itself?
2.Regarding #define EXAMPLE_FLEXSPI_AMBA_BASE FlexSPI_AMBA_BASE in EVK-MIMXRT1050.
What should I put in case of IMX8MM? Is that the address of QSPI?
Thank you in advance
CCM and clocks may be different in these processors,
for FLEXSPI_*_BASE one can look at 10.2.2 Glossary for FlexSPI module Reference Manual
Best regards
igor
Hi Marko
yes this is possible from A53 core. For M4 SDK example one can look at SDK_EVK-MIMXRT1050
(it has similar FlexSPI module) https://mcuxpresso.nxp.com/en/welcome
Best regards
igor