Initialization of a microSD card using an SPI interface

前端 未结 6 874
悲哀的现实
悲哀的现实 2021-02-07 08:10

I\'m using a microSD card in an embedded design. The card is connected to a microcontroller using the SPI interface. It worked fine for all cards I\'ve used before, but now my n

6条回答
  •  耶瑟儿~
    2021-02-07 08:44

    Insert several dummy SPI cycles after CMD55 (0xFF sent+received) and before CMD41.

    I had to do this for both my old test cards - 16MB Panasonic and Sandisk 64MB.

    Note: I realize I'm quite late to the party, but I'm hoping it may help someone in future.

提交回复
热议问题