AnsweredAssumed Answered

Can't save a float variable to SD card

Question asked by paker earth on Jun 6, 2017

Hi all:

 

followed STM32CubeMX系列教程17:SDMMC - STM32CubeMX系列教程 - 微雪课堂 - 手机版 - Powered by Discuz! 

I could access my SD card through SDIO interface.

 

uint32_t Buffer_Tx[512/4], Buffer_Rx[512/4];

If I use var[128], it seems that I will get HAL_SD_ERROR_DATA_CRC_FAIL in  HAL_SD_ReadBlocks().

 

If someone can tell me, how to solve the problem?

Thank you all in advance.

Attachments

Outcomes