I looked in a lot of places, but was not able to find a correct answer. Can the QSPI_1 be used as a standard SPI interface with any SPI sensor or device?
If yes, can I assume the following pin mapping?
QSPI_1_MOSI = 56
QSPI_1_MISO = 58
QSPI_1_CS = 54
QSPI_1_CLK = 52
thank you for using the Toradex community.
Unfortunately, the QSPI can in general not be used as a standard SPI interface as of today.
Sorry to not have a better answer for the moment.
thanks, that helps to go ahead with the carrier board design. Can we use the QSPI_CS2 for the SPI? I understood it is just a standard GPIO.
Verdin iMX8M Plus datasheet on page 20, we can see that the signal name QSPI_1_CS2# (ball name NAND_READY_B) is only a regular GPIO, so if you need to repurpose it as a GPIO, you are good to go.
@kevin.tx, has there been any change on this in the last year? Is it now possible to use QSPI at all?
I have never tried to use QSPI, but seems like it is indeed possible. You can see an example here:
Solved: QSPI nor flash in imx8mp-evk.dts - NXP Community
I will double-check internally.
Are you facing any issues?
I think that link shows how to configure the QSPI (spi-rx-bus-width = <4>;) , not how to re-configure the QSPI controller as standard SPI.
do you reckon that setting spi-rx-bus-width = <1> would be enough? do you have the chance to test internally?
Yes. Indeed. From
I understood that he wanted to use QSPI in some way, e.g. for mass storage devices.
After checking internally, seems like QSPI (through FlexSPI in Verdin iMX8MP’s case) is indeed limited to dealing with mass storage devices.
For “common” SPI devices, other SPI interfaces (ECSPI in Verdin iMX8MP’s case) should be used.
Do you have any news about this topic?
January 26, 2023, 9:48am
no, currently we are not pursuing this idea anymore