Go Down

Topic: SD Library - which pins ? (Read 805 times) previous topic - next topic

DuaneB

Dec 02, 2012, 01:06 pm Last Edit: Dec 02, 2012, 01:08 pm by DuaneB Reason: 1
Hi,
   Can anyone help me out and clarify which pins I should use for the SD library on the Due ?

   EDIT : Ok found the MOSI etc on the pin out, looks like I will have to solder up a quick adaptor before I can try the library.

Thanks

   Duane.
Read this
http://rcarduino.blogspot.com/2012/04/servo-problems-with-arduino-part-1.html
then watch this
http://rcarduino.blogspot.com/2012/04/servo-problems-part-2-demonstration.html

Rcarduino.blogspot.com

fat16lib

You must use the "ICSP" pins.  Unfortunately this is the only access to SPI.

Quote

SPI: SPI header (ICSP header on other Arduino boards)
These pins support SPI communication using the SPI library. The SPI pins are broken out on the central 6-pin header, which is physically compatible with the Uno, Leonardo and Mega2560. The SPI header can be used only to communicate with other SPI devices, not for programming the SAM3X with the In-Circuit-Serial-Programming technique.


From here http://arduino.cc/en/Main/ArduinoBoardDue


DuaneB

Bit of a mission, but got there finally.

I soldered jumpers directly to the SD Card and and have them connected to the Arduino through female headers soldered back to back. Not pretty but working.

Found the SD Card pinouts here -

http://elasticsheep.com/2010/01/reading-an-sd-card-with-an-atmega168/

Duane B

rcarduino.blogspot.com
Read this
http://rcarduino.blogspot.com/2012/04/servo-problems-with-arduino-part-1.html
then watch this
http://rcarduino.blogspot.com/2012/04/servo-problems-part-2-demonstration.html

Rcarduino.blogspot.com

Go Up