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,

    Not sure about your calculations, but it is 32Mb/s * 4 = 128Mbps, so 512 bytes should take 4µs. However, that means that 600µs is even longer. 

    May I know how you measure the time, and what other things your application is doing? Are you using BLE? If so the softdevice may be busy using the radio. Do you get 600µs every time or sometimes only? If only sometimes, it may suggest that the softdevice keeps the CPU busy. Do you have an event handler or a blocking call to the tx function?

    -Amanda H.

Children
Related