AM261x MCU+ SDK: OSPI PSRAM IO

| AM261x MCU+ SDK 26.00.00 |

OSPI PSRAM IO

# Introduction

This example demonstrates basic read write to the OSPI PSRAM configured in polled mode of operation. APIs from RAM driver are used to read and write to the PSRAM. The underlying OSPI 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. This is done twice at different offsets.

When both the comparisons match, test result is passed otherwise failed.

# Supported Combinations

Parameter | Value
--- | ---
CPU + OS | r5fss0-0 nortos
Toolchain | ti-arm-clang
Boards | am261x-lp
Example folder | examples/drivers/ospi/ospi_psram_io

# Steps to Run the Example

- When using CCS projects to build, import the CCS project for the required combination and build it using the CCS project menu (see Using SDK with CCS Projects).
- When using makefiles to build, note the required combination and build using make command (see Using SDK with Makefiles)
- Launch a CCS debug session and run the executable, see CCS Launch, Load and Run

# See Also

OSPI

# Sample Output

OSPI Psram W/R test
Write Speed: 100.824615 Mbps
Read Speed: 409.600006 Mbps
All Tests Passed !!!!