first

Dependencies:   SDFileSystemDMA mbed

Refer to:
https://developer.mbed.org/users/mimi3/code/SDFileSystemDMA

Caution

If your board has SRAM less than or equal to 8KB, the 'buffer' size must be set to 512 Bytes.

NUCLEO-F411RE
About 2.5MBytes/sec
/media/uploads/mimi3/sdfilesystemdma-speed-test-teraterm-output-f411re.png
NUCLEO-L152RE
About 1MBytes/sec
/media/uploads/mimi3/sdfilesystemdma-l152re-cui.png

Revision:
10:5f6fc7dc119b
Parent:
9:289de1b6d378
Child:
11:d5fc11ac948a
--- a/main.cpp	Sat Feb 20 13:57:35 2016 +0900
+++ b/main.cpp	Sat Feb 20 14:04:54 2016 +0900
@@ -18,11 +18,14 @@
        ---   :   12       :  - case GND
 */
 
+/* You should confirm SPI_DEV macro in "spi_device.h" to specify SPI device number.
+ * (default is 1 (SPI1))
+ */
 #include "spi_device.h"
 
 #define UART_KEY_PRESS  1
 
-#define SPI_CLOCK_HZ    ( 100 * 1000000 ) 
+#define SPI_CLOCK_HZ    ( 12 * 1000000 ) 
 Timer timer;
 Serial pc(USBTX,USBRX);