2018-10-08 02:09 PM
I am working with SD card in SDIO mode. The current version of cube mx i.e, 4.27 is not working. Some people in the community posted that after version 4.21 SD card issue is persistent. so i would like to download 4.22
Youtube link I have followed:
https://www.youtube.com/watch?v=Y5UMTGQDmog&t=523s
hardware used:
kit: Discovery f429.
Basic code :
FATFS myFATFS;
FIL myFILE;
UINT testByte;
if(f_mount(&myFATFS,SDPath,1)==FR_OK)
{
HAL_GPIO_TogglePin(GPIOG,GPIO_PIN_14);
char myPath [] = "WRITE1.TXT\0";
f_open(&myFILE, myPath, FA_WRITE | FA_CREATE_ALWAYS);
char myData[]= "Hello World\0";
f_write(&myFILE, myData, sizeof(myData), &testByte);
f_close(&myFILE);
HAL_Delay(1000);
HAL_GPIO_TogglePin(GPIOG, GPIO_PIN_13);
}
Solved! Go to Solution.
2018-10-08 04:04 PM
SDIO interface clashes with LCD on STM32F429-DISCO, the original STM32F4-DISCO is a different board.
2018-10-08 04:04 PM
SDIO interface clashes with LCD on STM32F429-DISCO, the original STM32F4-DISCO is a different board.