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
NUCLEO-L152RE
About 1MBytes/sec
Diff: spi_device.h
- Revision:
- 15:b363001c7e40
- Parent:
- 14:a8d42e636b7d
- Child:
- 16:54e179cc3063
--- a/spi_device.h Sat Aug 27 06:01:06 2016 +0000 +++ b/spi_device.h Sun Aug 28 23:50:01 2016 +0900 @@ -18,8 +18,8 @@ #define SPI_DEV 1 -#if defined(TARGET_NUCLEO_F411RE)|| defined(TARGET_F401RE) -#define CS D10 /* PB_6 */ +#if defined(TARGET_STM32F4) || defined(TARGET_STM32L4) +#define CS D10 /* PB_6 or etc. */ #if SPI_DEV==1 /* SPI1 */ #define MOSI D11 /* PA_7 */