Hello @yosri_c,
In order to use FlexSPI2 primary pin group you can use two boot modes, Internal boot and boot from fuses:
In the case that you would use the Internal boot, the BOOT_CFG [11] needs to be in 1, this in order to configure the FLEXSPI_INSTANCE in "FLEXSPI2", as shown the image below:
Habib_MS_0-1720478084869.png
On the other hand, in the case where you would boot from fuses, consider these fuse regions:
-eFuse 0x940 FLEXSPI_INSTANCE: Used to select which FLEXSPI instance is going to use:
Habib_MS_1-1720478084870.png
-eFuse 0x9A0 FLEXSPI_PIN_GROUP_SEL: Select which PORT connection are going to use.
-eFuse 0x9A0 FLEXSPI_DQS_PIN_SEL: Select which DQS pin is going to use.
-eFuse 0x9A0 FLEXSPI_CONNECTION_SEL: Select which pin group are going to use:
Habib_MS_2-1720478084871.png
Remember that DQS pin variates depending on the used PORT. Complementing the idea, this post has more information about DQS pin that could be helps. Additionally, the memory map of the FLEXSPI2 starts in the address 6000_0000, as shown the memory map in the RM:
Habib_MS_3-1720478084872.png
Also, if you experience any issue, do not hesitate to let me know.
BR
Habib.