Skip to main content
developer2
Senior
May 3, 2017
Question

issue with SDIO on STM32F746

  • May 3, 2017
  • 1 reply
  • 453 views
Posted on May 03, 2017 at 22:15

Hi everybody,

i'm having issue with reading SD card on STM32F746,

i need to read file with size 1.5GB from SD card using SDIO with FatFS library,

i used CubeMX for clock calculations :

external HSE crystal 12MHz

PLL: M: /6, N: x216, P: /2, Q: /9,

CLK48 = 48MHz, HCLK = 216MHz, SDMMC clk switched to PLL48CLK = 48MHz

everytime when try to read same file , i got disk io errors from SDIO controller, it happens randomly after 2MB - 3MBytes ... without DMA,

please anybody could help me to solve my issue ?

when i use SD card in card reader - file is read continuously until the end correctly ...

EDIT: same testcase went successful on STM32F417 ... but on F7 failed  :(

error got from HAL in SDMMC_STA register : RXOVERR ... but i don't use DMA :(

kind regards,

    This topic has been closed for replies.

    1 reply

    developer2
    Senior
    May 5, 2017
    Posted on May 05, 2017 at 23:34

    question is answered in discussion: 'reading SD card on STM32F7'