Possible mod to use full 8MB PSRAM on ESP32-A1S #98
benwaterson
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
So these boards have 8MB PSRAM, however arduino can only access 4MB.
Looking at this https://github.com/TridentTD/arduino_esp32_himem/blob/master/example/ESP32_PSRAM_Himem/ESP32_PSRAM_Himem.ino it looks possible to page in the other 4MB for use by the sampler.
Bit out of my coding comfort zone, but might be a starting point to get more ram?
Querying the board you get this (see last line regarding spiram) - rename attached file to chip_info.ino
ESP32 SDK: v4.4.5
ESP32 DEVICE: ESP32-D0WD-V3 rev.3
ESP32 CPU FREQ: 240 MHz
ESP32 XTAL FREQ: 40 MHz
ESP32 APB FREQ: 80.0 MHz
ESP32 FLASH CHIP ID: 1458270
ESP32 FLASH CHIP FREQ: 80.0 MHz
ESP32 FLASH REAL SIZE: 4.00 MB
ESP32 FLASH SIZE (MAGIC BYTE): 4.00 MB
ESP32 FLASH REAL MODE: QIO
ESP32 FLASH MODE (MAGIC BYTE): 0, 0=QIO, 1=QOUT, 2=DIO, 3=DOUT
ESP32 RAM SIZE: 326.86 KB
ESP32 FREE RAM: 302.57 KB
ESP32 MAX RAM ALLOC: 107.99 KB
ESP32 FREE PSRAM: 3043.57 KB
spiram size : 8192.00
Chip_info.txt
Beta Was this translation helpful? Give feedback.
All reactions