基本概念

MMC卡和SD卡

MMC卡(MultiMedia Card),是1997年由西门子和闪迪共同开发的一种内存卡标准。
SD卡(Secure Digital Memory Card)是建立在MMC卡之上的一种内存卡标准,由东芝在MMC卡技术中加入了加密技术而形成。现在使用的内存卡一般都是SD卡及其派生的各种规格(比如miniSD、microSD、SDHC等)。
【学习记录】使用ESP32读取SD卡 - 图1image.png

SDMMC/SDIO和SPI

例程sdmmc

例程中提到,内部上拉电阻不够,必须保证外部有10k上拉电阻接到总线上

  1. // Enable internal pullups on enabled pins. The internal pullups
  2. // are insufficient however, please make sure 10k external pullups are
  3. // connected on the bus. This is for debug / example purpose only.
  4. slot_config.flags |= SDMMC_SLOT_FLAG_INTERNAL_PULLUP;

参考资料