Hi Praveena F
Unfortunately, this is dependent of the memory that you use, normally the SPI memory includes different commands and timings for reading and writes operations, but as mentioned, they are using different commands which are listed in the datasheet of the memory.
You can create your code using the SDK example of the Master_SPI as a base. Just for give an example, the Micron M25P80 Serial Flash need a command of one byte with 0x9F at address 0 for READ IDENTIFICATION.
Hope this information could help you
Have a great day,
TIC
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you
-------------------------------------------------------------------------------