  
===========================================================================================================
                               UART Example Program
===========================================================================================================
Copyright(C) Redpine Signals 2017
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:
============================================================================================================
The UART example shows how to use the UART loopback mode.
============================================================================================================
Assistance tool:
---------------------
Smart EVK

Assistance software:
---------------------
None

============================================================================================================
Usage Procedure:
============================================================================================================
TX Pin GPIO_6 :J1.7  <-> RX Pin GPIO_7 :J1.9(Loop back)
It will sends and receives data in loopback mode.Watch the tx_buffer and rx_buffer on watch window 

NOTE:This example will not work if you give power to the board over UART port,means 
when you connect UART port (J21(GPIO_8,GPIO_9)) ,then you cannot use J1.9(GPIO_7 which is rx pin ) pin in
this example,so EVB board should be powerd over POWER.
===============================================================================================
Pass criteria
===============================================================================================
Both rx_buffer and tx_buffer data should be same.
============================================================================================================
