Could you please provide sample code NOR flash interfacing via SPI (with structured layer architecture -->ie Hardware Layer Abstraction Layer Driver, Low Level Layer Driver , Flash Manager , RTOS AND APPLICATION ) for any Microcontroller ?
A) I am attaching the project where basic code for read and write for S25Fl512S is implemented using Cy8CKIT -042. You can use this as reference. Please check the attached file.
 By means of some tool, can we generate Low Layer driver(LLD) for SPI NOR FLASH(S25FL512S) and this LLD can it be used in MCU?
A) No we do not have any tool which generates LLD.
Project_0.zip 4.2 MB