===============================================================================================
                              QSPI Example
===============================================================================================
Copyright(C) Redpine Signals 2016
All rights reserved by Redpine Signals.

This program should be used on your own responsibility.
Redpine Signals assumes no responsibility for any losses
incurred by customers or third parties arising from the use of this file. 

===============================================================================================                                                  
Function description:
===============================================================================================
This example will demonstartes write and read operattions to flash memory using QSPI. 
QSPI will be configured in manual mode to write and read in IO mode, In DMA mode read will be done in Auto mode.
256 bytes of data will be programmed to a page in flash. 
===============================================================================================
Environment
===============================================================================================
Test Board:
Smart EVK 

===============================================================================================
Usage Procedure:
===============================================================================================
compile and then run the application .

1. Enable macro DMA_READ for reading data from flash memory using DMA.
2. Enable macro IO_READ for reading data from flash memory in IO mode.

setup requirements :
------------------

===============================================================================================
Pass criteria:
===============================================================================================
1) Enable DEBUG_UART macro in tool pre-processor window. 
2) The print's content can be observed on any serial terminal  through UART to USB(J21) . 
3) Read and write data should be same to ensure the flash read and write operations. 







