Simple Driver for Generic 64Mb PSRAM (Adafruit 4677)

Discuss development of drivers for external hardware and components, such as LCD screens, sensors, motor drivers, etc.
Target audience: Users and developers of drivers.
Post Reply
Mark's Bench
Posts: 9
Joined: Wed May 12, 2021 9:47 pm

Simple Driver for Generic 64Mb PSRAM (Adafruit 4677)

Post by Mark's Bench » 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!

Post Reply