Skip to main content
LPlyu.1
Associate
March 15, 2021
Question

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

  • March 15, 2021
  • 3 replies
  • 1392 views

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?

This topic has been closed for replies.

3 replies

Tesla DeLorean
Guru
March 15, 2021

Check wiring, socket and pull ups.

Show parts and circuit

Try other known working examples.​

Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
LPlyu.1
LPlyu.1Author
Associate
March 15, 2021

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
November 30, 2022

have you resolve your problems?