FPGA connection with 52840 using QSPI interfce issue

hello 

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 0x06 (write enable), it seemed the write enable 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)

APP_ERROR_CHECK(err_code);

WAIT_FOR_PERIPH();

could you help us? thanks

Related