This example demonstrates the OSPI low latency transfer using DMA. 16 bytes of known data are written to the flash. This data is then read back ten times by adjusting the TRPD for infinite TR reload. By this way the read can be done with really low latencies. The read back data is then compared with the known, sent data.
The average time for transfers is then printed out, and if all transfers were successful, the 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_dma |