- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Slave quad spi ( CYW20719B2 ) is used to receive 640-bytes again and again.
uint8_t rec_data[640];
...
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?
Regards
Jian
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.