This example demonstrates basic read write to both of the OSPI flash instances configured in polled mode of operation. APIs from flash driver are used to read and write to both the flashes. The underlying OSPI reads and writes are taken care by the flash APIs.
The example writes known data to a particular offset in the flashes and then reads it back. The read back data is then compared with the written known data.
When the comparisons match on both the flash read's, test result is passed otherwise failed.
| Parameter | Value |
|---|---|
| CPU + OS | r5fss0-0 nortos |
| Toolchain | ti-arm-clang |
| Boards | am261x-som, am261x-lp |
| Example folder | examples/drivers/ospi/ospi_dual_flash_io |