cancel
Showing results for 
Search instead for 
Did you mean: 

SDMMC status flags

Michael Buschmann
Associate
Posted on June 10, 2018 at 23:14

Hi,

I am using the SDMMC module of the STM32F767ZI to read data from SD cards.

In general everything seems to work but I have some problems because I am getting CRC errors when reading 512 byte data blocks from the SD card.

The whole SD card CMD and CLK communication is working perfectly and the SD card gets initialized correctly.

Now I wonder if it's the hardware or the software.

I am especially not sure if I use the status flags correctly and query them in the correct order.

I reduced the important code sections and attached them.

Maybe someone with more experience can tell me if there are some logic or timing issues especially related to the status flags.

#stm32f767zi #sdmmc #sd-card
0 REPLIES 0