Hi,
I try to use QSPI to communicate with Gigadevice NAND flash http://www.datasheet-pdf.com/Search-Datasheet-PDF/GD5F1GQ4. There's no DK, the custom board was produced, but the QSPI example from SDK 16.0.0 is used as base.
Thought QSPI can be used as "ordinary" SPI, but, it seems not so. Just after the nrf_drv_qspi_init() function is called (before any memory config), continuously communication is started. The picture is as here: https://devzone.nordicsemi.com/f/nordic-q-a/40884/need-qpi-code-example-for-my-memory-chip/158966#158966, however, RDSR request (0x05) is cyclic. Next 0x05 RDSR request is started immediately after previous ends. And, in controversy with that picture, there's no any custom commands after 0x05 SR request when stepping through nrf_drv_qspi_cinstr_xfer() function. CINSTCONF register always set to 0x00000000 in Watch window.
When I tried to search a code that can produce RDSR request, there's one place was found: nrfx_qspi_mem_busy_check func, but this code not used and optimized away from project...
1. How to use external flash that doesn't have any 0x05 command? Is it hardwired in NRF52840 to send RDSR or can be changed in drivers?
2. How to make that RDSR request was not cyclic and/or to implement any other custom command between RDSR requests as displayed at picture above? For a start, I'd like to read ID from flash.