SPIFI with multiple flash memories

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
Content originally posted in LPCWare by busby on Tue May 06 10:03:10 MST 2014

I have a quad SPI serial flash memory connected to the LPC1837 SPIFI peripheral.  Using the ROM driver/api I can successfully erase, write to and read from the device.

I now want to extend the system by adding a second flash memory chip (single SPI type).  I shall add hardware to gate the SPIFI chip select line to one or other of the memories, selected using a GPIO port.

In my application I want to be able to interleave reading blocks of data from one memory and writing them to the other.  As well as setting the chip select routing, will it be necessary to reset the SPIFI peripheral and/or the serial flash devices when switching between them?