Skip to main content
developer2
Senior
May 4, 2017
Solved

reading SD card on STM32F7

  • May 4, 2017
  • 2 replies
  • 991 views
Posted on May 04, 2017 at 15:22

Hi there,

is there anybody with STM32F7XX and is able to read bigger file (larger than 30MBytes) from SD card until the end ? without DMA ?

i'm asking because i tried more types of cards, and i tried to setup clk div for SDIO to 400kHz and i don't have any success :(

i always get error RXOVERR in SDMMC_STA after couple MBytes (2MB-3MB)

i need just confirmation that it's possible ...

thanks for all replies ...

Kind regards

    This topic has been closed for replies.
    Best answer by developer2
    Posted on May 05, 2017 at 23:28

    Hi everybody,

    Edison Thank You,

    and Thanks to guys from ST that guided me to use DMA and based on both answers now i realized that i'm using timers with IRQ and if during reading SD occur IRQ that has more actions then FIFO in RX mode in SDIO controller overflows ...

    2 replies

    Tomas DRESLER
    Associate II
    May 5, 2017
    Posted on May 05, 2017 at 22:07

    F769, MP3 files w/o issues of sizes around 7 MB with polling. With DMA tested up to 2 GB read/write.

    developer2
    developer2AuthorBest answer
    Senior
    May 5, 2017
    Posted on May 05, 2017 at 23:28

    Hi everybody,

    Edison Thank You,

    and Thanks to guys from ST that guided me to use DMA and based on both answers now i realized that i'm using timers with IRQ and if during reading SD occur IRQ that has more actions then FIFO in RX mode in SDIO controller overflows ...