2023-05-23 10:19 PM
trying to connect sd card with stm32f722ze SDIO 4 bit method . but still i couldn't succeed in sd card detection . sd card socket CD pin i ignored and not connected with any pin . I need to know CD-card detection is important ? . and which repository examples having sdio 4 bit example?
2023-05-24 12:00 AM
Oops ! Single bit connection is working . let me change change sd card socket and come back to you on 4 bit mode .
2023-05-24 12:18 AM
Hi @MMARI.1 ,
Is your project generated with STM32CubeMX?
If yes, could you please check that the workaround provided in this thread: SDCARD does not work (FR_NOT_READY) when migrating from FW_F4 V1.27.0 to newer FW_F4 V1.27.1.
When your question is answered, please close this topic by choosing Select as Best. This will help other users find that answer faster.
Kaouthar
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2023-05-24 09:09 AM
currently 1(singel) bit SDIO working & 4bit sdio not working .
i am using cube ide and i have changed the SD card socket .
On stm32f7xx_hal_sd.c i have modified code from Init.BusWide = SDMMC_BUS_WIDE_1B; to Init.BusWide = SDMMC_BUS_WIDE_4B; still 4bit sdio is not working . Any one please check with Nucleo - f722ze with sdio 4 bit at your technical Centre and update me where i need to modify the code . i think this problem occurrence due to recent firm ware migration .
2023-05-24 09:20 AM
Review the schematic, check for and remove stubs.
33 or 47K pull-ups on the Dx and CMD wires?
Dial back the slew speed, significantly.
2023-05-24 07:13 PM
2023-05-25 09:13 AM
can any one share with me the old firmware !!!!!! stm32f7xx_hal_sd.c !!!!!!!!!! file then i can understand where exactly i need to modify the code !. or working file of 4bit SDIO stm32f7xx_hal_sd.c file