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.
Parameter | Value |
---|---|
CPU + OS | r5fss0-0 nortos |
Toolchain | ti-arm-clang |
Boards | am243x-evm, am243x-lp |
Example folder | examples/drivers/ospi/ospi_flash_xip |