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?
已解决! 转到解答。
已解决: Can we use a XIP flash and a data flash at the sam... - NXP Community Form this site,I find the answer
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
Hi @ccc_clive
LPSPI IP limit, Please check the pin situation:
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
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
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
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
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