Sending messages using SPI peripherals - stm32f746zg
Hi,
I'm using stm32f746zg board, and I need to send message from spi1(full duplex master ) peripheral to spi2( full duplex slave) peripheral (on the same board) and then back to spi1. Also i want to use interrupts/DMA.
1) If the message length is unknown to the receiver, what APIs should I use for this task and what callback functions?
2) I tried using functions like HAL_SPI_Transmit_IT and HAL_spi_Receive_IT but with no luck (attached example codes) . How should I approach this problem?
