Joe's Modified SDFileSystem for VSG board

Dependencies:   FATFileSystem

Dependents:   VSG_DataLogger1_VariableSpeed SENtral_SimpleSerialHostInterface

Fork of SDFileSystem by mbed official

Revision:
7:1824280c9c66
Parent:
4:3f40cbfe801c
--- a/SDFileSystem.cpp	Fri Sep 09 19:35:14 2016 +0000
+++ b/SDFileSystem.cpp	Tue May 08 19:48:57 2018 +0000
@@ -124,8 +124,10 @@
     _cs = 1;
 
     // Set default to 100kHz for initialisation and 1MHz for data transfer
-    _init_sck = 100000;
-    _transfer_sck = 1000000;
+    //JM had to slow these down for the VSG board which does not use HSE
+    //JM ....still fast enough for datalogging
+    _init_sck = 312500;     //JM was 100000, which was not divisable by clock tree 
+    _transfer_sck = 312500; //JM was 1000000
 }
 
 #define R1_IDLE_STATE           (1 << 0)