i.MX8MM FlexSPI with SPI mode 3

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

i.MX8MM FlexSPI with SPI mode 3

跳至解决方案
726 次查看
dpog
Contributor V

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?

标签 (1)
标记 (1)
0 项奖励
回复
1 解答
710 次查看
Sanket_Parekh
NXP TechSupport
NXP TechSupport

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

在原帖中查看解决方案

0 项奖励
回复
1 回复
711 次查看
Sanket_Parekh
NXP TechSupport
NXP TechSupport

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

0 项奖励
回复