What is the purpose of having two SD/MMC slots?

Johnny2598
Posts: 4
Joined: Tue Apr 26, 2022 7:27 pm

What is the purpose of having two SD/MMC slots?

Postby Johnny2598 » Sat May 21, 2022 4:48 pm

The TRM states, "The controller supports two peripherals which cannot be functional at the same time". Since the peripheral can be reconfigured with a different slot configuration (sdmmc_slot_config), what is the purpose of the second slot?

Johnny2598
Posts: 4
Joined: Tue Apr 26, 2022 7:27 pm

Re: What is the purpose of having two SD/MMC slots?

Postby Johnny2598 » Sun May 22, 2022 6:37 am

This question is limited to the esp32s3 SoC.

ESP_igrr
Posts: 2067
Joined: Tue Dec 01, 2015 8:37 am

Re: What is the purpose of having two SD/MMC slots?

Postby ESP_igrr » Mon May 23, 2022 8:51 pm

Presumably you could configure two slots and use both of them, although as the TRM mentions, the transfers would not happen concurrently. This would still be a lot faster than reconfiguring the pins in the driver each time a command is issued.

I'm terms of silicon area, the cost of the 2nd slot isn't very significant, so another part of the answer is that it likely wasn't a big issue to keep the 2nd slot to keep things similar to the esp32.

Johnny2598
Posts: 4
Joined: Tue Apr 26, 2022 7:27 pm

Re: What is the purpose of having two SD/MMC slots?

Postby Johnny2598 » Wed May 25, 2022 5:08 am

My experience with SoCs based around a form of applications processor is that they have multiple multiple hosts, so looking at the ESP32S3 from this perspective it was unclear to me at first what the purpose of the second slot was.

What you're saying makes sense but I didn't test the time difference between switching a slot and reconfiguring IO. As I won't be accessing both slots in an interleaved fashion, this will not be an issue for me. At this time I am more concerned with the low read and write speeds to a FATFS partition!

Thanks for your reply!

Who is online

Users browsing this forum: Baidu [Spider] and 63 guests