Hi,
For my POV project is necessary big memory for leds data arrays. RAM is not enough.
If to move from WROOM TO WROVER B, is it possible to use PSRAM for this purpose at Arduino IDE?
If YES, how to connect PSRAM and how slower it will be work?
Thanks!
P.S.
May I use pins for SDMMC and vspi?
SDMMC ESP32
D2 12
D3 13
CMD 15
CLK 14
D0 2
D1 4
vspi
SCLK = 18, MISO = 19, MOSI = 23, SS = 5.
PSRAM
-
- Posts: 826
- Joined: Mon Jul 22, 2019 3:20 pm
Re: PSRAM
You will have to manually allocate the memory with ps_malloc (https://github.com/espressif/arduino-es ... sram.h#L25), but enabling psram is simply a matter of choosing a wrover device from the boards list. How much slower it is depends on how actively you use it. If it is for storing configuration arrays or bitmaps, it will be fast enough. If you are continuously changing single bits within the variables, it will be notably slower than dram.
SDMMC is a hardware peripheral- the pins cannot be remapped. You will need to use sd (and SPI) if you want to remap to vspi.
SDMMC is a hardware peripheral- the pins cannot be remapped. You will need to use sd (and SPI) if you want to remap to vspi.
Who is online
Users browsing this forum: No registered users and 92 guests