Pages: [1]   Go Down
Author Topic: SD Library - which pins ?  (Read 589 times)
0 Members and 1 Guest are viewing this topic.
Dubai, UAE
Offline Offline
Edison Member
*
Karma: 21
Posts: 1670
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
« Last Edit: December 02, 2012, 07:08:39 am by DuaneB » Logged


0
Offline Offline
Edison Member
*
Karma: 44
Posts: 1470
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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

 
Logged

Dubai, UAE
Offline Offline
Edison Member
*
Karma: 21
Posts: 1670
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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
Logged


Pages: [1]   Go Up
Jump to: