This example demonstrates basic read and write to PSRAM using GPMC. The GPMC is configured to operate without DMA. APIs from RAM driver are used to read and write to the psram. The underlying reads and writes are taken care by the PSRAM APIs.
The example writes known data to a particular offset in the psram and then reads it back. The read back data is then compared with the written known data. When both the data match, throughput is calculated & test result is passed otherwise failed.
An external PSRAM needs to be connected to the device via GPMC interface.
Parameter | Value |
---|---|
CPU + OS | r5fss0-0 nortos |
Toolchain | ti-arm-clang |
Board | am243x-evm |
Example folder | examples/drivers/gpmc/gpmc_psram_io/ |
Shown below is a sample output when the application is run,