Adafruit feather sense SRAM

Please tell us which board you are using.
For CircuitPython issues, ask in the Adafruit CircuitPython forum.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
southernatheart
 
Posts: 79
Joined: Tue Mar 22, 2011 10:54 pm

Adafruit feather sense SRAM

Post by southernatheart »

I understand the feather sense has 256K of SRAM. Is this memory such that I can have my sketch save data to it, like I’ve done with the UNO and it’s EEPROM? Is there a library and example of how to save and retrieve data from this SRAM?
I’m hoping to create and save/access a list of musical notes to be played via blue midi.
I have lots of experience with the UNO, and have even used an SD card with the atmega chip in prev projects. I could use an external SD card, but if this 256K of SRAM is easy to use, it might be more convenient.
Thanks

User avatar
dastels
 
Posts: 15656
Joined: Tue Oct 20, 2015 3:22 pm

Re: Adafruit feather sense SRAM

Post by dastels »

No. SRAM is data storage for your program, i.e an variables you use (or dynamically allocated memory if you are using C++). Also, if you are using CircuitPython the bytecode of your code and loaded mpy files is stored there. Its contents DO NOT persist across resets or power cycling. There are some libraries out there that let you use a bit of flash like an EEPROM. See https://infocenter.nordicsemi.com/index ... b_fds.html and https://infocenter.nordicsemi.com/index ... b_fds.html. A hardware approach is to use an I2C EEPROM such as https://www.adafruit.com/product/5146.

Dave

User avatar
southernatheart
 
Posts: 79
Joined: Tue Mar 22, 2011 10:54 pm

Re: Adafruit feather sense SRAM

Post by southernatheart »

I'm familiar with using an SD card with the Atmega328 chip, so I think I'll use the SD card feather, since my project will have room for it.
thanks.

Locked
Please be positive and constructive with your questions and comments.

Return to “Feather - Adafruit's lightweight platform”