cancel
Showing results for 
Search instead for 
Did you mean: 

4bit SDIO not working, but 1bit SDIO working fine.

LPlyu.1
Associate

I use CMSIS to write program that transfer data from SD card through SDIO. For my task i need 4bit mode, but it isn't working. When i try to read some block from SD card STBITERR bit in SDIO_STA register goes high, that means that start bit hasn't been detected on all data lines. But when i use 1bit mode all works fine.

MCU: STM32F407VGT6

How to fix this problem?

3 REPLIES 3

Check wiring, socket and pull ups.

Show parts and circuit

Try other known working examples.​

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
LPlyu.1
Associate

I am using devebox board, it has soldered socket, so wiring is not a problem.

I use internal pull-ups that should work. And i tried some other working examples, but it didnt work too.

trave.1
Associate II

have you resolve your problems?