Possible to increase dynamic memory?

Status
Not open for further replies.

Reefhermit

Active member
My project is memory intensive and has reached the limits of Teensy 3.6 on board memory. Is it possible to increase the available dynamic Ram memory, say to 5 or even 10MB. What would be involved? I also want to continue to use the DMA graphics library.

Thanks,

Ken
 
No, the memory on the Teensys are fixed. There is support in the basic chip for additional memory, but I believe that is used for EEPROM.

You can use various SPI/i2c add-on boards, or use the on-board micro-sd card, but these have to managed explicitly (i.e. you can't just pass a pointer and use the memory, instead you have to read a chunk into an internal buffer, do some processing, and possibly write it back out if you modified anything).

You might want to consider re-factoring the problem to use something like a Raspberry Pi zero/A+ to do the memory intensive operations, and the Teensy for the real time control.
 
Hmmm . . Thanks for the suggestion. I will look into this. Hope I can use the Arduino sketches I created.

Ken

No, you will have to rewrite them, since the C++ Linux environment on the Pi, does not have some of the simplifications and libraries that are part of the Arduino sketches. It is different programming environment.
 
You could look at flexbus as option to expand memory-mapped RAM. I've not seen any working examples though, anywhere, of suitable parts or reference designs. It looks quite pin consuming also.
 
You could look at flexbus as option to expand memory-mapped RAM. I've not seen any working examples though, anywhere, of suitable parts or reference designs. It looks quite pin consuming also.

I recall Paul saying either the necessary pins were not brought out for flexbus or EEPROM already used it, the last time this topic came up.
 
Status
Not open for further replies.
Back
Top