Example of how to use the SDIO/SDMMC peripheral in 4-bit wide mode with USB mass storage class with DMA transfers.
Go to file
2024-06-29 03:40:41 +08:00
cmake Initial commit 2024-06-29 03:40:41 +08:00
Core Initial commit 2024-06-29 03:40:41 +08:00
Drivers Initial commit 2024-06-29 03:40:41 +08:00
Middlewares Initial commit 2024-06-29 03:40:41 +08:00
USB_DEVICE Initial commit 2024-06-29 03:40:41 +08:00
.cproject Initial commit 2024-06-29 03:40:41 +08:00
.gitattributes Initial commit 2024-06-29 03:40:41 +08:00
.gitignore Initial commit 2024-06-29 03:40:41 +08:00
.mxproject Initial commit 2024-06-29 03:40:41 +08:00
.project Initial commit 2024-06-29 03:40:41 +08:00
benchmark.png Initial commit 2024-06-29 03:40:41 +08:00
CMakeLists.txt Initial commit 2024-06-29 03:40:41 +08:00
CMakePresets.json Initial commit 2024-06-29 03:40:41 +08:00
MCU.ioc Initial commit 2024-06-29 03:40:41 +08:00
MCU.txt Initial commit 2024-06-29 03:40:41 +08:00
README.md Initial commit 2024-06-29 03:40:41 +08:00
STM32L476RETX_FLASH.ld Initial commit 2024-06-29 03:40:41 +08:00
STM32L476RETX_RAM.ld Initial commit 2024-06-29 03:40:41 +08:00
vcpkg-configuration.json Initial commit 2024-06-29 03:40:41 +08:00

DMA eMMC USB mass storage class device demo STM32L476RET6

IMPORTANT: Clock is configured for a 16 MHz crystal.

Example of how to use the SDIO/SDMMC peripheral in 4-bit wide mode with USB mass storage class with DMA transfers.

Read my post about setting this up on my website: https://www.petertanner.dev/posts/Debugging-STM32-USB-Mass-Storage-Class-Device/

Example benchmark

Wow this performance is terrible... but at least I got it working or something

Crystaldiskmark benchmark