Sending message from slave to master (SPI)
Hello,
I'm trying to send a message from slave to master using spi (I'm using only one stm board) and so far nothing I tried has worked. AFAIK for the slave to send data to master, the master has to initiate communication first by sending clock signals, and dummy bytes.
1) To be able to send data from slave to master, is Full Duplex is a must (for purpose of Master to send dummy bytes while simultanously receiving bytes)?
2) I tried using HAL_SPI_TransmitRecieve() in Master size but I'm not sure what function should I use with the slave, and what is the order of function calls.
I would appreciate your help,
Thanks!
