I had a couple of questions regarding the SPI slave peripheral on NRF52:
-
What is the behavior of the peripheral if a transaction completes (NSS goes high) and another one starts before the receive buffer has been read? Is the buffer overwritten starting from the beginning again? On the transmit side I assume it's sending SPIS_DEFAULT_DEF?
-
What happens in the case that the master is in the middle of a transaction and a call is made to nrf_drv_spis_buffers_set? What does clocked out data look like and what happens to the buffer on the receive side? Does transmit immediately go from SPIS_DEFAULT_DEF to the new valid transmit data?
-
I'm a bit confused about when SPIS_DEFAULT_DEF and SPIS_DEFAULT_ORC are sent.