first 2016/02 SDFileSystemDMA inherited from Official SDFileSystem.
Dependents: SDFileSystemDMA-test DmdFullRGB_0_1
Fork of SDFileSystemDMA by
SDFileSystemDMA is enhanced SDFileSystem library for STM32 micros by using DMA functionality.
Max read transfer rate reaches over 2MByte/sec at 24MHz SPI clock if enough read buffer size is set.
Even though minimum read buffer size (512Byte) is set, read transfer rate will reach over 1MByte/sec at 24MHz SPI Clock.
( but depends on the ability of each SD card)
Test program is here.
https://developer.mbed.org/users/mimi3/code/SDFileSystemDMA-test/
Supported SPI port is shown below table.
(v): Verified. It works well.
(w): Probably it will work well. (not tested)
(c): Only compiled. (not tested)
(f): Over flash.
(r): Only read mode. (when _FS_READONLY==1)
(u) Under construction
(z): Dose not work.
Caution
If your board has SRAM less than or equal to 8KB, the buffer size must be set to 512 Bytes.
Supported Boards:
Cortex-M0
Board | SRAM | SPI1 | SPI2 | SPI3 |
---|---|---|---|---|
NUCLEO-F030R8 | 8KB | (v) | ||
DISCO-F051R8 | 8KB | (w) | ||
4KB | (f) | |||
NUCLEO-F042K6 | 6KB | (r) | ||
NUCLEO-F070RB | 16KB | (w) | ||
NUCLEO-F072RB | 16KB | (w) | ||
NUCLEO-F091RC | 32KB | (c) |
Cortex-L0
Board | SRAM | SPI1 | SPI2 | SPI3 |
---|---|---|---|---|
DISCO-L053C8 | 8KB | (c) | ||
NUCLEO-L053R8 | 8KB | (c) | ||
NUCLEO-L073RZ | 20KB | (c) |
Cortex-M3
Board | SRAM | SPI1 | SPI2 | SPI3 |
---|---|---|---|---|
DISCO-F100RB | 8KB | (v) | (v) | - |
BLUEPILL-F103CB | 20KB | (w) | (w) | - |
NUCLEO-F103RB | 20KB | (v) | (v) | - |
NUCLEO-L152RE | 80KB | (v) | (w) | - |
MOTE-L152RC | 32KB | (w) | (w) | - |
Cortex-M4
F3
Board | SRAM | SPI1 | SPI2 | SPI3 |
---|---|---|---|---|
DISCO-F303VC | 40KB | - | (v) | (v) |
NUCLEO-F303RE | 64KB | (w) | (w) | (w) |
NUCLEO-F302R8 | 16KB | - | - | (c) |
NUCLEO-F303K8 | 12KB | (c) | - | - |
DISCO-F334C8 | 12KB | (c) | - | - |
NUCLEO-F334R8 | 12KB | (c) | - | - |
F4
Board | SPI1 | SPI2 | SPI3 |
---|---|---|---|
ELMO-F411RE | (w) | - | (w) |
MTS-MDOT-F411RE | (u) | - | (u) |
MTS-DRAGONFLY-F411RE | (w) | - | (w) |
NUCLEO-F411RE | (v) | - | (v) |
NUCLEO-F401RE | (w) | - | (w) |
MTS-MDOT-F405RG | (u) | - | (u) |
NUCLEO-F410RB | (c) | - | (c) |
NUCLEO-F446RE | (c) | - | (c) |
NUCLEO-F429ZI | (c) | - | (c) |
B96B-F446VE | (c) | - | (c) |
NUCLEO-F446ZE | (c) | - | (c) |
DISCO-F429ZI | (u) | - | (u) |
DISCO-F469NI | (c) | - | (c) |
Information
This library is set to use "short file name" in SDFileSystemDMA/FATFileSystem/ChaN/ffconf.h . ( _USE_LFN=0)
You can change this option to _USE_LFN=1 .
table.md@38:7077795dbf81, 2017-01-22 (annotated)
- Committer:
- mimi3
- Date:
- Sun Jan 22 23:13:11 2017 +0900
- Revision:
- 38:7077795dbf81
- Parent:
- 36:e44163516d13
change: table.md
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
dinau | 36:e44163516d13 | 1 | ** SDFileSystemDMA ** is enhanced SDFileSystem library for STM32 micros by using DMA functionality.\\ |
dinau | 33:73237494298b | 2 | Max read transfer rate reaches ** over 2MByte/sec ** at 24MHz SPI clock if enough read buffer size is set.\\ |
dinau | 33:73237494298b | 3 | Even though minimum read buffer size (512Byte) is set, read transfer rate will reach ** over 1MByte/sec ** at 24MHz SPI Clock.\\ |
dinau | 33:73237494298b | 4 | ( but depends on the ability of each SD card)\\ |
mimi3 | 26:fd7d88d7a4a2 | 5 | |
mimi3 | 26:fd7d88d7a4a2 | 6 | Test program is here.\\ |
mimi3 | 26:fd7d88d7a4a2 | 7 | [[https://developer.mbed.org/users/mimi3/code/SDFileSystemDMA-test/]]\\ |
mimi3 | 26:fd7d88d7a4a2 | 8 | |
dinau | 33:73237494298b | 9 | {{/media/uploads/mimi3/sdfilesystemdma-speed-test3-read-buffer-512byte.png}} |
dinau | 33:73237494298b | 10 | |
dinau | 33:73237494298b | 11 | {{/media/uploads/mimi3/sdfilesystemdma-speed-test-buffer-vs-spi-clock-nucleo-f411re-96mhz.png}} |
dinau | 33:73237494298b | 12 | |
dinau | 33:73237494298b | 13 | |
mimi3 | 28:dfef1e7f08c9 | 14 | Supported SPI port is shown below table.\\ |
mimi3 | 28:dfef1e7f08c9 | 15 | |
mimi3 | 28:dfef1e7f08c9 | 16 | ** (v): Verified. It works well. ** \\ |
dinau | 33:73237494298b | 17 | ** (w): Probably it will work well. ** (not tested) \\ |
dinau | 33:73237494298b | 18 | ** (c): Only compiled. ** (not tested) \\ |
mimi3 | 28:dfef1e7f08c9 | 19 | ** (f): Over flash. ** \\ |
dinau | 36:e44163516d13 | 20 | ** (r): Only read mode. ** (when _FS_READONLY==1) \\ |
dinau | 33:73237494298b | 21 | ** (u) Under construction ** \\ |
mimi3 | 28:dfef1e7f08c9 | 22 | ** (z): Dose not work. ** \\ |
mimi3 | 26:fd7d88d7a4a2 | 23 | |
mimi3 | 38:7077795dbf81 | 24 | |
mimi3 | 38:7077795dbf81 | 25 | <<warning title="Caution">> |
mimi3 | 38:7077795dbf81 | 26 | If your board has SRAM less than or equal to 8KB, the buffer size must be set to 512 Bytes. |
mimi3 | 38:7077795dbf81 | 27 | <</warning>> |
mimi3 | 38:7077795dbf81 | 28 | |
mimi3 | 38:7077795dbf81 | 29 | |
mimi3 | 26:fd7d88d7a4a2 | 30 | Supported Boards:\\ |
mimi3 | 26:fd7d88d7a4a2 | 31 | **Cortex-M0** |
mimi3 | 38:7077795dbf81 | 32 | |=Board |SRAM|=SPI1|=SPI2|=SPI3| |
mimi3 | 38:7077795dbf81 | 33 | |NUCLEO-F030R8|**8KB**|**(v)**||| |
mimi3 | 38:7077795dbf81 | 34 | |DISCO-F051R8 |**8KB**|(w) ||| |
mimi3 | 38:7077795dbf81 | 35 | | --NUCLEO-F031K6-- |4KB|(f)||| |
mimi3 | 38:7077795dbf81 | 36 | | NUCLEO-F042K6|**6KB**|(r)||| |
mimi3 | 38:7077795dbf81 | 37 | |NUCLEO-F070RB|16KB|(w)||| |
mimi3 | 38:7077795dbf81 | 38 | |NUCLEO-F072RB|16KB|(w)||| |
mimi3 | 38:7077795dbf81 | 39 | |NUCLEO-F091RC|32KB|(c)||| |
dinau | 32:49edbe5337d6 | 40 | **Cortex-L0** |
mimi3 | 38:7077795dbf81 | 41 | |=Board |SRAM|=SPI1|=SPI2|=SPI3| |
mimi3 | 38:7077795dbf81 | 42 | |DISCO-L053C8 |**8KB**|(c)||| |
mimi3 | 38:7077795dbf81 | 43 | |NUCLEO-L053R8|**8KB**|(c)||| |
mimi3 | 38:7077795dbf81 | 44 | |NUCLEO-L073RZ|20KB|(c)||| |
mimi3 | 26:fd7d88d7a4a2 | 45 | ** Cortex-M3 ** |
mimi3 | 38:7077795dbf81 | 46 | |=Board|SRAM |=SPI1|=SPI2|=SPI3| |
mimi3 | 38:7077795dbf81 | 47 | | DISCO-F100RB |**8KB**|**(v)**|**(v)**|-| |
mimi3 | 38:7077795dbf81 | 48 | | BLUEPILL-F103CB|20KB|(w)|(w)|-| |
mimi3 | 38:7077795dbf81 | 49 | | NUCLEO-F103RB |20KB|**(v)**|**(v)**|-| |
mimi3 | 38:7077795dbf81 | 50 | | NUCLEO-L152RE |80KB|**(v)**|(w)|-| |
mimi3 | 38:7077795dbf81 | 51 | | MOTE-L152RC |32KB|(w)|(w)|-| |
dinau | 36:e44163516d13 | 52 | ** Cortex-M4 **\\ |
mimi3 | 26:fd7d88d7a4a2 | 53 | ** F3 ** |
mimi3 | 38:7077795dbf81 | 54 | |=Board |SRAM|=SPI1|=SPI2|=SPI3| |
mimi3 | 38:7077795dbf81 | 55 | | DISCO-F303VC |40KB|-|**(v)**|**(v)**| |
mimi3 | 38:7077795dbf81 | 56 | | NUCLEO-F303RE|64KB|(w)|(w)|(w)| |
mimi3 | 38:7077795dbf81 | 57 | | NUCLEO-F302R8|16KB|-|-|(c)| |
mimi3 | 38:7077795dbf81 | 58 | | NUCLEO-F303K8|12KB|(c)|-|-| |
mimi3 | 38:7077795dbf81 | 59 | | DISCO-F334C8 |12KB|(c)|-|-| |
mimi3 | 38:7077795dbf81 | 60 | | NUCLEO-F334R8|12KB|(c)|-|-| |
mimi3 | 26:fd7d88d7a4a2 | 61 | ** F4 ** |
mimi3 | 26:fd7d88d7a4a2 | 62 | |=Board |=SPI1|=SPI2|=SPI3| |
dinau | 36:e44163516d13 | 63 | | ELMO-F411RE |(w)|-|(w)| |
dinau | 36:e44163516d13 | 64 | | MTS-MDOT-F411RE |(u)|-|(u)| |
dinau | 36:e44163516d13 | 65 | | MTS-DRAGONFLY-F411RE |(w)|-|(w)| |
mimi3 | 28:dfef1e7f08c9 | 66 | | NUCLEO-F411RE |**(v)**|-|**(v)**| |
mimi3 | 28:dfef1e7f08c9 | 67 | | NUCLEO-F401RE |(w)|-|(w)| |
dinau | 36:e44163516d13 | 68 | | MTS-MDOT-F405RG |(u)|-|(u)| |
dinau | 36:e44163516d13 | 69 | | NUCLEO-F410RB |(c)|-|(c)| |
mimi3 | 28:dfef1e7f08c9 | 70 | | NUCLEO-F446RE |(c)|-|(c)| |
dinau | 36:e44163516d13 | 71 | | NUCLEO-F429ZI |(c)|-|(c)| |
dinau | 36:e44163516d13 | 72 | | B96B-F446VE |(c)|-|(c)| |
dinau | 36:e44163516d13 | 73 | | NUCLEO-F446ZE |(c)|-|(c)| |
dinau | 36:e44163516d13 | 74 | | DISCO-F429ZI |(u)|-|(u)| |
dinau | 36:e44163516d13 | 75 | | DISCO-F469NI |(c)|-|(c)| |
dinau | 33:73237494298b | 76 | |
dinau | 33:73237494298b | 77 | |
mimi3 | 26:fd7d88d7a4a2 | 78 | |
mimi3 | 26:fd7d88d7a4a2 | 79 | |
mimi3 | 26:fd7d88d7a4a2 | 80 | |
mimi3 | 26:fd7d88d7a4a2 | 81 | |
mimi3 | 38:7077795dbf81 | 82 | <<info title="Information">> |
mimi3 | 26:fd7d88d7a4a2 | 83 | This library is set to use "short file name" in SDFileSystemDMA/FATFileSystem/ChaN/ffconf.h . ( _USE_LFN=0) \\ |
mimi3 | 26:fd7d88d7a4a2 | 84 | You can change this option to _USE_LFN=1 . |
mimi3 | 38:7077795dbf81 | 85 | <</info>> |
mimi3 | 26:fd7d88d7a4a2 | 86 | |
mimi3 | 26:fd7d88d7a4a2 | 87 | |
mimi3 | 26:fd7d88d7a4a2 | 88 | |
dinau | 33:73237494298b | 89 | |
dinau | 36:e44163516d13 | 90 |