I'm not able to write in S25FL512S using CY 022001 BLE by SPI communication. I need a simple Read/Write code for this hardware combo only.
Thanks in advance.
Can you please post your complete project writing to SPI, so that we all can have a look at all of your settings. To do so, use
Creator->File->Create Workspace Bundle (minimal)
and attach the resulting file.
Sorry, but I could not see an error in your code.
I would suggest you to get in contact with Cypress directly: At top of this page select "Design support -> Create a Support Case" and ask your question. You will be helped by a Cypress engineer.