Which are the pins I should use for SPI comunication with arduino DUE? please specify all four wires for SCLK, MOSI, MISO and CS. I´m currently trying to conect an ADXL345 accelerometer to arduino DUE unsuccessfully using
10 for CS,
11 for SDA,
12 SDO and
13 SCL
pins. This work perfectly in my Arduino Duemilanove, but I need the 3 SPI conections (4 10 and 52) capability of Due.
Those signal names are not really SPI names, more a mix of I2C and SPI, are they from the ADXL345?
Anyway on the Due SPI is as follows
SCK - 76
MISO - 74
MOSI - 75
CS/SS - whatever pin you like. There are 2 dedicated slave select pins (D4/87 and D10/77) but I don't know if the SPI library uses them.