I have a general question about the FlexSPI interface on the iMX8M Mini:
Is it possible to use the FlexSPI as a "normal" SPI interface, choosing the SPI mode (eq CPOL=1, CPHA=1 / MODE_3) freely?
We tried using the spi_dev driver for the device, and the corresponding interface driver spi-nxp-fspi only accepted SPI mode 0. To circumvent this problem we implemented a program using bitbanging, which is way slower. Now we got a customer who wants to know if there are any limitations to the FlexSPI interface, and so far I only found informations regarding flash/memory devices etc., but nothing concerning other SPI devices.
So, is it true that FlexSPI only supports Mode 0?
已解决! 转到解答。
Hi @dpog,
I hope you are doing well.
ECSPI and FlexSPI are different IPs.
FlexSPI is used for interfacing serial storage device (Serial NOR Flash, Serial NAND Flash) and FPGA device.
So, is it true that FlexSPI only supports Mode 0?
=> Yes, It is true.
Please refer to 10.2 FlexSPI Controller (FlexSPI) in RM for more information,
Thanks & Regards,
Sanket Parekh
Hi @dpog,
I hope you are doing well.
ECSPI and FlexSPI are different IPs.
FlexSPI is used for interfacing serial storage device (Serial NOR Flash, Serial NAND Flash) and FPGA device.
So, is it true that FlexSPI only supports Mode 0?
=> Yes, It is true.
Please refer to 10.2 FlexSPI Controller (FlexSPI) in RM for more information,
Thanks & Regards,
Sanket Parekh