Code Example: SPI Memory-Mapped mode

Attached code is used to configure SPI2 in memory mapped mode. A known pattern of data is written to SPI flash of BF707 Ez-kit in normal mode (quad SPI) and then the data is read back in memory mapped mode.

SPI_Flash_Access_BF707_mem_map.zip