Hi Espressif SDK Developees,
We are working on ESP32 IDF 3.1 and now we need to add support for PSRAM as per our project requirements.
So, Would you please let me know steps to include with example for that?
Need help to start PSRAM support into ESP32 IDF 3.1
Need help to start PSRAM support into ESP32 IDF 3.1
Regards,
Ritesh Prajapati
Ritesh Prajapati
Re: Need help to start PSRAM support into ESP32 IDF 3.1
make menuconfig
component config
esp32-specific
Enable "support for ext connected spi ram"
component config
esp32-specific
Enable "support for ext connected spi ram"
Re: Need help to start PSRAM support into ESP32 IDF 3.1
Yes. But would you please let me know few more details like what I need means which toolchain i need to PSRAM support with examples as well?
Regards,
Ritesh Prajapati
Ritesh Prajapati
Re: Need help to start PSRAM support into ESP32 IDF 3.1
Same toolchain. If the build system gives you no warnings about "unsupported toolchain version", you're good to go.
Re: Need help to start PSRAM support into ESP32 IDF 3.1
Thanks for providing updates regarding same. Apart from that toolchain, Do we need to take care any other stuffs while starting to work for PSRAM?
Regards,
Ritesh Prajapati
Ritesh Prajapati
Re: Need help to start PSRAM support into ESP32 IDF 3.1
Nope, just enable it. Print the heap size before and after enabling to see that you have the increased ram. The PSRAM appears as storage available on the heap. See the docs on the heap.
https://docs.espressif.com/projects/esp ... alloc.html
Re: Need help to start PSRAM support into ESP32 IDF 3.1
Thanks for providing details for that. So, Heap will be increased with 4 MB after enabling support for that. Correct?fly135 wrote: ↑Wed Mar 06, 2019 4:15 pmNope, just enable it. Print the heap size before and after enabling to see that you have the increased ram. The PSRAM appears as storage available on the heap. See the docs on the heap.
https://docs.espressif.com/projects/esp ... alloc.html
Regards,
Ritesh Prajapati
Ritesh Prajapati
Re: Need help to start PSRAM support into ESP32 IDF 3.1
Thanks a lot for providing support for that.
Regards,
Ritesh Prajapati
Ritesh Prajapati
Re: Need help to start PSRAM support into ESP32 IDF 3.1
Hi,
There are some conditions mentioned into hardware section to use PARAM like below.
Do I need to configure anything into EFUSE or any registers for that?
There are some conditions mentioned into hardware section to use PARAM like below.
So, Would you please let me know what I need to take while using PSRAM along with flash memory?The ESP-PSRAM32 chip is an 1.8V device, and can only be used in parallel with an 1.8V flash part. Make sure to either set the MTDI pin to a high signal level on bootup, or program the fuses in the ESP32 to always use a VDD_SIO level of 1.8V. Not doing this risks damaging the PSRAM and/or flash chip.
Do I need to configure anything into EFUSE or any registers for that?
Regards,
Ritesh Prajapati
Ritesh Prajapati
Who is online
Users browsing this forum: No registered users and 118 guests