Forum Rule: Always post complete source code & details to reproduce any issue!
-
Teensy 4.1 possible to hook up sdram?
Hi,
I've checked in the datasheet of the 1060 that it has an external memory interface for sdram. So I'm thinking and research how hard it would be to hook up some sdram (around 64MB) to the teensy or if it isn't possible at all.
There is this other board called daisy with an stm m7 64mb sdram an dac on board. So I was wondering if something like this could be achieved with the teensy.
Kind regards
Biwog
-
Senior Member
Not possible. Many of the required signals are not accessible.
But you can add QSPI PSRAM.
https://www.pjrc.com/store/psram.html
The raw performance for cache misses is obviously lower for 4 bit QSPI compared to 8 or 16 bit SDRAM. But for many common uses where the 32K cache helps, the speed can be pretty good.
-
I'm afraid currently there is no good solution for more than 16MB RAM.
One could come up with the idea of simply using multiple (more than 2) PSRAMs on QSPI. But that's difficult because they would need multiple chipselect lines - and even if you do that, the very useful cache would get into trouble. You would have to disable it. That would be very negative for the performance.
However, if you don't need it to be superfast, and do not need the cache, you can just add a few chips to SPI.
Last edited by Frank B; 01-18-2021 at 02:28 PM.
-

Originally Posted by
PaulStoffregen
Not possible. Many of the required signals are not accessible.
But you can add QSPI PSRAM.
https://www.pjrc.com/store/psram.html
The raw performance for cache misses is obviously lower for 4 bit QSPI compared to 8 or 16 bit SDRAM. But for many common uses where the 32K cache helps, the speed can be pretty good.
Ok, Thanks. Will this change on a future Teensy version?
-
SDRAM needs about 26 pins to connect to it, several control lines and an 8-bit databus and 12 or so address bits.
-
If I were to create a custom board with the MIMXRT1062 and the Teensy bootloader chip and connect an SDRAM chip like the IS42S16320D would that work with the Teensyduino ecosystem?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules