41Mo / SDIO_MSC_DMA

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

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

License:GNU General Public License v2.0


Languages

Language:C 99.6%Language:Assembly 0.4%