Shop OBEX P1 Docs P2 Docs Learn Events
Exmem_mini.spin2 testing — Parallax Forums

Exmem_mini.spin2 testing

RaymanRayman Posts: 15,662
edited 2025-09-24 15:57 in Propeller 2

The @Wuerfel_21 exmem_mini driver for various configurations of PSRAM and HyperRam looks great.
Finally writing some code to test it out...

The this driver first appeared in the teapot demo as discussed here:
https://forums.parallax.com/discussion/177853/where-to-find-a-p2-ec32mb-driver-for-ram/p1

Here's a very simple test of reading and writing 100 bytes to the 24MB PSRAM module on P2 basepin 0.
It should be easy to adapt for other configurations, such as the P2-EC32MB module...

Displays first 10 bytes read back using debug.
(note in and out buffers made 4x bigger than needed to make sure won't overflow...)

Comments

Sign In or Register to comment.