Initialization of a microSD card using an SPI interface

前端 未结 6 797
悲哀的现实
悲哀的现实 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:21

    Sending CMD0 with chip select(0) alone does not initialize the card in SPI mode. This only sets SPI mode. Card is not initialized until ACMD41 returns accepted. Then CRC is off by default.

提交回复
热议问题