Skip to main content
AA.27
Associate
March 14, 2023
Solved

I completed SDIO in 1-bit communication in STM32F411E-DISCO but i have problem in SDIO-4 bit communication. I have problem this flag (__HAL_SD_GET_FLAG(hsd, SDIO_FLAG_RXDAVL) .How to rectify the problem ? i used same code for 1 and 4 bit communicatio

0693W00000aIwlUQAS.png

This topic has been closed for replies.
KDJEM.1
KDJEM.1Best answer
ST Technical Moderator
April 24, 2023

Hello @AA.27​ ,

Similar issue is already shared here. 

I recommend you How do I Create a File System on a SD card using STM32CubeIDE? article. This FAQ can help you to create a file system on a SD card with 4-bit bus using STM32F746G-DISCO.

If your project generated with STM32CubeMX, I think this discussion can help you MX_SDIO_SD_Init wrong bus wide initialization (st.com)

Please let me know the result (in both cases: problem resolved or not).

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 "Best answer" on the reply which solved your issue or answered your question.

1 reply

KDJEM.1
KDJEM.1Best answer
ST Technical Moderator
April 24, 2023

Hello @AA.27​ ,

Similar issue is already shared here. 

I recommend you How do I Create a File System on a SD card using STM32CubeIDE? article. This FAQ can help you to create a file system on a SD card with 4-bit bus using STM32F746G-DISCO.

If your project generated with STM32CubeMX, I think this discussion can help you MX_SDIO_SD_Init wrong bus wide initialization (st.com)

Please let me know the result (in both cases: problem resolved or not).

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 "Best answer" on the reply which solved your issue or answered your question.