This example demonstrate's basic read and write PSRAM using GPMC configured to operate in without DMA mode of operation. APIs from PSRAM 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 comparisons match, test result is passed otherwise failed.
An external GPMC PSRAM needs to be connected to the device.
Parameter | Value |
---|---|
CPU + OS | r5fss0-0 nortos |
Toolchain | ti-arm-clang |
Board | am263x-cc |
Example folder | examples/drivers/gpmc/gpmc_psram_io/ |
Shown below is a sample output when the application is run,