Arduino due spi problem and ide1.5.3 problem

Hello alexandrosroidis,

I don't see that you are declaring pins 4 and 10 in your sketch. In order for Due to handle those pins as CS,
you have to initialize them as follows:

void setup(){
  // initialize the bus for a device on pin 4
  SPI.begin(4);
  // initialize the bus for a device on pin 10
  SPI.begin(10);
}

For more information about how to set multiple SIP slaves using Arduino Due, please, read the Arduino extended SPI reference for Due. Here the link:

I recommend you to fix your SPI problem first and then try to solve your IDE 1.5.3 later on. Anyway, verify when using IDE 1.5.3 that your selected board is the Due
and not a different one like the UNO. I happened to me that when I upload a new IDE, in my excitement, I use to forget to set the board.

Regards!