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:
I will upload the project I am working with shortly.
Solved! Go to Solution.
Hello,
After much hardship, I was able to get this to work. In case other people are interested, I posted a working version of the example code at FlexSPI A2 Chip Select Not Toggling.
Hi,
Best regards,
Felipe
Hello Felipe,
Hi,
In parallel mode, A1 and A2 could not be accessed at the same time. Same for B1 and B2. Please refer to Chapter 9.6.3.1 for boot Configuration, and the "Bit2 – ParallelModeEnable" of "controllerMiscOption" register for parallel mode enable.
Best regards,
Felipe
Hello,
After much hardship, I was able to get this to work. In case other people are interested, I posted a working version of the example code at FlexSPI A2 Chip Select Not Toggling.