This question is about HAL_SPI_TransmitReceive
This question is about HAL_SPI_TransmitReceive.
If a slave starts sending 8 bytes of data after the 4th byte sent by the master, is it possible to use HAL_SPI_TransmitReceive without a dummy (ignore) buffer?
We will be the master side.
Our assumption is that a dummy (ignore) buffer will be created.
HAL_SPI_TransmitReceive(&hspi1, sbuf, rbuf, 12, 1000)
sbuf[12] = { A, B, C, D, Dummy, Dummy, Dummy, Dummy, Dummy, Dummy, Dummy }
rbuf[12] = { Dummy, Dummy, Dummy, Dummy, A, B, C, D, E, F, G, H }
Is this perception wrong?
