Taijun Kozarashi / SDFileSystem

Dependencies:   FATFileSystem

Fork of SDFileSystem by mbed official

Revision:
3:098816055491
Parent:
2:c8f66dc765d4
diff -r c8f66dc765d4 -r 098816055491 SDFileSystem.cpp
--- a/SDFileSystem.cpp	Thu Nov 29 10:56:21 2012 +0000
+++ b/SDFileSystem.cpp	Thu Jun 05 12:03:04 2014 +0000
@@ -143,8 +143,8 @@
 #define SDCARD_V2HC 3
 
 int SDFileSystem::initialise_card() {
-    // Set to 100kHz for initialisation, and clock card with cs = 1
-    _spi.frequency(100000);
+    // Set to 16MHz for initialisation, and clock card with cs = 1
+    _spi.frequency(16000000);
     _cs = 1;
     for (int i = 0; i < 16; i++) {
         _spi.write(0xFF);