LS1046 Configure QSPI for dual mode

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

LS1046 Configure QSPI for dual mode

跳至解决方案
2,608 次查看
kzambrano
Contributor III

Hi,

  Was wanting to configure the QSPI to use only 2 data lines. Per the LS1046ARM spec, Chp 27, this is possible. Looking at section 3.4.7, the IFC word can be modified to reconfigure the pins in the  RCW. Need some help understanding the  encoding of this configuration and how to modify it in the RCW. Thanks.

标签 (1)
0 项奖励
回复
1 解答
2,397 次查看
kzambrano
Contributor III

I guess  it's official. No RCW for QSPI to modify data lines so they stay in single mode until the kernel takes over.

在原帖中查看解决方案

0 项奖励
回复
3 回复数
2,397 次查看
Pavel
NXP Employee
NXP Employee

Look at the following application note about QSPI using:

https://www.nxp.com/docs/en/application-note/AN4512.pdf

 

The Look-up Table register (QuadSPI_LUTn) is used for for setting Single, Dual or Quad I/O mode. See the Section 3.1.2 of the AN4512 and find the "Read from flash in Dual SDR Mode" in this Application Note.

 

Use PBL for setting QuadSPI_LUTn for this mode.


Have a great day,
Pavel Chubakov

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

0 项奖励
回复
2,397 次查看
kzambrano
Contributor III

Thanks Pavel,

  Per the spec, QSPI comes up in single mode, however I don't see anything in the PBL taking it out of this mode. Further, in UBOOT, it appears that single mode is preserved. Would you be able to confirm this?

PBL_data.PNG

0 项奖励
回复
2,398 次查看
kzambrano
Contributor III

I guess  it's official. No RCW for QSPI to modify data lines so they stay in single mode until the kernel takes over.

0 项奖励
回复