cancel
Showing results for 
Search instead for 
Did you mean: 

STM32H750 and Sd Micro card use SDMMC FATS?

snguy.1
Associate

Dear ST Microelectronics Team!

I am coding commnuication between STM32H750 and SdMicro use SDMMC - FATS from cubemx. But I have a proplem about commnunication about STM32H750 and Sd Micro using SDMMC FATS.

Step 1:

I open a file by using funtion:

1. retSD = f_open(&fil, filename, FA_CREATE_ALWAYS | FA_WRITE); -->debug retSD = 0: OK open file success.

2. retSD = f_close(&fil);--> retSD = 0: close file success.

Step 2, 3 and more (then 2 sec):

I open file again:

1. retSD = f_open(&fil, filename, FA_CREATE_ALWAYS | FA_WRITE); -->debug retSD = 1: open file error.

Does anyone know where I'm going wrong? Please help me! Thanks.

0693W00000VO8hoQAD.png0693W00000VO8i8QAD.png

0 REPLIES 0