2022-10-26 02:00 AM
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.