What should be the value of bufferSize in HAL_SPI_TransmitReceive_DMA?
When I set my SPI to full duplex mode and CRC is enabled then what should be the value of bufferSize in HAL_SPI_TransmitReceive_DMA(&hspi1, (uint8_t*)aTxBuffer, (uint8_t *)aRxBuffer, bufferSize ) function?
for ex size of buffers is 4 bytes (excluding CRC bytes). Then What should be the value of bufferSize in following function?:
HAL_SPI_TransmitReceive_DMA(&hspi1, (uint8_t*)aTxBuffer, (uint8_t *)aRxBuffer, bufferSize ).
Note: CRC is enabled on both master and slave side.
