imxrt1052 dual spi

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 
4,947件の閲覧回数
ccc_clive
Contributor III

I have checked spi example of sdk2.13 ,but no dual spi or qspi example. I have lookup the reference document,but Ican not understand how to use it in dual io.

I want to read spi flash as fast as posisible in traditional pin.Does there has any example  for dual spi?

0 件の賞賛
返信
1 解決策
4,575件の閲覧回数
ccc_clive
Contributor III
0 件の賞賛
返信
12 返答(返信)
4,576件の閲覧回数
ccc_clive
Contributor III
0 件の賞賛
返信
4,932件の閲覧回数
kerryzhou
NXP TechSupport
NXP TechSupport

Hi @ccc_clive ,

  Dual LPSPI or QSPI is similar to the single one.

  To LPSPI, you need to configure another LPSPI interface, pinmux add the pin configuration, then the main add another LPSPI interface init and calling.

  To the QSPI, flexspi, it is FlexSPIA and flexSPIB, pinmux do the related pin configuration, and the main code do the flexSPI interface configuration.

  If you still have questions about it, please use your company email to create the new case instead of the 3rd part email, it will have higher prioirty, thanks.

Best Regards,

Kerry

   

0 件の賞賛
返信
4,930件の閲覧回数
ccc_clive
Contributor III
I mean LPSPI Dual IO mode and four IO mode.
0 件の賞賛
返信
4,924件の閲覧回数
kerryzhou
NXP TechSupport
NXP TechSupport

Hi @ccc_clive 

LPSPI IP limit, Please check the pin situation:

kerryzhou_0-1684914641319.png

To the dataline, just MISO and MOSI, no other data pins.

If you need to use the QSPI, use the flexSPI, thanks.

Any new issues, please use the company email to create the new case.

Best Regards,

kerry

 

0 件の賞賛
返信
4,817件の閲覧回数
ccc_clive
Contributor III

can i use two spi flash with flexspi ,use one spiflash to code flash with xip and otherone to user data?

0 件の賞賛
返信
4,723件の閲覧回数
kerryzhou
NXP TechSupport
NXP TechSupport

Hi @ccc_clive ,

  For this question, please refer to our expert's blog:

https://www.cnblogs.com/henjay724/p/12375942.html

 You will be more clear.

  If your work your questions for the company, it's better to use the company email to create the question post instead of the 3rd part email, it will have higher support priority, thanks.

 

Best Regards,

Kerry

0 件の賞賛
返信
4,715件の閲覧回数
ccc_clive
Contributor III

But imxrt1052 only one flexspi,and some configrations is shared between porta and portb. how should I do to config 2nd flash in user code? 

0 件の賞賛
返信
4,711件の閲覧回数
kerryzhou
NXP TechSupport
NXP TechSupport

Hi @ccc_clive ,

  So, your user code need to add the 2nd flash configuration code.

   More question, please use your company email to create the new question post, thanks.

 

Best Regards,

kerry

0 件の賞賛
返信
4,691件の閲覧回数
ccc_clive
Contributor III

Is there reference for this issues?

0 件の賞賛
返信
4,679件の閲覧回数
kerryzhou
NXP TechSupport
NXP TechSupport

Hi @ccc_clive ,

  No directly reference, but you can refer to the SDK code, modify the pinmux. flexSPI interface

SDK_2_13_0_EVKB-IMXRT1050\boards\evkbimxrt1050\driver_examples\flexspi\nor\polling_transfer

 

Wish it helps you!

Any new issues, use your company email to create the question post.

Best Regards,

Kerry

 

0 件の賞賛
返信
4,620件の閲覧回数
ccc_clive
Contributor III

I have looked it flexspi nor spi flash example.The coed is work at ram or sdram ,not spi flash.

From this site 痞子衡嵌入式:恩智浦i.MX RT1xxx系列MCU启动那些事(11.B)- FlexSPI NOR连接方式大全(RT1015/1020/1050) - 痞子衡 - 博客园 (cnblogs.com),Note2:如果组合中所有引脚选择全部在BootROM指定范围里,那么BootROM直接支持Data Flash的配置。如果有引脚不在BootROM指定范围,那么需要用户在Code Flash用代码去实现Data Flash配置

I have a doubt question,if flexspi portA is config as code flash with xip,and can I init again for portB in application code?

For  company email,I do not know it,maybe the company that I worked is minor

0 件の賞賛
返信
4,583件の閲覧回数
kerryzhou
NXP TechSupport
NXP TechSupport

Hi @ccc_clive ,

  You can init port B in the app, just let the flexSPI API run in the internal RAM.

 

Wish it helps you!

Best Regards,

Kerry

0 件の賞賛
返信