Beware that this post is related to an SDK in maintenance mode
More Info: Consider nRF Connect SDK for new designs
This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Unable to initialize the QSPI memory

Hi Everyone

We are using nrf52840 for our custom PCB along with QSPI memory. We are using W25Q128FV as our qspi memory chip.

This function mentioned below is used to initlaize the hardware pins which are to be used for qspi communications. But this gives us an error code(0x13) which stands for TIMEOUT.

err_code = nrf_drv_qspi_init (&config, qspi_handler, NULL); 

Everything is good on the hardware side. 

As per the documentation from the nordic :  This function configures the peripheral and its interrupts and activates it. During the
 activation process, the internal clocks are started and the QSPI peripheral tries to read
 the status byte to read the busy bit. Reading the status byte is done in a simple poll and wait
mechanism.

Now my question is that if the status registers are different for a particular chip , how can i write my custom software based on the qspi protocol.

Another interesting thing is that the status register address for chip that i am using is (0x05) which is also same as defined in the library file , but it is responding me with a TIMEOUT error.



Parents Reply Children
Related