Hello,
I am a bit confused about the SPI api documentation: https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/zephyr/reference/peripherals/spi.html#spi-api
The spi_transceive function accepts multiple tx and rx buffers. How are these used? I think my question is not specific for SPI slave or master, but just for context: I am trying to implement a SPI slave. All the examples I found all use a 1 or 2 byte single tx and rx buffer. But the api accepts multiple buffers, and even a different amount of buffers for tx and rx, I don't see how this is supposed to be used.
What I need is as much throughput as I can get, and BLE with the nrf52 has a max throughput of about 1.4 Mbit, right? and the uarte has a max of 1Mbit baudrate. So we would like to use the spi slave to transfer data at a higher rate.
Is it possible to configure 2 buffers in a ping pong configuration, for example? So, new data can still be received when part of it is being transferred over BLE?
thank you
