Hi Lukas,
thank you very much for your prompt reply!
I had a deeper look into the issue and noticed that, when reading the data sent by the peripheral, the Pop Next Pointer (POPNXTPTR) field in the SR of the controller points to the wrong Rx FIFO Entry, i.e., it points to the RXFR element next to the one holding the received data. For instance, POPNXTPTR = n, indicating that the RXFR_n holds the SPI data that will be returned when reading POPR, but I can see the received data byte in RXFR_n-1. As a consequence, I always read the dummy byte sent by the peripheral, when I read from POPR.
Does that simply mean that I'm not reading the Rx FIFO at the correct time, resulting in a mismatch between the expected and actual FIFO entries, or could the issue be caused by something else?
Thanks again for any help.
Best,
Fabio