ibodesouza wrote:
I don´t understand what your programm do. With which line/command I can write or push the data from one memory or buffer to an other one?
I have the SAM3S Board. There is no example for psram?
Most of the complexity is in the initialization, which depends on how it is attached to the bus.
Then you'd access it like any other SRAM on the part. You'd use pointers, memcpy, etc. And you could implement things like malloc/free to dynamically allocated space within it if you wanted to manage it.
From the compiler/toolchain perspective you could use a linker script or scatter file to describe the memory region within which the PSRAM is located.
The C runtime startup code (ie prior to main) could set up the memory.