Hello,
We have a custom design that connects the FlexSPI2 peripheral to a QuadSPI device (it is not a memory device).
Is it possible to use FlexSPI peripheral as a generic SPI controller?
If so, can you please point me where to find some demo code?
Thanks in advance for your support.
Solved! Go to Solution.
Hello Carlos.
Point to flexspi_nor_polling_transfer SDK example. Look into flexspi_nor_flash_ops.c file where you can find all interface functions you can use to interface any device with FlexSPI module.
If this access does not match your expectations and you would like to have more "classic" spi interface point to lpspi examples instead.
Regards.
Martin
Hello.
FlexSPI is universal IP module and it can be used to access any device based on serial interface in general.
Refer to EVK106x SDK where you can find QSPI IP or AHB access examples for i.mxRT106x.
Best Regards.
Martin
Hi Martin,
Thanks for your answer.
In EVK mimxrt1060 SDK there are only two examples with flexspi IP: one for hyper flash and one for nor flash.
I didn't manage to find a single example for use as a generic SPI controller. Can you please point me the exact location of the examples you are talking about?
Thanks for your support.
Hello Carlos.
Point to flexspi_nor_polling_transfer SDK example. Look into flexspi_nor_flash_ops.c file where you can find all interface functions you can use to interface any device with FlexSPI module.
If this access does not match your expectations and you would like to have more "classic" spi interface point to lpspi examples instead.
Regards.
Martin
Hi Martin,
Thanks for your info.
I am trying to configure and implement the interface code to our device.
Anyway I cannot use another interface as the hardware is fully designed and built.