PDA

View Full Version : Accessing the SdCard with SdFat.h and teensy 3.0



November
12-16-2012, 08:11 PM
I have compiled and installed the quickstart program that comes with the SdFat.h lib (newest version) onto my teensy 3.0, however, I cant get past the chip select phase. My adapter is soldered onto the teensy as close to (over) the usb port as possible. The slot faces the same direction as the usb port and all the pins are soldiered.

The chip select pin should be 0, however, I have tried all possible pin numbers and none seem to work.

Is this an issue with my soldering or the software?

Below is a photo

89

pixelk
12-16-2012, 08:28 PM
AFAIK the pins used for SPI are on the other side of the board. This daughterboard was created to be mounted like that on a Teensy2, not a Teensy3.

November
12-16-2012, 08:42 PM
AFAIK the pins used for SPI are on the other side of the board. This daughterboard was created to be mounted like that on a Teensy2, not a Teensy3.


So what should I do? How do I re-attach it or should I even bother?

pixelk
12-16-2012, 09:26 PM
1) desolder the adapter
2) bridge the 3V jumper with a blob of solder
91

3) solder wires according to their usage :
90
+5V goes to 3.3V
Ground goes to GND
MOSI goes to DOUT (pin 11)
MISO Igoes to DIN (pin 12)
SCLK goes to SCK (pin 13)
SS goes to CS0 (pin 10)

the teensy3 led should flash when you try to access the sd-card

November
12-17-2012, 04:09 AM
Thanks, this helps alot

UnaClocker
12-17-2012, 04:14 AM
That's a cool board, where can I get one?

pixelk
12-17-2012, 05:37 AM
http://www.pjrc.com/store/sd_adaptor.html