Dear All,
I am looking for sample code to use an external QSPI flash (MACRONIX MX25R6435FZAIL0). The code is run an nRF52840 based custom board.
Your help is appreciated.
Thanks
Dear All,
I am looking for sample code to use an external QSPI flash (MACRONIX MX25R6435FZAIL0). The code is run an nRF52840 based custom board.
Your help is appreciated.
Thanks
I'm sorry, but we don't have any QSPI sample projects in NCS as of yet, and I was not able to find a sample in Zephyr either. You can check out our QSPi driver located here, but a full sample is still in the works.
Alternatively, you can check out the QSPI example in our nRF5 SDK and use that as a base for a template of sorts in a Zephyr project, just to get a feel for how initialization is done and so on.
Best regards,
Simon
Simonr, isn't the "spi_flash" example (in "/ncs/zephyr/samples/drivers/spi_flash") an example of the the nRF52840-DK using the MX25R624 with QSPI?
Additionally, I have a related question, from the following https://infocenter.nordicsemi.com/index.jsp?topic=%2Fps_nrf52840%2Fqspi.html, it mentions that the QSPI can be used for “Single/dual/quad SPI input/output”. In the "spi_flash" example quad spi is used. Do you know how I could go about getting dual-spi to work within Zephyr for the MX25R64?
Hi Matt
Yes, this is correct. I'm not entirely sure, but this might not have been part of the Zephyr version available in August, but I could be wrong of course and I may simply have missed it. Either way,the SPI_Flash sample project should indeed work for using the MX25R624 with QSPI. Thank you for the update!
I'm sorry, it doesn't seem like we've got any dual-SPI examples in particular. If you have any particular questions/issues with setting this up, I suggest creating a separate ticket where you describe in detail what exactly you need help with in regards of implementing dual SPI and we'll do our best to assist you.
Best regards,
Simon
Hi
No, we do not have any particular dual SPI examples, but it should be able to modify the QSPI example to run in dual SPI mode. I would suggest that you create a separate DevZone ticket if you need any details on how to do that though.
Best regards,
Simon