I've been enjoying my Teensy 3 and using the on-board RTC, touch pins, and have wired up LCD and OLED displays from Adafruit. However, I can't get the SD library working with the PJRC Micro SD adapter--either the library that Paul updated two beta versions ago or the new SDFat beta. The SD.begin() call always returns false whether I call with a custom CS pin as parameter or with the default CS pin (pin 10) and no parameter.
I know the SPI pins on my T3 are functional because I'm running an OLED display through these SPI pins as I write this. The SD adapter is also functional because I swapped in a Teensy 2 on the same breadboard using the same breadboard wires and holes on the SD side and that worked fine. I've even powered the SD adapter using the T3's power pins and used the T2's SPI signals (this arrangement also worked).
I have also tried using a variety of CS pins, setting the hardware SS pin(s) to outputs, and all sorts of other wiring variations. I can't find anything in the code that might obviously be tripping me up: I'm using the examples verbatim from the SD and SDFat libraries, either specifying a custom CS pin in the initialization call or using the default hardware SS pin with no parameter passed to the .begin function.
I can post photos of wiring and samples of code later, but for now I'd like to know if anyone else is having problems with SD on T3. Anyone?
Thanks!
Dave
I know the SPI pins on my T3 are functional because I'm running an OLED display through these SPI pins as I write this. The SD adapter is also functional because I swapped in a Teensy 2 on the same breadboard using the same breadboard wires and holes on the SD side and that worked fine. I've even powered the SD adapter using the T3's power pins and used the T2's SPI signals (this arrangement also worked).
I have also tried using a variety of CS pins, setting the hardware SS pin(s) to outputs, and all sorts of other wiring variations. I can't find anything in the code that might obviously be tripping me up: I'm using the examples verbatim from the SD and SDFat libraries, either specifying a custom CS pin in the initialization call or using the default hardware SS pin with no parameter passed to the .begin function.
I can post photos of wiring and samples of code later, but for now I'd like to know if anyone else is having problems with SD on T3. Anyone?
Thanks!
Dave
Last edited: