Hi!
I'm trying to test the communication between the 2 SPIs available on Piccolo f28069.
I've configured SPI-B as master and SPI-A as slave. The transmission is on 16bits. The data received by the slave is correct, the problem is the master. It seems I always miss one more shifting. For example, if the slave sends 0x5A5A, the master reads 0x2D2D. The Clock Polarity and Clock Phase are set to 0 for both the master and the slave. I've scoped the SIMO and SOMI and observed that the SOMI outputs the data a bit later than SIMO. But the master is supposed to read the data on the falling edge, right? So, this shouldn't be the problem. Anyway, I've tried to set the Clock polarity of the slave to 1. Now, the master reads the data correct, but the slave misses one shifting. The sendings and readings are done on tx/rx fifo interrupts.
Does anybody have an idea what I'm doing wrong?
Thanks,
Monica