can SD Data Logger jumpers zap a Due?

Adafruit Ethernet, Motor, Proto, Wave, Datalogger, GPS Shields - etc!

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
jefflawr
 
Posts: 25
Joined: Thu Aug 01, 2013 2:24 pm

can SD Data Logger jumpers zap a Due?

Post by jefflawr »

Hi,
My SD Data Logger shield works with Uno, but won't initialize with Due.
I installed jumpers to digital pins 11 (MOSI), 12 (MISO) and 13 (SCK) to connect the shield to the alternate SPI bus on the Due.
On my first attempt, I connected them wrong in this manner:
11 (MOSI) was connected to ICSP 4 (SCK2) instead of 3 (MOSI2)
12 (MISO) was connected to ICSP 6 (GND) instead of 1 (MISO1)
13 (SCK) was connected to ICSP 3 (MOSI2) instead of 4 (SCK2)
After connecting them correctly, I ran the "Files" example from the SD library download. It works fine with the Uno but SD.begin(10) fails with the Due.
Scratching my head, I came up with the following questions I'd appreciate answers to:
- Could I have fried my Due with my first bad connections? Any way to check before buying a new one?
- Should I use some six-pin female ICSP connector for better contact? My jumpers now are soldered to the shield with a female plug to connect to the ICSP pins - I read .7-.8 ohms between each shield header pins and its female plug and detected no shorts.
- Should I somehow also connect the ICSP GND, 5V, and RESET2 to analogous pins on the shield?
Thanks for any help.
Jeff

User avatar
adafruit_support_rick
 
Posts: 35092
Joined: Tue Mar 15, 2011 11:42 am

Re: can SD Data Logger jumpers zap a Due?

Post by adafruit_support_rick »

You should have your wiring as follows:
SCK (13) - ICSP 3
MISO (12) - ICSP 1
MOSI (11) - ICSP 4

Pin 1 is indicated by a white dot in the silkscreen
ICSP pinout.png
ICSP pinout.png (9.88 KiB) Viewed 226 times

jefflawr
 
Posts: 25
Joined: Thu Aug 01, 2013 2:24 pm

Re: can SD Data Logger jumpers zap a Due?

Post by jefflawr »

thanks for the tip on the dot for pin 1 on ICSP.
I mistyped - I've connected the jumpers right, just described them wrong. I followed the shield tech tip about Due:
MOSI (11) ICSP 4
MISO (12) ICSP 1
SCK (13) ICSP 3
Question remains - could I have fried something with the origianl mis-wiring?
Thanks,
Jeff

User avatar
adafruit_support_bill
 
Posts: 88154
Joined: Sat Feb 07, 2009 10:11 am

Re: can SD Data Logger jumpers zap a Due?

Post by adafruit_support_bill »

I don't think any of those mis-connections would cause any damage. You had two output signals swapped (SCK and MOSI) and the only input signal was tied to ground. None of that should pose any danger to the Due.

Locked
Please be positive and constructive with your questions and comments.

Return to “Arduino Shields from Adafruit”