mirror of
				https://github.com/espressif/esp-idf.git
				synced 2025-10-25 19:28:14 +00:00 
			
		
		
		
	 ed7dd46687
			
		
	
	ed7dd46687
	
	
	
		
			
			feat(sdmmc_io): support sending CMD53 with fixed address, bypass sdspi crc check (v5.3) See merge request espressif/esp-idf!31075
SDMMC Protocol Layer Driver
SD Host Side Related Component Architecture
Architecture Graph
                        ┌─────────────────────────────────────────────┐
                        │                                             │
                        │  SD Protocol Layer Driver: components/sdmmc │
                        │                                             │
                        └──────────▲────────────────────▲─────────────┘
                                   │                    │
                                   │                    │
                        Implements │                    │ Implements
                                   │                    │
┌──────────────────────────────────┴─────┐         ┌────┴───────────────────────────────────┐
│                                        │         │                                        │
│Host Driver: components/esp_driver_sdmmc│         │Host Driver: components/esp_driver_sdspi│
│                                        │         │                                        │
└────────────────────────────────────────┘         └────────────────────────────────────────┘
Components
- sdmmc: SD protocol layer driver, it provides SD protocol related definitions and interfaces. With corresponding implementation drivers,- sdmmcAPIs can help you:- send commands to slave devices
- send and receive data
- handle error conditions within the bus
 
- esp_driver_sdmmc: SDMMC Host driver for ESP SDMMC hardware, it implements the- sdmmcprotocol interfaces.
- esp_driver_sdspi: SDSPI Host driver for ESP GPSPI hardware, it implements the- sdmmcprotocol interfaces.
Dependency
- esp_driver_sdmmcis in driver layer (G2), it relies on- sdmmc
- esp_driver_sdspiis in driver layer (G2), it relies on- sdmmc
- sdmmcdoes not and should not rely on- esp_driver_sdmmcor- esp_driver_sdspi. Though- sdmmcis independent, it still stays in G2.