Hello,
I am using the SPI unit of the F28335 in slave mode, using the FIFO.
The master sends dummy bytes to read from the F28335:
I observe the MOSI and MISO lines with my scope and I see a strange behaviour :
If the F28335 has data to send in the FIFO, everything works as expected. However, if the FIFO is empty, the F28335 sends the exact same dummy byte it receives as clocking byte. It looks like a local loopback mode. I was expecting to receive 0s in that case.
I can tune my master to ignore those bytes, but I wonder if I am not doing something wrong, since I also loose bytes regularly on the master.
Kind regards,
Mohamed Sedjai