Hello,
I am trying to modify the FLEXSPI example to work with a second QSPI chip, but I'm running into some issues and I have some fundamental questions regarding the example.
Background:
I am working with the RT1060 dev board and the 2.9.3 SDK in MCUXpresso 11.3.1. On the dev board, we have attached a second IS25WP064A and connected the chip select signal to [P2] GPIO_SD_B1_04. In software, I have added the chip select signal to the FLEXSPI group, labeled it as FlexSPI_SS1, and configured it the same way as FlexSPI_SS0 (IOMUXC_SetPinConfig(IOMUXC_GPIO_SD_B1_04_FLEXSPIA_SS1_B, 0x10F1U);). Additionally, I have modified flexspi_nor_config_t qspiflash_config in evkmimrt1060_flexspi_nor_config.c and added .sflashA2Size = 8u * 1024u * 1024u.
Problem:
I am unable to confirm that the second QSPI chip is responding and is being controlled.
Questions:
- When the programmer takes control and starts to program the board, the MIMXRT1060_SFDP_QSPI.cfx detects two chips, but they are the same address (0x60000000). Is this expected or is this the first sign that something isn't correct.
- Since this is XIP, does the memory viewer not allow me to change the memory directly?
- Is it expected that the A2 chip memory location has the same data as the A1 chip for the header location?
- Looking at the code, I can see that it initializes A1 directly. Do I need to initialize A2 in the same way?
I will upload the project I am working with shortly.