QSPI MIMXRT1051CVL5B

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

QSPI MIMXRT1051CVL5B

跳至解决方案
726 次查看
sapirbuz
Contributor IV

Can we use QSPI for boot (pins GPIO_SD_B1_05, GPIO_SD_B1_06, GPIO_SD_B1_00, GPIO_SD_B1_07, GPIO_SD_B1_08, GPIO_SD_B1_09, GPIO_SD_B1_10 and GPIO_SD_B1_11) ALT 1, ALT6 for SS1.


and another QSPI for another usage? (pins GPIO_AD_B1_08,  GPIO_AD_B1_09,  GPIO_AD_B1_10,  GPIO_AD_B1_11,  GPIO_AD_B1_12 ,  GPIO_AD_B1_13,  GPIO_AD_B1_14 and  GPIO_AD_B1_15)- ALT 0

 

0 项奖励
回复
1 解答
722 次查看
kerryzhou
NXP TechSupport
NXP TechSupport

Hi @sapirbuz ,

   If you use both your mentioned QSPI pin to the same flexSPI port, then you can't, please check the flexSPI port pin related information:

kerryzhou_0-1652770125026.png

This one boot and XIP are OK:

QSPI for boot (pins GPIO_SD_B1_05, GPIO_SD_B1_06, GPIO_SD_B1_00, GPIO_SD_B1_07, GPIO_SD_B1_08, GPIO_SD_B1_09, GPIO_SD_B1_10 and GPIO_SD_B1_11) ALT 1, ALT6 for SS1

But if your code is running in the above flexSPI A port, then you can't connect other QSPI flash to the same flexSPI port, altough they are the different pins.

But your mentioned pins: pins GPIO_AD_B1_08,  GPIO_AD_B1_09,  GPIO_AD_B1_10,  GPIO_AD_B1_11,  GPIO_AD_B1_12 ,  GPIO_AD_B1_13,  GPIO_AD_B1_14 and  GPIO_AD_B1_15

Can be used to other function.

So, summarize it,  two QSPI flash chip, which you mentioned, even it is the different pins, but it is the same flexSPI port.

Just one way, your first one QSPI flash just for booting, then you copy all the code to the internal RAM, and run it in internal RAM, then, you can check the flexSPI pins to another pin, and do the communicate with the second group QSPI flash, and make sure all the code is in the internal RAM, not the boot flash.

 

Wish it helps you!

Best Regards,

Kerry

在原帖中查看解决方案

3 回复数
710 次查看
sapirbuz
Contributor IV

Thank you

0 项奖励
回复
708 次查看
kerryzhou
NXP TechSupport
NXP TechSupport

Hi @sapirbuz ,

  You are welcome!

    If your question is solved, please help to mark the correct answer just to close this case, any new issues, welcome to create the new question post, thanks.

 

Best Regards,

Kerry

0 项奖励
回复
723 次查看
kerryzhou
NXP TechSupport
NXP TechSupport

Hi @sapirbuz ,

   If you use both your mentioned QSPI pin to the same flexSPI port, then you can't, please check the flexSPI port pin related information:

kerryzhou_0-1652770125026.png

This one boot and XIP are OK:

QSPI for boot (pins GPIO_SD_B1_05, GPIO_SD_B1_06, GPIO_SD_B1_00, GPIO_SD_B1_07, GPIO_SD_B1_08, GPIO_SD_B1_09, GPIO_SD_B1_10 and GPIO_SD_B1_11) ALT 1, ALT6 for SS1

But if your code is running in the above flexSPI A port, then you can't connect other QSPI flash to the same flexSPI port, altough they are the different pins.

But your mentioned pins: pins GPIO_AD_B1_08,  GPIO_AD_B1_09,  GPIO_AD_B1_10,  GPIO_AD_B1_11,  GPIO_AD_B1_12 ,  GPIO_AD_B1_13,  GPIO_AD_B1_14 and  GPIO_AD_B1_15

Can be used to other function.

So, summarize it,  two QSPI flash chip, which you mentioned, even it is the different pins, but it is the same flexSPI port.

Just one way, your first one QSPI flash just for booting, then you copy all the code to the internal RAM, and run it in internal RAM, then, you can check the flexSPI pins to another pin, and do the communicate with the second group QSPI flash, and make sure all the code is in the internal RAM, not the boot flash.

 

Wish it helps you!

Best Regards,

Kerry