This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

nrf_drv_qspi_write taking around 500 micro sec ( long time to write ) . Why it could be problem ?

nrf_drv_qspi_write taking around 500 micro sec ( long time to write ) . How to optimize nrf_drv_qspi_write time.?

Parents Reply
  • Hi, 

    You should look into the datasheet of your Flash memory and the Interface Description section of the nRF52840 PS to understand the protocol for writing to Flash via QSPI. The datasheet of their Flash memory also contains a specification for the Page Program Cycle Time, which is the longest part of a write command. For a Flash memory with 256 byte pages it takes two PP Cycle times to write 512 bytes.

    ARPITHA CHANDRASHEKAR said:
    Is there possibility of having SPI instead of QSPI ? Will it create same set of issues.

    If the memory supports SPI, there is no problem using SPI instead of QSPI. I'm can't comment on if that would be better, as it depends on what is causing the longer time with QSPI. 

    -Amanda H.

Children
Related