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
已解决! 转到解答。
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:
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
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
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:
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