FPGA connection with 52840 using QSPI interfce issue


we want to connect  FPGA   to 52840 using QSPI interface for data transfer,  52840 used as master, and FPGA  as slaver.  so we use write opcode PP4O for 4 lines writing data .

now we met problem , FPGA couldnot receive correct data from 52840. we used oscilloscope to grasp signals, found that 52840 continuously  send 0x05 (read status reg1), it seemed read status reg opcode looping. so the transfer data could not be sent out. 

please check the following:

err_code = nrf_drv_qspi_write(my_tx_buf, QSPI_TEST_DATA_SIZE,0)



could you help us? thanks