Implementing an SSI slave interface on STM32 Board
I am trying to implement a SSI Slave Protocol on a STM32 Board. Since the STM32 Boards don't have a SSI interface, I used its SPI interface in Slave(Transmit only mode). The master SSI sends 24 clock signals and the slave reacts by sending its data(3 Bytes) over the MISO pins. The problem I am facing is that the data is always shifted on the left on every clock signal coming from the master. For example assuming I am constantly sending 0x010101 from slave.
- At first transmission the master receives 0x010101
- At Second transmission the master receives 0x020202
- At third transmission the master receives 0x040404
Can someone please give me some hints on how to solve this problem?

