Use PSRAM and SD-Card MMC ESP32-S3

matthias122
Posts: 13
Joined: Wed Aug 04, 2021 9:20 am

Use PSRAM and SD-Card MMC ESP32-S3

Postby matthias122 » Fri Jun 07, 2024 5:41 pm

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
Attachments
image2.jpg
image2.jpg (35.58 KiB) Viewed 976 times
image1.png
image1.png (9.67 KiB) Viewed 976 times

MicroController
Posts: 1696
Joined: Mon Oct 17, 2022 7:38 pm
Location: Europe, Germany

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

Postby MicroController » Sat Jun 08, 2024 12:38 pm

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?

matthias122
Posts: 13
Joined: Wed Aug 04, 2021 9:20 am

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

Postby matthias122 » Sat Jun 08, 2024 2:56 pm

Yes already Double checked that. There is no Pin allocated from PSRAM to SD Card based in espressif Datasheet.

matthias122
Posts: 13
Joined: Wed Aug 04, 2021 9:20 am

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

Postby matthias122 » Sat Jun 08, 2024 3:03 pm

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.

outsmart_connector
Posts: 1
Joined: Mon Jun 17, 2024 10:53 am

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

Postby outsmart_connector » Mon Jun 17, 2024 10:55 am

Im having the exact same problem. Did you find a solution already?

Who is online

Users browsing this forum: Bing [Bot] and 89 guests