2018-12-05 09:00 AM
to develop a SPI full-duplex dma communication, I use an stm32L4 as MASTER and an stm32L0 as a slave.
firstly to check if the slave is ready, master send tram "is OK", the slave receives the trame and if he is ready he sends tram "ok".
After when the master sends next tram to configure slave, the trame is sent but, he receive at the same time the previous tram "ok".
and the same thing for the slave when he receives the configuration frame, he sends a truism to say he is configured but he receives at the same times the previous term "is OK".