I want to communicate STM32L053 and STM32L151 using the SPI,STM32L0 as master and STM32L1 as slave.
The flow is to catch the character from the USART of L0 and transmit it to the MOSI of the L0 and slave(L1) has to receive and retransmit it to the MISO pin and display it on the USART.
After recieving character from the MISO pin L1 has to send and display it on the USART.
But Slave recieves the some garbage value, both boards run on the same frequency of 24 MHz.
Is there any solution for this problem?