Merge branch 'feature/support_sdmmc_ver2_on_p4' into 'master'

sdmmc: esp32p4 support

Closes IDF-6502

See merge request espressif/esp-idf!25405
This commit is contained in:
Armando (Dou Yiwen)
2023-10-19 22:00:40 +08:00
41 changed files with 2478 additions and 660 deletions
+1 -3
View File
@@ -26,9 +26,7 @@ Peripherals API
:SOC_PARLIO_SUPPORTED: parlio
:SOC_PCNT_SUPPORTED: pcnt
:SOC_RMT_SUPPORTED: rmt
:esp32: sd_pullup_requirements
:esp32s3: sd_pullup_requirements
:esp32c6: sd_pullup_requirements
:SOC_SDMMC_HOST_SUPPORTED or SOC_SDIO_SLAVE_SUPPORTED: sd_pullup_requirements
:SOC_SDMMC_HOST_SUPPORTED: sdmmc_host
sdspi_host
:SOC_SDIO_SLAVE_SUPPORTED: sdio_slave
+19
View File
@@ -28,6 +28,25 @@ For functions used to initialize and configure:
The protocol layer works with the host via the :cpp:class:`sdmmc_host_t` structure. This structure contains pointers to various functions of the host.
Pin Configurations
------------------
..only:: SOC_SDMMC_USE_IOMUX and not SOC_SDMMC_USE_GPIO_MATRIX
SDMMC pins are dedicated, you don't have to configure the pins.
..only:: SOC_SDMMC_USE_GPIO_MATRIX and not SOC_SDMMC_USE_IOMUX
SDMMC pin signals are routed via GPIO Matrix, so you will need to configure the pins in :cpp:type:`sdmmc_slot_config_t`.
..only:: esp32p4
SDMMC have two slots:
.. list::
- slot 0 pins are dedicated for UHS-I mode. This is not yet supported in the driver.
- slot 1 pins are routed via GPIO Matrix, and it's for non UHS-I usage. You will need to configure the pins in :cpp:type:`sdmmc_slot_config_t` to use the slot 1.
Application Example
-------------------