cancel
Showing results for 
Search instead for 
Did you mean: 

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 communication.

AA.27
Associate II

0693W00000aIwlUQAS.png

1 ACCEPTED SOLUTION

Accepted Solutions
KDJEM.1
ST Employee

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 Accept as Solution on the reply which solved your issue or answered your question.

View solution in original post

1 REPLY 1
KDJEM.1
ST Employee

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 Accept as Solution on the reply which solved your issue or answered your question.