AM263Px MCU+ SDK: OSPI Flash XIP

| AM263Px MCU+ SDK 26.00.00 |

OSPI Flash XIP

# Introduction

This example demonstrates basic read write to the OSPI flash configured in polled mode of operation along with an XIP component. APIs from flash driver are used to read and write to the flash. The underlying OSPI reads and writes are taken care by the flash APIs.

The example writes known data to a particular offset in the flash and then reads it back. Before and after this, a CRC calculation using an LUT which is in flash.

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

# Supported Combinations

# Steps to Run the Example

- When using makefiles to build, note the required combination and build using make command (see Using SDK with Makefiles)
- Flash the application binary to the device, follow the steps mentioned here (see Flash a Hello World example).

# See Also

OSPI

# Sample Output

CRC Value: 37090
Flash read-write test passed!!
CRC Value: 37090
All tests have passed!!