esp-idf/components/esp_driver_sdmmc
Ivan Grokhotkov 6ed7e93676
fix(sdmmc): fix invalid data when reading/writing PSRAM buffers
Previous commit has enabled buffers in PSRAM for ESP32-P4. But this
also caused a regression for ESP32-S3, where PSRAM is not DMA capable.
This commit re-introduces the check for esp_ptr_external_ram in case
SOC_SDMMC_PSRAM_DMA_CAPABLE is not set.
2024-06-05 13:12:03 +02:00
..
include/driver feat(dma): refactor dma calloc function 2024-04-02 14:30:14 +08:00
src fix(sdmmc): don't fail in clock update commands when no card detected 2024-04-17 12:49:22 +02:00
test_apps fix(sdmmc): fix invalid data when reading/writing PSRAM buffers 2024-06-05 13:12:03 +02:00
CMakeLists.txt fix: properly resolve component dependencies 2024-05-30 22:01:55 +08:00
README.md feat(sd): added readme for dependency among SD host related components 2023-11-20 12:30:03 +08:00

SDMMC Host Driver

SD Host side related components are:

  • sdmmc
  • esp_driver_sdmmc (current component)
  • esp_driver_sdspi

For relationship and dependency among these components, see SD Host Side Related Component Architecture.

esp_driver_sdmmc components holds SDMMC Host driver for ESP SDMMC peripheral, this driver provides APIs to help you:

  • do SD transactions (under SD mode) via ESP SDMMC peripheral.
  • tune ESP SDMMC hardware configurations, such as clock frequency, bus width, etc.
  • ...

You can

  • use this driver to implement sdmmc protocol interfaces
  • directly use esp_driver_sdmmc APIs

to communicate with SD slave devices under SD mode.