SPI Problem

Hello,

I have an Arduino Uno and Arduino Due.

My all modules work on Arduino Uno. But doesn't work on Arduino Due.

I guess its about spi interface. I tried Spi.setClockDivider code but doesnt change.

how can i fix this problem ? Do I have to change all libraries of modules ?

The Due has SPI on different pins. For your boards to work on the Due, you must have boards with the 6-pin ISP connector near the centre.

If you aren't using pins 11-13 for anything else, you can hardwire them across on the back of the Due or on the bottom shield of the stack.