Arduino Uno as SPI slave

As I haven't seen the code of the other side I would expect the error to be there. Or the connections are not correct.

Why?

The slave code you provided in the original post won't work on the SAMD21, i won't even compile.