Skip to content

STM32 f407ve usb SD card reader using SDIO+MSC+DMA

Notifications You must be signed in to change notification settings

41Mo/SDIO_MSC_DMA

Repository files navigation

SDIO_MSC_DMA

USB sd card reader using STM32f407vet6 dev board.

Notes:

  • SDIO clock using APB2 clock bus.
  • NVIC DMA interrupts priority should be less then SDIO interrupt priority.
  • SDIO in polling mode using maximum clock speed about 5 MHz.
  • SDIO in DMA mode using maximum clock speed about 24 MHz.
  • Cube autoconfig initialization bug. DMA_INIT should be first init entry, otherwize HAL_SD_READ/WRITE_DMA would stuck in infinite busy loop.

Changed files:

  • Core/main.c
  • USB_DEVICE/App/usbd_storage_if.c

Releases

No releases published

Packages

No packages published