Slave quad spi ( CYW20719B2 ) is used to receive 640-bytes again and again.
wiced_hal_pspi_slave_rx_data(SPI1, sizeof(rec_data), rec_data);//How many microseconds?
I want to calculate that how many microseconds does wiced_hal_pspi_slave_rx_data() need?
Sorry we didn't test the time for this API. The API is used to pull rxLen data from the rx fifo which should be quite fast. For SPI1, the FIFO is 1024 byte and shared with the UART. For SPI2, the FIFO is 256 byte.
If you plan to receive 640 byte, it is better to use the SPI1. You can test the time for this API with a GPIO output toggle.