Pages: [1]   Go Down
Author Topic: SD library problem?  (Read 2688 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 20
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi guys, i've just received my brand new arduino due! i was triyng to connect my sdcard to arduino due following the same arduino uno schematic but without any resistor of course (it's already 3.3 volts!) but noway... doesn't work, card initializzation error... and i'm 100% sure about the wiring and the cspin... all perfectly wired. also tried on the UNO with the resistor and same wiring (always on breadboard) and nothing...
i'm using arduino 1.5 ide and the integrated SD library (sdcardinfo.ino)
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 3
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I had some pains using SPI devices on my Due at first.

You cannot use pins 10-13 for SPI on the Due, which is the way most people (including myself) connect SPI on an Uno.

Instead, you have to use the "SPI header" (2x3 male pin header) on the Due, which is in the same location as the ICSP header on the Uno.

Let me know if that helps.  There's more info about the the SPI location on the Due at http://arduino.cc/en/Reference/SPI
-Anne
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 20
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Thank you, i'll try as soon as possible your solution smiley
i hope that will work... i also noticed that while the 13pin's led on uno is blinking when data trasfer is occurring, on the due the led is always HIGH, so i suppose it's not working...
if i put all on a arduino uno r3 protoshield connecting the sd pins both to 13,12,11,10 pins and on the spi header i'll encounter some issues?
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 26
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

The SD library works pretty fine with my due and Ethernet Shield (which is also using the ICSP headers).
Logged

Pages: [1]   Go Up
Jump to: