NOTICE: This website will be shut down in the near future. Product content has moved to Forum content and FAQs have been moved to We encourage you to create a user account on to use the new community forums and access NXP microcontroller content. We greatly appreciate your contributions and look forward to seeing you at our new web location.


LPC 1857 SPIFI interfaced Quad SPI Flash (S25FL512) usage for both code execution and data storage.

No replies
Joined: 2016-06-15
Posts: 2


I am using NXP LPC1857 Cortex M3 based controller project, project development in Keil V5.15.

My doubt is application based. I am interfacing external QSPI Flash S25FL512S and it is used to store code.At power on ,controller is booted from this external flash and starts executing.
Attachment shows the settings used for booting from SPIFI.
Now, my basic question since I am using this flash for code memory, can I use this same external flash for data storage (reading writing different records, menu settings, reports etc).
If yes, how???

Your rating: None