/SDIO_MSC_DMA

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

Primary LanguageCGNU General Public License v2.0GPL-2.0

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