SDIO works well in SD-1bit mode but not in SD 4bit mode
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-10-30 2:46 AM
I am using cubemx generated SD card test code on a custom board. And everything looks fine in SD 1bit mode, I can create new file, read and write data to it correctly. But when I am using 4bit mode, the f_open() function stalls. What might be the problem?
- Labels:
-
SDIO-SDMMC
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-11-01 3:38 AM
Hello @Yang Yang​ ,
Which device are you using ?
Kind Regards,
Imen
Thanks
Imen
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-11-01 3:45 AM
Might not be wired properly, ie mixed bits, too long, no pull-ups, etc.
4-bit mode sensitive to relative bit skewing
Not much to work with, engineering shouldn't need to be a guessing game. Present a more complete context for your problem.
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-11-01 5:58 PM
Hi, Clive
​
STM32F415RGT6 MCU is used. And I am quite sure the connections between MCU and microSD card is correct. So I think we can focus on the software side.
Best Regards
Yang
