Is there a QuadSPI driver for m4?

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

Is there a QuadSPI driver for m4?

跳至解决方案
1,484 次查看
evanthompson
Contributor II

On an i.MX7D processor, I would like to use the QuadSPI (qspi) peripheral from the cortex m4 core. The nxp-provided m4 drivers for bare metal and FreeRTOS include an 'ecspi' driver for the ecspi peripheral, but there is not a driver for the quadspi peripheral included.

Is an m4 QuadSPI driver available anywhere?

Note: this is not a question about booting from quadspi or Execute In Place (XIP) from quadspi flash. I am asking about using the quadspi as a peripheral at runtime, from the m4 (and the m4 is executing out of another memory like TCM or DDR).

标签 (1)
标记 (1)
0 项奖励
回复
1 解答
1,309 次查看
jamesbone
NXP TechSupport
NXP TechSupport

Unfortunately Nop, the SDK provided with the FReeRTOS and the baremetal drivers that you already review are the only drivers that we have ,since usually as you also mention the QuadSPI we leave it for booting device and not as a peripheral. I apologize for the inconvenience.

We can offer you our Professional Services, they can help you in develop the proper driver for the Quad SPI. here is the link for more details :

NXP Professional Services | NXP 


Have a great day,
TIC

-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

在原帖中查看解决方案

0 项奖励
回复
4 回复数
1,309 次查看
jeff_hane
Contributor I

If you have the FlexSPI driver enabled in Linux it will configure the interface to be memory mapped so there is no need for a driver on the M4

jeff

0 项奖励
回复
1,309 次查看
evanthompson
Contributor II

That may be true for reads (I have not tried it), but the QuadSPI does not support memory-mapped writes (the peripheral's AHB Bus interface only provides a read operation).

0 项奖励
回复
1,309 次查看
jeff_hane
Contributor I

Ah, sorry I am using an iMX8 which does both read/write

0 项奖励
回复
1,310 次查看
jamesbone
NXP TechSupport
NXP TechSupport

Unfortunately Nop, the SDK provided with the FReeRTOS and the baremetal drivers that you already review are the only drivers that we have ,since usually as you also mention the QuadSPI we leave it for booting device and not as a peripheral. I apologize for the inconvenience.

We can offer you our Professional Services, they can help you in develop the proper driver for the Quad SPI. here is the link for more details :

NXP Professional Services | NXP 


Have a great day,
TIC

-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 项奖励
回复