Hello,
I'm using ESP32-S3 and I have to use an External SPI RAM.
On my circuit I have and eMMC that I use for storing data, can I use it also for External SPI RAM??
If yes, How can I do it?
Thanks!
External SPI RAM and eMMC on ESP32-S3
-
- Posts: 11
- Joined: Thu Jun 22, 2023 2:58 pm
Re: External SPI RAM and eMMC on ESP32-S3
Yes, you can use External SPI RAM and eMMC together on ESP32-S3.
For external SPI RAM (PSRAM) connection please refer to esp32-s3 datasheet (https://www.espressif.com/sites/default ... eet_en.pdf, Section 2.7). For eMMC connection you should use any other available GPIO.
For external SPI RAM (PSRAM) connection please refer to esp32-s3 datasheet (https://www.espressif.com/sites/default ... eet_en.pdf, Section 2.7). For eMMC connection you should use any other available GPIO.
Re: External SPI RAM and eMMC on ESP32-S3
Hello RathiSonika, thanks for your reply!
I'm in throuble during the configuration.
On my project I have 16 GB eMMC, but in the datasheet I see that: "e. ESP32-S3 supports up to 1GB of external flash and RAM".
Can i do it anyway?
I'm in throuble during the configuration.
On my project I have 16 GB eMMC, but in the datasheet I see that: "e. ESP32-S3 supports up to 1GB of external flash and RAM".
Can i do it anyway?
-
- Posts: 11
- Joined: Thu Jun 22, 2023 2:58 pm
Re: External SPI RAM and eMMC on ESP32-S3
Well, I did not get your exact question, can you please explain it again?
If you want to use 16GB eMMC for storing data along with 1GB external RAM then it’s possible.
But if you want to use 16GB eMMC as external RAM then it’s not possible.
If you want to use 16GB eMMC for storing data along with 1GB external RAM then it’s possible.
But if you want to use 16GB eMMC as external RAM then it’s not possible.
-
- Posts: 9757
- Joined: Thu Nov 26, 2015 4:08 am
Re: External SPI RAM and eMMC on ESP32-S3
Note that the 1GB of flash refers to the SPI flash that contains your application code. If you don't need to run code off it (or memory map it in any way, to be more specific), you can connect whatever size or type of flash you want to the ESP32, providing software supports.
Re: External SPI RAM and eMMC on ESP32-S3
I apologize if I explained myself badly.
In our project, we have to use a lot of RAM.
The problem is that in out final PCB we have a 16 GB eMMC(for data storing).
The question is: Can we use the 16GB eMMC also as RAM?
In our project, we have to use a lot of RAM.
The problem is that in out final PCB we have a 16 GB eMMC(for data storing).
The question is: Can we use the 16GB eMMC also as RAM?
-
- Posts: 9757
- Joined: Thu Nov 26, 2015 4:08 am
Re: External SPI RAM and eMMC on ESP32-S3
No:
- eMMC cannot be memory mapped
- even if it would be able to be memory mapped, using flash memory like eMMC as RAM is a Very Bad Idea because of slowness, erase blocks, wear levelling etc.
Who is online
Users browsing this forum: VinayDand and 445 guests