Simple Driver for Generic 64Mb PSRAM (Adafruit 4677)
Posted: Wed May 26, 2021 11:45 pm
Hello folks!
I was salivating at the thought of getting eight megabytes of RAM for a microcontroller and was very excited to get it working. I have since learned that reading and writing 64Mb over SPI with a microcontroller isn't the fastest thing in the world but it may be useful for someone out there!
You can find it at: https://github.com/MarksBench/mb_PSRAM_64Mb_SPI
There's an example.py to show how it works, just give it an address (range 0-8388607) and a value (range 0-255). To read, just give it an address. Values read from the device are converted from bytearray and returned as int.
Have a good day!
I was salivating at the thought of getting eight megabytes of RAM for a microcontroller and was very excited to get it working. I have since learned that reading and writing 64Mb over SPI with a microcontroller isn't the fastest thing in the world but it may be useful for someone out there!
You can find it at: https://github.com/MarksBench/mb_PSRAM_64Mb_SPI
There's an example.py to show how it works, just give it an address (range 0-8388607) and a value (range 0-255). To read, just give it an address. Values read from the device are converted from bytearray and returned as int.
Have a good day!