Page 1 of 1

Use PSRAM and SD-Card MMC ESP32-S3

Posted: Fri Jun 07, 2024 5:41 pm
by matthias122
Hello,

I get a issue when I initialise PSRAM and then use SD-Card with on my custom ESP32-S3 board.
If I activate the Option Initialize "SPI RAM during startup" the sdcard can not be mounted.
If the SD-Card format option is activated, the ESP32-S3 will destroy the file system.
Image
Here is the Error which I get from mount function
Image
The pinning is correct, because if I deactivate the option the SD-Card is mounted correct.
Thanks for your help

Re: Use PSRAM and SD-Card MMC ESP32-S3

Posted: Sat Jun 08, 2024 12:38 pm
by MicroController
matthias122 wrote:
Fri Jun 07, 2024 5:41 pm
The pinning is correct, because if I deactivate the option the SD-Card is mounted correct.
So you've checked that you're not trying to use an IO pin allocated to the PSRAM for the SD card?

Re: Use PSRAM and SD-Card MMC ESP32-S3

Posted: Sat Jun 08, 2024 2:56 pm
by matthias122
Yes already Double checked that. There is no Pin allocated from PSRAM to SD Card based in espressif Datasheet.

Re: Use PSRAM and SD-Card MMC ESP32-S3

Posted: Sat Jun 08, 2024 3:03 pm
by matthias122
Here is the pinning:
#define BSP_SD_HOST_CMD (GPIO_NUM_14)
#define BSP_SD_HOST_CLK (GPIO_NUM_17)
#define BSP_SD_HOST_D0 (GPIO_NUM_2)
#define BSP_SD_HOST_D1 (GPIO_NUM_4)
#define BSP_SD_HOST_D2 (GPIO_NUM_12)
#define BSP_SD_HOST_D3 (GPIO_NUM_13)
#define BSP_SD_DET (GPIO_NUM_21)
#define BSP_SD_ENABLE (GPIO_NUM_8)

The same issue is if I use one Data width 1.

Re: Use PSRAM and SD-Card MMC ESP32-S3

Posted: Mon Jun 17, 2024 10:55 am
by outsmart_connector
Im having the exact same problem. Did you find a solution already?