SPI connection between Due and Uno

Hi i connected Due and Unofor SPI connection but I dont exactly know about coding, sending data and how to feedback if this true?

My connection

Due Uno

3.3V 3.3V (Orange)
GND GND (Yellow)

GND 12 (White)
MOSI 13 (Black)
SCK 11 (Brown)
10 10 (Red)

My connection

And your code?

Are the colours significant? They have no obvious relationship to the post.

Also it appears to me that you have the wires in the wrong place

On the UNO it's

MOSI 11
MISO 12
SCK 13

With SPI all MOSIs, MISOs and SCKs are connected together.


Rob