Forked so that I could up the speed to 8MHz, which seems to work just fine on my LPC1768, and with any of the half dozen or so micro-sd cards I tested it on.
Fork of SDFileSystem by
Revision 4:ef8db874908b, committed 2015-01-26
- Comitter:
- labmrd
- Date:
- Mon Jan 26 04:27:32 2015 +0000
- Parent:
- 3:7b35d1709458
- Child:
- 5:21905a68925e
- Commit message:
- Changed from 1MHz data transfer to 8MHz data transfer
Changed in this revision
| SDFileSystem.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/SDFileSystem.cpp Mon Mar 17 14:34:01 2014 +0000
+++ b/SDFileSystem.cpp Mon Jan 26 04:27:32 2015 +0000
@@ -207,7 +207,7 @@
return 1;
}
- _spi.frequency(1000000); // Set to 1MHz for data transfer
+ _spi.frequency(8000000); // Set to 8MHz for data transfer
return 0;
}
