SPIFI with multiple flash memories

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

SPIFI with multiple flash memories

291 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by busby on Tue May 06 10:03:10 MST 2014
Hi,

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?

Thanks.

Chris
Labels (1)
0 Kudos
1 Reply

236 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by bavarian on Wed May 14 08:46:41 MST 2014
Well, sounds feasable if you use the memory just for write/read purposes. If you do code execution then I expect problems.
Sinply test it, I would use 2 memories of the same type for that.

Regards,
NXP Support Team
0 Kudos