Hi,
I'm currently considering using a ESP32-C3 for a project where I need to store large amounts of data in the order of GBs. I was wondering if this is achievable with this SoC? Does it have the capabilities to drive an external flash memory of, say, 16 GB? I haven't found any examples of this yet so I'm not sure.
Thank you all in advance.
Large external memory with an ESP32-C3
-
- Posts: 9592
- Joined: Thu Nov 26, 2015 4:08 am
Re: Large external memory with an ESP32-C3
Sure. For instance, the SD-card code could be seen as an example of interfacing with 'large external memory'. Is that what you had in mind?
Re: Large external memory with an ESP32-C3
I was wondering if malloc() will use PSRAM with
-DBOARD_HAS_PSRAM
-mfix-esp32-psram-cache-issue
Or do i have to use ps_alloc() or whatever? If the answer is "it depends", where do I go in menuconfig to enable that?
-DBOARD_HAS_PSRAM
-mfix-esp32-psram-cache-issue
Or do i have to use ps_alloc() or whatever? If the answer is "it depends", where do I go in menuconfig to enable that?
Last edited by Nienowb on Sat Sep 11, 2021 6:08 am, edited 1 time in total.
-
- Posts: 9592
- Joined: Thu Nov 26, 2015 4:08 am
Re: Large external memory with an ESP32-C3
You can set most of these options in menuconfig, Component config → ESP32S3-Specific → Support for external, SPI-connected RAM → SPI RAM config. Specifically the SPI RAM access method can configure what you asked about. If you have more questions, please put them in your own post; the ESP32C3 as named in the title does not support PSRAM so your question actually is offtopic here.
Who is online
Users browsing this forum: No registered users and 157 guests