Can we add SPI SRAM to our ESP32s?
Posted: Tue Feb 21, 2017 4:59 am
I am wondering if I can expand an ESP32 module by adding additional SPI SRAM? For example, here is an IC that seems to supply 1mbit of SRAM via SPI.
http://www.mouser.com/ds/2/268/25142A-47786.pdf
Would it be "possible" to attach this to an ESP32 to add additional "data memory"? If yes, I'm wondering if we can start a discussion to discuss possible recipes. Some how we would have to instruct the ESP32 to actually driver the device which would mean we would have to configure the ESP32 to send the SPI commands. We would presumably also have to "map" the external SPI SRAM into the ESP32 address space. I am also assuming that FreeRTOS is managing the available heap space so ideally we would also inform FreeRTOS about additional memory in its address space so that it could "malloc()" and "free()" (I assume).
http://www.mouser.com/ds/2/268/25142A-47786.pdf
Would it be "possible" to attach this to an ESP32 to add additional "data memory"? If yes, I'm wondering if we can start a discussion to discuss possible recipes. Some how we would have to instruct the ESP32 to actually driver the device which would mean we would have to configure the ESP32 to send the SPI commands. We would presumably also have to "map" the external SPI SRAM into the ESP32 address space. I am also assuming that FreeRTOS is managing the available heap space so ideally we would also inform FreeRTOS about additional memory in its address space so that it could "malloc()" and "free()" (I assume).