Switching SPI from memory mapped mode to normal mode.

Hi All,

I came to know that SPI memory mapped mode works with READ access only and there is no write port associated with it. We have a special requirement in our application in which we need to write the data to FLASH using the QSPI before closing of the APP.  Before putting the SPI into memory mapped mode, I'm able to erase, write and read the data from SFLASH. Once SPI goes into memory mapped mode, I'm not able to erase and write the data into flash.

We are developing our application on SC584 and flash chip is W25Q128FV

May I know how to switch the SPI from memory mapped mode to normal addressing mode by configuring the registers, so that I can read and write the data to flash.? Please share the code snippet.

Thanks in advance.