Pages: [1]   Go Down
Author Topic: SD Card Without SPI Pins Available  (Read 713 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 38
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I screwed up big. Not anticipating I would need to use an SD card for my project, I soldered some wires to my SPI pins, totally unaware that they were special. So now that I need to use the SPI pins, I am unable to access them without seriously rewriting my code and unsoldering the SPI pins.

So, to avoid a ton of work, is there a way to bit bang an SD Card? I don't need fast data reads or writes, I just need to be able to access the SD card.
Logged

Global Moderator
Boston area, metrowest
Offline Offline
Brattain Member
*****
Karma: 446
Posts: 23872
Author of "Arduino for Teens". Available for Design & Build services. Now with Unlimited Eagle board sizes!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Search for "software SPI", I think fat16lib has code for that.
Logged

Designing & building electrical circuits for over 25 years. Check out the ATMega1284P based Bobuino and other '328P & '1284P creations & offerings at  www.crossroadsfencing.com/BobuinoRev17.
Arduino for Teens available at Amazon.com.

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

Sorry, but I stumbled upon this and am having trouble sorting through how exactly to use the softSPI. I saw a similar option in the sdfat library, but once again, didn't understand it
Logged

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

Alright, I made some progress on this. For arcival purposes, check out http://forums.adafruit.com/viewtopic.php?f=31&t=22796, http://arduino.cc/forum/index.php?topic=65918.0, and http://www.adafruit.com/forums/viewtopic.php?f=31&p=128589. Hope this helps other web wanderers =)
Logged

Pages: [1]   Go Up
Jump to: